A network administrator needs to construct an IPv4 extended Access Control List (ACL) to filter traffic originating from the internal subnet . The security policy requires the following requirements in order of processing:
1. Allow host to access web server using secure HTTPS (port 443).
2. Block all other hosts on the subnet from reaching server .
3. Permit all remaining outbound traffic from subnet to any other destination.
4. Catch and drop all remaining unspecified IP traffic.
In what order should these ACL statements be evaluated from top to bottom to satisfy the security policy without shadowing any rules?
- 1access-list 100 permit tcp host 192.168.1.25 host 10.10.10.5 eq 443
- 2access-list 100 deny ip 192.168.1.0 0.0.0.255 host 10.10.10.5
- 3access-list 100 permit ip 192.168.1.0 0.0.0.255 any
- 4access-list 100 deny ip any any
Answer
The correct order of ACL statements from top to bottom is: (1) permit tcp host 192.168.1.25 host 10.10.10.5 eq 443, (2) deny ip 192.168.1.0 0.0.0.255 host 10.10.10.5, (3) permit ip 192.168.1.0 0.0.0.255 any, and (4) deny ip any any.
Router Access Control Lists process entries sequentially from top to bottom and stop at the first matching rule. To ensure correct policy enforcement, rules must be arranged from most specific (individual host and port permissions) to most general (subnet permits and implicit deny statements). Placing the host-specific permit for TCP port 443 first allows host 192.168.1.25 to reach server 10.10.10.5. Placing the subnet deny rule second blocks all other hosts in 192.168.1.0/24 from reaching server 10.10.10.5. Placing the subnet permit rule third allows subnet 192.168.1.0/24 to reach all other destinations. Placing the deny-all rule last catches all non-matching traffic.
Step-by-Step Solution
Key Concept
First-match sequential rule evaluation and rule shadowing prevention in Access Control Lists (ACLs)
Estimated Time:1m 0s