Sunteți pe pagina 1din 30

PTCL Academy

Sector H-9/4, Islamabad


CCNA Training Lab Manual

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

Lab-1: IP Addresses and Network Communication

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.

The following resources are required:

• Two Windows XP Professional PCs, each with an installed and functional Network Interface Card (NIC)

• An Ethernet cross-over cable to connect the PCs (provided by instructor)

• (Optional lab setup) A hub or switch and two straight-through cables to connect the PCs (provided by instructor)

Step 1: Connect the PCs to create a peer-to-peer network


a. Obtain an Ethernet crossover cable provided by the instructor to connect the two PCs.

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.

Step 2: Verify physical connectivity


a. After the Ethernet crossover cable is connected to both PCs, take a close look at each Ethernet port. A link light
(usually green or amber) indicates that physical connectivity has been established between the two NICs. Try
unplugging the cable from one PC then reconnecting it to verify that the light goes off then back on.

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.

Step 3: Configure IP settings for the two PCs


a. Configure the logical IP addresses for the two PCs so that they are able to communicate usingTCP/IP. On
PC1, go to the Control Panel, double click the Network Connections icon, and then right click the connected Local
Area Connection icon. Choose Properties from the pull-down menu.

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.

Step 4: Verify IP connectivity between the two PCs


NOTE: To test TCP/IP connectivity between the PCs, Windows Firewall must be disabled temporarily on both
PCs. Windows Firewall should be re-enabled after the tests have been completed.

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.

h. Repeat this procedure for PC2 but ping 192.168.1.1.

i. Close the Windows command prompt window on both PCs.

Step 5: Change IP address for PC2


a. On PC2, go to the Control Panel, double click the Network Connections icon, and then right click the connected
Local Area Connection icon. Choose Properties from the pull-down menu.

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

button to exit the Local Area Connection Properties window.

e. Refer back to Step 3c. On what network is PC1? ____________________________________

f. The two PCs are still on the same physical Ethernet network. Are they on the same logical IP

network? _____________________

Step 6: Test network connectivity between the 2 PCs

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? _________________

Why or why not? _________________________________________________________________

c. What type of networking device would allow the PCs to communicate? ______________________

Step 7: Change IP address for PC1


a. Using the procedure previously described, change the logical IP address for PC1 from 192.168.1.1 to
192.168.2.99 and leave the subnet mask set to 255.255.255.0. On what network is PC1 now?

_____________________________________________________________________________

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?
___________________________________________________________________________

Step 8: Test network connectivity between the 2 PCs


a. On PC2, 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.99 and press Enter. Was it successful? _____________

Why or why not? _______________________________________________________________

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

Lab-2: Basic Router Configuration

Objectives
• Configure the device host name for a router.

• Configure console, privileged mode and virtual terminal passwords.

• Configure Ethernet and Serial interfaces.

• Verify connectivity between hosts and routers.

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.

The following resources are required:

• 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.

• Two Windows XP computers

• Straight-through category 5 Ethernet cable (PC1 to switch)

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 7
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

• Crossover category 5 Ethernet cable (PC2 to router R2)

• Null Serial cable

• Console cable(s) (from PCs 1 and 2 to routers R1 and R2)

• Access to the PC command prompt

• Access to PC network TCP/IP configuration

From each PC start a HyperTerminal session to the attached router.

Step 1: Configure host IP settings


a. Make sure that the PCs are connected according to the topology diagram.

b. Configure static IP addresses on them as follows:

PC attached to R1 switch:

IP address: 172.16.0.2

Subnet mask: 255.255.0.0

Default gateway: 172.16.0.1

PC attached to R2 directly:

IP address: 172.18.0.2

Subnet mask: 255.255.0.0

Default gateway: 172.18.0.1

Step 2: Log in to each router and configure a hostname and password


c. Configure a hostname for each of the two routers.

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)#

Repeat this process for router R2.

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)#

Repeat this process for router R2.

f. Configure the enable and enable secret passwords for each of the two routers.

R1(config)#enable password cisco

R1(config)#enable secret class

R1(config)#exit

Repeat this process for router R2.

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.

Step 3: Show the router running configuration


a. From the privileged EXEC prompt, issue the show running-config command. This command can be
abbreviated as sh run.

R1#show running-config

b. Is there an encrypted password? _____________

c. Are there any other passwords? _____________

d. Are any of the other passwords encrypted? _____________

Step 4: Configure the serial interface on R1


