You are on page 1of 5

NETWORK b) Vector - direction of the next-hop

router or exit interface to reach


ADMINISTRATION
the destination
Chapter 5- Dynamic Routing
Example: RIPv1 (legacy), RIPv2, IGRP,
CLASSIFYING ROUTING Cisco proprietary (obsolete), EIGRP
PROTOCOLS
Purposes of Dynamic Routing Link-State Routing Protocols
Protocol
Link-State Router
1. Discovery of remote networks
2. Maintaining up-to-date routing - uses the link-state information
information received from other routers
3. Choosing the best path to a) to create a topology map
destination networks b) to select the best path to all
4. Ability to find a new best path if destination networks
current path is no longer
available - doesn’t use periodic updates
- updates are sent when there is
Interior Gateway Protocols (IGP) a change in the topology

- used for routing within an Example: OSPF, IS-IS


Autonomous System (AS)
Example: RIP, EIGRP, OSPF, IS-IS Classful Routing Protocols
- include subnet mask information
Exterior Gateway Protocols - do not send subnet mask
- used for routing between AS information

Example: BGP - cannot support variable-length


subnet masks (VLSM) and classless
interdomain routing (CIDR)
Distance Vector Routing Protocols - create problems in
Distance Vector discontiguous networks

- routes are advertised by


providing: Classless Routing Protocols
a) Distance - how far it is to the - include the subnet mask
destination network information
- support VLSM and CIDR • When a router detects a topology
change, the routing protocol can
- IPv6 routing protocols are
advertise this change to other
classless
routers.
Example: RIPv2, EIGRP, OSPF, IS-IS

Cold Start
Routing Protocol Metrics
• After a router boots successfully
Metric - measurable value that is it applies the saved configuration,
assigned by the routing protocol to then the router initially discovers
different routes based on the usefulness its own directly connected
of that route networks.

Routing metrics - used to determine • It adds those directly


the overall “cost” of a path connected interface IP
addresses to its routing
Best path - route with the lowest cost
table
Metrics used:
a) RIP - hop count
Network Discovery
b) OSPF - based on cumulative
bandwidth • If a routing protocol is configured,
c) EIGRP - bandwidth, delay, load, the router exchanges routing
and reliability updates to learn about any
remote routes.
• The router sends an
Distance Vector Dynamic Routing
update packet with its
Operation of a dynamic routing protocol routing table information
can be described as follows: out all interfaces.

• The router sends and receives • The router also receives


routing messages on its updates from directly
interfaces. connected routers and
adds new information to its
• The router shares routing
routing table.
messages and routing
information with other routers
using the same routing protocol.
• Routers exchange routing
information to learn about remote
networks.
Exchanging the Routing Information Distance Vector Algorithm
• Working toward convergence, the • The distance vector algorithm
routers exchange the next round defines the following
of periodic updates. processes:
• Distance vector routing protocols a) Mechanism for sending
use split horizon to avoid loops. and receiving routing
information
• Split horizon prevents information
from being sent out the same b) Mechanism for
interface from which it was calculating the best
received. paths and installing
routes in the routing
table
Achieving Convergence
c) Mechanism for
• The network has converged detecting and reacting
when all routers have complete to topology changes
and accurate information about
• RIP uses the Bellman-Ford
the entire network
algorithm as its routing
• Convergence time is the time it algorithm.
takes routers to share
• IGRP and EIGRP use the
information, calculate best paths,
Diffusing Update Algorithm
and update routing tables.
(DUAL) routing algorithm.
• Routing protocols can be rated
based on the speed to
convergence, the faster the TYPES OF DISTANCE VECTOR
convergence, the better the ROUTING PROTOCOLS
routing protocol.
Routing Information Protocol
- easy to configure
Distance Vector Technologies
- routing updates broadcasted
• Distance vector routing protocols every 30 seconds
share updates between
- metric is hop count
neighbors.
• Routers using distance vector - 15 hop limit
routing are not aware of the
network topology.
• Some distance vector routing
protocols send periodic updates.
RIPv2 Examples: Open Shortest Path First
(OSPF), Intermediate System to
- classless routing protocol
Intermediate System (IS-IS)
- increased efficiency
- reduced routing entries
Dijkstra’s Algorithm
- secured
- all link-state routing protocols
apply Dijkstra’s algorithm to calculate
the best path route
RIPng
- IPv6 enabled version of RIP
STEPS IN LINK-STATE ROUTING
- 15 hop limit
PROCESS
- 120 administrative distance
Step 1. Link-State
- each router learns its own
Enhanced Interior-Gateway Routing directly connected networks.
Protocol
- replaced IGRP in 1992
Step 2. Say Hello
- each router uses a Hello
Features of EIGRP protocol to discover any neighbors on its
links.
1. Bounded triggered updates
2. Hello keepalive mechanism - when two link-state routers
3. Maintains a topology table learn that they are neighbors, they form
4. Rapid convergence an adjacency.
5. Multiple network layer protocol
- if a router stops receiving Hello
support
packets from a neighbor, that neighbor
is considered unreachable.

Link-State Dynamic Routing


Link-State Routing Protocols Step 3. Building the Link-State Packet

- aka shortest path first protocols - each router builds a link-state


packet (LSP) that contains the link-state
- built around Dijkstra’s shortest
information about its links.
path first (SPF) algorithm
Step 4. Flooding the LSP • Directly connected routes and
static routes are also included in
- each router floods the LSP to all
the routing table.
neighbors
- an LSP only needs to be sent:
• During initial startup of the
routing protocol process
on that router (e.g., router
restart)
• Whenever there is a
change in the topology
(e.g., a link going down)

Step 5. Building the Link-State


Database
- each router uses the database
to construct a complete map of the
topology and computes the best path to
each destination network

Building the SPF Tree


• Each router uses the link-state
database and SPF algorithm to
construct the SPF tree.

Adding OSPF Routes to the Routing


Table
• Using the shortest path
information determined by the
SPF algorithm, these best paths
are then added to the routing
table.

You might also like