A network engineer configures the following named extended IPv4 Access Control List (ACL) on a Cisco IOS router to regulate inbound traffic from a branch office subnet () destined for a data center network ():
`ip access-list extended BRANCH_POLICY`
` 10 permit tcp host 10.20.2.45 host 172.16.100.10 eq 22`
` 20 permit tcp host 10.20.2.45 host 172.16.100.10 eq 443`
` 30 deny tcp 10.20.0.0 0.0.3.255 172.16.100.0 0.0.0.255 eq 80`
` 40 deny tcp 10.20.0.0 0.0.3.255 172.16.100.0 0.0.0.255 eq 443`
The ACL is applied to the inbound direction of the interface facing the branch network. What happens when a user at host attempts to send ICMP echo request packets to server ?
- The ICMP packets are dropped because they fail to match any explicit permit statement and hit the implicit deny all clause.Cevap
- BThe ICMP packets are permitted because lines 10 through 40 only filter TCP traffic and do not explicitly deny ICMP.
- CThe ICMP packets are dropped because line 30 denies all protocols originating from the 10.20.0.0 0.0.3.255 range.
- DThe ICMP packets are permitted because the wildcard mask 0.0.3.255 excludes host address 10.20.1.10 from being evaluated by the ACL.
Cevap
The ICMP packets are dropped because they fail to match any explicit permit statement and fall through to the implicit deny all clause at the end of the ACL processing list.
Cisco IOS access control lists evaluate traffic top-down. The list contains explicit rules only for TCP protocol packets (ports 22, 443, and 80). Because ICMP traffic does not match any of the TCP rules, it continues through the entire list without a match and is dropped by the mandatory implicit `deny ip any any` rule at the bottom of the ACL.
Adım Adım Çözüm
Anahtar Kavram
ACL Sequential Evaluation and the Implicit Deny Clause