Nuts and bolts that make routing possible
Naming, addressing, forwarding
The internet is a collection of
10s of thousands of autonomous systems (AS’s)
AS
- ISP, content provider, campus network, any other independently operating network
Internet routing involves 2 distinct types
Topology in AS consists of
Abilene
Single AS topology - research network in the US
-GT is an AS that connects at the Atlanta POP of the Abilene network
Southern Crossroads
Internet exchange point where Abilene connects to other universities in southeast near Atlanta
Routing is
The process by which nodes discover where to forward traffic so that it reaches a certain node.
2 types of intradomain routing
Routing Information Protocol (RIP)
2 common link state routing protocols
1 problem with link state routing
Scale. Complexity of a link state routing protocol grows as n^3 where n is # of nodes in the network.
Coping with scale using hierarchy
Each AS performs in
Its own best interest (economically, performance-objectives, etc.) and yet must cooperate to provide global connectivity
BGP
- Each AS advertises reachability to some destination by sending route advertisements or announcements
3 most important attributes of route advertisements
Origin AS
The last AS along the AS path. Called this because it’s the AS that originated the advertisements for this IP prefix.
EBGP
External BGP
BGP consisting of route advertisements solely between border routers of adjacent AS’s
iBGP
Internal BGP
Used to transmit routes inside an AS for external destinations
Not to be confused with IGP
IGP
Routes inside an AS to internal destinations
BGP Route Selection Process
Local preference
Numerical value that a network operator in local AS can assign to a particular route. It’s purely local, so it’s dropped in eBGP route advertisements, but allows local operator ability to explicitly state that one route should be preferred over the other
Multi-Exit Discriminator
“MED”
Hot potato routing
AS sends traffic to the neighboring AS via a path that traverses as little of its own network as possible
-Tie breaker in BGP route selection process is arbitrary, but typically operators prefer to use the route advertisement from the router with the lowest router ID, which is typically the neighboring router’s IP address