NAT overloading maps multiple private IP addresses to a single public IP address. To configure NAT on a multilayer switch in Packet Tracer, logical interfaces must be used rather than physical interfaces. VLAN interfaces should be created and IP NAT commands applied to the VLAN interfaces instead of physical ports. The example configuration creates VLAN 99 on both the internal and external switches and assigns IP addresses to the VLAN interfaces to establish the NAT configuration.
NAT overloading maps multiple private IP addresses to a single public IP address. To configure NAT on a multilayer switch in Packet Tracer, logical interfaces must be used rather than physical interfaces. VLAN interfaces should be created and IP NAT commands applied to the VLAN interfaces instead of physical ports. The example configuration creates VLAN 99 on both the internal and external switches and assigns IP addresses to the VLAN interfaces to establish the NAT configuration.
NAT overloading maps multiple private IP addresses to a single public IP address. To configure NAT on a multilayer switch in Packet Tracer, logical interfaces must be used rather than physical interfaces. VLAN interfaces should be created and IP NAT commands applied to the VLAN interfaces instead of physical ports. The example configuration creates VLAN 99 on both the internal and external switches and assigns IP addresses to the VLAN interfaces to establish the NAT configuration.
SN1 210.2.2.8 00001 000 Adresa SN1 210.2.2.9 00001 001 Adresa Host SN1 ISP 210.2.2.10 00001 010 Adresa Host SN1 210.2.2.11 00001 011 Adresa Host SN1 ..... NAT 210.2.2.14 00001 110 Adresa Host SN1 210.2.2.15 00001 111 Adresa Broadcast SN1 How to configure NAT on multilayer switch (switch layer3) in Packet Tracer version 7.2.1: In Packet Tracer version 7.2.1 you will not be able to configure NAT on the physical interfaces! Thus, you have to create logical interfaces (in our case VLAN interfaces), and on the logical interfaces you will be able to specify the ip nat inside or ip nat outside commands.
On the layer3switch, connecting the DMZ:
For NAT: do not use the physical interfaces (example: fa0/2). Create a logical interface using the following steps: 1. Delete any existing IP addresses on physical interfaces (example: fa0/2) and set the interface in the switchport mode #interface fa0/2 #no ip address #switchport 2.Create VLAN 99 #vlan 99 3.Add an IP address to interface VLAN 99 #interface vlan 99 #ip address 210.2.2.1 255.255.255.0 4.Set the physical interface to VLAN 99 #interface fa0/2 #switchport #switchport access vlan 99 5.Configure IP NAT INSIDE command on interface VLAN 99 #interface vlan 99 #ip nat outside
On the ISP layer3switch, use the following steps:
(do not use the physical interface) 1.Create VLAN 99 #vlan 99 2.Add IP address to interface VLAN 99 #interface vlan 99 #ip address 210.2.2.2 255.255.255.0