CS FundamentalsVery hardGATE CS
Six bridges B1-B6 (bridge IDs B1 < B2 < ... < B6, equal priorities) run the spanning tree protocol over these links with costs: B1-B2 4, B1-B3 19, B2-B3 4, B2-B4 19, B3-B5 4, B4-B5 4, B4-B6 19, B5-B6 19. The root is the lowest bridge ID; each other bridge picks as root port the port on its lowest-cost path to the root (ties: lower neighbouring bridge ID); on each link the bridge with the lower root path cost (ties: lower ID) has the designated port; every remaining port is blocked. On which bridges are ports blocked?
- A. B3, B5 and B6
- B. B3 and B6 only
- C. B3, B4 and B6
- D. B2, B4 and B6
Correct answer: C. B3, B4 and B6
Root path costs: B2 = 4, B3 = 8 (via B2, not the direct 19), B5 = 12, B4 = 16 (via B5), B6 = 31 (via B5). B3's port to B1 is blocked (B1 is designated there), B4's port to B2 is blocked (B2 has the lower cost) and B6's port to B4 is blocked (B4 has the lower cost): 3 blocked ports.
More Computer Networks questions
- An 11-bit even-parity Hamming code uses check bits at positions 1, 2, 4 and 8 and data bits at positions 3, 5, 6, 7, 9, 10, 11 (positions…
- Selective Repeat uses 6-bit sequence numbers (so the largest safe sender window is 2^5 = 32). The link is 100 Mbps with 1500-byte frames…
- A 3000-byte IP datagram (20-byte header, 2980 bytes of payload) is sent over a link with MTU 1500, producing fragments that then cross a…
- What is the network address of the host 192.168.45.130/26?
- What is the broadcast address of the host 172.16.5.9/22?
- The signal speed in a link is 2 x 10^8 m/s and the link is 1500 km long. What is the propagation delay?