Ccna2 - Mod7 - Distance Vector Routing Protocols
Ccna2 - Mod7 - Distance Vector Routing Protocols
Distance Vector
Routing Protocols
Version 3.1
Distance Vector Routing Updates
Version 3.1
Distance Vector Routing Metric
Version 3.1
Convergence
Version 3.1
Routing Loops
Version 3.1
Routing Loops
•To reduce routing loops and counting to infinity, RIP uses the
following techniques:
oCount-to-infinity
oSplit horizon
oPoison reverse
oHolddown counters
oTriggered updates
Version 3.1
Routing Loops – Count to Infinity
Version 3.1
Routing Loops – Split-Horizon
Version 3.1
Routing Loops – Split-Horizon
•The split horizon rule is based on the theory that it is not useful
to send information about a route back in the direction from which it
came.
If router A
receives an
update from
router D, it would
not send that
information back
to router D.
Version 3.1
Routing Loops – Route Poisoning
Version 3.1
Routing Table Updates
Version 3.1
Holddown Timers
Version 3.1
Holddown Timers
Version 3.1
Holddown Timers
Version 3.1
Holddown Timers
•The ideal setting would be to set the timer just longer that the
longest possible update time for the internetwork.
Version 3.1
Holddown Timers
Version 3.1
Routing Information Protocol (RIP)
Version 3.1
Routing Information Protocol (RIP)
Version 3.1
Routing Information Protocol (RIP)
Version 3.1
Configuring RIP
Version 3.1
Configuring RIP
•Router(config)#router rip
oEnables the RIP routing process
•Router(config-router)#network network-number
oAssociates a network with the RIP routing process
Version 3.1
Configuring RIP
Version 3.1
ip classless Command
•In order for the Cisco IOS software to forward packets to the
best supernet route possible, use the ip classless global
configuration command.
•If the router receives a packet for a subnet that does not have a
default route and ip classless is enabled, it will forward the packet
to the subnet via a supernet route.
•A supernet route is a route that covers a greater range of
subnets with a single entry.
•For example, an enterprise uses the entire subnet 10.10.0.0 /16,
then a supernet route for 10.10.10.0 /24 would be 10.10.0.0 /16.
Version 3.1
ip classless Command
Version 3.1
passive-interface command
Version 3.1
Verifying RIP
•There are several commands that can be used to verify that RIP
is properly configured.
•Two of the most common methods are:
oshow ip route command
oshow ip protocols command.
Version 3.1
show ip protocols
Version 3.1
show ip route
Version 3.1
Troubleshooting RIP
Version 3.1
Troubleshooting RIP
Version 3.1
Load Balancing with RIP
Version 3.1
Load Balancing with RIP
Version 3.1
Load Balancing with RIP
Version 3.1
Load Balancing
Version 3.1
Load Balancing
•Each routing process calculates its cost differently and the costs
may need to be manually configured in order to achieve load
balancing.
•RIP networks must have the same hop count to load balance,
whereas IGRP uses bandwidth to determine how to load balance.
Version 3.1
Administrative Distance
Version 3.1
Load Balancing
•When routing IP, the Cisco IOS offers two methods of load
balancing, per-packet and per-destination load balancing.
•If process switching is enabled, the router will alternate paths on
a per-packet basis.
•If fast switching is enabled, only one of the alternate routes will
be cached for the destination address, so all packets in the packet
stream bound for a specific host will take the same path.
•Packets bound for a different host on the same network may use
an alternate route, traffic is load balanced on a per-destination
basis.
Version 3.1
Static Routes
Version 3.1
Static Routes
•A static route has been configured on the GAD router to take the
place of the RIP route in the event that the RIP routing process
fails.
•This is referred to as a floating static route.
•The floating static route was configured by defining an AD on the
static route (130) greater than the default AD of RIP (120).
Version 3.1
IGRP
Version 3.1
IGRP
Version 3.1
IGRP
•The show ip
protocols command
displays parameters,
filters, and network
information concerning
the routing protocols in
use on the router. Default is 100, max. is 255
Version 3.1
IGRP
?
•Given the following information from the show ip protocols
command, when would the next update interval be expected?
Version 3.1
IGRP
Version 3.1
IGRP
If default settings are used, by looking
at the update interval you can tell what
routing protocol is being used.
Version 3.1
IGRP
Version 3.1
IGRP Routes
•IGRP advertises three types of routes:
oInterior
– routes between subnets of a network attached to a router
interface (within an autonomous system).
oSystem – routes to networks within an autonomous system and
does not include subnets
oExterior – exterior routes are routes to networks outside the
autonomous system
Version 3.1
IGRP
Version 3.1
Configuring IGRP
•To configure the IGRP routing process, use the router igrp
configuration command. To shut down an IGRP routing process,
use the no form of this command.
oRouter(config)#router igrp as-number
•The Autonomous System number is one that identifies the IGRP
process. It is also used to tag the routing information.
•To specify a list of networks for IGRP routing processes, use the
network router configuration command. To remove a network, use
the no form of this command.
Version 3.1
Configuring IGRP
RouterA RouterB
192.168.2.32/2
192.168.1.32/2 4
7
192.168.1.64/2 192.168.3.32/2
7 4
Version 3.1
IGRP
Version 3.1
For more information on IGRP, check out
the following links.
http://www.cisco.com/warp/public/103/5.html
or
http://www.cisco.com/warp/public/103/5.pdf
Version 3.1