cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
805
Views
0
Helpful
7
Replies

switching:::mutiple devices sending data

iamtheone12345
Level 1
Level 1

Hi Guys,

Lets say there are 4 pcs connected to a switch.PC1,PC2,PC3,PC4.

Both PC1 and PC2 sends data to PC3 at the same time? what happens?

assuming that the switch knows the mac addresses for all PC's.

1 Accepted Solution

Accepted Solutions

Yes the switch will buffer the data as needed, but it does not need to wait till one is completed before the other can send it will do First in First out (FIFO). Again think of the highway with on ramps, as the cars go by the one on the ramp will look for an opening and merge right in if it finds one. if the traffic is so heavy that there is not an opening right away it will wait (buffer) until it sees an open spot.

Mike

View solution in original post

7 Replies 7

burleyman
Level 8
Level 8

PC3 will get the data form PC1 and PC2. Think of the wire as a highway with two ramps and the cars as packets. The packets will find open space and fit in the data stream and PC3 will assemble the two things. It would be like uploading two files to your PC from two different servers.

Mike

Is the switch gonna buffer data ?and then send the data from one PC at a time to PC3?Because if the switch has to forward data from both PCs to PC3 at the same time will collisions not occur?

Yes the switch will buffer the data as needed, but it does not need to wait till one is completed before the other can send it will do First in First out (FIFO). Again think of the highway with on ramps, as the cars go by the one on the ramp will look for an opening and merge right in if it finds one. if the traffic is so heavy that there is not an opening right away it will wait (buffer) until it sees an open spot.

Mike

Thanx mate!!!

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

Many advanced switches can also prioritize data.  I.e. if PC1 and PC2 data arrives same time, advanced switches can send the "more important" traffic 1st.

Collisions happen on shared medium where there's no buffering, e.g. on a hub.

No problem Arjun....thanks for the rate.

Mike

Edwin Summers
Level 3
Level 3

I know this was already answered, but don't forget there are multiple layers at play in most cases.  Above these layer 2 frames could be, for example, TCP at layer 4 which is also metering traffic.  If both PCs are sending sustained traffic to PC3 (i.e. - we're not just talking about what happens when two frames arrive at the same time, but when two systems are simultaneously sending data to the same destination), TCP would meter the traffic.  Being acknowledgement based, each sending PC would wait for the acknowledgement from PC3 before putting more data on the wire (...before presenting it to layer 2 for transmission).

Once you reach the point of total saturation (congestion), TCP will react by cutting back the window.  UDP would continue to provide "best effort" service.

Review Cisco Networking for a $25 gift card