Networks and Security - Module 7 - Distance Vector Routing Protocols RIP and IGRP
Networks and Security - Module 7 - Distance Vector Routing Protocols RIP and IGRP
All slides are customized by Engr. VernonD. For educational purposes only. inspired by Cisco Networking Academy
Distance vector routing updates
All slides are customized by Engr. VernonD. For educational purposes only.
Count To Infinity
• Count to infinity
• Packets loop continuously around the network
• Packet never reach their destination
• May occur because
• Network is down
• Interface not configured correctly
• To overcome count to infinity
• Specify a maximum hop count
• Split Horizon
• Route Poisoning
• Hold Down timers
All slides are customized by Engr. VernonD. For educational purposes only.
Maximum hop count
• Used to overcome
count to infinity
• Hop count
• The number of routers a
packet goes through
• It increases each time a
packet goes through a
router
• RIP maximum hop
count is 15
• Packet is discarded if the
hop count of 16 is reached
• This is because the
network 1 is unreachable
All slides are customized by Engr. VernonD. For educational purposes only.
Route poisoning
• Poison reverse
• When route poisoning is used with
triggered updates it will speed up
convergence time because
neighboring routers do not have to
wait 30 seconds before advertising
the poisoned route.
• Failed routes are advertised with
infinite metrics.
All slides are customized by Engr. VernonD. For educational purposes only.
RIP Routing Protocol
All slides are customized by Engr. VernonD. For educational purposes only.
All slides are customized by Engr. VernonD. For educational purposes only.
All slides are customized by Engr. VernonD. For educational purposes only.
Preventing routing updates through an interface
• network command
• If it is issued for a given network using RIP or IGRP
• router immediately begin sending advertisements out all interfaces within the specified network
address range
• Router(config)#router RIP
• Router(config-router)#network 192.101.21.0
• passive interface command
• Stops the router from sending updates through a particular interface to a neighbor
• Router continues to listen and use routing updates from that neighbor
• Prevent other systems from learning about routes dynamically
• Router(config)#router RIP
• Router(config-router)#passive-interface fa0/0
All slides are customized by Engr. VernonD. For educational purposes only.
Load balancing with RIP
All slides are customized by Engr. VernonD. For educational purposes only.
Integrating static routes with RIP
• Static routes
• User-defined routes
• Force packets to take a specific path
• Useful for specifying a “gateway of last resort”; a default route
• Administrative Distance (AD)
• Each dynamic routing protocol has a default AD
• A static route can be defined as less desirable than a dynamically learned route, as long as
the AD of the static route is higher than that of the dynamic route
• floating static route
• A route configured on a router to take the place of the RIP route in the event that the RIP
routing process fails
• RIP can advertise static routes using the redistribute static command
All slides are customized by Engr. VernonD. For educational purposes only.
IGRP features
All slides are customized by Engr. VernonD. For educational purposes only.
IGRP Routes
• IGRP advertises three types of routes:
• Interior
• Routes between subnets of a network attached to a
router interface
• If the network attached to a router is not subnetted,
IGRP does not advertise interior routes
• System
• Routes to networks within an autonomous system
number
• The IOS derives system routes from directly connected
network interfaces
• System routes information provided by other IGRP
routers.
• System routes do not include subnet information
• Exterior
• Routes to networks outside the autonomous system
that are considered when identifying a gateway of last
resort.
• Gateway of last resort is used if
• a better route is not found
• The destination is not a connected network
• Exterior routes are also referred to as "candidate
default"
All slides are customized by Engr. VernonD. For educational purposes only.
IGRP stability features
Holddowns
Prevent regular update messages from inappropriately reinstating a route that may not
be up
Split horizons
• It is usually not useful to send information about a route back in the direction from
which it came
• Prevent routing loops
Poison reverse
• Poison reverse updates then are sent to remove the route and place it in holddown.
• With IGRP, poison reverse updates are sent only if a route metric has increased by a
factor of 1.1 or greater.
All slides are customized by Engr. VernonD. For educational purposes only.
IGRP Timers
• RIP, IGRP
All slides are customized by Engr. VernonD. For educational purposes only.