Answer the question
In order to leave comments, you need to log in
How is the switching table arranged in switch?
As far as I understand, the switching table is arranged as follows:
port number | MAC | VLAN
Then questions:
1) Does the switch allow 2 or more MACs on one port (For example, another switch is plugged into this switch, into which all other devices are plugged)? How to check this possibility in a specific switch (in my case it is www.realtek.com/products/productsView.aspx?Langid=... )? Can all switches do this? Do I understand correctly that the total number of MACs that the switch can remember is a property of the "size of the MAC address table" and is there a limit on the number of MACs for one port?
2) Can the MAC be removed from the switching table if the device is removed from the port, or can it move through the switching table to another port if the device with the same MAC is reconnected to another switch port?
Answer the question
In order to leave comments, you need to log in
Multiple mac addresses can be on the same port. Two ports cannot be tied to 1 mac.
And now I will explain how the switch works:
If a frame arrives on port 1 that is addressed to the mac address, then the switch looks through the table and looks for an entry about this mac. If it finds it, it sends it to that port. If it does not find it, then it sends it to all ports, except for the one from which it was received. When a frame arrives from some port, the switch remembers the sender's mac and port. This entry remains until the switch is rebooted, or until it is overwritten (if a frame arrives from the same mac address, but from a different port). The larger the switch table, the longer the switch goes through it. Therefore, they must be cleansed. This is one of the reasons why network equipment needs to be rebooted sometimes.
1. Yes, of course, it does. Plug a multi-device switch into the switch and you'll see. All switches can do this. You understand the size of the table correctly, but I won’t say anything about the limitation on one port.
2. If there is a timeout for clearing the table (it usually exists) - then everything is fine. In D-Link terminology, this is called "Unicast MAC Address Aging Time".
PS It turns out that the comments have already explained in more detail.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question