In article <cbrtqo$rb4$1@internal.wj.com>,
alan@internal.wj.com (Alan Strassberg) wrote:
> I believe the spec says if one port is hard-coded full-duplex
> and the other isn't, then that port negotiates half-duplex.
> Is this correct ? Pointers to any RFC's or proof appreciated.
>
If one side of a 10/100BASE-T link is manually configured for
full-duplex operation (by disabling Auto-Negotiation), and the other
side of the link is allowed to Auto-Negotiate, the negotiating side will
indeed resolve to half-duplex operation. This happens because the
negotiating side will "parallel detect" its link partner as operating in
either 10 or 100BASE-T. However, there is no way to determine that a
device is configured for full duplex absent some advertisement
(typically via Auto-Negotiation). Lacking any knowledge of the
duplexity, the "safest" route is to assume half-duplex operation.
This algorithm is defined in IEEE 802.3 (Clause 28).
"Hard coding" for full-duplex can also be achieved by forcing
Auto-Negotiation to advertise that the device can only (or is only
willing to) operate in full-duplex mode (as opposed to disabling A-N
altogether). This is a preferable method of forcing full-duplex
operation, since a negotiating link partner will resolve to full-duplex
operation (assuming it is capable of doing so), and thus avoid the
duplex mismatch.
In Gigabit Ethernet (1000BASE-T) Auto-Negotiation is not optional; i.e.,
it cannot be disabled as in 10/100BASE-T. One side of a Gigabit Ethernet
link can be forced to full-duplex operation only by forcing A-N to
advertise that it is only willing (or capable) of operating in
full-duplex mode; indeed, this is commonly done. A negotiating link
partner will see this advertisement and configure itself for full duplex
mode in response, resulting in a properly operating full-duplex link.
> The question is: what happens on a VLAN on a switch with four
> ports but only one is hard-coded full duplex? Would the other
> 3 ports be forced to half?
> Would any other ports on the switch on different VLANs be affected ?
>
Auto-Negotiation is performed on a link-by-link basis; the link
configuration on one port of a switch has no effect on the configuration
of other ports on that same switch. Note that this has nothing to do
with VLANs at all; the logical memberships of the ports on a switch with
respect to Virtual LANs is completely unrelated to the duplex
configuration of the ports.
--
Rich Seifert Networks and Communications Consulting
21885 Bear Creek Way
(408) 395-5700 Los Gatos, CA 95033
(408) 395-1966 FAX
Send replies to: usenet at richseifert dot com