Re: Crazy Access-List question

From: Tony Schaffran (tschaffran@cconlinelabs.com)
Date: Wed Mar 05 2003 - 19:12:39 GMT-3


In your deny statement, all you need to do is change your 1 to a 0. That
will deny even and permit odd.

Tony Schaffran
Network Analyst
CCIE #11071
CCNP, CCNA, CCDA,
NNCSS, NNCDS, CNE, MCSE

www.cconlinelabs.com
"Your #1 choice for Cisco rack rentals."

----- Original Message -----
From: "Danny Andaluz andaluz" <dannyandaluz@comcast.net>
To: <ccielab@groupstudy.com>
Sent: Wednesday, March 05, 2003 11:30 AM
Subject: Crazy Access-List question

> I'm trying to figure something out here.
>
> I know how to allow even networks and deny odd networks:
>
> router ospf 3
> network x.x.x.x
> dist-list 1 out
>
> access-list 1 deny 10.10.1.0 0.0.254.255
> access-list 1 permit any
>
> this would only allow 10.10.2.0, 4.0, 6.0 ,etc... to be advertised.
>
> How would you allow only odd networks and deny even networks? I have
> tried many different ways and nothing works.
>
> TIA
>
> Danny



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:33 GMT-3