CCNA Practice LAB – NAT

Network Topology Diagram:

 

Cable Connectivity:

  • Cross cable connectivity between R1 and R2 & R2 and Web Server
  • Straight cable elsewhere.

Basic Configuration:

On SW1
# interface FastEthernet0/1
# switchport access vlan 10
# interface FastEthernet0/2
# switchport access vlan 10
# interface FastEthernet0/3
# switchport access vlan 10
# interface Vlan10
# ip address 10.10.10.250 255.255.255.0

In PCs  – Configure IP address as 10.10.10.1/24 and 10.10.10.2/24 with default gateway of Router R1 IP address 10.10.10.254

On R1
# interface FastEthernet0/0
# ip address 10.10.10.254 255.255.255.0
# interface FastEthernet1/0
# ip address 200.20.20.1 255.255.255.0
# ip route 0.0.0.0 0.0.0.0 200.20.20.2

On R2
# interface FastEthernet0/0
# ip address 172.20.20.254 255.255.255.0
# interface FastEthernet1/0
# ip address 200.20.20.2 255.255.255.0
# ip route 0.0.0.0 0.0.0.0 200.20.20.1

In Server  – Configure IP address as 172.20.20.20/24 with default gateway of Router R2 IP address 172.20.20.254

Scenario I – Learn Static NAT: Access Web Server 200.20.20.2 from any PC and practice how packets are translated at R2

Static NAT Configuration:
# ip nat inside source static 172.20.20.20 200.20.20.2
# interface FastEthernet0/0
# ip nat inside
# interface FastEthernet1/0
# ip nat outside

Scenario II – Learn PAT : Access Web Server 200.20.20.2 from any PC and practice how packets are translated at R1

PAT Configuration
# ip nat inside source list 1 interface FastEthernet1/0 overload
# access-list 1 permit host 10.10.10.2
# access-list 1 permit host 10.10.10.1
# interface FastEthernet0/0
# ip nat inside
# interface FastEthernet1/0
# ip nat outside

 

Download CCNA Practice Lab - NAT – 78.9 KB size

You may also like...

Thank you for visiting us. To continue receiving updates, please Subscribe to our Social Media Channels.