Have just been reworking my lab & home networks, and have come across an ACL "gotcha" with standard vs extended. I usually use a standard ACL for NAT applied on my 877 ADSL router without issue, but adding the permit 10 & 172 super-nets causes lab traffic to be dropped. I've replicated it in GNS3 using 3725's.
[FONT=courier new]ip access-list standard STD-NAT-ACCESS
remark HOME NETWORK ACCESS
permit 192.168.1.0 0.0.0.255
remark LAB NETWORK ACCESS
permit 172.0.0.0 0.255.255.255 log
permit 10.0.0.0 0.255.255.255 log
remark BLOCK UNMATCHED
deny any log <- 10 and 172 traffic dropped here[/FONT]
An extended ACL allows 172 & 10 ranges,
[FONT=courier new]ip access-list extended EXT-NAT-ACCESS
remark HOME NETWORK ACCESS
permit ip 192.168.1.0 0.0.0.255 any log
remark LAB NETWORK ACCESS
permit ip 172.0.0.0 0.255.255.255 any log <- pass ok
permit ip 10.0.0.0 0.255.255.255 any log[/FONT][FONT=courier new] <- pass ok[/FONT]
[FONT=courier new] remark BLOCK UNMATCHED
deny ip any any log[/FONT]
Its probably staring me in the face, as an ACL should only act on a match or keep looking down the list, so shouldn't the standard ACL work?
What am I missing here?