180 likes | 309 Views
Routing Information Protocol (RIP). RIP Topics. RIP features and limitations RIP v1 operation RIP metric RIP configuration. RIP Features and Limitations. Features Simplicity in configuration and operation Standard, tested protocol Version 2 overcomes some issues Limitations
E N D
RIP Topics • RIP features and limitations • RIP v1 operation • RIP metric • RIP configuration
RIP Features and Limitations • Features • Simplicity in configuration and operation • Standard, tested protocol • Version 2 overcomes some issues • Limitations • Slow convergence • Poor scalability • Route metric calculation is not granular
RIP v1 Operation • Broadcasts periodic updates to neighbors • Update includes routes and metric for each route • Summarizes at classful boundaries • Receiving router adds routes with best metric to routing table
RIP Metric 19.2 kbps T1 T1 • Hop count metric selects the path • Maximum hops is 15 • Hop count of 16 indicates unreachable T1
RIP Timers • update 30 seconds • invalid 180 seconds • flush 240 seconds • hold down 180 seconds
RIP Configuration • Activates the RIP routing process on the router Router(config)#router rip
RIP Configuration Identifies interfaces to activate and networks to advertise Router(config-router)#network network-number
RIP Configuration • Passive-interface command prevents sending but not receiving Router(config-router)#passive-interface s0
router rip network 172.16.0.0 network 10.0.0.0 passive-interface E0 router rip network 10.0.0.0 router rip network 192.168.1.0 network 10.0.0.0 passive-interface E0 RIP Configuration Example E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.0 A B C 10.1.1.1 172.16.1.1 10.1.1.2 10.2.2.2 192.168.1.1 10.2.2.3 2.3.0.0 2.3.0.0
Verifying the Routing Protocol—RIP E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.0 A B C 10.1.1.1 172.16.1.1 10.1.1.2 10.2.2.2 192.168.1.1 10.2.2.3 RouterA#sh ip protocols Routing Protocol is "rip" Sending updates every 30 seconds, next due in 0 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-chain Ethernet0 1 1 2 Serial2 1 1 2 Routing for Networks: 10.0.0.0 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 10.1.1.2 120 00:00:10 Distance: (default is 120)
Displaying the IP Routing Table E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.0 A B C 10.1.1.1 172.16.1.1 10.1.1.2 10.2.2.2 192.168.1.1 10.2.2.3 RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR T - traffic engineered route Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets C 172.16.1.0 is directly connected, Ethernet0 10.0.0.0/24 is subnetted, 2 subnets R 10.2.2.0 [120/1] via 10.1.1.2, 00:00:07, Serial2 C 10.1.1.0 is directly connected, Serial2 R 192.168.1.0/24 [120/2] via 10.1.1.2, 00:00:07, Serial2
RIP v2 • Enhancements • Sends to 224.0.0.9 • Sends mask – supports VLSM • Supports authentication
RIP v2 Configuration • Enables version 2 Router(config-router)# Version 2
RIP v2 Configuration • Disables auto-summarization at classful boundaries Router(config-router)#no auto-summary
Show Commands • Show ip protocols • Sh ip interface • Sh ip rip database • debug ip rip
Lab Lab file RIP Configuration Lab-1.pdf RIP Configuration Lab-2.pdf Lab scenario RIP Configuration Lab-1.pkt RIP Configuration Lab-2.pkt