From: sanjay (ccienxtyear@xxxxxxxxxxx)
Date: Tue Apr 10 2001 - 14:39:28 GMT-3
Thanks to you all. The following access-list "access-list 101 permit icmp
172.17.59.0 0.0.0.254 host 172.17.59.49" allows all the IP addresses with
the last Octet even to be able to ping host 172.17.59.49.
thanks,
Sanjay
----- Original Message -----
From: "Diegmueller, Jason (I.T. Dept)" <jason@stifel.com>
To: "sanjay" <ccienxtyear@hotmail.com>
Sent: Monday, April 09, 2001 10:26 PM
Subject: RE: Access-List question -permiting only based on last octet bein g
a even number
> Sanjay--
>
> Remember that access-list's, unlike subnet masks, do not have
> to have be be all zeros then all ones. (or in the case of a
> subnet mask, all ones then zeros).
>
> Thus, you could do this:
> 192.168.0.0 0.0.0.254 to match all even addresses within
> the 192.168.0.0/24 network.
>
> Likewise:
> 192.168.0.1 0.0.0.254 would match all odd addresses within
> the same network.
>
> Does this meet your requirement?
>
> -----Original Message-----
> From: sanjay [mailto:ccienxtyear@hotmail.com]
> Sent: Monday, April 09, 2001 7:36 PM
> To: ccielab@groupstudy.com
> Subject: Access-List question -permiting only based on last octet being
> a even number
>
>
> Hi,
>
> I am working on a lab that has asked me to configure an access-list to
block
> and allows certain traffic/service ..e.t.c One of the requirements is to
> configure the access list to permit all IP addresses whose last octet is
an
> even number. I have a base network of 172.17.59.0 and have subnetted it
into
> many smaller networks. I am using a mask of /28, /29, /30 on my network.
> Any
> ideas ?? The IP address of the interface on which the access-list is
> configured is 172.17.59.49/28.
>
> thanks
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:43 GMT-3