Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCNP (Professional)
OSPF Network Command
dppagc
int fa0/0
ip add 192.168.1.1 255.255.255.0
no shut
What is the difference between
router ospf 1
192.168.1.1 0.0.0.255 area 0
AND
router ospf 1
192.168.1.1 0.0.0.0 area 0
They will both advertise the route right?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
networker050184
The network statement doesn't tell the router what to advertise. It tells the router which interface to participate in the process. So if an interface IP falls within the range of the network command it participates in that area and advertises the attached network and mask.
So, in your case for the first one any interface with IP 192.168.1.1-255 will take part in the OSPF process. The second one only an interface with the IP 192.168.1.1 exactly will participate in the process. Again, what get advertised depends on the mask on the actual interface.
DKempeneers
CCNA level question
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS