I
I
Ilya2018-03-24 19:51:48
network hardware
Ilya, 2018-03-24 19:51:48

The operation of the switch in the network. How do requests go from a workstation to another switch?

I came up with a random network
The switches have a MAC table, which it compiles when it first connects to the network, sending out requests ...
And here's the question:
It turns out that switch 6 in the MAC table will have data on workstations A, B, C and hub 5, right?
Or will he have the whole route map in general? But how in that case then it will send requests?
Suppose workstation B needs to contact workstation E. How will this request be transmitted then? Switch 6 will again send data in all directions until switch 3 stumbles upon a suitable computer E and sends the request back?
Or will it already know where to send the request after the initial routing?
5ab68090183d1011172866.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2018-03-24
@pursentiy

The switches have a MAC table, which it compiles when it first connects to the network, sending requests...

Completely false.
Briefly, the algorithm:
- the switch receives the packet on the port
- enters the sender's mac into the address table, thus associating the mac and the physical port to which the device is connected
- checks if the packet's destination mac is in the table
- if so, sends the packet only to this port
- if not, it sends it to all ports except where the packet came
from. From the table, addresses are cleared from which there were no packets for a certain time (in the switch settings, if such, typically 5 minutes)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question