RE: Crazy Access-List question

From: David Cho (David.Cho@interealty.com)
Date: Wed Mar 05 2003 - 18:56:27 GMT-3


How about this.

access-list 1 permit 10.10.1.0 0.0.254.0

-----Original Message-----
From: Danny Andaluz andaluz [mailto:dannyandaluz@comcast.net]
Sent: Wednesday, March 05, 2003 2:31 PM
To: ccielab@groupstudy.com
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