Re: RIP v1

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Thu Jan 06 2005 - 03:26:55 GMT-3


If the router is configured for RIPv2 only, then it will ignore RIPv1
updates. If you want the router to send/accept RIPv1 and RIPv2 updates
on a particular interface, use the "ip rip send|receive version" command
under the interface. The default behavior for Cisco is to send RIPv1
but receive RIPv1 and RIPv2.

See below:

Rack2R1#sho run | be router rip
router rip
 network 172.16.0.0
!
<snip>
Rack2R1#sho ip protocols
Routing Protocol is "rip"
  Sending updates every 30 seconds, next due in 18 seconds
  Invalid after 180 seconds, hold down 180, 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 1, receive any version
    Interface Send Recv Triggered RIP Key-chain
    Ethernet0/0 1 1 2
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Automatic network summarization is in effect
  Maximum path: 4
  Routing for Networks:
    172.16.0.0
  Routing Information Sources:
    Gateway Distance Last Update
  Distance: (default is 120)

****************************
Notice that the default RIP configuration is to send v1 but receive v1
and v2
****************************

Rack2R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack2R1(config)#router rip
Rack2R1(config-router)#version 2
Rack2R1(config-router)#do sho ip protocols
Routing Protocol is "rip"
  Sending updates every 30 seconds, next due in 3 seconds
  Invalid after 180 seconds, hold down 180, 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, receive version 2
    Interface Send Recv Triggered RIP Key-chain
    Ethernet0/0 2 2
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Automatic network summarization is in effect
  Maximum path: 4
  Routing for Networks:
    172.16.0.0
  Routing Information Sources:
    Gateway Distance Last Update
  Distance: (default is 120)

****************************
By using the version command under the routing process, all interfaces
will now send and receive the specified version.
****************************

Rack2R1(config-router)#int e0/0
Rack2R1(config-if)#ip rip receive version 1 2
Rack2R1(config-if)#ip rip send version 1 2
Rack2R1(config-if)#do sho ip protocols
Routing Protocol is "rip"
  Sending updates every 30 seconds, next due in 14 seconds
  Invalid after 180 seconds, hold down 180, 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, receive version 2
    Interface Send Recv Triggered RIP Key-chain
    Ethernet0/0 1 2 1 2
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Automatic network summarization is in effect
  Maximum path: 4
  Routing for Networks:
    172.16.0.0
  Routing Information Sources:
    Gateway Distance Last Update
  Distance: (default is 120)

Rack2R1(config-if)#

****************************
The interface level version command will allow that particular interface
to send and/or receive a particular version or both versions. The
interface version command will override the version command configured
under the routing process.
****************************

-- 
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security) 
bdennis@internetworkexpert.com 

Internetwork Expert, Inc. http://www.InternetworkExpert.com Toll Free: 877-224-8987 Direct: 775-745-6404 (Outside the US and Canada)

On Thu, 2005-01-06 at 13:12 +0900, KDCINFO wrote: > ----- Original Message ----- > From: "Sheahan, John" <John.Sheahan@priceline.com> > To: <ccielab@groupstudy.com> > Sent: Thursday, January 06, 2005 4:43 AM > Subject: RIP v1 Updates > > > > I have 3 routers connected together in a simple ring topology to test > > RIP. > > > > 2 of the routers are running RIP v2, one is running RIP v1. > > > > > > > > > > > > When I do a debug ip rip, I see that the RIPv2 routers are ignoring the > > broadcasts from the RIPv1 router with a message that says "illegal > > version". > > > > > > > > My question is, I thought that RIPv2 was backwards compatable with > > RIPv1? > > > > _______________________________________________________________________ > > Subscription information may be found at: > > http://www.groupstudy.com/list/CCIELab.html > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Feb 02 2005 - 22:10:19 GMT-3