33 33 votes In a network of LANs connected by bridges, packets are sent from one LAN to another through intermediate bridges. Since more than one path may exist between two LANs, packets may have to be routed through multiple bridges. Why is the spanning tree algorithm used for bridge-routing? For shortest path routing between LANs For avoiding loops in the routing paths For fault tolerance For minimizing collisions Computer Networks gatecse-2005 computer-networks routing normal + – Kathleen 17.2k views answer comment Share Follow Print See 1 comment 1 1 comment reply legend_of_cse commented Sep 9 reply Follow flag References : Tanenbaum References : Forouzan 1 1 replyShare Please log in or register to add a comment.
Best answer 39 39 votes The answer is (B). Since, in a spanning tree, there is a unique path from a source to the destination, which avoids loops, since it is a tree, and contains all the nodes, since it is a spanning tree. saurabhrk answered Jan 8, 2015 • edited Oct 2, 2018 by kenzou saurabhrk comment Share Follow See all 6 Comments 6 6 Comments reply Show 3 previous comments vaibhavkedia968 commented Dec 23, 2020 reply Follow flag TTL is in IP header (ie Network Layer) and bridges work on Data Link layer 10 10 replyShare Vishal_kumar98 commented Dec 23, 2020 reply Follow flag Yes I missed that. Thanks for reminding. 0 0 replyShare Aditya_Khopade commented Mar 13 reply Follow flag Yeah you can think like, using the shortest path algos we can find the shortest path from source to destn and actually not requiring to have connected all the vertices(LANs) but in MST solution all the vertices are necessary to be connected and finding the shortest path. So definetly there it of no very use of using MST for shortest path finding between lans, But we definetly know that MSTs do not have the cycles and thats what we want in the routing paths. 0 0 replyShare Please log in or register to add a comment.
21 21 votes Option (b) Ref : https://en.wikipedia.org/wiki/Spanning_Tree_Protocol Ayush Upadhyaya answered Apr 22, 2017 Ayush Upadhyaya comment Share Follow See all 3 Comments 3 3 Comments reply skyby commented Jan 28, 2018 reply Follow flag is this in syllabus of GATE18? 1 1 replyShare Swami patil commented Mar 14, 2018 reply Follow flag @Skyby token ring and bridges are removed 0 0 replyShare akshay7797 commented Apr 9, 2020 reply Follow flag @Swami patil but this comes under routing 0 0 replyShare Please log in or register to add a comment.
5 5 votes For avoiding loop we use spanning tree algorithm. Paras Nath answered Sep 14, 2016 Paras Nath comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote Brides and switches works in Datalink layer where we don't have a TTL field to limit the hop count to avoid looping of packet like network layer. So to avoid looping of packet in a cycle we use spanning tree protocols to disable some links virtually to break the cycle so that packets don't loop forever. so Option B is correct. S_Sandeep answered Jun 5 S_Sandeep comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes The spanning tree algorithm is used for bridge-routing in LAN networks to avoid loops in the network topology.In a network of LANs connected by bridges, loops can cause broadcast storms, where packets are broadcast repeatedly and endlessly, clogging the network and causing traffic congestion.The spanning tree algorithm is used to construct a logical tree-like structure that includes all the LANs in the network and avoids loops. This logical structure is called the spanning tree. The algorithm determines which bridges should be designated as the root of the spanning tree and which links should be designated as forwarding links and which should be designated as blocking links. The algorithm ensures that there is only one path between any two LANs in the network, which avoids loops and eliminates the possibility of broadcast storms. akshay_123 answered Apr 8 akshay_123 comment Share Follow 0 reply Please log in or register to add a comment.