From: Study CCIE (studyccie@xxxxxxxxxxx)
Date: Wed Jan 02 2002 - 12:15:50 GMT-3
(Sorry if this posting comes up twice)
Glenn,
The preferred method for a single interface is '137.20.20.1 0.0.0.0 area x'
like you said. Let's say you have a lot of interfaces that fall in the same
range though. For example,
137.20.20.0/30
137.20.20.4/30
137.20.20.8/30
137.20.20.12/30
...
137.20.20.252/30
Instead of a network statement for every interface at 137.20.20.1 0.0.0.0 a
x, you can use a single statement 'network 137.20.20.0 0.0.0.255 area x'
Remember, in IGP, the network statement doesn't mean 'what networks will I
advertise'. It means, 'what interfaces will participate in this protocol'
In BGP however, the network statement does mean 'what networks will I
advertise'
Hope this helps
----- Original Message -----
From: "Williams, Glenn" <WILLIAMSG@PANASONIC.COM>
To: <ccielab@groupstudy.com>
Sent: Wednesday, January 02, 2002 8:51 AM
Subject: Simple OSPF question
> Hi,
>
> Usually when I enable ospf on an interface, for example if the interface
is
> 137.20.20.1/24, I would say:
>
> net 137.20.20.1 0.0.0.0 area x
>
> I could say:
>
> net 137.20.20.0 0.0.0.255 area x
>
> but what would I gain?
>
> Just one of those questions I've been meaning to ask.
>
> GW
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:14 GMT-3