











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












I want to know the shortest path
Routers/ Switches
Every node sends its neighbor a vector: the # of hops of reaching each other node.
A node sends to its neighbors the state of its directly connected links: up/down and costs. Each node that receives the information forwards it to all its neighbors.
Hey, Here is the routing information I got so far
Hmm, some of them are obsolete, Here is my update
Which algorithm should I use? Distributed Dijkstra’s algorithm or Distributed Bellman-Ford algorithm?
Routing Information Base
Forwarding Information Base
application Layer network Layer
Good Bye
See You Later
•G1 happily advertises route to network A with distance 1 •G2-G5 quickly learns the good news and install the routes
A: 3 hops B: 2 hops C: 2 hops
You
Your Neighbor
A: 0 hop B: 0 hops
•C lies easily about routes to A & B •Your neighbor and you lock into the ‘routes’
Who won’t jump on a better route?
0x
Next: 0x Only accept LSAs with newer/larger Seq#.
up
up (^) up
up
Flooding
Impact varies depending on how critical the link is to the world!
up
up
down
Flooding
All the links can be attacked
down
Authentication, please come to the rescue!
Seq#
If attackers can just change the content of LSAs without being detected, the routers must use all LSAs with care!
Seq# (1) 0x
(2) 0x seq++ attack
(3) 0x fight-back