RE: Redistributing only even subnets.

From: Vincent Celindro (vcelindro@xxxxxxxxxxxxxxxx)
Date: Thu Nov 01 2001 - 11:50:21 GMT-3


   
using 0.0.94.255 would not permit (32-62) networks.
0000 0000
0101 1110
     ^ always 0

you would need one more line

access-list 1 permit 166.166.32.0 0.0.30.255

-Vince

At 10:13 PM 10/31/2001 +0100, Sijbren Beukenkamp wrote:
>Check this one.
>
>access-list 1 deny 166.166.94.0 0.0.0.255 ! deny 94
>access-list 1 permit 166.166.0.0 0.0.94.255 ! all even from 0 through 94
>
>Met vriendelijke groet/ Kind regards,
>Sijbren
>++++++++++++++++++++++++++++++++++++++++++++++++++++
>Ing. Sijbren Beukenkamp IBM Global Services
>Internetworking Specialist Integrated Technology Services
> Networking & Connectivity
>Services
> http://www.ibm.com/services/nc/
>GSM +31 (0)6 53761703 The Netherlands
>Office: +31 (0)30 2850 666
>
>
>
>
>Carlos Chorao <cchorao@vinz.co.nz>
>Sent by: nobody@groupstudy.com
>01-11-2001 10:07
>Please respond to Carlos Chorao
>
>
> To: "'Chua, Parry'" <Parry.Chua@compaq.com>, "Ccielab study
> group (E-mail)"
><ccielab@groupstudy.com>
> cc:
> Subject: RE: Redistributing only even subnets.
>
>
>
>almost,
>the second statement "access-list 1 permit 158.168.1.0 0.0.62.255" has
>the
>effect of permitting all the odds 1,3,5 etc.
>I think "access-list 1 permit 158.168.0.0 0.0.62.255" has the desired
>effect (0,2,4,.....62).However 0 subnet slips thru. If you (or the
>instructions) consider this a even sub then no problem else you need a
>specific deny (before this permit statement).
>
>
>Carlos
>
>-----Original Message-----
>From: Chua, Parry [mailto:Parry.Chua@compaq.com]
>Sent: Wednesday, October 31, 2001 9:19 PM
>To: Chua, Parry; 'Carlos Chorao'; 'Vincent Celindro'; Ccielab study
>group (E-mail)
>Subject: RE: Redistributing only even subnets.
>
>
>Hi,
>
>My previous update would not work, based on the previous reply, I think
>the
>following
>may work:
>
>access-list 1 deny 158.168.94.0 0.0.0.255 !! block 94
>access-list 1 permit 158.168.1.0 0.0.62.255 !! permit 2,4,...62
>access-list 1 permit 158.168.64.0 0.0.30.255 !! permit 64,66..94,
>since
>94 is block
> !! deny all others
> !! so we permit 2,4,6 to
>92...
>Does this seen OK ??
> > Parry Chua
>
>-----Original Message-----
>From: Chua, Parry
>Sent: Wednesday, October 31, 2001 3:31 PM
>To: 'Carlos Chorao'; 'Vincent Celindro'; Ccielab study group (E-mail)
>Subject: RE: Redistributing only even subnets.
>
>
>What if the first line of access-list change to
>deny 158.168.93.0 0.0.163.255,
>this should includ 93 and any combination of (+1,+2,+32,+128)
>
> > Parry Chua
> >
> >
>
>
>-----Original Message-----
>From: Carlos Chorao [mailto:cchorao@vinz.co.nz]
>Sent: Wednesday, October 31, 2001 7:30 AM
>To: 'Vincent Celindro'; Ccielab study group (E-mail)
>Subject: RE: Redistributing only even subnets.
>
>
>comments in line
>
>carlos
>
>-----Original Message-----
>From: Vincent Celindro [mailto:vcelindro@northwestern.edu]
>Sent: Wednesday, October 31, 2001 8:58 AM
>To: ccielab@groupstudy.com
>Subject: Re: Redistributing only even subnets.
>
>
>--had some trouble posting, sorry if a repeat.
>
>Would it not be easier to first block off the networks we do not want.
>
>access-list 1 deny 158.168.93.0 0.0.162.255 (block out all networks above
>
>.92, anything below .92 get parsed on the second line)
>
>***<this does not block 158.168.128 , 158.168.160 ,158.168.130 i.e any
>combination of the dont care bits (128,32,2) in the wild mask
>
>
>
>access-list 1 deny 158.168.1.0. 0.0.254.255 (this takes care of the zero
>network and filter out all odd)
>access-list 1 permit any
>
>-Vince
>W



This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:00 GMT-3