A network administrator needs to apply an inbound extended Access Control List (ACL) on a router interface connected to the user subnet to secure access to a server located at . The policy must enforce the following requirements:
1. Allow administrator workstation SSH access (TCP port 22) to the server.
2. Block host from accessing HTTP services (TCP port 80) on the server.
3. Allow all other hosts on the subnet to access HTTP services (TCP port 80) on the server.
4. Block all other unauthorized IP traffic.
Arrange the given ACL statements in the correct top-to-bottom processing sequence to enforce this security policy without rule shadowing.
- 1permit tcp host 192.168.1.50 host 10.0.0.10 eq 22
- 2deny tcp host 192.168.1.100 host 10.0.0.10 eq 80
- 3permit tcp 192.168.1.0 0.0.0.255 host 10.0.0.10 eq 80
- 4deny ip any any
Answer
The correct order from top to bottom is: 1) permit tcp host 192.168.1.50 host 10.0.0.10 eq 22, 2) deny tcp host 192.168.1.100 host 10.0.0.10 eq 80, 3) permit tcp 192.168.1.0 0.0.0.255 host 10.0.0.10 eq 80, and 4) deny ip any any.
ACL entries are evaluated sequentially in top-down order. Specific entries must always precede broader entries to prevent rule shadowing. Placing the specific host SSH permit rule first ensures administrative access is evaluated immediately. Placing the specific host HTTP deny rule second ensures that host 192.168.1.100 is blocked before reaching the general subnet HTTP permit rule. The general subnet HTTP permit rule follows third to allow remaining subnet hosts, while the catch-all deny rule is placed at the end.
Step-by-Step Solution
Key Concept
Access Control List Top-to-Bottom Sequential Evaluation and Rule Shadowing