From: KK FoK (rgb98a@xxxxxxxxxxx)
Date: Tue Oct 30 2001 - 00:55:49 GMT-3
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
>From: Jason Gardiner <gardiner@sprint.net>
>Reply-To: Jason Gardiner <gardiner@sprint.net>
>To: Brian Hescock <bhescock@cisco.com>
>CC: <albert_ccie@yahoo.com>, "'Cliff Ward'" <cliffw2@attglobal.net>,
><ccielab@groupstudy.com>, "'Andy Cuberly'" <andyc@netcat.com>
>Subject: Re: Redistributing only even subnets.
>Date: Mon, 29 Oct 2001 22:11:17 -0500 (EST)
>
>Okay...Revised
>
>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
>
>3 lines?
>
>Thanks,
>
>Jason Gardiner
>Supervisor, Engineering Services
>Sprint <Insert Division Name>
>
>"You can swim all day in the Sea of Knowledge and
>still come out completely dry. Most people do."
>
>- Norton Juster
>
>On Mon, 29 Oct 2001, Brian Hescock wrote:
>
> > Yep, 5 lines, get rid of the deny statement at the end :-)
> >
> > Albert Lu wrote:
> >
> > >You mean:
> > >
> > >access-list 1 permit 158.168.0.0 0.0.63.255
> > >access-list 1 permit 158.168.64.0 0.0.15.255
> > >access-list 1 permit 158.168.80.0 0.0.7.255
> > >access-list 1 permit 158.168.88.0 0.0.3.255
> > >access-list 1 permit 158.168.92.0 0.0.0.0
> > >access-list 1 deny 158.168.1.0 0.0.254.255
> > >
> > >Hmm... 6 lines. Anyone knows a shorter way?
> > >
> > >Albert
> > >
> > >-----Original Message-----
> > >From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > >Brian Hescock
> > >Sent: Tuesday, October 30, 2001 1:02 PM
> > >To: Andy Cuberly
> > >Cc: 'Cliff Ward'; ccielab@groupstudy.com
> > >Subject: Re: Redistributing only even subnets.
> > >
> > >
> > >These are the kinds of things everyone needs to watch out for, easy
> > >points missed. Because the requirement said even networks up through
> > >92.0, not 254.0. So what you really need is five line:
> > >
> > >even networks been 0-63, 64-79, 80-87, 88-91, and 92
> > >
> > >Brian
> > >
> > >
> > >
> > >Andy Cuberly wrote:
> > >
> > >>An access list with the following commands would filter out ALL odd
> > >>networks.
> > >>
> > >>Access-list 1 deny 158.168.1.0 0.0.254.255
> > >>Access-list 1 permit any
> > >>
> > >>Andy
> > >>
> > >>-----Original Message-----
> > >>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > >>Cliff Ward
> > >>Sent: Monday, October 29, 2001 4:40 PM
> > >>To: ccielab@groupstudy.com
> > >>Subject: Redistributing only even subnets.
> > >>
> > >>
> > >>An interesting issue has arisen.
> > >>
> > >>I'm running OSPF to EIGRP redistribution and want to advertise a group
>of
> > >>class B subnets. 158.168.1.0 through 158.168.92.0. However odd number
> > >>subnets
> > >>need not be advertised. EG. Advertise 158.168.2.0 and 158.168.4.0
> > >>
> > >through...
> > >
> > >>but not 158.168.3.0 or 158.168.5.0 etc, etc.
> > >>
> > >>I've been playing with a series of access lists and route maps but is
>there
> > >>an
> > >>easy way to do it with minimal commands? It seems to me that the last
>bit
> > >>
> > >in
> > >
> > >>the third octet is the discriminator between odd and even but I can't
>seem
> > >>to
> > >>get this to translate to an access-list which works with
>redistribution.
> > >>
> > >>Thanks,
> > >>Cliff.
This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:28 GMT-3