From global configuration mode, configure serial interface Serial 0 on Router R1.

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)#interface serial 0/0

R1(config-if)#ip address 172.17.0.1 255.255.0.0

R1(config-if)#clock rate 64000

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.

Step 5: Display information about the serial interface on R1


a. Enter the show interface command on R1.

R1#show interface serial 0/0

b. List at least three details discovered by issuing this command.

Serial 0/0 is: _________ Line protocol is: ___________

Internet address is: _____________________

Encapsulation: _______________

To what OSI layer is the Encapsulation referring? ________________

c. If the serial interface was configured, why did the show interface serial 0/0 say that the interface is down?

______________________________________________________________________________

Step 6: Configure the serial interface on R2


From global configuration mode, configure serial interface Serial 0 on Router R1.

R2(config)#interface serial 0/0

R2(config-if)#ip address 172.17.0.2 255.255.0.0

R2(config-if)#clock rate 64000

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.

Step 7: Display information about the serial interface on R2


a. Enter the show interfaces command on R1.

R2#show interface serial 0/0

b. List at least three details discovered by issuing this command.

Serial 0 is: _________ Line protocol is: ___________

Internet address is: _____________________

Encapsulation: _______________

To what OSI layer is the Encapsulation referring? ________________

c. Why did the show interface serial 0/0 say that the interface is up?

______________________________________________________________________________

Step 8: Verify that the serial connection is functioning


a. Use the ping command to test connectivity to the serial interface of the other router. From R1, ping the R2
router serial interface.

R1#ping 172.17.0.2

Does the ping work? _____

b. From R2, ping the R1 router serial interface.

R2#ping 172.17.0.1

Does the ping work? _____

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.

Step 9: Configure the FastEthernet interface on R1


From global configuration mode, configure the Ethernet interface on router R1.

R1(config)#interface FastEthernet 0/0

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)#ip address 172.16.0.1 255.255.0.0

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.

Step 10: Display information about the FastEthernet interface on R1


a. Enter the show interface command on R1.

R1#show interface FastEthernet 0/0

b. List at least three details discovered by issuing this command.

FastEthernet 0 is: _________ Line protocol is: ___________

Internet address is: _____________________

Encapsulation: _______________

To what OSI layer is the Encapsulation referring? ________________

c. Why did the show interface FastEthernet 0/0 say that the interface is up?

______________________________________________________________________________

Step 11: Configure the FastEthernet interface on R2


From global configuration mode, configure the Ethernet interface on Router R2.

R2(config)#interface FastEthernet 0/0

R2(config-if)#ip address 172.18.0.1 255.255.0.0

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.

Step 12: Display information about the FastEthernet interface on R2


a. Enter the show interface FastEthernet 0/0 command on R1.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 12
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

R2#show interfaces FastEthernet 0/0

b. List at least three details discovered by issuing this command.

FastEthernet 0/0 is: _________ Line protocol is: ___________

Internet address is: _____________________

Encapsulation: _______________

To what OSI layer is the Encapsulation referring? ________________

c. Why did the show interfaces FastEthernet 0/0 say that the interface is up?

______________________________________________________________________________

Step 13: Save the configuration on both routers


Save the running configuration to the startup configuration at the privileged EXEC mode.

R1#copy running-config startup-config

R2#copy running-config startup-config

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.

Step 14: Check the overall router configurations


Issue the show running-config command from the privileged EXEC mode on both routes and verify all of the
configuration commands you have entered so far. Note that this command can be abbreviated as sh run.

R1#show running-config

R2#show running-config

Step 15: Verify that the FastEthernet connection is functioning


a. Open a Command Prompt window by clicking Start > Run and typing cmd. Alternatively, you may click Start
> All programs > Accessories > Command Prompt.

b. Use the ping command to test connectivity to the FastEthernet interface of each router from its

associated PC. From PC1, ping the R1 router FastEthernet interface.

R1#ping 172.16.0.1

Does the ping work? _____

c. From PC1, ping the R2 router FastEthernet interface.

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

Does the ping work? _____

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.

Step 16: (Optional challenge) Test connectivity


a. From PC1, ping the R1 router FastEthernet interface (default gateway).

C:\>ping 172.16.0.1

Does the ping work? _____

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

Does the ping work? _____

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.

Erasing and reloading the router


a. Enter the privileged EXEC mode by typing enable. Router>enable

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]

c. Press Enter to confirm.

The response is: Erase of nvram: complete

