An administrator configures the following IPv4 extended named access control list on a Cisco IOS router:
text
ip access-list extended BLOCK_WEB_SERVICES
deny tcp 10.20.30.0 0.0.0.255 host 192.168.100.10 eq 80
deny tcp 10.20.30.0 0.0.0.255 host 192.168.100.10 eq 443
This ACL is applied inbound on interface GigabitEthernet0/0. A host with IP address 10.20.30.15 attempts to send ICMP echo request packets to 192.168.100.10. What occurs when this ICMP traffic reaches the router interface?
- The ICMP traffic is dropped because it encounters the implicit deny all statement at the end of the ACL.Cevap
- BThe ICMP traffic is permitted and forwarded because it does not match the TCP destination port conditions in the deny statements.
- CThe ICMP traffic is permitted because extended ACLs automatically bypass filtering for Layer 3 control protocols like ICMP.
- DThe ICMP traffic is dropped because extended ACLs restrict all traffic types whenever specific TCP port filters are defined.
Cevap
The ICMP traffic is dropped because it encounters the implicit deny all statement at the end of the ACL.
Cisco IPv4 Access Control Lists evaluate entries sequentially from top to bottom. If a packet does not match any explicit permit or deny entry in the list, it hits the unwritten implicit deny clause ('deny ip any any') at the end of the ACL. Since the ACL only contains explicit deny entries for TCP ports 80 and 443, ICMP packets fail to match those specific lines and are dropped by the implicit deny.
Adım Adım Çözüm
Anahtar Kavram
Every IPv4 ACL in Cisco IOS concludes with an invisible implicit deny statement ('deny ip any any'). To permit non-denied traffic, an explicit permit statement (such as 'permit ip any any') must be added.