What is fowarding?
move packets from router input port to appropriate output port
what is routing?
determine route taken by packets from source to destination
two approaches for network control plane
logically centralized control plane?
Remote controller interacts with local control agents (CAs) in routers to compute fowarding tables
Per-router system?
What is the cost of an edge?
centralized routing algortihm?
Decentralized routing algorithm
Static routing algorithms
dynamic routing algorithm
What does distributed mean for the distance vector algorithm
what does “iterative” mean with the distance vector algorithm
continues until no more info is exchanged between neighbours
what does asynchronous mean with distance vector algorithm
Comparing LS and DV algorithms
Message complexity:
LS - with n nodes, E links, O(nE) messages sent
DV - exchange between neighbours only
Speed of convergence:
LS - O(n^2) algorithm requires O(nE) messages (could have oscillations)
DV - convergence time varies (routing loops or count to infinity)
Robustness (router malfunctions?):
LS - advertise incorrect link cost
each node only computes only its own table
DV - can advertise incorrect path cost
intra-AS routing
inter-AS routing
Hierarchy of OSPF
Open shortest path first (OSPF)
Border gateway protocol (BGP)
-inter domain protocol
- determines good routes based on reachability and policy
eBGP
obtain subnet reachability info from neighbouring AS
iBGP
propagate reachability info to all AS-internal routers
Hot potato routing
choose local gateway that has least intra domain cost. Dont worry about inter-domain cost
BGP route selection
1.) local preference (policy)
2.) shortest AS-path
3.) closest next-hop router (hot potato)
4.) additional criteria
Why different intra-, inter-AS routing?
Policy:
inter - admin wants to control how traffic routed and who routes through its net
intra - single admin, so no policy decisions
scale:
- heriarchical routing saves table size, reduced update traffic
performance:
intra - can focus on performance
inter - policy can dominate over performance