* RE: [Bridge] Election of root port
@ 2005-08-04 16:36 Jeff Gercken
2005-08-08 6:38 ` [Bridge] Designated port Selection Prasenjit Manna
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Gercken @ 2005-08-04 16:36 UTC (permalink / raw)
To: sameer.neugui, bridge
STP root port selection is based on port priority which, by default, is
based upon the interface speed. If they're equal I believe the lowest
port address wins.
http://www.hojmark.net/stp-port-cost.html
You're talking switches right? Why post to a bridge list? You'd be
better off at http://www.tek-tips.com/threadminder.cfm?pid=558
-Jeff
-----Original Message-----
From: bridge-bounces@lists.osdl.org
[mailto:bridge-bounces@lists.osdl.org] On Behalf Of sameer
Sent: Thursday, August 04, 2005 4:39 AM
To: bridge@lists.osdl.org
Subject: [Bridge] Election of root port
Hi,
I have a situation where in there are 2 switches A and B.
port 0 of A is connected to port 0 of B
port 1 of A is connected to port 1 of B
all the four ports are in auto negotiation and 100mbps
Last byte of MAC of A = 7F
Last byte of MAC of B = 7E
(remaining bytes of the MAC address are identical)
Considering the switch B will be elected as root bridge which port of
switch A will be root port.
Will this configuration work perpetually?
_______________________________________________
Bridge mailing list
Bridge@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/bridge
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bridge] Designated port Selection
2005-08-04 16:36 [Bridge] Election of root port Jeff Gercken
@ 2005-08-08 6:38 ` Prasenjit Manna
2005-08-10 5:45 ` Prasenjit Manna
0 siblings, 1 reply; 3+ messages in thread
From: Prasenjit Manna @ 2005-08-08 6:38 UTC (permalink / raw)
To: bridge
Hi,
I have two questions:
1. br_designated_port_selection() in br_stp.c:
In this function, the port, which is not DISABLED and
br_should_become_designated_port, then the port is becoming
designated port.
Question: Why the port state(DISABLED) is checking here? According to
standard, there should not be any checking for disabled.
2. br_stp_set_bridge_priority() in br_stp_if.c:
In this function also, the same DISABLED checking is done.
Question: Why the port state(DISABLED) is checking here also for
updating the bridge priority?
Thanks and Regards,
Prasenjit
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bridge] Designated port Selection
2005-08-08 6:38 ` [Bridge] Designated port Selection Prasenjit Manna
@ 2005-08-10 5:45 ` Prasenjit Manna
0 siblings, 0 replies; 3+ messages in thread
From: Prasenjit Manna @ 2005-08-10 5:45 UTC (permalink / raw)
To: bridge
I am sending this mail once again.
Please have a look and give me some suggestions.
Prasenjit Manna wrote:
> Hi,
>
> I have two questions:
>
> 1. br_designated_port_selection() in br_stp.c:
> In this function, the port, which is not DISABLED and
> br_should_become_designated_port, then the port is becoming
> designated port.
>
> Question: Why the port state(DISABLED) is checking here? According to
> standard, there should not be any checking for disabled.
>
> 2. br_stp_set_bridge_priority() in br_stp_if.c:
> In this function also, the same DISABLED checking is done.
>
> Question: Why the port state(DISABLED) is checking here also for
> updating the bridge priority?
>
>
> Thanks and Regards,
> Prasenjit
> _______________________________________________
> Bridge mailing list
> Bridge@lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/bridge
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-10 5:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04 16:36 [Bridge] Election of root port Jeff Gercken
2005-08-08 6:38 ` [Bridge] Designated port Selection Prasenjit Manna
2005-08-10 5:45 ` Prasenjit Manna
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.