retagged by
1,867 views
1 votes
1 votes

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$
retagged by

2 Answers

0 votes
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 votes
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:

Related questions

1 votes
1 votes
3 answers
4
Gurdeep Saini asked Jan 2, 2019
1,669 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...