d. In privileged EXEC mode, enter the reload command.

Router(config)#reload

The responding line prompt is: System configuration has been modified. Save? [yes/no]:

e. Type n and then press Enter.

The responding line prompt is: Proceed with reload? [confirm]

f. Press Enter to confirm.

In the first line of the response is: Reload requested by console.

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]:

g. Type n and then press Enter.

The responding line prompt is: Press RETURN to get started!

h. Press Enter.

The router is ready for the assigned lab to be performed.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 15
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Lab-3: Configuring Static Routes

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.

Step 1 Configure both routers


a. Enter the global configuration mode and configure the hostname as shown in the chart. Then configure the
console, virtual terminal, and enable passwords. Do not configure a routing protocol.

Step 2 Configure the workstations


Configure the workstations with the proper IP address, subnet mask, and default gateway.
a. The configuration for the host connected to the GAD Router is:
IP Address 192.168.14.2
IP subnet mask 255.255.255.0
Default gateway 192.168.14.1
b. The configuration for the host connected to the BHM Router is:
IP Address 192.168.16.2
IP subnet mask 255.255.255.0
Default gateway 192.168.16.1

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? ______________________________________________________

Step 3 Check interface status


a. Check the interfaces on both routers with the command show ip interface brief.
b. Are all the necessary interfaces up? ____________________________________________

Step 4 Check the routing table entries


a. Using the command show ip route, view the IP routing table for GAD.
GAD>show ip route
output eliminated
C 192.168.14.0/24 is directly connected, FastEthernet0
C 192.168.15.0/24 is directly connected, Serial0
b. Use the command show ip route, view the IP routing table for BHM.
BHM>show ip route
Output eliminated.
Gateway of last resort is not set
C 192.168.15.0/24 is directly connected, Serial0
C 192.168.16.0/24 is directly connected, FastEthernet0
c. Are all of the routes needed in the routing tables? __________________________________
d. "Based on the output from the show ip route command on the GAD and BHM routers, can a host
on network 192.168.16.0 connect to a host on network 192.168.14.0?"___________________
If a route is not in the routers to which the host is connected, the host cannot reach the destination host.

Step 5 Adding static routes


a. How can this situation be changed so that the hosts can ping each other?
Add static routes to each router or run a routing protocol.
b. In global configuration mode, add a static route on Router1 to network 192.168.16.0 and on
Router2 to network 192.168.14.0.
GAD(config)#ip route 192.168.16.0 255.255.255.0 192.168.15.2
BHM(config)#ip route 192.168.14.0 255.255.255.0 192.168.15.1
c. Why is a static route needed on both routers? ___________________________________

Step 6 Verify the new routes


a. Use the command show ip route, view the IP routing table for GAD.
GAD>show ip route
output eliminated
Gateway of last resort is not set
C 192.168.14.0/24 is directly connected, FastEthernet0
C 192.168.15.0/24 is directly connected, Serial0
S 192.168.16.0/24 [1/0] via 192.168.15.2
b. Using the command show ip route, view the IP routing table for BHM.
BHM>show ip route
Output eliminated.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 17
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Gateway of last resort is not set


S 192.168.14.0/24 [1/0] via 192.168.15.1
C 192.168.15.0/24 is directly connected, Serial0
C 192.168.16.0/24 is directly connected, FastEthernet0
c. Are all of the routes needed in the routing tables? __________________________________
d. Can a host on subnet 192.168.16.0 see a host on network 192.168.14.0? _________________

Step 7 ping host to host again


a. 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
b. If the ping was not successful, check routing table to make sure static routes are entered correctly.
Upon completion of the previous steps, logoff by typing exit. Turn the router off.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 18
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Lab-4: Configuring RIP

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.

Step 1 Configure the routers


a. From the global configuration mode, configure the hostname as shown in the chart. Then configure the
console, virtual terminal, and enable passwords.

Step 2 Check the routing table entries


a. Using the command show ip route, view the IP routing table for GAD.
GAD>show ip route
output eliminated
Gateway of last resort is not set
C 172.16.0.0/16 is directly connected, FastEthernet0
C 172.17.0.0/16 is directly connected, Serial0
b. Using the command show ip route, view the IP routing table for BHM.
BHM>show ip route
output eliminated
Gateway of last resort is not set
C 172.17.0.0/24 is directly connected, Serial0

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 19
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

C 172.18.0.0/24 is directly connected, FastEthernet0

Step 3 Configure the routing protocol on the GAD router


