retagged by
3,234 views
1 1 vote

Let $N$ be the number of nodes and $M$ be the number of edges. For Link state routing how many message exchanges (roughly, explained as a function of the above parameters) need to be exchanged to build the topology at each and every node in the network?

  1. $\text{Min } (N+M, N*M)$
  2. $\text{Max } (N+M, N*M)$
  3. $N*M$
  4. $N+M$

2 Answers

0 0 votes
Is it like that each node builds a link state packet for each link and floods this to all nodes in the network.?

Since, for M edges, M link state packets generated and flooded among N nodes, so total $M \times N$ message exchanges.

Is it like that?
edited by
0 0 votes
Link State Routing uses Flooding.

What Flooding means is forwarding a packet that you receive from one interface to all other interface except the one from which the packet was received.

So assuming a node has N edges and it will receive one packet from each edge once, and will forward it to remaining N-1 edges, making a total of N*(N-1) exchanges.

This is the count for only one node, but this happens at all other nodes also which adds a factor of M to the above exchanges, making the total count = M*N*(N-1).

So the total count always has the factor of M*N or in other words it can be expressed in terms of M*N.
Answer:
Position:
Show:

Related questions

1 1 vote
0 0 answers
236
236 views
Shubham Sharma 2 asked Sep 9, 2025
236 views
Which of the following statement/s is/are NOT CORRECT?$\textrm{OSPF}$ is based on distance-vector routing protocol.Both link-state and distance-vector routing are based o...
2 2 votes
0 0 answers
666
666 views
eggs asked Feb 27, 2025
666 views
Consider the routing protocols given in List I and the names given in List II: $$ \begin{array}{|c|c|} \hline \textbf{List I} & \textbf{List II} \\ \hline (\text{i}) \ \ ...
0 0 votes
1 1 answer
1.8k
1.8k views
Souvik33 asked Oct 25, 2022
1,828 views
St.No.Routing ProtocolsPersistent loopingCount to infinity problemIDistance vector routing protocol (DVRP)YesYesIISplit horizon in DVRNoYesIIISplit horizon with poison re...
1 1 vote
3 3 answers
2.4k
2.4k views
Gurdeep Saini asked Jan 2, 2019
2,406 views
True / False) LSR uses dijkstra algorithm ?) LSR working is similar to dijkstra algorithm ?) DVR uses bellman algorithm for finding the shortest distance to other routers...