A network engineer configures an extended IPv4 Access Control List (ACL) on a router to allow web access from an internal client subnet () to a web server at . The router has the following configuration lines applied:
text
access-list 105 permit tcp 172.16.20.0 0.0.0.255 host 192.168.1.100 eq 80
access-list 105 permit tcp 172.16.20.0 0.0.0.255 host 192.168.1.100 eq 443
When a host with IP address sends ICMP echo request (ping) packets to , how does the router process this traffic?
- The router drops the ICMP packets because they do not match any explicit permit entry and are filtered by the implicit deny statement at the end of the ACL.Answer
- BThe router permits the ICMP packets because network control protocols bypass transport-layer ACL filtering by default.
- CThe router forwards the ICMP packets because the wildcard mask 0.0.0.255 permits all IP traffic originating from the 172.16.20.0/24 subnet.
- DThe router drops the ICMP packets only if an explicit access-list 105 deny icmp any any statement is manually added to the end of the list.
Answer
The router drops the ICMP packets because they do not match any explicit permit statement and are dropped by the implicit deny clause.
Cisco IPv4 ACLs evaluate traffic line-by-line in sequential order. Extended ACLs require exact protocol matching. Because the configuration only contains permit statements for TCP (ports 80 and 443), ICMP packets fail to match any entry. Traffic that does not match any explicit rule is dropped by the mandatory implicit deny clause at the end of the ACL.
Step-by-Step Solution
Key Concept
ACL Sequential Evaluation and the Implicit Deny Clause