Enabling RIP

WAN Connections

© 2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.0—-5-1

Inc. ICND1 v1.RIP Overview  Maximum is 16 equal-cost paths (default = 4)  Hop-count metric selects the path  Routes update every 30 seconds © 2007 Cisco Systems. All rights reserved.0—5-2 .

Inc.RIPv1 and RIPv2 Comparison RIPv1 Routing protocol Supports variable-length subnet mask? Sends the subnet mask along with the routing update? Addressing type Defined in … Supports manual route summarization? Authentication support? Classful No No Broadcast RFC 1058 No No RIPv2 Classless Yes Yes Multicast RFCs 1721. and 2453 Yes Yes © 2007 Cisco Systems. ICND1 v1. All rights reserved.0—5-3 . 1722.

ICND1 v1. Inc.IP Routing Configuration Tasks  Router configuration – Select routing protocols – Specify networks or interfaces © 2007 Cisco Systems.0—5-4 . All rights reserved.

RIP Configuration RouterX(config)# router rip  Starts the RIP routing process RouterX(config-router)# version 2  Enables RIP version 2 RouterX(config-router)# network network-number  Selects participating attached networks  Requires a major classful network number © 2007 Cisco Systems. All rights reserved. ICND1 v1.0—5-5 . Inc.

RIP Configuration Example © 2007 Cisco Systems. Inc. All rights reserved. ICND1 v1.0—5-6 .

All rights reserved.16. next due in 6 seconds Invalid after 180 seconds.0—5-7 .0.0 Routing Information Sources: Gateway Distance Last Update 10. hold down 180. Inc.0. flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 2.2 120 00:00:25 Distance: (default is 120) RouterA# © 2007 Cisco Systems. receive version 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 2 2 Serial0/0/2 2 2 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 10.1.0 172. ICND1 v1.0.1.Verifying the RIP Configuration Routing Protocol is "rip" Sending updates every 30 seconds.

Displaying the IP Routing Table RouterA# show ip route Codes: C . 1 subnets 172.1.OSPF.connected.2. All rights reserved.0 [120/1] via 10. L1 .1.0/24 [120/2] via 10.ODR T . E . I .RIP.static. EX .2.1.0—5-8 .1. Inc. R . L2 . IA .IGRP.candidate default U .16. ICND1 v1.2.mobile.0/24 is subnetted. M .168. O .1.EIGRP. B .BGP D .per-user static route.0.2. Serial0/0/2 192. Serial0/0/2 C R C R © 2007 Cisco Systems.OSPF inter area N1 .EIGRP external. E2 .traffic engineered route Gateway of last resort is not set 172. 00:00:07. 00:00:07.0 is directly connected. Serial0/0/2 10. o .0 is directly connected.0.1.IS-IS.0.IS-IS level-1.OSPF NSSA external type 2 E1 .OSPF NSSA external type 1.0/24 is subnetted. 2 subnets 10.OSPF external type 2.16.1. S . fastethernet0/0 10.IS-IS level-2. N2 .1. * .OSPF external type 1.EGP i .

1.1.1) 00:06:34: network 172.1) 00:06:34: network 10.0 in 2 hops 00:06:33: RIP: sending v1 update to 255.255 via Serial0/0/2 (10.2 on Serial0/0/2 00:06:24: 10.16. metric 1 © 2007 Cisco Systems. in 1 hops 00:06:24: 192.255 via FastEthernet0/0 (172. metric 1 00:06:34: network 192.0—5-9 .255.2.2. All rights reserved. Inc. metric 3 00:06:34: RIP: sending v1 update to ICND1 v1.255.debug ip rip Command RouterA# debug ip rip RIP protocol debugging is on RouterA# 00:06:24: RIP: received v1 update from 10.1.1.

when to convey knowledge. and how to locate recipients of the updates.  The ip classless command can be used to prevent a router from dropping a packet that is destined for an unknown subnetwork of a directly attached network if a default route is configured. ICND1 v1. All rights reserved.Summary  Routing is the process by which items get from one location to another.  A routing protocol that has a lower administrative value is more trustworthy than a protocol that has a higher administrative value. linkstate. Inc.  There are three classes of routing protocols: distance vector. and balanced hybrid. what knowledge is conveyed. © 2007 Cisco Systems.0—5-10 .  Dynamic routing protocols determine how updates are conveyed.

© 2007 Cisco Systems. RIPv2 supports VLSM.)  RIP is a distance vector routing protocol that uses hop count as the matrix for route selection and broadcasts updates every 30 seconds. RIPv1 does not support these activities. and authentication. manual route summarization.  To enable a dynamic routing protocol. then IP network numbers are assigned without values being specified (except OSPF).  The router command starts the routing process.  RIPv1 uses classful routing protocol. RIPv2 uses classless routing protocol. Inc. ICND1 v1. first a routing protocol is selected. The network command allows the routing process to determine which interfaces will participate in sending and receiving the routing updates. All rights reserved.Summary (Cont.0—5-11 .

ICND1 v1.Summary (Cont. All rights reserved.0—5-12 .)  The router RIP command selects RIP as the routing protocol. The network command identifies a participating attached network.  The debug ip rip command displays information on RIP routing transactions.  The show ip command displays information about routing protocols and the routing table. Inc. © 2007 Cisco Systems.

0—5-13 . Inc. All rights reserved.© 2007 Cisco Systems. ICND1 v1.