confusion in configuring in prefix list

From: austin stone (amitkjoshi.cisco@gmail.com)
Date: Sat Feb 21 2009 - 17:54:27 ARST


Hi all,

         I tried configuring prefix list for the following network:

192.168.10.0
192.168.11.0
 192.168.12.0
 192.168.13.0
 192.168.14.0
 192.168.15.0
 192.168.16.0
 192.168.20.0
 192.168.21.0

To deny 192.168.20.1 and 192.168.21.1... I configure like as follows;

ip prefix-list TEST permit 192.168.8.0/21 ge 24 le 24

And I got the expected result..

But I when I wanted to deny all the routes and allow only 192.168.20.1 and
192.168.21.1

I tried configuring like :

ip prefix-list TEST permit 192.168.2.0/23 ge 24 le 24

Did not get expected output...

again tried :

ip prefix-list TEST permit 192.168.16.0/23 ge 24 le 24....

neverthless did not get expected output..

But when I configured following loopbacks :

192.168.22.0 192.168.23.0
 192.168.24.0
 192.168.26.0

And tried configuring :

ip prefix-list TEST permit 192.168.16.0/20 ge 24 le 24

I got the perfect output...i.e. it denied all the router from 10 to 15 and
allowed routes from 20 to 26..

Then why could not I get the proper result for 20 and 21..

Please advise.

Thanks..

Amit joshi

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



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:12 ARST