RIP is a distance-vector routing protocol that uses hop count as its routing metric. It has an administrative distance of 120 and works on TCP port 520. The maximum number of hops allowed in RIP is 15, after which the destination is considered unreachable. RIP version 1 uses broadcast updates, while RIP version 2 uses multicast and supports VLSM, authentication, and includes subnet masks in updates. Both versions send full routing table updates every 30 seconds.
RIP is a distance-vector routing protocol that uses hop count as its routing metric. It has an administrative distance of 120 and works on TCP port 520. The maximum number of hops allowed in RIP is 15, after which the destination is considered unreachable. RIP version 1 uses broadcast updates, while RIP version 2 uses multicast and supports VLSM, authentication, and includes subnet masks in updates. Both versions send full routing table updates every 30 seconds.
RIP is a distance-vector routing protocol that uses hop count as its routing metric. It has an administrative distance of 120 and works on TCP port 520. The maximum number of hops allowed in RIP is 15, after which the destination is considered unreachable. RIP version 1 uses broadcast updates, while RIP version 2 uses multicast and supports VLSM, authentication, and includes subnet masks in updates. Both versions send full routing table updates every 30 seconds.
RIP is a distance-vector routing protocol that uses hop count as its routing metric. It has an administrative distance of 120 and works on TCP port 520. The maximum number of hops allowed in RIP is 15, after which the destination is considered unreachable. RIP version 1 uses broadcast updates, while RIP version 2 uses multicast and supports VLSM, authentication, and includes subnet masks in updates. Both versions send full routing table updates every 30 seconds.
Download as PPTX, PDF, TXT or read online from Scribd
Download as pptx, pdf, or txt
You are on page 1of 13
Practical No.
Configure IP routing using RIP.
Routing Information Protocol (RIP) • Routing Information Protocol (RIP) is a dynamic routing protocol which uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance vector routing protocol which has AD value 120 and works on the application layer of OSI model. RIP uses port number 520. • Hop Count : Hop count is the number of routers occurring in between the source and destination network. The path with the lowest hop count is considered as the best route to reach a network and therefore placed in the routing table. • The maximum hop count allowed for RIP is 15 and hop count of 16 is considered as network unreachable. Routing Information Protocol - RIP • There are two versions of RIP: RIPv1 and RIPv2. • Comparing between RIPv1 and RIPv2 – Both RIPv1 and RIPv2 have the Administrative distance 120. – Both RIPv1 and RIPv2 are distance vector routing protocol. Both RIPv1 and RIPv2’s metric is hop count. Maximum hop count = 15. Max routers = 16. For example, all routers are running RIP and network 10.0.0.0 goes down. After hold timer expires, that network will be advertised by metric 16 and everyone will know that the network is down and that network will be seen in routing table as possibly down. • Both RIPv1 and RIPv2 send routing updates or complete routing table or broadcast every 30 seconds. i.e. The default routing update period for both version of RIP is 30 seconds. i.e. Both have the same timers. • Both RIPv1 and RIPv2 use split horizon to prevent routing loops. • Both RIPv1 and RIPv2 are configured with router rip. • network command tells both RIPv1 and RIPv2 to send hellos, out an interface, to find neighbors and to advertise routes. R1(config-router)#network ? A.B.C.D Network number R1(config-router)#network 172.16.0.0 ? <cr> R1(config-router)#^Z R1# • Both RIPv1 and RIPv2 are verified with show ip protocols. Router#show ip protocols R 10.0.0.10[120/3] via 20.0.0.7, 00:00:15, Serial0/0 • The first number in the brackets is the administrative distance of the information source. • The second number is the metric for the route. • In this case, the administrative distance is 120, default AD for RIP routes, and the 3 represents the metric, which is the number of router hops in RIP. Difference • RIPv1 used broadcast. RIPv2 used multicast(224.0.0.9). • RIPv1 is a classful.(Classful: all subnet mask must be the same in the network.) RIPv2 is a classless. • RIPv1 does not support VLSM. RIPv2 supports VLSM. subnet mask field was added to the RIPv2 message header by RFC 1723 to add support for VLSM and CIDR. • RIPv1 does not allow authentication. RIPv2 allows MD5 authentication • RIP enabled interfaces send version 1(RIPv1) updates. Do not send version 2(RIPv2) updates. RIP enabled interfaces receive any version(RIPv1 and RIPv2). • RIPv2 sends the subnet mask in updates and RIPv1 does not. i.e. Subnet mask information is included in RIPv2 routing updates that is not included in RIPv1. Advantage of RIPv2 over RIPv1 • RIPv2 supports MD5 authentication for routing updates. i.e. RIP version 2 supports routing update authentication. • RIPv2 used multicast(224.0.0.9) rather than broadcast. • RIPv2 auto summarize advertised routes across classful boundaries. To disable this behavior, should apply no auto- summary command under the RIP process. • RIPv2 is classless routing protocol means that it sends subnet mask information when updates. By sending the subnet mask information with the updates, RIPv2 can support Variable Length Subnet Mask(VLSMs) as well as the summarization of network boundaries. Disadvantage of RIPv1 and RIPv2 • Both RIPv1 and RIPv2 send full routing tables out every 30 seconds. It’s a lot of overhead, require too much bandwidth. Sending full routing table is unnecessary. • RIPv1 and RIPv2 does not form adjacency. • RIPv1 and RIPv2 work only on hop count(not consider the bandwith). • RIPv1 and RIPv2 have slow convergence. • Not scalable, because hop count is only 15. RIPv1 Lab with Packet Tracer Tutorial RIPv1 Lab with Packet Tracer Routing Information Protocol - RIP Command Tutorial RIP Command
1. The command show ip route followed by the protocol will show
that protocol's route from the entire routing table. R1#show ip route rip 2. The command show protocols is used to view the RIP routing protocol settings and configuration. 3. The command show ip rip database will display RIP routing updates or RIP routing information as they are sent and received. But to see the updates in real time, we need command Debug not Show. But don't do debug ip rip, don't do debug all. It may crash your router. Because all possible debugs will start and consume router's whole processing and memory. 4. If The command Router(config-router)# version 2 is entered on the routers, only version 2 updates are sent to 224.0.0.9. 5. If The command Router(config-router)# no version 2 is entered on the routers, version 1 and 2 updates will be received and the version 2 updates will not be sent. 6. The command debug ip rip shows the routes being advertised in RIP updates and the metrics of these routes. i.e. debug ip rip will display RIP activity as it occurs on a router. R1#debug ip rip 7. The command clear ip route * should apply after the command debug ip rip to clear the routing table of its dynamic routes. R1#clear ip route * 8. The command undebug all turn off all debugs. R1#undebug all 9. To turn off specific debugs, run the command no debug followed by the type of debug you want to turn off. R1#no debug ip rip