Hi friends,
I have some trouble understanding a basic loop detection scenario in switched networks.
The topology is as follows: Host A | Segment A | (1/1) | (1/2) Switch A Switch B | (2/1) | (2/2) Segment B | Host B
Now if Host A on Segment A wants to communicate with Host B of Segment B, the packet goes to Switch A. Switch A adds entry for Host A in its MAC address table and broadcasts the frame to all its Switch ports except the port 1/1. Now Switch B hears the broadcast from Switch A and learns address of Host A through its port 2/2. Now it broadcasts on its port 1/2 which is heard by Switch A on 1/1. Now A again broadcasts through 2/1 and the loop continues. My questions are:
- If B responds to the broadcast, then does the loop stop?
- If Switch A and Switch B listen to each other's broadcasts, then how are they exactly connected? Are they connected to each other directly? I am not able to understand how would they be physically connected to hear each other's broadcasts?
Thanks a lot Gautam