CN | Routing | Link state routing | Ravindrababu Ravula | Free GATE CS Classes
Ravindrababu Ravula
33 min, 4 sec
The video discusses the Link State Routing (LSR) algorithm, its advantages over Distance Vector Routing (DVR), and how to resolve issues arising from LSR.
Summary
- The video begins with an expectation that viewers have already seen the video on Distance Vector Routing and moves on to discuss Link State Routing (LSR) by comparing the two.
- Link State Routing became popular as bandwidth improved in the 1990s, allowing routers to send more comprehensive link state packets instead of just distance vectors.
- The speaker explains the concept of link state packets, which contain the state of each link (whether it is up or down) and the cost of the link, forming the basis for LSR.
- An example network of four routers is used to demonstrate how each router creates a link state packet with the information about its direct connections.
- The speaker outlines the steps of LSR, including the creation and flooding of link state packets, and then applying Dijkstra's algorithm to form the shortest path tree from the global knowledge obtained.
- Potential issues with LSR, such as heavy traffic due to flooding and the use of sequence numbers, Time to Live (TTL), and validity periods to mitigate these issues, are also explained.
- The video concludes with a comparison between DVR and LSR, where LSR is shown to have transient problems that correct themselves over time, unlike DVR's persistent problems.
Chapter 1
Introduction and comparison of Link State Routing with Distance Vector Routing.
- The video starts by setting the expectation that viewers are familiar with Distance Vector Routing and moves to discuss Link State Routing.
- Link State Routing is introduced as a more informative method that became viable with increased bandwidth in the post-1980s era.
- A brief history of routing protocols and the limitations of Distance Vector Routing, such as the count to infinity problem, are mentioned.
Chapter 2
Explaining the creation of link state packets using an example network.
- An example with four routers is presented to explain how each router creates a link state packet.
- Each router lists its directly connected neighbors and the cost of each link in the packet, providing a comprehensive view of the network.
- The concept of 'hello packets' is introduced, which helps routers discover their neighbors before the creation of link state packets.
Chapter 3
Describing the process of flooding link state packets to acquire global knowledge.
- Flooding is defined as the process where each router sends the link state packet to every other router in the network.
- The global knowledge obtained from flooding enables a router to form a complete picture of the network's topology.
- The use of flooding as an efficient method to ensure reliable and fast data transmission is explained.
Chapter 4
How routers use global knowledge to form their local routing table using Dijkstra's algorithm.
- After receiving link state packets, a router can construct the entire network graph in its memory.
- The router then applies Dijkstra's algorithm to this global knowledge to determine the shortest path to each destination.
- The local routing table is constructed by each router based on the shortest paths determined by the algorithm.
Chapter 5
Discussion of issues related to heavy traffic from flooding and the use of sequence numbers to address them.
- Heavy traffic caused by flooding is acknowledged as a potential issue for Link State Routing.
- Sequence numbers are introduced as a way to distinguish new packets from old ones and to control the spread of outdated information.
- The concept of Time to Live (TTL) and its role in preventing packets from looping infinitely is explained.
Chapter 6
Exploring the more advanced problems associated with sequence numbers and validity periods in LSR.
- The challenge of a corrupted sequence number leading to the rejection of valid packets is discussed.
- Validity or lifetime of packets is introduced as a method to periodically refresh the information and prevent stale data from causing issues.
- The significance of lifetime in the context of LSR and how it helps in maintaining up-to-date routing information is outlined.
Chapter 7
Identifying and explaining transient problems in LSR such as black hole and looping issues.
- Transient problems in LSR, which correct themselves over time, are mentioned.
- Specific transient problems, such as the black hole problem when links fail and temporary looping when routers have outdated information, are discussed.
- These issues are compared to the persistent problems in DVR, highlighting the self-correcting nature of LSR.
Chapter 8
Comparing DVR with LSR and a segue into promoting studying abroad for Masters.
- A face-to-face comparison of DVR and LSR is provided, emphasizing the advantages of LSR.
- The video shifts to discuss the benefits of pursuing Masters abroad rather than in India, citing better acceptance rates and salary prospects.
- Services provided by the speaker's organization, including university shortlisting and Visa assistance, are promoted.