16,313 views
50 50 votes

Two popular routing algorithms are Distance Vector(DV) and Link State (LS) routing. Which of the following are true?

(S1):  Count to infinity is a problem only with DV and not LS routing
(S2):  In LS, the shortest path algorithm is run only at one node
(S3):  In DV, the shortest path algorithm is run only at one node
(S4):  DV requires lesser number of network messages than LS

  1. S1, S2 and S4 only
  2. S1, S3 and S4 only
  3. S2 and S3 only
  4. S1 and S4 only

7 Answers

Best answer
41 41 votes

S1 is true, S2 and S3 are false and S4 is true. 

Link State: https://cseweb.ucsd.edu/classes/fa10/cse123/lectures/123-fa10-l12.pdf

Distance Vector: http://cseweb.ucsd.edu/classes/fa10/cse123/lectures/123-fa10-l13.pdf

Correct Answer: $D$

• edited by
25 25 votes
Count to infinity problem only exist into the DVR.

In LSR shortest path is calculated at each and every router so option B is wrong.

Similar case also arise for the DVR so option C is also wrong.

Since DVR is based upon local knowledge whereas LSR is based upon global knowledge.
4 4 votes

(S1): Count to infinity is a problem only with DV and not LS routing

  • The count-to-infinity problem occurs in DV routing when routers exchange distance vectors, and bad news (e.g., a link failure) propagates slowly through the network. LS routing does not suffer from this problem because each router has a global view of the network topology.
 
  • True for DV; False for LS.

      True


(S2): In LS, the shortest path algorithm is run only at one node

  • In LS routing, every node gathers a complete view of the network topology (via link-state advertisements) and independently runs the Dijkstra’s shortest path algorithm to compute the shortest paths to all other nodes.
 
  • False, because the shortest path algorithm is run at all nodes, not just one.

        False


(S3): In DV, the shortest path algorithm is run only at one node

  • In DV routing, no single node runs the shortest path algorithm. Instead, all nodes exchange distance vectors with their neighbors and update their routing tables iteratively using the Bellman-Ford algorithm.
 
  • False, because the shortest path algorithm is not run at only one node.

     False


(S4): DV requires lesser number of network messages than LS

  • In DV routing, nodes exchange only distance vectors with neighbors, which typically involves fewer messages compared to LS routing.\
 
  • In LS routing, each router floods link-state advertisements (LSAs) throughout the network, which generates a higher number of messages, especially in large networks.
 
  • True, as DV typically requires fewer network messages.

       True

0 0 votes
Answer (D)
0 0 votes
Count to Infinity problem has only direct connection with DV algorithm. As Good information spreads slow and bad information spreads faster. This count to infinity problem has no link with LS Algorithm.

DV requires lesser number of network messages then LS as DV is a static algorithm.

So rest information in question is not valid so only A and D are true
1 flag:
✌ Edit necessary (P0535_Yedidyah_Sagar “"Good News spreads fast and bad news spreads slow in DVR. Not the other way around”)
Answer:
Position:
Show:

Related questions

100 100 votes
7 answers 7 answers
30.9k
30.9k views
Ishrat Jahan asked Oct 29, 2014
30,893 views
Host $X$ has $IP$ address $192.168.1.97$ and is connected through two routers $R1$ and $R2$ to an­other host $Y$ with $IP$ address $192.168.1.80$. Router $R1$ has $IP$ ad...
76 76 votes
10 answers 10 answers
22.6k
22.6k views
Ishrat Jahan asked Oct 29, 2014
22,613 views
Host $X$ has IP address $192.168.1.97$ and is connected through two routers $R1$ and $R2$ to an­other host $Y$ with IP address $192.168.1.80$. Router $R1$ has IP addresse...
22 22 votes
4 answers 4 answers
14.5k
14.5k views
Ishrat Jahan asked Oct 29, 2014
14,490 views
The total number of keys required for a set of $n$ individuals to be able to communicate with each other using secret key and public key cryptosystems, respectively are:$...
73 73 votes
7 answers 7 answers
24.5k
24.5k views
Ishrat Jahan asked Oct 29, 2014
24,481 views
The three way handshake for $\text{TCP}$ connection establishment is shown below. Which of the following statements are TRUE?$S1:$ Loss of $\text{SYN} + \text{ACK}$ from...