CCNP Basics

Distance Vector Routing Protocols
  • examples: RIP, IGRP, EIGRP
  • a router using a DV protocol knows 2 things:
  • Distance to final destination
  • Vector (or direction) traffic should sent
  • used in smaller environments where routes do not change often, such as a LAN’s
  • do not scale well, so not suitable for WAN’s
  • each DV router sends some or all of it’s routing table in updates, but only to it’s neighbours
  • DV routers only know about their neighbours
  • built in features for preventing routing loops:
  • Split Horizon – a routing protocol will never advertise a  route back out of the interface that the route was learnt on
  • Poison Reverse – if a network becomes unavailable then a router will advertise that network with a metric of 16 (max is 15) , which allows other routers to quickly learn that a network is unavailable

Distance Vector Routing Protocol Comparison Table:
 


RIPV1RIPV2EIGRP*
algorithm?Bellman-FordBellman-FordDUAL
update method?broadcastmulticast to 224.0.0.9multicast to 224.0.0.10
update frequency?every 30 Secondsevery 30 Secondswhen there’s a change
update contains?whole routing tablewhole routing tableonly route changes
max routes per update?2525n/a
classless?noyesyes
equal cost load balancing?yes, by defaultyes, by defaultyes, by default
un-equal cost load balancing?nonoyes, with “variance” command
max hop count?1515255 (100 is default)
authentication?noclear-text & MD5MD5
*note – EIGRP is not a true DV protocol but has some features of DV and is included here for comparison.

How does a Router decide which route to use?
When a router knows of multiple routes to get packets to a particular destination network, it has to decide which is the best route to use.
Here is the logic that the outer uses to make the forwarding decision:

  1. multiple routes  =  route with longest Prefix wins
  1. multiple routes + same prefix length  =  route with lowest Administrative Distance wins
  1. multiple routes + same prefix length + same AD  =  route lowest Metric wins
  1. multiple routes + same prefix length + same AD  + same Metric  =  router will Load Balance

Administrative Distances
 

TYPE OF ROUTEADMINISTRATIVE DISTANCE
Directly Connected0
Static (with exit interface)0
Static (with next hop IP)1
EIGRP Summary5
External BGP20
EIGRP (Internal)90
OSPF110
RIP120
EIGRP (External)170
Internal BGP200
Unknown Network255
 

© Network's World 2013 Is Designed By Templateify , Your Link Here