rip network 0.0.0.0












Hi guys,

 

This post is purely out of interest sake as I came across something
interesting tonight. Usually if I want to get a routing protocol up and running
quickly I will enable the protocol on all interfaces with the ‘network
0.0.0.0 0.0.0.0 command’ under the routing process.

 

I found that when doing this with RIP on my switches (3560
and 3550) they are able to receive RIP routes just fine but do not advertise
any networks! show ip protocols shows that the routing process is
enabled for the correct interfaces. See below.

 

ip routing

!

router rip

 version 2

 network 0.0.0.0

 no auto-summary

!

!

SW1(config-router)#do sh ip protocols

*** IP Routing is NSF aware ***

 

Routing Protocol is "rip"

  Sending updates every 30 seconds, next due in 15
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

    Vlan7                     2     2

    Vlan67                    2     2

    Vlan79                    2     2

    FastEthernet0/3           2     2

    Loopback0                 2     2

  Automatic network summarization is not in effect

  Maximum path: 4

  Routing for Networks:

    0.0.0.0

  Routing Information Sources:

    Gateway         Distance      Last Update

    155.1.37.3           120      00:00:04

    155.1.67.6           120      00:00:07

  Distance: (default is 120)

 

 

 

I have found that when specifying the correct networks
advertising works properly but not when you specify all networks with 0.0.0.0
no dice.

 

Anyone have any thoughts on the matter?

 

Cheers,

 

-Aaron

 

 





Comments

  • Ideally it should be sending updates out too. Did you try with other ios version on routers or switches?

    What does "debug ip rip "  tells ?

    HTH...

    Deepak Arora

    http://deepakarora1984.blogspot.com

     












  • debug ip rip shows no updates going out any interfaces. Only
    receiving. Weird huh?

     

    What’s funny is the show ip protocols shows the interfaces are
    enabled for RIP but still no updates going out.

     

    I will do some more playing around today. Might be an IOS issue.
    Should probably check out bugtraq as well.

     

    I want to thank you Deepak you are very active and supportive on
    this forum and a real asset to this group.

     

    Thanks,

     

    -Aaron.

     

    From: [email protected] [mailto:[email protected]] On
    Behalf Of
    Deepak Arora

    Sent: Wednesday, 25 May 2011 9:33 PM

    To: [email protected]

    Subject: Re: [CCIE R&S] rip network 0.0.0.0

     

    Ideally it should be sending updates out too. Did you try with other ios
    version on routers or switches?

    What does "debug ip rip "  tells ?

    HTH...

    Deepak Arora

    http://deepakarora1984.blogspot.com

     







    INE - The Industry Leader in CCIE Preparation

    http://www.INE.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx





  • You are most welcome my friend.

    Most likely its an IOS issue.But could be something else too.

    For example R1(s0/0) -192.168.4.1/23 =======192.168.4.2/23(s0/0)R2

    You will see in debug there is no updates going out or coming in when you even run "clear ip route *" [;)]

    Anyways other odd ball kind of idea will be to put "ip rip send v 2 and ip rip rec v 2" under the interfaces and see if it helps.

     

    HTH...

    Deepak Arora

    http://deepakarora1984.blogspot.com

     

Sign In or Register to comment.