A network administrator is configuring an extended IPv4 access control list (ACL) named `FILTER_INTERNAL` on GigabitEthernet0/0/0 (inbound) on a Cisco IOS router. The objective is to enforce the following security policy for internal users on network :
1. Allow HTTPS traffic (TCP port 443) to the DMZ web server at .
2. Allow DNS domain queries (UDP port 53) to the DMZ DNS server at .
3. Explicitly drop and log all other traffic from directed to any host in the DMZ subnet ().
4. Permit all remaining traffic originating from destined to other corporate subnets or the Internet.
Which two configuration statements or operational logic requirements must be included in the ACL design to satisfy these requirements without blocking non-DMZ traffic?
- An explicit statement `permit ip 10.50.10.0 0.0.0.255 any` must be placed at the end of the ACL to override the implicit deny any clause.Answer
- The rule `deny ip 10.50.10.0 0.0.0.255 172.16.100.0 0.0.0.255 log` must be sequenced immediately after the specific HTTPS and DNS permit rules.Answer
- CThe rule `deny ip 10.50.10.0 0.0.0.255 172.16.100.0 0.0.0.255 log` must be placed at line 10 (top of the ACL) to ensure security policy enforcement before processing permits.
- DThe explicit permit statement for remaining traffic can be omitted because IPv4 ACLs automatically permit non-matching packets if at least one deny line exists.
Answer
The correct configuration requires placing the subnet deny statement (`deny ip 10.50.10.0 0.0.0.255 172.16.100.0 0.0.0.255 log`) after the specific HTTPS and DNS permit entries, as well as appending an explicit `permit ip 10.50.10.0 0.0.0.255 any` at the end of the ACL.
Cisco IOS IPv4 Access Control Lists evaluate entries sequentially from top to bottom. Specific permit rules for host-level services (HTTPS and DNS) must be evaluated before broader subnet restrictions (`deny ip 10.50.10.0 0.0.0.255 172.16.100.0 0.0.0.255 log`). Furthermore, because every ACL terminates with an implicit `deny ip any any` rule, an explicit `permit ip 10.50.10.0 0.0.0.255 any` statement must be placed at the end of the ACL structure to allow non-DMZ traffic to pass.
Step-by-Step Solution
Key Concept
Top-down ACL rule evaluation sequence and handling of the implicit deny any clause