At first I thought this was a joke...  It can however, be done, but
certainly on in a 1-line access-list...

You'd basically have:

deny 192.168.1.2
deny 192.168.1.3
deny 192.168.1.5
deny 192.168.1.7
deny 192.168.1.11
...to whatever the greatest prime is below 254...

For exact syntax, read a book.  :)

Alan

----- Original Message -----
From: "Wojtek Zlobicki" 
To: 
Sent: Monday, July 30, 2001 11:54 AM
Subject: Re: access list w/ prime numers [7:14117]


> > Hola All!
> >
> > I want to set up an access list that do the following:
> > deny all packets from subnet 192.168.1.0 with last octect a prime
numer.
>
> I dont think you realize the complexity of what you are asking for.
This is
> a very complex rule (I sure would not my router making such
decisions, they
> would be very time consuming).  If I am wrong and this is a true
rule,  I
> shall pay homage to the router gods..
[EMAIL PROTECTED]




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

Reply via email to