Re: ACL blocking odd ip address

From: Wes Stevens (ccie_miami@xxxxxxxxxxx)
Date: Tue Apr 23 2002 - 21:05:10 GMT-3


   
You have your mask wrong:

ip access-list even deny 192.168.1.1 0.0.0.254

remember is it a wild card mask on an access-list.

>From: "Stephen C. Feldberg" <scfeldberg@hotmail.com>
>Reply-To: "Stephen C. Feldberg" <scfeldberg@hotmail.com>
>To: "Jeongwoo Park" <jpark@wams.com>, <ccielab@groupstudy.com>
>Subject: Re: ACL blocking odd ip address
>Date: Tue, 23 Apr 2002 19:37:00 -0400
>
>NACL "even" will block odd, "odd" will permit odd.
>
>ip access-list even deny 192.168.1.1 255.255.255.1
>ip access-list even permit any
>
>ip access-list odd deny192.168.1.0 255.255.255.1
>ip access-list odd permit any
>
>Steve
>----- Original Message -----
>From: "Jeongwoo Park" <jpark@wams.com>
>To: <ccielab@groupstudy.com>
>Sent: Tuesday, April 23, 2002 7:02 PM
>Subject: ACL blocking odd ip address
>
>
> > Hi all,
> > ACL is like the more I see it, the more I get confused.
> > How would you set up standard ACL to block odd ip addresses in the
>subnet
> > 192.168.1.0/24? And how about blocking even numbers?
> >
> > JP



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:18 GMT-3