Cisco TAC Entry Training - 10 - Dynamic Routing Protocols
Cisco TAC Entry Training - 10 - Dynamic Routing Protocols
Cisco TAC Entry Training - 10 - Dynamic Routing Protocols
Dynamic Routing
Protocols
Tariq Bader
CCIE # 35627
Security/VPN team
Cisco TAC
Presentation_ID © 2010 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1
Agenda
Dynamic Routing
Protocols
Introduction
Classifying Routing
Protocols
Route Lookup
Process
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
Dynamic
Routing
Dynamic Routing Protocols Introduction
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Purpose of Dynamic Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
Main Components of Dynamic Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
Main Components of Dynamic Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
Dynamic vs Static Routing
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
Dynamic Routing Protocol Operation
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
Achieving Convergence
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
Dynamic
Routing
Classifying Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
Classifying Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
IGP and EGP Routing Protocols
Interior Gateway
Protocols (IGP)
o Used for routing within an
AS
o Include RIP, EIGRP, OSPF,
and IS-IS
Exterior Gateway
Protocols (EGP)
o Used for routing between
AS
o Official routing protocol
used by the Internet
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
Distance Vector Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
Distance Vector Routing Protocols
Share updates between neighbors
Not aware of the network topology
Some send periodic updates to broadcast IP 255.255.255.255
even if topology has not changed RIPv1 & IGRP
Updates consume bandwidth and network device CPU resources
RIPv2 and EIGRP use multicast addresses
o RIPv2 224.0.0.9
o EIGRP 224.0.0.10
EIGRP will only send an update when topology has changed
RIP uses the Bellman-Ford algorithm as its routing algorithm.
IGRP and EIGRP use the Diffusing Update Algorithm (DUAL)
routing algorithm developed by Cisco.
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
Link-State Routing Protocols
Link-state IPv4
IGPs:
o OSPF - Popular
standards based
routing protocol
o IS-IS - Popular in
provider networks.
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
Link-State Routing Process
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
Distance Vector vs Link-State Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
Classful Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
Classless Routing Protocols
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
Routing Protocol Characteristics
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
Routing Protocol Metrics
A metric is a measurable value that is assigned by the
routing protocol to different routes based on the usefulness
of that route:
o Used to determine the overall “cost” of a path from source to
destination.
o Routing protocols determine the best path based on the route with
the lowest cost.
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
Dynamic
Routing
Route Lookup Process
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
Routing Table Entries
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
Directly Connected Entries
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
Remote Network Entries
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
Routing Table Terms
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
Ultimate Route
An ultimate route is
a routing table entry
that contains either
a next-hop IP
address or an exit
interface. Directly
connected,
dynamically learned,
and link local routes
are ultimate routes.
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
Level 1 Route
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
Level 1 Parent Route
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
Level 2 Child Route
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
Route Lookup Process
1. If the best match is a level 1 ultimate route, then this route is used
to forward the packet.
2. If the best match is a level 1 parent route, proceed to the next step.
3. The router examines child routes (the subnet routes) of the parent
route for a best match.
4. If there is a match with a level 2 child route, that subnet is used to
forward the packet.
5. If there is not a match with any of the level 2 child routes, proceed
to the next step.
6. The router continues searching level 1 supernet routes in the
routing table for a match, including the default route, if there is one.
7. If there is now a lesser match with a level 1 supernet or default
routes, the router uses that route to forward the packet.
8. If there is not a match with any route in the routing table, the
router drops the packet.
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
Best Route = Longest Match = Most Specific
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
Q&A
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 33
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34