An inbound IPv4 extended Access Control List (ACL) named SECURE_IN is applied to interface GigabitEthernet0/1 on a Cisco router with the following configuration:
ip access-list extended SECURE_IN
10 permit tcp 172.16.10.0 0.0.0.255 host 192.168.1.100 eq 80
20 permit tcp host 172.16.10.15 192.168.1.0 0.0.0.255 eq 22
30 permit ip host 172.16.10.20 192.168.1.0 0.0.0.255
A host with IPv4 address sends a packet destined for targeting TCP port 443 (HTTPS). What action will the router take when processing this packet?
- The router drops the packet because it fails to match any explicit permit statement and is caught by the implicit deny clause.Answer
- BThe router permits the packet because line 10 matches both the source subnet 172.16.10.0/24 and the target host 192.168.1.100.
- CThe router permits the packet because line 20 explicitly allows traffic originating from source host 172.16.10.15 to the destination subnet 192.168.1.0/24.
- DThe router forwards the packet because Cisco IPv4 ACLs permit all unlisted IP traffic by default when no explicit deny rule is matched.
Answer
The router drops the packet because it fails to match any explicit permit statement and is caught by the implicit deny clause.
Extended ACLs are processed sequentially from top to bottom. Each rule requires matching all specified criteria, including source/destination IP parameters and protocol port numbers. Because the packet on TCP port 443 fails to match lines 10, 20, and 30, it encounters the implicit 'deny ip any any' at the end of the ACL and is dropped.
Step-by-Step Solution
Key Concept
Top-down sequential evaluation of Extended IPv4 ACLs and the implicit deny clause
Estimated Time:1m 30s