I am learning about OSPF Routing which is a dynamic routing protocol.
I have questions with regards to commands on the router:
Why do the commands end with 0.0.0.255 area 0
?
What does 0.0.0.255
mean?
What does area 0
mean?
ciscocisco-commandsospfrouterrouting
I am learning about OSPF Routing which is a dynamic routing protocol.
I have questions with regards to commands on the router:
Why do the commands end with 0.0.0.255 area 0
?
What does 0.0.0.255
mean?
What does area 0
mean?
Best Answer
An OSPF domain is broken up into areas, and every area connects to area 0. The area portion of the command tells OSPF which area to put the interface(s) using address(es) in that range into.
The "0.0.0.255" is a wildcard mask (inverse of the prefix mask). It tells OSPF the range to use for selecting the interfaces for that network statement. The "network 10.0.1.0 0.0.0.255 area 0" means any interfaces in the 10.0.1.0/24 prefix will be in area 0.