A network administrator configures an IPv4 extended access control list (ACL) on a Cisco router interface to allow web traffic using the following command:
`access-list 100 permit tcp host 192.168.1.50 any eq 80`
No other ACL entries are configured on the router. What happens when host 192.168.1.50 sends an ICMP echo request (ping) packet through the interface where this ACL is applied?
- The ICMP packet is dropped because of the unwritten implicit deny statement at the end of the access control list.Answer
- BThe ICMP packet is permitted because non-matching IPv4 traffic is allowed by default unless an explicit deny line is configured.
- CThe ICMP packet is permitted because permitting TCP port 80 traffic automatically permits auxiliary network diagnostic protocols.
- DThe ICMP packet is forwarded because the permit statement applies broadly to all layer 4 transport protocols originating from host 192.168.1.50.
Answer
The ICMP packet is dropped because of the unwritten implicit deny statement at the end of the access control list.
All IPv4 ACLs on Cisco IOS devices end with an implicit 'deny ip any any' clause. When an ICMP echo request is processed against the rule `access-list 100 permit tcp host 192.168.1.50 any eq 80`, it fails to match because ICMP is a separate protocol from TCP. Because there are no further explicit permit rules, the packet matches the implicit deny clause and is dropped.
Step-by-Step Solution
Key Concept
Access Control List (ACL) Implicit Deny Clause