Download PNETLab Platform
PNETLAB Store
[Link]
Configuring IPv6 ACLs
Lab Topology:
Please use the following topology to complete this lab exercise:
Objectives
Part 1: Configure, Apply, and Verify an IPv6 ACL
Part 2: Configure, Apply, and Verify a Second IPv6 ACL
Addressing Table
1
Download PNETLab Platform
PNETLAB Store
[Link]
Part 1: Configure, Apply, and Verify an IPv6 ACL
Step 1: Configure an ACL that will block HTTP and HTTPS access.
Configure an ACL named BLOCK_HTTP on R1 with the following statements.
Block HTTP and HTTPS traffic from reaching Server3 and allow all other IPv6 traffic to pass.
R1(config)#ipv6 access-list BLOCK_HTTP
R1(config-ipv6-acl)# deny tcp any host [Link] eq www
R1(config-ipv6-acl)# deny tcp any host [Link] eq 443
R1(config-ipv6-acl)# permit ipv6 any any
Step 2: Apply the ACL to the correct interface.
Apply the ACL on the interface closest to the source of the traffic to be blocked.
R1(config)# interface e0/0
R1(config-if)# ipv6 traffic-filter BLOCK_HTTP in
R1(config)# interface e0/2
R1(config-if)# ipv6 traffic-filter BLOCK_HTTP in
Step 3: Verify the ACL implementation.
Verify that the ACL is operating as intended by conducting the following tests:
• Open the PC1 ping port 80 to [Link] or [Link] The
website should appear.
• Open the PC2 ping port 443 to [Link] or [Link] The
website should be blocked.
• Ping from PC2 to [Link]. The ping should be successful.
PC1#ping ipv6 [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
2
Download PNETLab Platform
PNETLAB Store
[Link]
Part 2: Configure, Apply, and Verify a Second IPv6 ACL
The logs now indicate that your server is receiving pings from many different IPv6 addresses in
a Distributed Denial of Service (DDoS) attack. You must filter ICMP ping requests to your server.
Step 1: Create an access list to block ICMP.
Configure an ACL named BLOCK_ICMP on R3 with the following statements:
Block all ICMP traffic from any hosts to any destination and allow all other IPv6 traffic to pass.
R3(config)#ipv6 access-list BLOCK_HTTP
R3(config-ipv6-acl)# deny icmp any any
R3(config-ipv6-acl)# permit ipv6 any any
Step 2: Apply the ACL to the correct interface.
In this case, ICMP traffic can come from any source. To ensure that ICMP traffic is blocked,
regardless of its source or any changes that occur to the network topology, apply the ACL
closest to the destination.
R3(config)# interface e0/1
R3(config-if)# ipv6 traffic-filter BLOCK_ICMP out
Step 3: Verify that the proper access list functions.
a. Ping from PC2 to [Link]. The ping should fail.
b. Ping from PC1 to [Link]. The ping should fail.
Open PC1 ping port to [Link] or [Link]
PC1#ping ipv6 [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds: !!!!!
Success rate is 0 percent (0/5)