RIP main features
RIPv1 is limited to classful routing. RIPv2 support classless routing,authentication,triggered updates and multicast announcements. RIPng (RIP Next Generation) Extends RIPv2 to support IPv6.
| Attributes |
| Type |
Distance Vector |
| Metric |
Hop count (max 15) |
| Protocols |
IPv4, IPv6 |
| Administrative Distance |
120 |
| Transport |
UDP |
| Authentication |
Plaintext, MD5 |
| Multicast |
224.0.0.9/FF02::9 |
| Standards |
RFCs 2080,2453 |
| Algorithm |
Bellman-Ford |
|
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 rule that states a router may not advertise a route
back to the neighbor from which it was learned |
| Timers Defaults |
| Update |
30 sec |
| Invalid |
180 sec |
| Hold-down |
180 sec |
| Flush |
240 sec |
How to configure RIP
router> enable
router# config t
router(config)# router rip
router(config-router)# version 2
router(config-router)# network < ip address > < subnetmask >
router(config-router)# no auto-summary
router(config-router)# end
router# wr
Additional configuration commands
router(config-router)# default-information originate
router(config-router)# passive-interface { interface | default }
router(config-router)# timers basic update invalid hold-down flush
router(config-router)# ip summary-address rip < ip address > < subnetmask >
router(config-router)# ip rip authentication mode md5
router(config-router)# ip rip authentication key-chain key-chain
RIPng Configuration
router(config-router)# [no] split-horizon
router(config-router)# [no] poison-reverse
Useful commands for troubleshooting
router> enable
router# show ip protocols
router# show ip rip database
router# show ip route [rip]
router# debug ip rip { database | events | interface }