03-09-2007 07:10 AM - edited 03-05-2019 02:48 PM
When we are configuring OSPF routing for network 1.1.1.1/24 we can type:
R1(config-router)#network 1.1.1.0 0.0.0.255 area 0
And
R1(config-router)#network 1.1.1.1 0.0.0.0 area 0
What is difference between these two commands? Pls explain.
Solved! Go to Solution.
03-09-2007 07:59 AM
network 1.1.1.0 0.0.0.255 area 0 means that any interface in the 1.1.1.0 network will send and recieve ospf routing updates.
network 1.1.1.1 0.0.0.0 area 0 means that only the interface with IP address 1.1.1.1 will send and recieve ospf routing updates.
03-09-2007 07:59 AM
network 1.1.1.0 0.0.0.255 area 0 means that any interface in the 1.1.1.0 network will send and recieve ospf routing updates.
network 1.1.1.1 0.0.0.0 area 0 means that only the interface with IP address 1.1.1.1 will send and recieve ospf routing updates.
03-09-2007 08:04 AM
The first is a network of 255 IP Address while the second is a single IP Address or a host which is only 1.1.1.1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide