When setting up RIP2?

BeanyBeany Member Posts: 177

got a question on activating RIP2.

I know it's a simple process, router rip, version 2 and network commands.

What i cant get my head around is the network command. Can someone explain this to me with examples? how to know which address to add looking at connected interfaces addresses? classful?



  • networker050184networker050184 Mod Posts: 11,962 Mod
    The network command includes interfaces into the process. If the interface IP address falls within the range of the network command the interface is added to the protocol and the address/mask configured on the interface is advertised.
    An expert is a man who has made all the mistakes which can be made.
  • BeanyBeany Member Posts: 177
    Please see attached image.

    can someone explain to me why line 2 needs changing?
  • FloOzFloOz Member Posts: 1,614 ■■■■□□□□□□
    Well from looking at the exhibit it doesn't look like router B has a interface in the network range. Router A does so it would require a network command.

    The network on router B would encompass all of router B's interface and advertise them. So no other network commands would be necessary.
  • BeanyBeany Member Posts: 177
    but adding still wouldnt work?
  • FloOzFloOz Member Posts: 1,614 ■■■■□□□□□□
    Adding won't do anything when configured on router B unless router B had some interfaces in the range. That is why the answer is line 2 should be changed. Its because it is not needed
  • networker050184networker050184 Mod Posts: 11,962 Mod
    What is the classful network range for the link between router A and B? Now look at the network command in line 2. Do these two match?
    An expert is a man who has made all the mistakes which can be made.
  • doverdover Member Posts: 184 ■■■■□□□□□□
    Router B's serial interface to router A is on the network. So line two should be: network so that it is included in the RIP topology and accept and advertise networks in that range to other RIP routers.

    If (on router B) you use the command network Router B will never get/accept routes from Router A

    You will see nothing in a debug ip rip. Once you change the statement to network (on Router B)
    you will see

    *Mar 1 00:21:35.711: RIP: build flash update entries
    *Mar 1 00:21:35.711: via, metric 1, tag 0
    *Mar 1 00:21:35.715: RIP: sending v2 flash update to via Ethernet0 (

    Then you'll see your learned RIP route with sho ip route is subnetted, 1 subnets
    C is directly connected, FastEthernet0 is subnetted, 2 subnets
    C is directly connected, Ethernet0
    R [120/1] via, 00:00:15, Ethernet0

    I think the question is getting at seeing if you understand the RIP network statement has two functions: activate the interfaces for RIP and announce networks in the major - classful - network (i.e. or

    ***EDIT---What Networker said above ^. I tend to bang out configs instead of replying with thought-provoking help.
  • atorvenatorven Member Posts: 319
    To expand on what Flo0z is saying, you would also need to add a network statement matching that interface connecting to Router B, remember RIP cares about classful networks.
Sign In or Register to comment.