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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

OSPF Advertisement

Hello All,

Can someone please help clarify the difference between:

network 0.0.0.0 0.0.0.0 area xx

network 0.0.0.0 255.255.255.255 area xx

When advertising networks in OSPF?

Many thanks in Advance

8 REPLIES

Re: OSPF Advertisement

in the network field 0 mean any

in the wildcard field 255 means any

if helpful Rate

New Member

Re: OSPF Advertisement

Sir,

If in the wildcard field 255 means any, What would the following mean then?,

network 0.0.0.0 0.0.0.0 area xx

because i am still confused if 0.0.0.0 in the wildcard field means "specificity", what would it then care about in the network field with 0.0.0.0?.

Thanks

Re: OSPF Advertisement

the mask in wild card 0.0.0.0 mean host

if u wanna advertise host u give it this wildcard

New Member

Re: OSPF Advertisement

this is actually confusing. i cant find any documentation so the best way to verify this is on a lab or actual scenario. if you encountered this on the actual network, then you definitely have a clue by using show ospf commands and see what is being advertise by the router.

Re: OSPF Advertisement

I'm not sure about this, but I think if you type the following....

!

router ospf

network 0.0.0.0 0.0.0.0 area xx

....it will show in the "show run" as;

!

router ospf

network 0.0.0.0 255.255.255.255 area xx

Hall of Fame Super Bronze

Re: OSPF Advertisement

The IOS will change the command

network 0.0.0.0 0.0.0.0 area xx

to

network 0.0.0.0 255.255.255.255 area xx

As the first command isn't valid. The subnet portion will determine what to match from the network portion. If the network portion is all 0s, there is nothing to match so the correct subnet mask is 255 (don't care bits).

HTH,

__

Edison.

Re: OSPF Advertisement

Thanks Ed, that confirms my theory :)

New Member

Re: OSPF Advertisement

HAi Edi,

That was really helpfull one ...

thanks ...

Lijesh.N.C

274
Views
12
Helpful
8
Replies
CreatePlease to create content