RE: Redistributing only even subnets.

From: Jason Sinclair (sinclairj@xxxxxxxxxxxxxxx)
Date: Mon Oct 29 2001 - 23:20:19 GMT-3


   
Cliff,

Try this:

Access-list 101 permit ip 158.168.0.0 0.0.254.255 any

As you know to make the numbers even you must have the last bit of the third
octet off, but don't care about the rest (eg
00000000.00000000.11111110.11111111)

or 0.0.254.255

Try this link:

http://www.catspace.com/acl.htm <http://www.catspace.com/acl.htm>

Regards,

Jason Sinclair
Network Support Manager
POWERTEL Limited
Level 11, 55 Clarence Street, SYDNEY
Phone: 61-2-8264-3820
Fax: 61-2-9279-2604
Mobile: 0416 105 858
jasons@powertel.net.au

                -----Original Message-----
                From: Cliff Ward [mailto:cliffw2@attglobal.net]
                Sent: Tuesday, 30 October 2001 11:40
                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