15.2.2 Packet Tracer – Configure NAT for IPv4 (Answers)
- Configure Dynamic NAT with PAT
- Configure Static NAT
Background / Scenario
In this lab, you will configure a router with dynamic NAT with PAT. This will translate addresses from the three internal LANs to a single outside address. In addition, you will configure static NAT to translate an internal server address to an outside address.
In this activity you will only configure router R2.
- Use a named ACL to permit the addresses from LAN1, LAN2, and LAN3 to be translated. Specify the LANs in this order. Use the name R2NAT. The name you use must match this name exactly.
- Create a NAT pool named R2POOL. The pool should use the first address from the 165.202.128/30 address space. The pool name you use must match this name exactly. All translated addresses must use this address as their outside address.
- Configure NAT with the ACL and NAT pool that you have created.
- Configure static NAT to map the local.pka server inside address to the second address from the 165.202.128/30 address space.
- Configure the interfaces that will participate in NAT.
enable configure terminal interface FastEthernet0/0 ip nat inside interface Serial0/0/0 ip nat inside interface Serial0/0/1 ip nat inside interface Serial0/1/0 ip nat outside ip nat pool R2POOL 18.104.22.168 22.214.171.124 netmask 255.255.255.252 ip nat inside source list R2NAT pool R2POOL overload ip nat inside source static 192.168.20.254 126.96.36.199 ip access-list standard R2NAT permit 192.168.10.0 0.0.0.255 permit 192.168.20.0 0.0.0.255 permit 192.168.30.0 0.0.0.255 end