GOAL:
Block the 10.1.4.0/24 network being advertised by Router2 FROM Router1
I'm using pre-fix lists. And i ultimately know how to get my desired results. But what im not understand is why some of my ideas aren't working. I guess im not understanding how prefix-lists operate in the IOS
Both routers running EIGRP properly.. I can ping the networks without route filtering.. this is a question about prefix-lists. ----Router2#---- These are the routes being advertised on router 2 10.1.1.0 /24 10.1.2.0 /24 10.1.3.0 /24 10.1.4.0 /24 <--- Only this should be blocked via prefix-list filtering ----Router1#---- router eigrp 1 network 192.168.1.0 distribute-list prefix BLOCK-10.1.4.0 in THIS WORKS: >> ip prefix-list BLOCK-10.1.4.0 seq 10 deny 10.1.4.0/24 >> ip prefix-list BLOCK-10.1.4.0 seq 20 permit 10.0.0.0/8 le 32 THIS WORKS: >> ip prefix-list BLOCK-10.1.4.0 seq 10 deny 10.1.4.0/24 >> ip prefix-list BLOCK-10.1.4.0 seq 20 permit 10.0.0.0/0 le 32 THIS DOES NOT WORK: >> ip prefix-list BLOCK-10.1.4.0 seq 10 deny 10.1.4.0/24 >> ip prefix-list BLOCK-10.1.4.0 seq 20 permit 10.0.0.0/8
In an attempt to block the 10.1.4.0/24 network but permit the other 10.x.x.x networks i have... Why doesn't " ip prefix-list BLOCK-10.1.4.0 seq 20 permit 10.0.0.0/8" this permit what i want? In my head, 10.0.0.0/8 would cover the address space i want to permit. What am i missing here... This is a simple question that I am looking to understand the IOS interpretation of prefix-lists, so I'm expecting a simple answer. Let me know if you dont quite understand what im expressing above.
No comments:
Post a Comment