CS FundamentalsVery hardGATE CS
Switch S4 has two paths to the STP root bridge. Port 1 connects via a 100 Mbps link (cost 19) to S2, whose root path cost is 4. Port 2 connects via a 1 Gbps link (cost 4) to S3, whose root path cost is 23. Which port becomes S4's root port, and what is S4's root path cost?
- A. Port 1, cost 23
- B. Port 2, cost 27
- C. Port 2, cost 4
- D. Port 1, cost 19
Correct answer: A. Port 1, cost 23
Root path cost through a port = neighbour's advertised root path cost + the cost of the link to it: port 1 gives 4 + 19 = 23, port 2 gives 23 + 4 = 27. The lower total wins, even though port 2 is the faster local link.
More Computer Networks questions
- Four CDMA stations use the orthogonal chip sequences A = (+1, +1, +1, +1), B = (+1, −1, +1, −1), C = (+1, +1, −1, −1), D = (+1, −1, −1…
- A network of 1200 routers uses hierarchical routing with three levels: 10 clusters, each of 6 regions, each of 20 routers. How many…
- In a network of 5 routers where every pair is directly connected, a source floods a packet: each router that receives it forwards a copy…
- Match the ICMP message types: P. 0 Q. 3 R. 5 S. 11 with 1. Redirect 2. Echo reply 3. Time exceeded 4. Destination unreachable.
- How does IPv4 Path MTU Discovery learn the smallest MTU on a path?
- A DHCP client gets an 8-hour lease at 09:00. By default, at what times does it first try to RENEW with the same server (unicast), and when…