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 R1 as a DHCP server allowing machines connected on two different ports to get an ip addresses in two distinct networks from the router along with other vital network information. 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
- A PC running a terminal emulation program
- Two PCs as shown in the diagram as endpoints, these can be substituted with LoopBack interfaces if needed (doing so will alter the verification steps).
- 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)#ip route 0.0.0.0 0.0.0.0 s0/1/0
R1(config-if)#exit
R1(config)#
R1(config)#ip dhcp excluded-address 10.1.1.1 10.1.1.10
R1(config)#ip dhcp excluded-address 148.1.1.1 148.1.1.10
R1(config)#ip dhcp pool LAN_A
R1(dhcp-config)#network 10.1.1.0 255.255.255.0
R1(dhcp-config)#default-router 10.1.1.1
R1(dhcp-config)#dns-server 8.8.8.8
R1(dhcp-config)#exit
R1(config)#
R1(config)#ip dhcp pool LAN_B
R1(dhcp-config)#network 148.1.1.0 255.255.255.0
R1(dhcp-config)#default-router 148.1.1.1
R1(dhcp-config)#dns-server 8.8.8.8
R1(dhcp-config)#exit
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)#ip default-gateway 192.1.1.2
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)#ip route 10.1.1.0 255.255.255.0 s0/1/0
R2(config)#ip route 148.1.1.0 255.255.255.0 s0/1/0
Verify Configurations:
From R1:
R1#show ip dhcp binding
IP addressClient-ID/Lease expirationType
Hardware address
10.1.1.11 0050.0F8A.3338—Automatic
148.1.1.11 00E0.B09E.3C59—Automatic
R1#
PC1 Network Configuration:
Ping from PC1 to R2:
PC2 Network Configuration:
Ping from PC2 to R2:
End of Lab