A network administrator needs to construct an IPv4 extended Access Control List (ACL) on a Cisco IOS router to enforce the following security policy for internal users in the network:
1. Host must be permitted SSH access to the administrative server at .
2. All other TCP traffic from the subnet destined to server must be blocked.
3. All hosts in the subnet must be permitted web access (HTTP) to any destination server.
4. General ICMP traffic must be allowed from any source to any destination.
Arrange the ACL statements from top to bottom (first line to last line) in the correct sequential order to achieve this policy without unintentionally blocking desired traffic.
- 1access-list 101 permit tcp host 192.168.1.50 host 10.0.0.10 eq 22
- 2access-list 101 deny tcp 192.168.1.0 0.0.0.255 host 10.0.0.10
- 3access-list 101 permit tcp 192.168.1.0 0.0.0.255 any eq 80
- 4access-list 101 permit icmp any any
Answer
The statements must be ordered sequentially from most specific host entry to broader subnet rules: first permit SSH from host 192.168.1.50 to 10.0.0.10, second deny all TCP from 192.168.1.0/24 to 10.0.0.10, third permit HTTP (port 80) from 192.168.1.0/24 to any, and fourth permit ICMP from any to any.
Cisco IOS ACLs process entries sequentially from top to bottom. The correct order places the most specific host-level permit rule for SSH at line 1, followed by the specific TCP deny rule to server 10.0.0.10 at line 2. Line 3 permits HTTP to any destination (which correctly permits HTTP except to 10.0.0.10, which was already matched and denied at line 2). Line 4 permits ICMP traffic before the implicit deny ip any any statement drops all remaining traffic.
Step-by-Step Solution
Key Concept
Cisco IOS ACL Top-Down Sequential Evaluation Logic and Specific-to-General Ordering
Estimated Time:1m 30s