how switches work - collision-free / full-duplex

how switches work - collision-free / full-duplex

NewsGroups | Search | Tools
 comp.dcom.lans.ethernet  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
how switches work - collision-free / full-duplex Doug Davis 03-23-2007
Posted by Doug Davis on March 23, 2007, 9:33 am
If you were  Registered and logged in, you could reply and use other advanced thread options



Hi,

I have a question about ethernet switches on full duplex "collision-
free" LANs.

What if there are multiple nodes sending to the same segment/port, how
does the switch handle that? I would think it could only let through
one of the frames.

I guess that's not really considered a "collision" since one does get
through. Is that right?

How do the other nodes recover from that? In full-duplex mode does
Ethernet just not do any resends and let higher layers worry about it?

It seems like the switch could just tell a little fib and say to the
nodes that sent the ones that didn't get through that a collision
occured, so Ethernet could handle the resend. Maybe that doesn't make
sense, but otherwise it just seems like you would have to wait for
destination node to tell you that a packet has been lost and that
would take more time.


I was just wondering about how this actually works, and I would
appreciate it if some one could clear this up, I would appreciate it.

-d


NMFall 20%
Posted by Patrick Klos on March 23, 2007, 10:21 am
If you were  Registered and logged in, you could reply and use other advanced thread options


>
>Hi,
>
>I have a question about ethernet switches on full duplex "collision-
>free" LANs.
>
>What if there are multiple nodes sending to the same segment/port, how
>does the switch handle that? I would think it could only let through
>one of the frames.

The switch actually has buffers to queue up the packets for a given
port. When more than 1 sender tries to send packets to the same receiver,
the switch buffers the packets while the port is busy. Of course, if too
many packets are sent to the same port, the buffers could be exhausted and
packets will be lost.

>I guess that's not really considered a "collision" since one does get
>through. Is that right?

No, that wouldn't be considered a collision.

>How do the other nodes recover from that? In full-duplex mode does
>Ethernet just not do any resends and let higher layers worry about it?

Except at the lowest level, ethernet always lets the higher layers worry
about resending lost packets.

>It seems like the switch could just tell a little fib and say to the
>nodes that sent the ones that didn't get through that a collision
>occured, so Ethernet could handle the resend. Maybe that doesn't make
>sense, but otherwise it just seems like you would have to wait for
>destination node to tell you that a packet has been lost and that
>would take more time.

There are some flow control mechanisms for ethernet, but I am not too
familiar with their implementation.

>I was just wondering about how this actually works, and I would
>appreciate it if some one could clear this up, I would appreciate it.

The basic answer to your question is that switches have buffers to queue
packets up until it can send them out their target port(s). Hope that
helped?

Patrick
========= For LAN/WAN Protocol Analysis, check out PacketView Pro! =========
Patrick Klos Email: patrick@klos.com
Klos Technologies, Inc. Web: http://www.klos.com/
============================================================================

Posted by Doug Davis on March 23, 2007, 11:43 am
If you were  Registered and logged in, you could reply and use other advanced thread options


On Mar 23, 10:21 am, p...@osmium.mv.net (Patrick Klos) wrote:

> The basic answer to your question is that switches have buffers to queue
> packets up until it can send them out their target port(s). Hope that
> helped?


yes. that helps, thanks.


Similar ThreadsPosted
did 10M/FullDuplex get "standardized?" October 19, 2006, 2:46 pm
Why doesn't a hub work for WAN sharing? February 21, 2006, 10:27 pm
how does auto-mdix work August 22, 2005, 6:56 pm
STOP what you’re doing - It doesn’t work! YCK5 July 28, 2006, 5:28 pm
STOP what you’re doing - It doesn’t work! H7J8 July 29, 2006, 1:34 pm
Please explain why an RJ45 splitter won't work March 28, 2008, 2:03 pm
WakeONLAN did not work for direct cable connection ? (Nics were shutdown after a night of sleep ?) February 9, 2008, 4:56 am
Cabling VS switches ? November 7, 2006, 7:24 am
connecting switches March 8, 2008, 12:53 am
ACL performance of L3 router/switches? February 19, 2007, 3:42 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map