Re: odd even # IPs on an ACL [7:56551]

2002-10-31 Thread Tim Metz
that joke deserves it's own thread ;-)

Tim

Jennifer Mellone  wrote in message
news:200210310718.HAA06644;groupstudy.com...
 Cute!

 So I'm thinking that tomorrow (Halloween) I'll put on a subnet mask.
 It will be 255.255.0.0, and the two 0's will have little holes in the
middle
 for my eyes ;-)

 - Jennifer Mellone




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7i=56578t=56551
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: odd even # IPs on an ACL [7:56551]

2002-10-31 Thread The Long and Winding Road
Jennifer Mellone  wrote in message
news:200210310718.HAA06644;groupstudy.com...
 Cute!

 So I'm thinking that tomorrow (Halloween) I'll put on a subnet mask.
 It will be 255.255.0.0, and the two 0's will have little holes in the
middle
 for my eyes ;-)


too bad they no longer allow whacky subnet maskts

255.0.0.255

the 255s could flap back over your ears.



 - Jennifer Mellone




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7i=56592t=56551
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: odd even # IPs on an ACL [7:56551]

2002-10-30 Thread The Long and Winding Road
in any octet 0 0 0 0 0 0 0 0

if the rightmost bit is 0 ( zero ) the number is even

if the rightmost bit is 1 ( one ) the number is odd

  = even
 0010 = even
 0100 = even
etc

 0001 = odd
  = odd
etc

you should be able to figure out a one line access-list using this info.


www.chuckslongroad.info




Casey Miles  wrote in message
news:20021030.WAA16240;groupstudy.com...
 Just wondering what the correct syntax would be if you wanted to have
 - two networks
 - one network with students with Omiting odd numbered IPs.
 - second network with faculty omiting the even numbered IPs.

 Im looking for a one line command to do this.




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7i=56554t=56551
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: odd even # IPs on an ACL [7:56551]

2002-10-30 Thread Rajesh Kumar
Take ex :

192.168.0.0/24 to 192.168.10.0/24 are the networks.

For filtering odd networks here is what the ACL will look like

192.168.1.0 and the WCM will be 0.0.254.255

For filtering even networks it will be 192.168.0.0 , WCM - 0.0.254.255.

Means that for ODD networks last bit of the third octet will always be 1

For the EVEN networks the last bit of the third octet will always be 0.  So
you care
only that bit in the WCM.


PS :  The chapter for ACL in CCIE Practical Studies by Karl Solie has an
example of this
and a good explanation.


Hope this helps.

Rajesh


Casey Miles wrote:

 Just wondering what the correct syntax would be if you wanted to have
 - two networks
 - one network with students with Omiting odd numbered IPs.
 - second network with faculty omiting the even numbered IPs.

 Im looking for a one line command to do this.




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7i=56561t=56551
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: odd even # IPs on an ACL [7:56551]

2002-10-30 Thread Priscilla Oppenheimer
Casey Miles wrote:
 
 Just wondering what the correct syntax would be if you wanted
 to have
 - two networks
 - one network with students with Omiting odd numbered IPs.
 - second network with faculty omiting the even numbered IPs.
 
 Im looking for a one line command to do this.

What makes a number odd? I would say that an odd number is of the form 2n +
1 for some n. Think about that in binary...

And now, for my annual joke. Do you know why computer people get confused
this time of year and start thinking about Santa Claus instead of the Great
Pumpkin? Because OCT 31 = DEC 25.

What HEX would you like to put on me for that joke? ;-)

I wish I could do ASCII art of a ghost or something, but I'll leave you with
this in decimal: 2816!

___

Priscilla Oppenheimer
www.troubleshootingnetworks.com
www.priscilla.com




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7i=56563t=56551
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: odd even # IPs on an ACL [7:56551]

2002-10-30 Thread Jennifer Mellone
Cute!

So I'm thinking that tomorrow (Halloween) I'll put on a subnet mask.
It will be 255.255.0.0, and the two 0's will have little holes in the middle
for my eyes ;-)

- Jennifer Mellone


Message Posted at:
http://www.groupstudy.com/form/read.php?f=7i=56577t=56551
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]