Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Protocols / Difference Between Link State and Distance Vector

Difference Between Link State and Distance Vector

September 12, 2011 Posted by Andrew

Link State vs Distance Vector

Distance vector protocol and Link state protocol are two major sections in routing protocols. Each routing protocols belongs to one or both of them. Routing protocols are used to learn about it’s neighbors, network changes, and routes in a network. In routing protocol where we use distance vector routing algorithm, the information about the connected routers is advertised periodically, ex: RIP sends updates about the network every 30 seconds. RIP V1, RIP V2, and IGRP are distance vector protocols. But in link state, routing protocols updates the network only when a change in network happens, and it is created to overcome the drawbacks of distance vector protocol. If the network is stable, link state protocol re-floods each LSA regularly, ex: OSPF advertises LSA every 30 minutes. OSPF and IS-IS can be recognized as Link state protocols. The messages containing information about the network are called LSA (Link State Advertisements). Here, all routers learn the same information about all routers and subnets in a network. This information is stored in RAM of a router and it’s called Link State Database (LSDB). In every router, they have an identical copy of the LSDB in memory.

Distance Vector Protocol

Although it’s rather disadvantages to use in larger networks, still Distance vector protocol like RIP is used in many individual networks, which helps to make internet. Distance vector routing protocols send periodic full routing updates, but sometimes, these full updates are limited by split-horizon, which is used as a loop prevention mechanism. Split horizon does not let a route to be advertised to the same interface where the route is generated. When a router fails, it sends an immediately triggered message, which is called a triggered update. After a router learns about a failed route, it suspends split-horizon rules for that route and advertises a failed route and removes it from the network. When a route is down, every router is given a time called hold down timer to know about that failure, and it to be removed.

Link State Protocol

In link state routing protocol, every node constructs a map of every connectivity around a router. Every router has full knowledge on to which router it’s connected, and they add best routes to their routing tables based on metric, at last, every router in the internetwork has the same information about the internetwork. When considering with Distance Vector protocol, Link state protocol provides fast convergence, and it reduces the possibility of creating loops in a network. Link state protocols do not need to use a large variety of loop preventions mechanisms. Link state protocols consume much more CPU and memory, but when a network is properly designed, this can be reduced. Therefore, it requires much more planning than distance vector protocol, and it is needed to use more configurations for a better network design.

What is the difference between Link State and Distance Vector?

· Distance vector protocols are used in small networks, and it has a limited number of hops, whereas Link state protocol can be used in larger networks, and it has unlimited number of hops.

· Distance vector protocol has a high convergence time, but in link state, convergence time is low.

· Distance vector protocol periodically advertise updates, but link state advertises only new changes in a network.

· Distance vector protocol advertises only the directly connected routers and full routing tables, but link state protocols only advertise the updates, and flood the advertisement.

· In distance vector protocol, loop is a problem, and it uses split horizon, route poisoning and hold down as loop preventing techniques, but link state has no loop problems.

Related posts:

Difference Between Subnetting and Supernetting Difference Between TCP and SCTP Protocols Difference Between HDLC and PPP Difference Between Flooding and Broadcasting Differences Between Layer 2 and Layer 3 Switches

Filed Under: Protocols Tagged With: Distance vector, Distance vector protocol, distance vector routing algorithm, distance vector routing protocols, hold down timer, IGRP, IS-IS, Link state, Link State Advertisements, Link State Database, Link state protocol, link state routing protocols, loop prevention mechanism, LSA, LSDB, OSPF, RIP V1, RIP V2, routing protocols, split-horizon, triggered update

About the Author: Andrew

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between Arrest and Detention

Difference Between Nematodes and Annelids

Difference Between Nematodes and Annelids

What is the Difference Between Bugs and Beetles

What is the Difference Between Bugs and Beetles

Difference Between Human and Animal Hair

Difference Between Human and Animal Hair

Difference Between Zero and Null

Latest Posts

  • What is the Difference Between Osteoporosis and Scoliosis
  • What is the Difference Between Saree and Half Saree
  • What is the Difference Between Hypernatremia and Hyponatremia
  • What is the Difference Between Diabetes Mellitus and Diabetic Ketoacidosis
  • What is the Difference Between Sciatica and Spinal Stenosis
  • What is the Difference Between Metatarsalgia and Morton’s Neuroma
  • Home
  • Vacancies
  • About
  • Request Article
  • Contact Us

Copyright © 2010-2018 Difference Between. All rights reserved. Terms of Use and Privacy Policy: Legal.