A network administrator must configure a Cisco IOS extended IPv4 Access Control List (ACL) to enforce the following security policy requirements:
1. Permit HTTP traffic (TCP port 80) from any host on the network to the web server at .
2. Deny all other IP traffic originating specifically from host to the web server at .
3. Permit all other TCP traffic from the network to the subnet.
4. Explicitly block all remaining IP traffic from the network to the subnet.
Arrange the following ACL statements in the correct top-down processing order (from line 1 at the top to line 4 at the bottom) so that the security policy is properly enforced.
- 1access-list 101 permit tcp 10.1.1.0 0.0.0.255 host 192.168.10.50 eq 80
- 2access-list 101 deny ip host 10.1.1.25 host 192.168.10.50
- 3access-list 101 permit tcp 10.1.1.0 0.0.0.255 192.168.10.0 0.0.0.255
- 4access-list 101 deny ip 10.1.1.0 0.0.0.255 192.168.10.0 0.0.0.255
Cevap
The statements must be ordered sequentially from most specific exception to most general catch-all: 1) permit tcp 10.1.1.0 0.0.0.255 host 192.168.10.50 eq 80, 2) deny ip host 10.1.1.25 host 192.168.10.50, 3) permit tcp 10.1.1.0 0.0.0.255 192.168.10.0 0.0.0.255, and 4) deny ip 10.1.1.0 0.0.0.255 192.168.10.0 0.0.0.255.
Cisco IOS Access Control Lists evaluate entries sequentially from top to bottom. The correct order places the narrowest exception (HTTP permit to host 192.168.10.50) first so that host 10.1.1.25 can still send HTTP traffic. The host-specific deny rule follows immediately to block any non-HTTP traffic from host 10.1.1.25 to 192.168.10.50. Next, the broader subnet-level TCP permit rule allows legitimate TCP applications from the rest of 10.1.1.0/24. Finally, the explicit subnet IP deny statement blocks all other non-TCP IP traffic targeting 192.168.10.0/24.
Adım Adım Çözüm
Anahtar Kavram
Top-down sequential evaluation in Cisco ACLs (specific rules before general rules)