6.8.1 Packet Tracer – Configure NAT for IPv4 (Instructor Version)
Instructor Note: Red font color or gray highlights indicate text that appears in the instructor copy only.
Addressing Table
Device | Interface | IP Address |
---|---|---|
R1 | S0/0/0 | 10.1.1.1/30 |
F0/0 | 192.168.10.1/24 | |
R2 | S0/0/0 | 10.1.1.2/30 |
S0/0/1 | 10.2.2.1/30 | |
S0/1/0 | 209.165.200.225/27 | |
F0/0/0 | 192.168.20.1/24 | |
R3 | S0/0/1 | 10.2.2.2/30 |
F0/0 | 192.168.30.1/24 | |
PC1 | NIC | 192.168.10.10/24 |
PC2 | NIC | 192.168.30.10/24 |
local.pka | NIC | 192.168.20.254/24 |
Outside PC | NIC | 209.165.201.14/28 |
cisco.pka | NIC | 209.165.201.30/28 |
Objectives
- 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.
Instructions
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.
R2(config)#ip access-list standard R2NAT R2(config-std-nacl)#permit 192.168.10.0 0.0.0.255 R2(config-std-nacl)#permit 192.168.20.0 0.0.0.255 R2(config-std-nacl)#permit 192.168.30.0 0.0.0.255
R2(config)#ip nat pool R2POOL 209.165.202.129 209.165.202.129 netmask 255.255.255.252
R2(config)#ip nat inside source list R2NAT pool R2POOL overload
R2(config)#ip nat inside source static 192.168.20.254 209.165.202.130
R2(config)#interface FastEthernet0/0 R2(config-if)#ip nat inside R2(config-if)#interface Serial0/0/0 R2(config-if)#ip nat inside R2(config-if)#interface Serial0/0/1 R2(config-if)#ip nat inside R2(config-if)#interface Serial0/1/0 R2(config-if)#ip nat outside
Answer Configurations
Router R2
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 209.165.202.129 209.165.202.129 netmask 255.255.255.252 ip nat inside source list R2NAT pool R2POOL overload ip nat inside source static 192.168.20.254 209.165.202.130 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
Hi admin how about Lab 6.8.2 – Configure NAT for IPv4
For 100% make sure to add the last serial interface S0/0/1 and make sure it is ip Nat inside
CLI
_____________
interface s0/0/1
ip nat inside
fake news :) 91 percent hihihi :(
Bl@ckM@n, go back to Africa