From: Albert Lu (albert_ccie@xxxxxxxxx)
Date: Mon Oct 29 2001 - 23:31:14 GMT-3
You mean:
access-list 1 permit 158.168.0.0 0.0.63.255
access-list 1 permit 158.168.64.0 0.0.15.255
access-list 1 permit 158.168.80.0 0.0.7.255
access-list 1 permit 158.168.88.0 0.0.3.255
access-list 1 permit 158.168.92.0 0.0.0.0
access-list 1 deny 158.168.1.0 0.0.254.255
Hmm... 6 lines. Anyone knows a shorter way?
Albert
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Brian Hescock
Sent: Tuesday, October 30, 2001 1:02 PM
To: Andy Cuberly
Cc: 'Cliff Ward'; ccielab@groupstudy.com
Subject: Re: Redistributing only even subnets.
These are the kinds of things everyone needs to watch out for, easy
points missed. Because the requirement said even networks up through
92.0, not 254.0. So what you really need is five line:
even networks been 0-63, 64-79, 80-87, 88-91, and 92
Brian
Andy Cuberly wrote:
>An access list with the following commands would filter out ALL odd
>networks.
>
>Access-list 1 deny 158.168.1.0 0.0.254.255
>Access-list 1 permit any
>
>Andy
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
>Cliff Ward
>Sent: Monday, October 29, 2001 4:40 PM
>To: ccielab@groupstudy.com
>Subject: Redistributing only even subnets.
>
>
>An interesting issue has arisen.
>
>I'm running OSPF to EIGRP redistribution and want to advertise a group of
>class B subnets. 158.168.1.0 through 158.168.92.0. However odd number
>subnets
>need not be advertised. EG. Advertise 158.168.2.0 and 158.168.4.0
through...
>but not 158.168.3.0 or 158.168.5.0 etc, etc.
>
>I've been playing with a series of access lists and route maps but is there
>an
>easy way to do it with minimal commands? It seems to me that the last bit
in
>the third octet is the discriminator between odd and even but I can't seem
>to
>get this to translate to an access-list which works with redistribution.
>
>Thanks,
>Cliff.
This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 22:33:28 GMT-3