Académique Documents
Professionnel Documents
Culture Documents
Network Technology
Semester 1 2004/2005
Chapter 6
Routing Protocol
Routing Protocol
Static Route
Dynamic Route
RIP
IGRP
Introduction
A protocol is a set of rules that determines how
computers communicate with each other across
networks.
A protocol describes the following:
The format that a message must conform to
Flexibility
Should quickly adapt to a variety of network changes.
These changes include router availability, router
memory, changes in bandwidth, and network delay.
Rapid convergence
Convergence is the process of agreement by all routers
on available routes. When a network event causes
changes in router availability, updates are needed to
reestablish network connectivity.
Routing Protocol
Routing Metric
Bandwidth
Delay
Memory requirements
Bandwidth consumption
RIPV1
All devices in the network use the same subnet mask
Classful routing
Routing Protocol
RIPV2
Provides prefix routing, and does send subnet mask information
in routing updates.
Classless routing
Different subnets within the same network can have different
subnet masks., variable-length subnet masking (VLSM).
IGRP
Distance-vector routing protocol
Based on delay, bandwidth, load, and reliability
Classful routing
Maximum hop 255
Routing updates broadcast every 90 seconds
Routing Protocol
OSPF
Link-state routing protocol
Address the needs of large, scalable internetworks
Open standard routing protocol
The SPF algorithm is used to calculate the lowest cost
to a destination.
Routing updates are flooded as topology changes
occur.
IS-IS
Link-state routing protocol
Supports multiple routed protocols including IP
Routing Protocol
EIGRP
Proprietary Cisco protocol
Provides superior operating efficiency such as fast
convergence and low overhead bandwidth
It uses load balancing.
It uses a combination of distance vector and link-state
features. Hybrid routing protocol
It uses Diffused Update Algorithm (DUAL) to
calculate the shortest path.
Routing updates are multicast using 224.0.0.10
every 30 seconds or as triggered by topology
changes.
Routing Protocol
BGP
An example of an External Gateway Protocol (EGP)
Router#show ip route
Verify that the route that was configured is in the
routing table.
Use ping and tracert to troubleshoot the static route
configuration
Dynamic Routing
The routing protocol learns all available routes, places
the best routes into the routing table, and removes routes
when they are no longer valid.
The router uses the information in the routing table to
forward routed protocol packets.
Whenever the topology of a network changes because of
growth, reconfiguration, or failure, the network
knowledgebase must also change.
The network knowledgebase needs to reflect an accurate
view of the new topology.
Dynamic Routing
Configure Routing Protocol
Router(config)#Router { rip | igrp | eigrp | ospf } option
Poison reverse
Holddown counters
Triggered updates
Dynamic Routing
Example
When Network 1 fails, Router E sends an update to
Router A.
When Router A sends out its update, Routers B and D
stop routing to Network 1. However, Router C has not
received an update. For Router C, Network 1 can still
be reached through Router B.
Router C keep sending periodic update to Router D,
which indicates a path to Network 1 by way of Router
B. Router D changes its routing table to reflect this
incorrect information, and sends it to Router A.
Dynamic Routing
Router A sends the information to Routers B and E, and
the process continues. Any packet destined for Network
1 will now loop from Router C to B to A to D and back to
again to C.
Dynamic Routing
Split horizon can be used to avoid routing loops
If a routing update about Network 1 arrives from Router
A, Router B or Router D cannot send information about
Network 1 back to Router A.
Split horizon reduces incorrect routing information
and routing overhead.
Dynamic Routing
Route poisoning is used by various distance vector protocols to
overcome large routing loops and offer detailed information
when a subnet or network is not accessible.
The hop count is usually set to one more than the maximum.
When Network 1 goes down, Router E will set a distance of 16 for
Network 1 to poison the route.
This indicates that the network is unreachable.
After Router B receives a route poisoning from Router E, it sends
an update, which is called a poison reverse, back to Router E.
This makes sure all routers on the segment have received the
poisoned route information.
Dynamic Routing
Triggered updates
A triggered update is sent immediately in response to
some change in the routing table.
The router that detects a topology change immediately
sends an update message to adjacent routers.
Ensure that all routers know of failed routes before
any holddown timers can expire.
Dynamic Routing
Holddown timers
When a router receives an update from a neighbor, which
indicates a network fail, the router marks the route as
inaccessible and starts a holddown timer.
Before the holddown timer expires, if an update is
received from the same neighbor, which indicates that
the network is accessible, the router marks the network
as accessible and removes the holddown timer.
if an update arrives from a different neighbor router with a
better metric for the network, the router marks the
network as accessible and removes the holddown timer.
Dynamic Routing
If an update is received from a different router with a
higher metric before the holddown timer expires, the
update is ignored
This update is ignored to allow more time for the
knowledge of a disruptive change to propagate
through the entire network.
RIP
RIP has evolved Classful Routing Protocol, RIP Version 1 (RIP
v1) to a Classless Routing Protocol, RIP Version 2 (RIP v2).
RIP v2 enhancements include:
Ability to carry additional packet routing information
Configuring RIP
RIP
Optional task:
Apply offsets to routing metrics
Adjust timers
Specify a RIP version
Enable RIP authentication
Configure route summarization on an interface
Verify IP route summarization
Disable automatic route summarization
Run IGRP and RIP concurrently
Disable the validation of source IP addresses
Enable or disable split horizon
Connect RIP to a WAN
RIP
Router(config)#ip classless
forward these packets to the best supernet route.
Router(config-router)#passive-interface Fa0/0
disable routing updates on specified interfaces
Router(config-router)#neighbor ip-address
exchange routing information with neighboring router
Router(config-router)#version { 1|2 }
receive and send Version 1 and 2 packets