edited by
7,113 views
21 votes
21 votes

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 $B1, B5, B3, B4, B2$ for the given connection of LANs by bridges, that represents the depth first traversal of the spanning tree of bridges. Let host $H1$ send out a broadcast ping packet. Which of the following options represents the correct forwarding table on $B3$?

  1. $\begin{array}{|l|l|}\hline \textbf{Hosts} & \textbf{Port} \\\hline  \text{H1, H2, H3, H4} & \text{3}   \\\hline \text{H5, H6, H9, H10} & \text{1} \\\hline \text{H7, H8, H11, H12} & \text{2}  \\\hline \end{array}$
  2. $\begin{array}{|l|l|}\hline \textbf{Hosts} & \textbf{Port} \\\hline  \text{H1, H2} & \text{4} \\\hline   \text{H3, H4} & \text{3} \\\hline  \text{H5, H6} & \text{1}\\\hline \text{H7, H8, H9, H10, H11, H12} & \text{2}  \\\hline \end{array}$
  3. $\begin{array}{|l|l|}\hline \textbf{Hosts} & \textbf{Port} \\\hline  \text{H3, H4} & \text{3} \\\hline   \text{H5, H6, H9, H10} & \text{1} \\\hline  \text{H1, H2} & \text{4}  \\\hline  \text{H7, H8, H11, H12} & \text{2}  \\\hline \end{array}$
  4. $\begin{array}{|l|l|}\hline \textbf{Hosts} & \textbf{Port} \\\hline  \text{H1, H2, H3, H4} & \text{3} \\\hline   \text{H5, H7, H9, H10} & \text{1} \\\hline  \text{H7, H8, H11, H12} & \text{4}  \\\hline \end{array}$
edited by

1 Answer

Best answer
28 votes
28 votes

Option is A  see this as we go with options, option A match only with this picture.

edited by
Answer:

Related questions