Consider the diagram shown below where a number of LANs are connected by (transparent) bridges. In order to avoid packets looping through circuits in the graph, the bridges organize themselves in a spanning tree. First, the root bridge is identified as the bridge with the least serial number. Next, the root sends out (one or more) data
units to enable the setting up of the spanning tree of shortest paths from the root bridge to each bridge.
Each bridge identifies a port (the root port) through which it will forward frames to the root bridge. Port conflicts are always resolved in favour of the port with the lower index value. When there is a possibility of multiple bridges forwarding to the same LAN (but not through the root port), ties are broken as follows: bridges closest to the root get preference and between such bridges, the one with the lowest serial number is preferred.

Consider the spanning tree for the given connection of LANs by bridges, that represents the depth first traversal of the spanning tree of bridges. Let host send out a broadcast ping packet. Which of the following options represents the correct forwarding table on ?
View worked solution
Answer: A
To determine the correct forwarding table for bridge , we analyze the active ports on based on the spanning tree topology:
- Blocked Ports: In the spanning tree configuration, Port 4 of is blocked to prevent loops. Consequently, no hosts will be forwarded through Port 4. This immediately eliminates options B and C, which map hosts to Port 4.
- Port 3 (Root Port): Port 3 is the root port of facing towards the root bridge .
- It directly connects to the LAN containing hosts and .
- It also forwards traffic towards the root bridge , where hosts and reside.
- Therefore, hosts are reached via Port 3.
- Port 1: This port connects to the branch containing hosts .
- Port 2: This port connects to the branch containing hosts .
Thus, the correct forwarding table matches Option A.
Free practice · Your answers on this page are not saved.
