Re: Network statement

From: Scott Strobeck (scott@strobeck.net)
Date: Thu Jul 31 2008 - 14:50:59 ART


Li,

IGP network statements are used to specify interfaces on which to run,
and not networks to advertise. The only difference between your two
statements is that the first specifies a single interface. For the
second, consider a case where you've subnetted 10.10.10.0/24 into
10.10.10.0/25 and 10.10.10.128/25 and put an interface in each subnet. .
. The second statement would specify to run ospf on both interfaces.

If you have 10.10.10.10/24 assigned to an interface, then there would be
no difference between the two, as the router wouldn't allow you to
overlap addressing spaces. I think this boils down to 'best practice'.
Get in the habit of specifying a single address (x.x.x.x 0.0.0.0) and
you won't inadvertently enable ospf or eigrp on an interface
unintentionally.

I've been using the specific address, exclusively, in the labs I've been
doing.

One of my customers, however, has "network 10.0.0.0" on every box under
EIGRP. They then use 'passive-interface default' and then 'no
passive-interface xy/z' to pick interfaces to run EIGRP on. This is
fine, also. The goal for an operational network to keep an interface
from automatically being included in the IGP when it's created. I use
this method on RIP every time I use it on a practice lab, since you
can't be specific with the network statement.

Good luck,
Scott

yungli2008@gmail.com wrote:
> Hi experts
> What is the difference between these two network statements under routing
> process?
>
> network 10.10.10.10 0.0.0.0 area 0
>
> Network 10.10.10.0 0.0.0.255 area 0
>
> After a search in Google and I understand the first statement says only the
> particular interface will participate in routing process The second says entire
> network will participate in routing process.
>
> My question is what is the advantage and disadvantage between these two
> statement?
>
> In real life scenario which one experts using?
>
> Would you please anyone clarify my doubt? really I appreciate your input.
>
> Advance thanks
> Li
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:58 ART