Re: rule for prefix-access list conversion

From: Hobbs (deadheadblues@gmail.com)
Date: Fri Aug 15 2008 - 11:31:33 ART


I tried this guys but it didn't seem to work. I am having trouble
understanding how derive the destination of the ACL.

suppose I have following networks advertised from R1 to R2:
!
interface Loopback100
 ip address 192.168.0.1 255.255.255.0
!
interface Loopback101
 ip address 192.168.1.1 255.255.255.0
!
interface Loopback102
 ip address 192.168.2.1 255.255.255.128
!
interface Loopback103
 ip address 192.168.2.129 255.255.255.128
!
interface Loopback104
 ip address 192.168.3.65 255.255.255.192
!
interface Loopback105
 ip address 192.168.4.33 255.255.255.224
!
interface Loopback106
 ip address 192.168.4.65 255.255.255.224
!
interface Loopback107
 ip address 192.168.5.17 255.255.255.240
!
interface Loopback110
 ip address 192.168.3.129 255.255.255.240
!
interface Loopback120
 ip address 192.168.11.1 255.255.255.240
!
interface Loopback121
 ip address 192.168.13.1 255.255.255.252

An I only want the 192.168.0.0/16 networks with subnet less than /26.

I do this on R2:

access-list 100 permit ip 192.168.0.0 0.0.255.64 255.255.0.0 0.0.255.64

router eigrp 1
 distribute-list 100 in

But that filters all routes on R2! Am I using it the right way?

thanks

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:30 ART