I'm studying networking protocols, and am starting with RIP.

When configuring RIPv2, I see 2 pieces of information you need to relay to the router:

  1. Which interfaces to advertise RIP updates on
  2. Which subnets to advertise about

As far as I can tell, this seems to be jumbled into one network w.x.y.z command, which is a bit confusing. What exactly are you telling the router when you specify something like network

Are you saying that you want to BOTH:

  • enable RIP on any interfaces that have an IP that falls within that Class C network; and
  • advertise about any subnets the router knows about that falls within that network?

In this example:

enter image description here

According to some online sources, I would configure Router0 with both network and network, which does work, and seems to suggest that the network command does indeed do both (specify the interfaces for rip to run on, and which interfaces to advertise about) at the same time. Is this correct?

  • 2
    Which device are you talking about? Please specify the model, firmware version and include the (sanitized) configuration in your question.
    – Zac67
    Mar 2, 2019 at 17:44

1 Answer 1


The network statement will tell RIP which interfaces to include in RIP, and RIP will determine what networks to advertise from the interfaces included in RIP.

If you want to advertise the network to Router1 from Router0, then, yes, you will use a network statement to do that. That will also cause RIP to send updates to interface F0/1, which is probably undesirable because there is no neighbor router on that network. You can use the passive-interface command to advertise the network on that interface without sending updates out that interface.

For example:

router rip
 version 2
 no auto-summary
 passive-interface FastEthernet0/1

The above example will advertise the network from Router0 to Router1, but it will not send RIP updates to the user network on F0/1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.