a. From the global configuration mode, enter the following:
GAD(config)#router rip
GAD(config-router)#network 172.16.0.0
GAD(config-router)#network 172.17.0.0
GAD(config-router)#exit
GAD(config)#exit

Step 4 Save the GAD router configuration


GAD#copy running-config startup-config

Step 5 Configure the routing protocol on the BHM router


a. From the global configuration mode, enter the following:
BHM(config)#router rip
BHM(config-router)#network 172.17.0.0
BHM(config-router)#network 172.18.0.0
BHM(config-router)#exit
BHM(config)#exit
.
Step 6 Save the BHM router configuration
BHM#copy running-config startup-config

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.

Step 9 Show the routing tables for each router


a. From the enable or privileged EXEC mode, examine the routing table entries using the show ip route
command on each router.
b. What are the entries in the GAD routing table?
_______________________________________________________________________
c. What are the entries in the BHM routing table?
_______________________________________________________________________
Upon completion of the previous steps, log off by typing exit and turn the router off.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 20
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Lab-5: Configuring EIGRP Routing

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 1 Configure the routers


On the routers, enter the global configuration mode and configure the hostname as shown in the chart. Then
configure the console, virtual terminal and enable passwords. Next configure the interfaces according to the chart.
Finally, configure the IP hostnames. Do not configure the routing protocol until specifically told to. If there are any
problems configuring the router basics, refer to the lab “Review of Basic Router Configuration with RIP”.

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.

Step 4 View the routers configuration and interface information

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 21
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

a. At the privileged EXEC mode prompt type:


Paris#show running-config
b. Using the show ip interface brief command, check the status of each interface.
c. What is the state of the interfaces on each router?
Paris:
FastEthernet 0: ________________________________________________________
Serial 0: _____________________________________________________________
Warsaw:
FastEthernet 0: ________________________________________________________
Serial 0: _____________________________________________________________
d. Ping from one of the connected serial interfaces to the other.
e. Was the ping successful? ___________________________________________________
f. If the ping was not successful, troubleshoot the routers configuration, until the ping is successful.

Step 5 Configure EIGRP routing on router Paris


a. Enable the EIGRP routing process on Paris, and configure the networks it will advertise. Use
EIGRP autonomous system number 101.
Paris(config)#router eigrp 101
Paris(config-router)#network 192.168.3.0
Paris(config-router)#network 192.168.2.0
Paris(config-router)#network 192.168.0.0
Paris(config-router)#end
b. Show the routing table for the Paris router.
Paris#show ip route
c. Are there any entries in the routing table? _______________________________________
d. Why? __________________________________________________________________

Step 6 Configure EIGRP routing on router Warsaw


a. Enable the EIGRP routing process on Warsaw, and configure the networks it will advertise. Use
EIGRP autonomous system number 101.
Warsaw(config)#router eigrp 101
Warsaw(config-router)#network 192.168.2.0
Warsaw(config-router)#network 192.168.1.0
Warsaw(config-router)#end
b. Show the routing table for the Warsaw router.
Warsaw#show ip route

Step 7 Test network connectivity


Ping the Paris host from the Warsaw host. Was it successful? ____________________________
If not troubleshoot as necessary.
Once the previous steps are completed, log off by typing exit, and turn the router off. Then remove and store the
cables and adapter.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 22
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Lab-6: Configuring the OSPF Routing Process

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.

Start a HyperTerminal session.


Note: Go to the erase and reload instructions at the end of this lab folder. Perform those steps on all routers in
this lab assignment before continuing.

Step 1 Configure the routers


On the routers, enter the global configuration mode and configure the hostname as shown in the chart. Then
configure the console, virtual terminal and enable passwords. Next configure the interfaces according to the chart.
Finally, configure the IP hostnames. Do not configure the routing protocol until specifically told to. If there are any
problems configuring the router basics, refer to prior lab “Review of Basic Router Configuring with RIP”.

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

BERLIN#copy running-config startup-config


Destination filename [startup-config]? [Enter]
a. Why save the running configuration to the startup configuration?
__________________________________________________________________________

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.

Step 4 View the routers configuration and interface information


a. At the privileged EXEC mode prompt type:
Berlin#show running-config
b. Using the show ip interface brief command, check the status of each interface.
c. What is the state of the interfaces on each router?
Berlin:
FastEthernet 0: _______________________________________________
Serial 0: ___________________________________________________
Serial 1: ___________________________________________________
Rome:
FastEthernet 0: _______________________________________________
Serial 0: ___________________________________________________
d. Ping from one of the connected serial interfaces to the other.
Was the ping successful? __________________________________________
e. If the ping was not successful, troubleshoot the router configuration, until the ping is successful.

