ospf mask

why is ospf netmask needs to be in the form of 0.0.255.255, but not

255.255.0.0? Was it just simple preference, or it has deeper reasons?
Reply to
zibin
Loading thread data ...

Internally ospf uses 255.255.0.0 format.

Are you perchance referring to the "router ospf" "network" statement? If so, then it is cisco's standard notation on "network" statements, not specific to protocol.

Reply to
Walter Roberson

yeah Walter,

I am talking about the "router ospf X network X.X.0.0 0.0.255.255 area

0"-like statement

It's just cisco way of refering to network mask? How about other routing protocols that cisco implement, do they use this notation as well?

Walter Robers> > >why is ospf netmask needs to be in the form of 0.0.255.255, but not

Reply to
zibin

I do not have the time to check in detail, but the information I have found so far suggests that Yes, the standard Cisco notation for the 'router' sub-command 'network' is to use wildcard-masks rather than subnet masks.

Reply to
Walter Roberson

Its because of anding I think

0 is exact match 1 is match any

Kind of like the inverse mask on an ACL

Or I could be totally wrong.

-------- Original Message --------

Reply to
Slarmas

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.