Last Updated on April 28, 2018 by Admin
220.127.116.11 Packet Tracer – Configure Standard IPv4 ACLs
Packet Tracer – Configure Standard IPv4 ACLs (Answer Version)
Answer Note: Red font color or gray highlights indicate text that appears in the Answer copy only.
|Device||Interface||IP Address||Subnet Mask||Default Gateway|
Restrict traffic on the network by configuring standard IPv4 ACLs.
Background / Scenario
An organization has recently decided to restrict traffic using standard IPv4 ACLs. As the network administrator, it is your job to configure two standard IPv4 ACLs to restrict traffic to the Pink LAN and the Blue LAN (see PT Topology Diagram). You must also configure a named standard IPv4 ACL to restrict remote access to router R1. Router interfaces and default/static routes have already been configured. Remote SSH access has also been enabled on the routers. You will need the following access information for console, VTY, and privileged EXEC mode:
Enable secret: secretPA55
Part 1: Configure a Standard IPv4 ACL to Restrict Access to the Pink LAN
In Part 1, you will configure and apply access list 10 to restrict access to the Pink LAN.
Step 1: Outline what you wish to accomplish with access list 10.
Access list 10 should have 4 access control entries to do the following:
- Access list 10 should start with the following comment: ACL_TO_PINK_LAN
- Permit PC-C to reach the Pink LAN
- Permit only the first half of hosts on the Yellow LAN, so they can reach the Pink LAN
- Permit all of the hosts on the Blue LAN to reach the Pink LAN
Access list 10 should be configured on the correct router, and applied to the correct interface and in the right direction.
Step 2: Create, apply, and test access-list 10.
After configuring and applying access list 10, you should be able to execute the following network tests:
- A ping from PC-A to a host in the Pink LAN should be successful, but a ping from PC-B should be denied.
- A ping from PC-C to a host in the Pink LAN should be successful, but a ping from PC-D should be denied.
- Pings from hosts in the Blue LAN to hosts in the Pink LAN should be successful.
What message is sent back to the PCs when a ping is denied due to an ACL?
A destination unreachable message.
Which IP addresses on the Yellow LAN are permitted to ping hosts on the Pink LAN?
Access list 10 permits pings to the Pink LAN from hosts 192.168.1.1 to 192.168.1.127 on the Yellow LAN.
Part 2: Configure a Standard IPv4 ACL to Restrict Access to the Blue LAN
In Part 2, you will configure and apply access list 20 to restrict access to the Blue LAN.
Step 1: Outline what you wish to accomplish with access list 20.
Access list 20 should have 3 access control entries to do the following:
- Access list 20 should start with the following comment: ACL_TO_BLUE_LAN
- Permit PC-A to reach the Blue LAN
- Deny the Yellow LAN from reaching the Blue LAN
- Allow all other networks to reach the Blue LAN
Access list 20 should be configured on the correct router, and applied to the correct interface and in the right direction.
Step 2: Create, apply, and test access-list 20.
After configuring and applying access list 20 you should be able to execute the following network tests:
- Only PC-A on the Yellow LAN can successfully ping the Blue LAN.
- Pings from hosts in the Yellow LAN to the Blue LAN should fail.
- Pings from hosts in the Green and Pink LANs to the Blue LAN should be successful.
Step 3: Insert an ACE into access-list 20.
You need to make a change to access list 20. Insert an access control entry into access list 20 to permit PC-A to reach the Blue LAN. Insert the ACE prior to the other access list 20 permit and deny access control entries.
How do you insert or remove an ACE into a specific line of an ACL?
To insert or remove an ACE on a specific line enter the ACL using the ip access-list keywords and arguments as if the numbered ACL was a named ACL.
What line did you enter the ACE on?
Answers may vary but inserting the ACE on lines 1 through 9 would all work.
Part 3: Configure a Named Standard IPv4 ACL
In Part 3, you will configure and apply a named standard IPv4 ACL to restrict remote access to router R1.
Step 1: Outline what you wish to accomplish with named standard ACL.
The named access list should do the following:
- On R1 create a standard ACL named ADMIN_VTY
- Permit a single host, PC-C
- Apply the ACL to the VTY lines
Step 2: Test access-list ADMIN_VTY.
After configuring and applying access list ADMIN_VTY, you should be able to execute the following network test:
- An SSH connection from host PC-C to R1 should be successful.
- SSH connections from all other hosts should fail.
This lab features two standard ACLs to restrict traffic to the Pink and Blue LANs. Could you create 2 more standard ACLs to restrict traffic to the Yellow and Green ACLs and which router would those ACLs need to be created on?
Yes, you could create a standard ACL for G0/0 and G0/1 on router R1 to restrict access to the Yellow and Green LANs.
ip access-list standard ADMIN_VTY permit 192.168.2.50 line vty 0 4 access-class ADMIN_VTY in
access-list 10 remark ACL_TO_PINK_LAN access-list 10 permit host 192.168.2.50 access-list 10 permit 192.168.1.0 0.0.0.127 access-list 10 permit 172.16.1.0 0.0.0.255 access-list 20 remark ACL_TO_BLUE_LAN access-list 20 permit host 192.168.1.100 access-list 20 deny 192.168.1.0 0.0.0.255 access-list 20 permit any interface gigabitEthernet0/0 ip access-group 20 out interface gigabitEthernet0/1 ip access-group 10 out