D
D
deGoyan2016-02-23 18:04:05
Computer networks
deGoyan, 2016-02-23 18:04:05

How is traffic distributed between network nodes on a layer 2 switch?

What is of interest is this - let's say there is a level 2 switch connected to the Internet with a channel width of 100 Mbps, for 24 ports and workstations with active use of the Internet are connected to all ports (we will omit the type of traffic), while an access point is connected to one of the ports WIFI, to which 12 more workstations are connected. How is Internet traffic distributed between 36 network nodes on a layer 2 switch?

  1. FIFO
  2. evenly by the number of switch ports;
  3. uniformly by the number of end MACs;
  4. how else?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor, 2016-02-23
@goyan

Switches do not distribute traffic. It simply transfers packets from one port to another according to the switching table. According to the FIFO algorithm, if it does not know how to prioritize at all (level 2+)
And it does not matter if it is Internet traffic or not. As well as the number of ports and so on. Its task is to place the package in a memory buffer (there is no such buffer in the cheapest ones) from which it will go where it should. That's all

C
Cool Admin, 2016-02-23
@ifaustrue

A typical Layer 2 switch will process packets as they arrive. If no port restrictions are enabled, then any device on the network will be able to consume the entire bandwidth of the WAN port (within the switch, this is a normal port and it does not have the right to limit traffic between two ports).
In your options it is FIFO.
But it should be noted that in a typical switch, there is more than one traffic processing pipeline, i.e. if one device fully loads the external interface (which, as I already wrote, is a regular port for a switch), this will not affect the processing of packets in the neighboring port group.

I
Ilya Chernikov, 2016-02-23
@uJIu4

Evenly, in proportion to requests, but in general, the question is not very correct, you can’t say for sure about the switch in this case, it will not limit traffic in any way, it will only transmit what comes in the stream

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question