Here is one of our Cisco CCNA 200-301 labs we have decided to provide FREE to you! These labs were created and we felt they were not advanced enough for our partner’s CCNA Lab Workbook. They are either not complex enough, do not cover multiple concepts, or do not have enough commentary explaining what we want to accomplish in each lab and why you are doing each step. These labs are basically just simple configurations and not what we would really call labs. Why? Because they do not really help you learn.
Objective: In this lab, you will configure NAT or more specifically PAT with overload on traffic exiting R1 on interface S0/0/0. Once your configuration is complete, you will use basic techniques to test your network’s connectivity.
Hardware Requirements
- Two routers with one serial port and two FastEthernet or Gigabit ports
- One back to back DTE/DCE serial cable
- IOS version 12.x or later
- At least one PC running a terminal emulation program
- Cisco console kit
Setup
- Configure the cabling as shown in the network diagram
- If the routers have a startup-config, erase it and perform a reload of the routers.
R1 Configurations
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int s0/1/0
R1(config-if)#ip add 192.1.1.1 255.255.255.252
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
R1(config-if)#int g0/0/0
R1(config-if)#ip add 10.1.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to up
R1(config-if)#int g0/0/1
R1(config-if)#ip add 148.1.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state to up
R1(config-if)#
R1(config-if)#exit
R1(config)#
R1(config)#ip access-list standard 1
R1(config-std-nacl)#permit 10.1.1.0 0.0.0.255
R1(config-std-nacl)#permit 148.1.1.0 0.0.0.255
R1(config-std-nacl)#deny any
R1(config-std-nacl)#exit
R1(config)#int g0/0/0
R1(config-if)#ip nat inside
R1(config-if)#int g0/0/1
R1(config-if)#ip nat inside
R1(config-if)#int s0/1/0
R1(config-if)#ip nat outside
R1(config-if)#exit
R1(config)#ip nat inside source list 1 interface s0/1/0 overload
R1(config)#
R2 Configurations
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int s0/1/0
R2(config-if)#ip add 192.1.1.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#end
Verify Configuration
From PC1 command prompt:
ping 192.1.1.2
From R1 CLI:
R1#show ip nat translations
Pro Inside global Inside local Outside local Outside global
icmp 192.1.1.1:12 10.1.1.10:12 192.1.1.2:12 192.1.1.2:12
icmp 192.1.1.1:13 10.1.1.10:13 192.1.1.2:13 192.1.1.2:13
icmp 192.1.1.1:14 10.1.1.10:14 192.1.1.2:14 192.1.1.2:14
icmp 192.1.1.1:15 10.1.1.10:15 192.1.1.2:15 192.1.1.2:15
Router#