RIP Question

Unanswered Question
Mar 26th, 2008

Can you help me grasp the concept behind the network command. I know the command does 3 things:

broadcast the routing updates out an interface

listens for incoming updates on the same interface

advertise the subnet(s) off that interface in the routing update.

However, when you enter the router subcommand configuration mode and type "network" followed by the network number this is where I get stumped. Is this just the subnet number? If not why? What's the difference between the network number and subnet number?

Example: You have a router with 2 serial interfaces (S0 and S1), 2 Ethernet interfaces (E0 and E1), 1 Token Ring interface (T0). You want to configure the RIP routing protocol. IP Addresses are as follow:

E0 -

E1 -

T0 -

S0 -

S1 -

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
bmcginn Wed, 03/26/2008 - 21:47

Hi there,

The network statement when used with RIP merely tells the router which interfaces should participate in the route distribution.

As RIP, when initially designed was a classful protocol, the router will accept subnets of classful addresses, but will rewrite the subnets to the classful network address in the configuration.

eg, router1(config-router)# network

will be seen in the configuration as

router1(config-router)# network

and will mean that ALL interfaces that fall within that class A network address will participate in route distribution.

So for your example, the following will get it working with RIP V1

router(config)#router rip

!! class A address!!


!! class B address!!


!! class C address!!


!! class C address!!


I hope that answers your question Mate! Just Bear in mind that if you don't want an interface to participate but you need the network statement there for another interface, then you can use the passive-interface command to tell the router not to use that interface.




This Discussion