CCNA
CCNA
CCNA
CCNA Training
Lab Manual-1
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 1
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objectives
• Build a simple peer-to-peer network and verify physical connectivity.
• Assign various IP addresses to hosts and observe the effects on network communication
Background / Preparation
In this lab, you will build a simple peer-to-peer network using two PCs and an Ethernet crossover cable. You will
assign various compatible and non-compatible IP addresses to the hosts and determine the effects on their ability
to communicate.
• Two Windows XP Professional PCs, each with an installed and functional Network Interface Card (NIC)
• (Optional lab setup) A hub or switch and two straight-through cables to connect the PCs (provided by instructor)
NOTE: (optional lab setup) The PCs may be connected to a hub (or switch) using two straight-through cables.
The following instructions assume you are using a crossover cable.
b. Plug one end of the cable into the Ethernet NIC of PC1. Plug the other end of the cable into the Ethernet NIC of
PC2. As you insert the cable, you should hear a click which indicates that the cable connector is properly inserted
into the port.
b. Go to the Control Panel, double click the Network Connections icon, and confirm that the local
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 2
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
area connection is established. The following figure shows an active local area connection. If physical connectivity
problems exist, you will see a red X over the Local Area Connection icon with the words Network cable
unplugged.
c. If the Local Area Connection does not indicate that it is connected, troubleshoot by repeating Steps 1and 2.
You may also want to ask your instructor to confirm that you are using an Ethernet crossover cable.
b. Using the scroll bar in the Local Area Connection Properties window, scroll down to highlight Internet Protocol
(TCP/IP). Click the Properties button.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 3
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
c. Select the Use the following IP address radio button and enter an IP address of 192.168.1.1 and a subnet
mask of 255.255.255.0. With this IP address and subnet mask, the network number the host is on is 192.168.1.0
and 192.168.1.1 is the first host on the 192.168.1.0 network :
d. Click OK, which will close the Internet Protocol (TCP/IP) Properties window. Click the Close button to exit
the Local Area Connection Properties window.
e. Repeat steps 3a – 3d for the PC2 using an IP address of 192.168.1.2 and a subnet mask of 255.255.255.0.
The network number this PC is on is 192.168.1.0 and 192.168.1.2 is the second host on the 192.168.1.0 network.
a. On each PC, on the Windows XP desktop, click Start. From the Start menu, select Control Panel, and double-
click Network Connections.
b. Right-click the Local Area Connection icon and select Properties. Click the Advanced tab. Locate and click
the Settings button.
c. Make a note of whether the firewall settings are ENABLED (ON) for the Ethernet port or DISABLED (OFF) for
the Ethernet port. ___________________________________________
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 4
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
d. If the firewall settings are enabled, click the Off (not recommended) radio button to disable the firewall. The
setting will be re-enabled in a later step. Click OK in this dialog box and the following to apply this setting. Repeat
Steps 4a-4d on the second PC.
e. Now that the two PCs are physically connected and configured correctly with IP addresses, we need to make
sure they communicate with each other. The ping command is a simple way to accomplish this task. The ping
command is included with the Windows XP operating system.
f. On PC1, go to Start, then Run. Type cmd, and then click OK. A Window command prompt window will appear
as shown in the following figure.
g. At the > prompt, type ping 192.168.1.2 and press Enter. A successful ping will verify the IP connectivity. It
should produce results similar to those shown in the figure that follows.
b. Using the scroll bar in the Local Area Connection Properties window, scroll down to highlight Internet Protocol
(TCP/IP). Click the Properties button.
c. Change the logical IP address for PC2 from 192.168.1.2 to 192.168.2.2 and leave the subnet mask set to
255.255.255.0. On what network is PC2 now? _____________________________
d. Click OK, which will close the Internet Protocol (TCP/IP) Properties window. Click the Close
f. The two PCs are still on the same physical Ethernet network. Are they on the same logical IP
network? _____________________
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 5
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
a. On PC1, go to Start, then Run. Type cmd, and then click OK. A Window command prompt window will appear.
b. At the > prompt, type ping 192.168.2.2 and press Enter. Was it successful? _________________
c. What type of networking device would allow the PCs to communicate? ______________________
_____________________________________________________________________________
b. Click OK, which will close the Internet Protocol (TCP/IP) Properties window. Click the Close button to exit
the Local Area Connection Properties window.
c. The two PCs are still on the same physical Ethernet network. Are they on the same logical IP network now?
___________________________________________________________________________
b. At the > prompt, type ping 192.168.2.99 and press Enter. Was it successful? _____________
Step 9: (Optional – Use only if the Firewall was originally ENABLED) Re-enable the firewall
a. If you disabled the Windows Firewall in Step 4, click Start, select Control Panel, and click Network
Connections.
b. Right-click the Ethernet network connection icon and select Properties. Click the Advanced tab. Locate and
click Settings.
c. If the firewall settings are disabled (and they were enabled before this lab began), click the On radio button to
enable the firewall. Click OK in this dialog box and the following one to apply this setting.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 6
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objectives
• Configure the device host name for a router.
Background / Preparation
Set up a network similar to the one in the topology diagram. Any router that meets the interface requirements
displayed in that diagram – such as 800, 1600, 1700, 1800, 2500, and 2600 routers, or a combination – may be
used. Refer to the Router Interface Summary table at the end of the lab to correctly determine the interface
identifiers to be used based, on the equipment in the lab. Depending on the router model, output may vary
somewhat from that shown in this lab. The steps in this lab are intended to be executed on each router unless you
are specifically instructed otherwise.
• Two routers, each with an Ethernet and Serial interface. These should be non-SDM routers, if
possible, since the required SDM startup configuration is deleted when the startup-config is erased.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 7
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
PC attached to R1 switch:
IP address: 172.16.0.2
PC attached to R2 directly:
IP address: 172.18.0.2
Router>enable
Router#configure terminal
Router(config)#hostname R1
Repeat this process for router R2 (use R2 for the name of the second router).
d. Configure a console password and enable login for each of the two routers.
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 8
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
R1(config-line)#exit
R1(config)#
e. Configure the password on the virtual terminal lines for each of the two routers.
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#
f. Configure the enable and enable secret passwords for each of the two routers.
R1(config)#exit
NOTE: Remember the enable secret password is encrypted from the configuration view. Also do not type enable
secret password class. If you do, the secret password will be password, not class. The enable secret
password takes precedence over the enable password. Once an enable secret password is entered, the enable
password no longer is accepted.
R1#show running-config
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 9
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
NOTE: Enter the clock rate only on the router serial interface to which the DCE interface end of the cable is
attached. The cable type (DTE or DCE) is printed on the outside of each end of the null serial cable. When in
doubt, enter the clock rate command on both router serial interfaces. The command will be ignored on the router
to which the DTE end is attached. The command no shutdown turns on the interface. The command shutdown
turns the interface off.
Encapsulation: _______________
c. If the serial interface was configured, why did the show interface serial 0/0 say that the interface is down?
______________________________________________________________________________
R2(config-if)#no shutdown
R2(config-if)#exit
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 10
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
R2(config)#exit
NOTE: Enter the clock rate only on the router serial interface to which the DCE interface end of the cable is
attached. The cable type (DTE or DCE) is printed on the outside of each end of the null serial cable. When in
doubt, enter the clock rate command on both router serial interfaces. The command will be ignored on the router
to which the DTE end is attached. The command no shutdown turns on the interface. The command shutdown
turns the interface off.
Encapsulation: _______________
c. Why did the show interface serial 0/0 say that the interface is up?
______________________________________________________________________________
R1#ping 172.17.0.2
R2#ping 172.17.0.1
c. If the answer is no for either question, troubleshoot the router configurations to find the error. Then ping the
interfaces again until the answer to both questions is yes.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 11
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
NOTE: Ethernet interfaces do not have a DTE or DCE distinction; therefore, it is not necessary to enter the clock
rate command.
Encapsulation: _______________
c. Why did the show interface FastEthernet 0/0 say that the interface is up?
______________________________________________________________________________
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
NOTE: Ethernet interfaces do not have a DTE or DCE distinction; therefore, it is not necessary to enter the clock
rate command.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 12
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Encapsulation: _______________
c. Why did the show interfaces FastEthernet 0/0 say that the interface is up?
______________________________________________________________________________
NOTE: Save the running configuration for the next time that the router is restarted. The router can be restarted
either by a software reload command or a power shutdown. The running configuration will be lost if the running
configuration is not saved. The router uses the startup configuration when the router is started.
R1#show running-config
R2#show running-config
b. Use the ping command to test connectivity to the FastEthernet interface of each router from its
R1#ping 172.16.0.1
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 13
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
R2#ping 172.18.0.1
d. If the answer is no for either question, troubleshoot the router configurations to find the error. Then ping the
interfaces again until the answer to both questions is yes.
C:\>ping 172.16.0.1
a. From the PC1 command prompt, use the ping command to test end-to-end connectivity from PC1 (172.16.0.2)
to PC2 (172.18.0.2).
C:\>ping 172.18.0.2
b. The ping from PC1 to PC2 does not work because router R1 has no knowledge of the Ethernet
network on R2 and router R2 has no knowledge of the Ethernet network on R1. The pings cannot get from PC1 to
PC2; even if they could, they could not return.
b. In privileged EXEC mode, enter the erase startup-config command. Router#erase startup-config
The responding line prompt is: Erasing the nvram filesystem will remove all files! Continue? [confirm]
Router(config)#reload
The responding line prompt is: System configuration has been modified. Save? [yes/no]:
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 14
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
After the router has reloaded the line prompt is: Would you like to enter the initial configuration dialog? [yes/no]:
h. Press Enter.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 15
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objective
Configure static routes between routers to allow data transfer between routers without the use of
dynamic routing protocols.
Background/Preparation
Setup a network similar to the one in the diagram. Any router that meets the interface requirements may be used.
Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The configuration output used in
this lab is produced from 1721 series routers. Any other router used may produce slightly different output. The
following steps are intended to be executed on each router unless specifically instructed otherwise.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 16
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
c. Check connectivity between the workstations using ping. From the workstation attached to the
GAD router, ping the workstation attached to the BHM router.
C:\>ping 192.168.16.2
. Was the ping successful? __________________________________________________
e. Why did the ping fail? ______________________________________________________
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 17
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 18
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objective
Setup an IP addressing scheme using class B networks.
Configure the RIP dynamic routing protocol on routers.
Background/Preparation
Setup a network similar to the one in the diagram. Any router that meets the interface requirements may be used.
Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The configuration output used in
this lab is produced from 1721 series routers. Any other router used may produce slightly different output. The
following steps are intended to be executed on each router unless specifically instructed otherwise.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 19
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Step 7 Configure the hosts with the proper IP address, subnet mask and default gateway
Step 8 Verify that the internetwork is functioning by pinging the FastEthernet interface of
the other router
a. From the host attached to GAD, is it possible to ping the BHM router FastEthernet interface? _____________
b. From the host attached to BHM, is it possible to ping the GAD router FastEthernet interface? _____________
c. If the answer is no for either question, troubleshoot the router configurations to find the error. Then do the pings
again until the answer to both questions is yes.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 20
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objective
• Setup an IP addressing scheme for the network.
• Configure and verify Enhanced Interior Gateway Routing Protocol (EIGRP) routing.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface requirements
displayed on the above diagram may be used. Any router that meets the interface requirements may be used.
Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The configuration output used in
this lab is produced from 1721 series routers. Any other router used may produce slightly different output. The
following steps are intended to be executed on each router unless specifically instructed otherwise.
Step 2 Save the configuration information from the privileged EXEC command mode
Paris#copy running-config startup-config
Destination filename [startup-config]? [Enter]
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary. Remember to assign
a specific IP address and default gateway to the workstation. If running Windows 98, check by using Start > Run
> winipcfg. If running Windows 2000, check by using the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following steps will
demonstrate the process required to get communication working using EIGRP as the routing protocol.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 21
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 22
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objective
• Setup an IP addressing scheme for OSPF area 0.
• Configure and verify Open Shortest Path First (OSPF) routing.
Background/Preparation
Cable a network similar to the one shown in the diagram. Any router that meets the interface requirements may
be used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The configuration
output used in this lab is produced from 1721 series routers. Any other router used may produce slightly different
output. The following steps are intended to be executed on each router unless specifically instructed otherwise.
Step 2 Save the configuration information from the privileged EXEC command mode
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 23
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Step 3 Configure the hosts with the proper IP address, subnet mask, and default gateway
a. Each workstation should be able to ping the attached router. Troubleshoot as necessary. Remember to assign
a specific IP address and default gateway to the workstation. If running Windows 98, check by using Start >Run
> winipcfg. If running Windows 2000, check by using the ipconfig command in a DOS window.
b. At this point the workstations will not be able to communicate with each other. The following steps will
demonstrate the process required to get communication working using OSPF as the routing protocol.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 24
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 25
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Objective
• Configure routers with a Class C IP addressing scheme.
• Observe the election process for designated routers (DR) and backup designated routers (BDR) on the
multiaccess network.
• Configure loopback addresses for Open Shortest Path First (OSPF) stability.
• Assign each OSPF interface a priority to force the election of a specific router as DR.
Background/Preparation
Cable a network similar to the one shown in the diagram Any router that meets the interface requirements may be
used. Possible routers include 800, 1600, 1700, 2500, 2600 routers, or a combination. The configuration output
used in this lab is produced from 1721 series routers. Any other router used may produce slightly different output.
The following steps are intended to be executed on each router unless specifically instructed otherwise.
Step 3 Configure the hosts with the proper IP address, subnet mask and default gateway
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 26
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Each workstation should be able to ping all of the attached routers. That is because they are all part of the same
subnetwork. Troubleshoot as necessary. Remember to assign a specific IP address and default gateway to the
workstation. If running Windows 98, check by using Start > Run > winipcfg. If running Windows 2000, check by
using the ipconfig command in a DOS window.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 27
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
a. Configure an OSPF routing process on the router Ottawa. Use OSPF process number 1 and ensure all
networks are in area 0.
Ottawa(config)#router ospf 1
Ottawa(config-router)#network 192.168.1.0 0.0.0.255 area 0
Ottawa(config-router)#end
b. Examine the Ottawa running configuration file.
c. Did the IOS version automatically add any lines under router OSPF 1? ___________________
d. If there were no changes to the running configuration, type the following commands.
Ottawa(config)#router ospf 1
Ottawa(config-router)#log-adjacency-changes
Ottawa(config-router)#end
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 28
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 29
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual
d. Why? __________________________________________________________________
e. To turn off all debugging type undebug all.
Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 30