Dynamic Routing Protocols Flashcards
Dynamic vs. Static Routes
Dynamic routing protocols are more scalable than admin-defined static routes
Using purely static routes is only feasible in very small networks
Using a combo of the two is very common
Dynamic Routing Protocol Advantages
Routers automatically advertise available subnets to each other without the administrator having to manually enter every route on every router
If a subnet is added/removed, the routers will automatically discover that & update their routing tables
2 types of Routing Protocols
IGP (Interior Gateway Protocol)
EGP (Exterior Gateway Protocol)
The only EGP in use today
BGP (Border Gateway Protocol)
2 Types of IGPs
Distance Vector
Link State
Distance Vector Protocols
AKA: “Routing by rumor”
Each router sends its directly connected neighbors a list of all its known network along with its own distance to each of those networks
Do not advertise the entire network topology
Router only knows its directly connected neighbors & the lists of networks those neighbors have advertised
No detailed topology info beyond neighbors
Link State Protocols
Each router describes itself & its interfaces to its directly connected neighbors
Info is passed unchanged from one router to another
Every router learns the full picture of the network including every router, its interfaces, & what they connect to
RIP
Routing Information Protocol:
Distance Vector
Uses hop count as the metric
Max hop count is 15
More than 15 hops will be marked unreachable
Only used in small/test networks
OSPF
Open Shortest Path First:
Link State Protocol
Uses “Cost” as the metric
Automatically derived from interface bandwidth by default
You can manually configure the cost of links if you want to manipulate the path
IS-IS
Intermediate System to Intermediate System:
Link State Protocol
Uses “cost” as the metric
(Not automatically derived from interface bandwidth)
(All links have equal cost by default)
Can manually configure cost of links to manipulate the path
If you do not want to manually set link costs, the lowest hop count will be used
EIGRP
Enhanced Interior Gateway Routing Protocol:
Advanced Distance Vector (Kind of a hybrid between distance vector & link state)
Uses bandwidth & delay of links to calculate metric
(Load/reliability can also be considered but ignored by default)
A fixed delay value is used based on the interface bandwidth
(Does not measure current delay dynamically)
You can manually configure delay on links if you want to manipulate the path
Equal Cost Multi Path (ECMP)
If multiple paths to a destination have an equal metric, the router will enter all of the paths into the routing table
Equal cost multi path will load balance the outbound traffic to the destination over the different paths
All IGP routing protocols perform ECMP by default
EIGRP is the only routing protocol capable of UnEqual Cost Multi Path
(Requires manual configuration)
Administrative Distance (AD)
Measure of how trusted the routing protocol is
Protocol with the lowest AD wins
AD is considered first before calculating the metric to narrow the scope
Administrative Distance Table
Connected Interface = 0 Static Route = 1 External BGP = 20 EIGRP = 90 OSPF = 110 IS-IS = 115 RIP = 120
Floating Static Routes
If the best path to destination is lost
It will be removed from the routing table & replaced
We might want to configure a static route as a backup
Static routes have AD of 1, so it will be always preferred by default
You can change the AD of a static route (floating static route)
Example:
Ip route 10.0.1.0 255.255.255.0 10.1.3.2 115
Changes AD to 115