"Doan" <> wrote in message
news

ine.GSO.4.33.0610091102040.4826-...
> On 9 Oct 2006, German R wrote:
>
>>
>> Doan wrote:
>> > On 6 Oct 2006, German R wrote:
>> > How about changing the access list to:
>> > access-list 10 permit 192.168.1.0 0.0.0.63
>> > access-list 10 deny 192.168.1.0 0.0.0.255
>> >
>> > Doan
>>
>> Thank you, Doan. I tested your suggestion, but in this case it is
>> allowing both networks 192.168.1.0/26 and 192.168.1.0/24.
>>
>> It seems that distribute-list checks only the network part of the route
>> (not the netmask) and compares it to the ACL. In this case the
>> "access-list 10 permit 192.168.1.0 0.0.0.63" is matching both
>> networks...
>>
>> Is there any other way to filter this specific route (using route-maps,
>> etc.)? Thanks!!
>>
> Did you configure "ip classless" on your routers?
>
> Doan
Try looking into using prefix lists.