Lesson 4 - Routing Flashcards
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
- networks such as Comcast, Google, Georgia Tech
- ISP, content provider, campus network, any other independently operating network
Internet routing involves 2 distinct types
- Intradomain (traffic routed inside any single AS)
- Interdomain (traffic routed between AS’s)
- Business relationships make interdomain routing so complicated
Topology in AS consists of
- Nodes (“POPs”/points of presence). Typically located in dense population center to be close to POP’s of other providers for easier interconnection, and close to other customers for cheaper backhaul to customers
- Edges: connect nodes. Constrainted by fiber paths, which for the sake of convenience typically parallel major transportation routes such as railroads and highways.
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
- Distance vector
- Routers compute paths based on shortest path available, using Bellman-Ford algorithm. When costs decrease, the network converges quickly, but one problem is when failures happen, bad news can travel slowly. - Link state
- Prevailing alternative, used in most operational networks today
- Each node distributes a network map to every other node in the network. Then, each node performs a shortest path computation between itself and all other nodes in the network.
- Often called the Dijkstra shortest path routing algorithm
Routing Information Protocol (RIP)
- Example of distance vector
- First version defined in 1982
- Infinity in count-to-infinity was 16
- Split horizon rule = tell all neighbors except for one that caused the update
- When a router or link fails in RIP, things can take minutes to stabilize
- Slow convergence and count to infinity = protocol designers look to alternatives
2 common link state routing protocols
- Open shortest paths first (OSPF)
- Intermediate System - Intermediate System (IS-IS). In recent years, has gained increasing use in large ISP’s, more commonly used link state routing protocol in large transit networks today.
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
- OSPF has Areas (backbone is Area 0, and each area not in the backbone has an Area 0 router)
- IS-IS has Levels
Each AS performs in
Its own best interest (economically, performance-objectives, etc.) and yet must cooperate to provide global connectivity
BGP
- Border Gateway Protocol
- Each AS advertises reachability to some destination by sending route advertisements or announcements
3 most important attributes of route advertisements
- Destination prefix (e.g. IP prefix for Georgia Tech)
- Next Hop (IP address of the router you need to send traffic to for that destination) - typically the IP address for the first router in the neighboring network
- AS path: sequence of AS #’s that describe the route to the destination. Nothing more than a sequence of AS’s that the route traversed to reach the recipient AS.