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:
- Which interfaces to advertise RIP updates on
- 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
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:
According to some online sources, I would configure Router0 with both
network 192.168.0.0 and
network 192.168.5.0, 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?