Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

OSPF Routing?

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.

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: OSPF Routing?

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.

2 REPLIES
New Member

Re: OSPF Routing?

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.

Re: OSPF Routing?

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

124
Views
0
Helpful
2
Replies
CreatePlease to create content