From: Gregory Gombas (ggombas@gmail.com)
Date: Wed Dec 19 2007 - 12:53:55 ART
Since the interface has a /24 mask the two commands do essentially the
same thing which is enable OSPF on the interface, assign it to an
area, and advertise that network.
You're probably better off using the 0.0.0.0 mask because it is more
restrictive and you have greater control over which interface you are
enabling OSPF on.
You can also use the interface level command to enable OSPF on the one
interface.
I vaguely remember a corner case scenario where the different wildcard
mask lead to difference in behavior but don't remember the details.
Maybe someone can chime in here?
Regards,
Gregory Gombas
CCIE #19649
On Dec 19, 2007 9:56 AM, <ALee@cccis.com> wrote:
> Can anyone tell me the difference of the OSPF network statement below?
> Such as the difference showing in OSPF database, routing table, etc. Which
> network statement is preferred? Thanks.
>
>
> interface Vlan20
> ip address 172.20.20.1 255.255.255.0
>
> router ospf 10
> network 172.20.20.1 0.0.0.0 area 0.0.0.0
>
> V.S.
>
> router ospf 10
> network 172.20.20.0 0.0.0.255 area 0.0.0.0
>
>
>
> Arthur Lee
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:31 ARST