Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure dynamic NAT using a pool of IP addresses for translation.
Lab Purpose:
NAT configuration is a fundamental skill. Dynamic NAT provides dynamic one-to-one translation between private IP addresses (RFC 1918) and public IP addresses. Dynamic NAT is typically used to provide inside private hosts with access to public or external networks without revealing the private IP addresses of the inside hosts. When dynamic NAT is used, hosts on the outside cannot access hosts on the inside. In other words, dynamic NAT works only when traffic is coming from hosts on the inside. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure dynamic NAT.
Certification Level:
This lab is suitable for CCNA certification exam preparation
Lab Difficulty:
This lab has a difficulty rating of 8/10
Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 10 minutes
Lab Topology:
Please use the following topology to complete this lab exercise:
Task 1:
Configure the hostnames on routers R1, R2 and Sw1 as illustrated in the topology.
Task 2:
Configure R1 S0/0 which is a DCE to provide a clock rate of 256Kbps to R2. Configure the IP addresses on the Serial interfaces of R1 and R2 as illustrated in the topology.
Task 3:
Configure VLAN 50 named NAT_VLAN on Sw1. Assign the FastEthernet0/2 interface on Sw1 to this VLAN. Also, configure R1 to allow Telnet access using a password of CISCO.
Task 4:
Configure interface VLAN 50 on Sw1 and assign it the IP address illustrated in the topology. The default gateway on Sw1 should be 10.2.2.2. Next, configure interface FastEthernet0/0 in R2 and assign it the IP address illustrated in the topology.
Task 5:
Test connectivity by pinging from R1 to R2 and pinging from R2 to Sw1. These should all be successful. However, since R1 does not know about the 10.2.2.0/27 subnet, Sw1 will not be able to ping R1 or vice versa.
Task 6:
Configure R2 F0/0 as the inside NAT interface and S0/0 as the outside NAT interface. Next, create an ACL to permit all IP traffic from the 10.2.2.0/27 subnet to any destination. You can use either a named or numbered ACL.
Task 7:
Create a NAT pool called Dynamic-NAT. The starting IP address in this pool should be 192.168.254.3 and the ending IP address in this pool should be 192.168.254.6. This should have the same prefix length as the Serial0/0 subnet.
Task 8:
Configure NAT to translate all address specified in the ACL you created to the pool you created in Task 7.
Task 9:
Ping R1 from Sw1. Next, ping R1 from the FastEthernet0/0 interface of R2 using the ping <ip_address> source <interface> command. If you have configured your NAT translation, the ping should be successful. Use the show ip nat translations command to verify your dynamic NAT translations.
