Sunday, 4 December 2016


RIP (Routing Information Protocol)

RIPv1

Original RIP implementation, limited to classful routing
(obsolete)

RIPv2

Introduced support for classless routing, authentication,
triggered updates, and multicast announcements

RIPng (RIP Next Generation)

Extends RIPv2 to support IPv6 routing (RFC 2080); functions
very similarly to RIPv2 and is subsequently as limited



Protocol Type:            Distance Vector       
Rip Algorithm:            Bellman-Ford
Admin Distance:        120
Metric Hop count:      15 Max
IP Version:                  IPv6 IPv4
Transport:                   Udp (Port No 520)
Authentication:          Plaintext, MD5
Multicast IP:               224.0.0.9/FF02::9


Timer Defaults

Update            30  Sec   
Invalid            180 Sec
Flush              240 Sec

Hold-down     180 Sec



                   Protocols Comparison


RIPv1
RIPv2
RIPng




IP
IPv4
IPv4
IPv6
Admin Distance
120
120
120
UDP Port
520
520
521
Classless
No
Yes
Yes
Adv. Address
Broadcast
224.0.0.9
FF02::9
Authentication
None
Plain, MD5
None










Terminology





Split Horizon
A rule that states a router may not advertise a route back to the neighbor from which it was learned.


Route Poisoning
When a network becomes unreachable, an Update with an infinite metric is generated to Explicitly advertise the route as unreachable


Poison Reverse
A router advertises a network as unreachable through the interface on which it was learned.

Rip Configuration 

router rip
version 2
no auto-summary
network 192.168.1.0

default-information originate

Note: Rip version 1 configuration same as rip version 2 the only different is no auto-summary command does not effect in ripv1 and it does not support authentication.

Passive Interface Command

passive-interface 

Note: Execute this command under the router rip command then it will effect in interface 

Authentication 


ip rip authentication mode md5

ip rip authentication key-chain key-chain

Troubleshooting IPV4 & IPv6


show ip[v6] protocols
show ip[v6] rip database
debug ip rip { database | events }

debug ipv6 rip [interface]