Hi,
Im seeing some funky behavior with my route-maps and access-list.
I have a route-map which i use to distribute EIGRP routes into IS-IS, I was playing around with the deny/permit options, and came across this issue. My route-map is very simple, and looks like this:
route-map MYMAP permit 10
match ip address 20
when used with this access-list(20):
10 deny 172.16.1.0, wildcard bits 0.0.0.255 (3 matches)
20 deny 192.168.70.0, wildcard bits 0.0.0.255 (1 match)
30 permit 192.168.70.0 (1 match)
the route im testing with (192.168.70.0) will get passed (permitted), even though the first deny tells it not to.
However, if i use this access-list:
10 deny 172.16.1.0, wildcard bits 0.0.0.255 (3 matches)
20 deny 192.168.70.0, wildcard bits 0.0.0.255 (2 matches)
30 permit 192.168.70.0, wildcard bits 0.0.0.255
It wont go through, even though the only difference is the wildcard mask, what gives?
I also know that when not putting in a wildcard mask, 0.0.0.0 is assumed, but I was under the impression that when a match was found, nothing else was checked, but that doesnt seem to be the case with the first access-list.
Question 2:
The way i read access-lists with route-maps, is that only stuff thats permitted in the ACL gets the route-map action applied (permit/deny), example:
I have an ACL that says deny 1.1.1.1, and my route map says DENY, then this route wont get denied, because it doesnt match in the ACL, is that correctly understood?
Please save my brain