OSPF network configuratin question
2URGSE
Member Posts: 220 ■■■□□□□□□□
in CCNA & CCENT
I have the ICND 2 Book, Second Edition.
The book shows that I should write the following OSPF statement for a network such as 10.1.4.0 /24:
ROUTER OSPF 10
NETWORK 10.1.4.1 0.0.0.0 AREA 0
This is a bit different than what I learned before, which was:
ROUTER OSPF 10
NETWORK 10.1.4.0 0.0.0.255 AREA 0
I understand the difference here, but would like to know which method I should use. Until today, I used the 2nd method in my labs, and they work fine.
The book shows that I should write the following OSPF statement for a network such as 10.1.4.0 /24:
ROUTER OSPF 10
NETWORK 10.1.4.1 0.0.0.0 AREA 0
This is a bit different than what I learned before, which was:
ROUTER OSPF 10
NETWORK 10.1.4.0 0.0.0.255 AREA 0
I understand the difference here, but would like to know which method I should use. Until today, I used the 2nd method in my labs, and they work fine.
A+
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer)
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer)
Comments
-
TehToG Member Posts: 194Check online for a misprint. I don't know OSPF that well but I'm fairly certain the first one is wrong.
-
2URGSE Member Posts: 220 ■■■□□□□□□□Could very well be a mis-print.
I will check. If anyone has the ICND2 book, 3rd edition and can check, that would be cool.A+
Network+
CCENT (formally CCNA certified)
ICE (Imprivata Certified Engineer) -
mella060 Member Posts: 198 ■■■□□□□□□□Both should work fine. They do the same thing. The first one is just more specific.
You can either use the IP address assigned to that interface or the network -
Corza Member Posts: 39 ■■□□□□□□□□The first one will just mean - try to form an OSPF neighbor over this interface, it is specific to the 10.1.4.1 interface.
-
Diggs Member Posts: 97 ■■□□□□□□□□The first statement will try to form neighbor relationships on interfaces with that specific IP address (10.1.4.1) whereas the second statement will try to form neighbor relationships on any interface starting with 10.1.4.x