Step 5 Configure OSPF routing on router Berlin


a. Configure an OSPF routing process on router Berlin. Use OSPF process number 1 and ensure
all networks are in area 0.
Berlin(config)#router ospf 1
Berlin(config-router)#network 192.168.1.128 0.0.0.63 area 0
Berlin(config-router)#network 192.168.15.0 0.0.0.3 area 0
Berlin(config-router)#end
b. Examine the routers running configurations files.
c. Did the IOS version automatically add any lines under router OSPF 1? _______________
d. If so, what did it add?
_________________________________________________
e. If there were no changes to the running configuration, type the following commands:
Berlin(config)#router ospf 1
Berlin(config-router)#log-adjacency-changes
Berlin(config-router)#end
f. Show the routing table for the Berlin router.
Berlin#show ip route
g. Are there any entries in the routing table? __________________
h. Why? _______________________________________________________

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 24
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Step 6 Configure OSPF routing on router Rome


a. Configure an OSPF routing process on router Rome. Use OSPF process number 1 and ensure all networks are
in area 0.
Rome(config)#router ospf 1
Rome(config-router)#network 192.168.0.0 0.0.0.255 area 0
Rome(config-router)#network 192.168.15.0 0.0.0.3 area 0
Rome(config-router)#end
b. Examine the Rome running configuration files.
c. Did the IOS version automatically add any lines under router OSPF 1? _______________
d. If so, what did it add?
_________________________________________________
e. If there were no changes to the running configuration, type the following commands:
Rome(config)#router ospf 1
Rome(config-router)#log-adjacency-changes
Rome(config-router)#end
f. Show the routing table for the Rome router:
Rome#show ip route
g. Are there any OSPF entries in the routing table now? __________________________
h. What is the metric value of the OSPF route? _______________________________
i. What is the VIA address in the OSPF route? _______________________________
j. Are routes to all networks shown in the routing table? __________________________
k. What does the O mean in the first column of the routing table? ____________________

Step 7 Test network connectivity


a. Ping the Berlin host from the Rome host. Was it successful? ___________________
b. If not troubleshoot as necessary.
Once the previous steps are completed, log off by typing exit, and turn the router off. Then remove and store the
cables and adapter.

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 25
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Lab-7: Configuring OSPF with Loopback Addresses

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 1 Configure the routers


On the routers, enter the global configuration mode and configure the hostname as shown in the chart. Then
configure the console, virtual terminal and enable passwords. Next configure the interfaces according and the IP
hostnames. If there are any problems configuring the router basics, refer to the lab “Review of Basic Router
Configuring with RIP”. Do not configure loopback interfaces and routing protocol yet.

Step 2 Save the configuration information for all the routers


Why save the running configuration to the startup configuration?
__________________________________________________________________________

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.

Step 4 View the routers configuration and interface information


a. At the privileged EXEC mode prompt type: show running-config
b. Using the show ip interface brief command, check the status of each interface.
c. What is the state of the interfaces on each router?
London:
FastEthernet 0: ________________________________________________________
Serial 0: _____________________________________________________________
Serial 1: _____________________________________________________________
Ottawa:
FastEthernet 0: ________________________________________________________
Serial 0: _____________________________________________________________
Serial 1: _____________________________________________________________
Brasilia:
FastEthernet 0: ________________________________________________________
Serial 0: _____________________________________________________________
Serial 1: _____________________________________________________________

Step 5 Verify connectivity of the routers


a. Ping all of the connected FastEthernet interfaces from each other.
b. Were the pings successful? __________________________________________________
c. If the pings were not successful, troubleshoot the router configuration, until the ping is successful.

Step 6 Configure OSPF routing on router London


a. Configure an OSPF routing process on the router London. Use OSPF process number 1 and
ensure all networks are in area 0.
London(config)#router ospf 1
London(config-router)#network 192.168.1.0 0.0.0.255 area 0
London(config-router)#end
b. Examine the London router 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.
London(config)#router ospf 1
London(config-router)#log-adjacency-changes
London(config-router)#end
e. Show the routing table for router:
London#show ip route
f. Are there any entries in the routing table? ___________________
g. Why? __________________________________________________________________

