No problem Alex. I was simply saying that you can't aggregate those addresses without including a lot of addresses that you aren't supposed to aggregate. The best way to do these is always in binary which I can do in my head quite easily as I do a fair amount of addressing.
Pete At 08:39 PM 7/16/2002 -0300, Alex Paulino wrote: >Hi Peter, i think the better choice is using "ANd" in each octets of IP >address, the result is your new network and doing a "xor" in the same >octet you'll get the mask. > >Example for the first octect= 140.And.161.And.201.and.201 = 128 >mask is: 140.xor.161.xor.201.xor.201 = 45 > >i hope this help you > >sorry about my english! :-( > >alex > >-----Original Message----- >From: Peter van Oene [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 16, 2002 6:48 PM >To: [EMAIL PROTECTED] >Subject: Re: ACL fewest numbers of lines > > >The left most bits alone require 3 lines as they contain 100, 101, and 110. > >At 04:02 PM 7/16/2002 -0500, Alex wrote: > >Requirement: > > > >Create an access list with the fewest numbers of lines to deny. > > > >140.199.57.0 > >161.199.57.0 > >201.59.1.0 > >201.63.1.0 > > > >I can do it in 3 lines but I believe that there is a way to do it in 1 > >line? any body know? > >_________________________________________________________________ > >Commercial lab list: http://www.groupstudy.com/list/commercial.html > >Please discuss commercial lab solutions on this list. >_________________________________________________________________ >Commercial lab list: http://www.groupstudy.com/list/commercial.html >Please discuss commercial lab solutions on this list. Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=48980&t=48980 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]