Routing Flashcards
Link state routing
Each router has complete network
Information about neighbors flooded to every other, to keep link states consistent across routers
Independent calculation via Dijkstra
OSPF
Distance vector routing
Distributed computation
Each router knows neighbors
Each router has provisional shortest path
Routers exchange info with neighbors
Routers update idea of best path depending on info received by neighbors
Bellman Ford Algorithm
Path vector routing
Instead of just exchanging cost of path, exchange entire path to destination
Nodes can use arbitrary metrics, ie policies, economic factors, traffic etc.
Loopless, but maybe not convergent
Hierarchical routing
Aggregate routers into autonomous systems
In AS’s every router runs same protocol: intra AS routing
At the gateways: inter AS routing
Forwarding table calculated by both protocols
InterAS task is to obtain info about neighboring ASs and tell inner routers about it
Example internet: BGP
IntraAS protocols aka Interior Gateway Protocols
Examples: RIP, OSPF, IGRP
RIP
Routing Information Protocol
Distance vector algorithm with max hop count
DV exchanged periodically
Uses poison reverse
BGP
Border Gateway Protocol
Intra domain routing
Path vector protocol