03-13-2008 10:32 AM - edited 03-03-2019 09:07 PM
Hello,
I am just wondering if someone can guide me to a document or kindly explain.
If i have 2 networks say 10.10.10.0 255.255.255.0 and 192.168.10.0 255.255.255.0
then under ospf i should have the statements like this
router ospf 1
network 10.10.10.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 0
BUT...
if i put
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
then would both the above are same or not. I was told they are same. I have been searching the website but cannot get the concept or a document which can explain...
Solved! Go to Solution.
03-13-2008 10:37 AM
They are not the same.
The first one will only enable OSPF on interfaces belonging to subnet 10.10.10.0/24 and 192.168.10.0/24
The second one will enable OSPF on any interface in the router. If you were to create a loopback interface, this interface will also be included into OSPF and this can cause some problems if you did not intend to do so.
The network 0.0.0.0 255.255.255.255 area 0 is basically telling the router to enable OSPF on any interface that this router has. Not a recommended solution on production environment.
HTH,
__
Edison.
03-13-2008 10:37 AM
They are not the same.
The first one will only enable OSPF on interfaces belonging to subnet 10.10.10.0/24 and 192.168.10.0/24
The second one will enable OSPF on any interface in the router. If you were to create a loopback interface, this interface will also be included into OSPF and this can cause some problems if you did not intend to do so.
The network 0.0.0.0 255.255.255.255 area 0 is basically telling the router to enable OSPF on any interface that this router has. Not a recommended solution on production environment.
HTH,
__
Edison.
03-13-2008 10:43 AM
Thanks alot
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: