A network administrator needs to configure an extended IPv4 ACL (ACL 101) on a Cisco router to control access from the User Subnet () to the Server Subnet () according to the following security requirements:
1. Host must be permitted SSH access (TCP port 22) to Server .
2. Host must be denied all other IP traffic to any destination on the Server Subnet ().
3. All other hosts on the User Subnet () must be permitted HTTP access (TCP port 80) to Server .
4. All other traffic from the User Subnet to the Server Subnet must be explicitly denied.
Arrange the given ACL statements in the correct top-down evaluation order (from first line processed to last line processed) to successfully enforce these security requirements.
- 1access-list 101 permit tcp host 10.2.2.50 host 10.1.1.10 eq 22
- 2access-list 101 deny ip host 10.2.2.50 10.1.1.0 0.0.0.255
- 3access-list 101 permit tcp 10.2.2.0 0.0.0.255 host 10.1.1.20 eq 80
- 4access-list 101 deny ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255
Cevap
The correct order from top to bottom is: 1) access-list 101 permit tcp host 10.2.2.50 host 10.1.1.10 eq 22, 2) access-list 101 deny ip host 10.2.2.50 10.1.1.0 0.0.0.255, 3) access-list 101 permit tcp 10.2.2.0 0.0.0.255 host 10.1.1.20 eq 80, 4) access-list 101 deny ip 10.2.2.0 0.0.0.255 10.1.1.0 0.0.0.255.
Cisco IOS ACLs evaluate packets sequentially from top to bottom until a match is found. To properly isolate host 10.2.2.50 while permitting host-specific SSH and allowing general subnet HTTP access, host-specific rules must be placed above subnet-level rules. Placing the host SSH permit first guarantees SSH traffic passes. Placing the host subnet deny second ensures host 10.2.2.50 cannot reach any other server or port (including HTTP on 10.1.1.20). Placing the subnet HTTP permit third allows remaining hosts on 10.2.2.0/24 to reach the web server. Finally, placing the general subnet deny fourth explicitly blocks all other inter-subnet traffic.
Adım Adım Çözüm
Anahtar Kavram
Sequential Top-Down ACL Processing and Rule Shadowing