RIP and IGRP |
Networking - IP Routing |
Attributes of RIP and IGRP are the following: Failed routes are advertised Routing loops can occur Routes learned from neighbor are perceived to go through that router As soon as you enable RIP or IGRP on a router directly connected subnets are already known Route updates are learned through broadcasts Updates are received from neighboring routers IGRP uses a metric that is better than RIP system, a metric is a measure of distance between routers. IGRP uses bandwidth and delay to choose the best route, while RIP uses hop count. Hop count is not as good because it may not be the quickest route, but when using bandwidth and delay it figures out the quickest route. If a router discovers that a directly connected subnet has failed it immediately sends an update to all routers. Distance-vector routing protocols update every 30-90 seconds, depending on which protocol is used. RIP updates every 30 seconds while IGRP updates every 90 seconds. When distance-vector routers are first enabled they receive information from their neighbors such as metrics and paths.
IGRP Interior Gateway Routing Protocol (IGRP) is configured like RIP. IGRP uses multiple routing protocols between routers. IGRP uses delay, bandwidth, reliability and load features to determine routes. IGRP must have an autonomous system number(20). All routers must use the same number in the system. Router>enable RouterHome#config t RouterHome(config)#router igrp 20 RouterHome(config-router)#network 192.168.4.0 RouterHome(config-router)#CTRL+Z RouterHome#copy running startup Configuring RIP The router rip command enables RIP on a router. The network command tells rip which network to advertise Static and default routes must be removed before the network command can be used Router>enable RouterHome #config t RouterHome(config)#router rip RouterHome(config-router)#network 192.168.4.0 RouterHome(config-router)#CTRL+Z RouterHome#copy running startup Show ip route-view the routing table Show ip interface-see ports individually Debug ip rip- gives you an update list of routing updates Show ip protocol- information on RIP timers Show ip route rip- shows rip connected networks Show ip interface- statistics and interfaces Debug ipx routing activity- allows debugging for IPX RIP updates, also shows source and destination addresses To remove RIP you use the no router rip command. RouterHome#config t RouterHome(config)#router rip RouterHome(config-router)#network 17.0.0.0 RouterHome(config-router)#passive-interface serial 0 _
|