Re: Redistributing only even subnets.

From: fwells12 (fwells12@xxxxxxxxxxx)
Date: Tue Oct 30 2001 - 06:08:10 GMT-3


   
Access list creation 101: always put your most specific networks first. In
this example, none of your 158.168 traffic would make it past the first line
in the list...

----- Original Message -----
From: "Jay Hennigan" <jay@west.net>
To: <ccielab@groupstudy.com>
Sent: Monday, October 29, 2001 11:13 PM
Subject: Re: Redistributing only even subnets.

> On Tue, 30 Oct 2001, KK FoK wrote:
>
> > Guys,
> >
> > How about subnet zero ? The requirement said 1-92.
> > My thining is that 4 statments is the min.
> >
> > Any comments ?
> >
> > access-list 1 deny 158.168.0.0
> > access-list 1 deny 158.168.94.0 0.0.0.255
> > access-list 1 permit 158.168.0.0 0.0.62.255
> > access-list 1 permit 158.168.64.0 0.0.30.255
>
> That's what I had in mind. You forgot the mask on the first deny
> but IOS would nag you for it.
>
> --
> Jay Hennigan - CCIE #7880 - Network Administration - jay@west.net
> NetLojix Communications, Inc. - http://www.netlojix.com/
> WestNet: Connecting you to the planet. 805 884-6323



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:28 GMT-3