17,176 views
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?

  1. For shortest path routing between LANs

  2. For avoiding loops in the routing paths

  3. For fault tolerance

  4. For minimizing collisions

5 Answers

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.

• edited by
21 21 votes
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.
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.

Answer:
Position:
Show:

Related questions

197 197 votes
9 answers 9 answers
78.2k
78.2k views
Kathleen asked Sep 22, 2014
78,194 views
A $5$ stage pipelined CPU has the following sequence of stages:IF – instruction fetch from instruction memoryRD – Instruction decode and register readEX – Execute: ALU op...
32 32 votes
3 answers 3 answers
15.4k
15.4k views
gatecse asked Sep 21, 2014
15,402 views
Let $f(x)$ be the continuous probability density function of a random variable $x$, the probability that $a < x \leq b$, is :$f(b-a)$$f(b) - f(a)$$\int\limits_a^b f(x) dx...
107 107 votes
15 answers 15 answers
62.2k
62.2k views
Kathleen asked Sep 22, 2014
62,183 views
In a packet switching network, packets are routed from source to destination along a single path having two intermediate nodes. If the message size is $24$ bytes and each...
57 57 votes
9 answers 9 answers
51.1k
51.1k views
Kathleen asked Sep 22, 2014
51,107 views
An organization has a class $B$ network and wishes to form subnets for $64$ departments. The subnet mask would be:$255.255.0.0$$255.255.64.0$$255.255.128.0$$255.255.252.0...