Step 7 Configure OSPF routing on router Ottawa

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

Step 8 Configure OSPF routing on router Brasilia


a. Configure an OSPF routing process on the router Brasilia. Use OSPF process number 1 and ensure all
networks are in area 0.
Brasilia(config)#router ospf 1
Brasilia(config-router)#network 192.168.1.0 0.0.0.255 area 0
Brasilia(config-router)#end
b. Examine the Brasilia router running configuration file.
Did the IOS version automatically add any lines under router OSPF 1? ___________________
c. What did it add? __________________________________________________________
d. If there were no changes to the running configuration, type the following commands:
Brasilia(config)#router ospf 1
Brasilia(config-router)#log-adjacency-changes
Brasilia(config-router)#end

Step 9 Test network connectivity


a. Ping the Brasilia router from the London router. Was it successful? ___________________
b. If not troubleshoot as necessary.

Step 10 Show OSPF adjacencies


a. Type the command show ip ospf neighbor on all routers to verify that the OSPF routing
has formed adjacencies.
b. Is there a designated router identified? __________________________________________
c. Is there a backup designated router? ___________________________________________
d. Type the command show ip ospf neighbor detail for more information.
e. What is the neighbor priority of 192.168.1.1 from router Brasilia? _______________________
f. What interface is Identified as being part of Area 0? _________________________________

Step 11 Configure the loopback interfaces


Configure the loopback interface on each router to allow for an interface that will not go down due to network
change or failure. This task is performed by typing interface loopback # at the global configuration mode prompt,
where the # represents the number of the loopback interface from 0 -2,147,483,647.
London(config)#interface loopback 0
London(config-if)#ip address 192.168.31.11 255.255.255.255
London(config-router)#end
Ottawa(config)#interface loopback 0

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 28
PTCL Academy
Sector H-9/4, Islamabad
CCNA Training Lab Manual

Ottawa(config-if)#ip address 192.168.31.22 255.255.255.255


Ottawa(config-router)#end
Brasilia(config)#interface loopback 0
Brasilia(config-if)#ip address 192.168.31.33 255.255.255.255
Brasilia(config-router)#end

Step 12 Save the configuration information for all the routers


After saving the configurations on all of the routers, power them down and back up again.

Step 13 Show OSPF adjacencies


a. Type the command show ip ospf neighbor on all routers to verify that the OSPF routing has formed adjacencies.
b. Is there a designated router identified? __________________________________________
c. Write down the router ID and link address of the DR. _______________ ________________
d. Is there a backup designated router? ___________________________________________
e. Write down the router ID and link address of the BDR. _______________ _______________
f. What is the third router referred to as? __________________________________________
g. Write down that Routers ID and link address. __________________ __________________
h. Type the command show ip ospf neighbor detail for more information.
i. What is the neighbor priority of 192.168.1.1 from router Brasilia? _______________________
j. What interface is Identified as being part of Area 0? _________________________________

Step 14 Verify OSPF interface configuration


a. Type show ip ospf interface fastethernet 0 on the London router.
b. What is the OSPF state of the interface? _________________________________________
c. What is the default priority of the interface? _______________________________________
d. What is the network type of the interface? ________________________________________

Step 15 Configure London to always be the DR


To ensure that the London router always becomes the DR for this multi-access segment, the OSPF priority must
be set. London is the most powerful router in the network and so best suited to become DR. To assign the
London loopback a higher IP address is not advised, as the numbering system has advantages for
troubleshooting. Also London is not to act as DR for all segments to which it may belong. Set the priority of the
interface to 50 on the London router only.
London(config)#interface Fastethernet 0/0
London(config-if)#ip ospf priority 50
London(config-if)#end
Display the priority for Interface fastethernet 0/0.
London#show ip ospf interface fastethernet 0/0

Step 16 Watch election process


a. To watch the OSPF election process restart all of the routers using the reload command. Be sure to save the
running config before restarting the routers. As soon as the router prompt is available type:
Ottawa>enable
Ottawa#debug ip ospf events
b. Which router was elected DR? ________________________________________________
c. Which router was elected BDR? _______________________________________________

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.

Step 17 Show OSPF Adjacencies


a. Type the command show ip ospf neighbor on the Ottawa router to verify that the OSPF
routing has formed adjacencies.
b. What is the priority of the DR? ________________________________________________

Compiled by Nasir Majeed Manager Certification PTCL Academy Islamabad March 2018 30

S-ar putea să vă placă și