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:
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 10.20.20.0
will be seen in the configuration as
router1(config-router)# network 10.0.0.0
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
!! 10.0.0.0 class A address!!
!! 172.16.0.0 class B address!!
!! 18.104.22.168 class C address!!
!! 22.214.171.124 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.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...