This question already has an answer here:
- How does a switch learn a switch table? 3 answers
I believe this is a very simple question for you, but a interesting one for me, so I hope I don't mind you with my first question here, noob question.
We have two switches. SW1 and SW2.
First of all: Switches share the nearby Switches mac address table? I mean, if SW1 have FFFF.FFFF.FF11 F0/1 and FFFF.FFFF.FF22 F0/2 and SW2 have FFFF.FFFF.FF33 F0/1 and FFFF.FFFF.FF44 F0.2, SW1 have knowledge about FF33 and FF44 to? Or just FF11 and FF22?
And second: If I am sending a packet from PC1 through SW1 which is connected to multiple Switches, that have multiple PC's connected to them. How does the SW1 know what path to choose? Judging by the fact that the MAC destination is known only by the Switch that is connected to that PC?
I hope you guys understood the question.