6.5.1.2 Lab - Building A Switch and Router Network
6.5.1.2 Lab - Building A Switch and Router Network
6.5.1.2 Lab - Building A Switch and Router Network
Topology
Addressing Table
Device
Subnet
Mask
Default
Gateway
Interface
IP Address
G0/0
192.168.0.1
255.255.255.
0
N/A
G0/1
192.168.1.1
255.255.255.
0
N/A
PC-A
NIC
192.168.1.3
255.255.255.
0
192.168.1.1
PC-B
NIC
192.168.0.3
255.255.255.
0
192.168.0.1
R1
Objectives
Part 1: Set Up the Topology and Initialize
Devices
Part 2: Configure Devices and Verify
Connectivity Part 3: Display Device
Information
Background / Scenario
This is a comprehensive lab to review previously covered IOS commands. In this lab,
you will cable the equipment as shown in the topology diagram. You will then configure
the devices to match the addressing table. After the configurations have been saved,
you will verify your configurations by testing for network connectivity.
After the devices have been configured and network connectivity has been verified,
you will use IOS commands to retrieve information from the devices to answer
questions about your network equipment.
This lab provides minimal assistance with the actual commands necessary to configure
the router. However, the required commands are provided in Appendix A. Test your
knowledge by trying to configure the devices without referring to the appendix.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services
Routers (ISRs) with Cisco IOS Release 15.2(4) M3 (universalk9 image). The switches
used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other
routers, switches, and Cisco IOS versions can be used. Depending on the model and
Cisco IOS version, the commands available and output produced might vary from what
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 8
is shown in the labs. Refer to the Router Interface Summary Table at the end of this lab
for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup
configurations. Refer to Appendix B for the procedure to initialize and reload a router
and switch.
Required Resources
1 Router (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
Console cables to configure the Cisco IOS devices via the console ports
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 8
Create a banner that warns anyone accessing the device that unauthorized access is
prohibited.
R1 (config) # banner motd #
Enter TEXT message. End with the character #.
Unauthorized access prohibited!
#
R1 (config) #
j.
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 8
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 8
Step 1: Retrieve hardware and software information from the network devices.
a. Use the show version command to answer the following questions about the router.
What is the name of the IOS image that the router is running?
Cisco IOS Software
How much DRAM memory does the router have?
64 bits wide
How much NVRAM memory does the router have?
255 k
How much Flash memory does the router have?
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 8
Gigabitethernet0/1
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 8
Protocol
up
down
down
down
down
up
up
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
Reflection
1. If the G0/1 interface showed administratively down, what interface configuration
command would you use to turn the interface up?
R1(config-if)#no shut
2. What would happen if you had incorrectly configured interface G0/1 on the router with
an IP address of 192.168.1.2?
PC-A would not be able to ping PC-B. This is because PC-B is on a different network than
PC-A which requires the default-gateway router to route these packets. PC-A is configured
to use the IP address of 192.168.1.1 for the default-gateway router, but this address is not
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 7 of 8
assigned to any device on the LAN. Any packets that need to be sent to the defaultgateway for routing will never reach their destination.
Router Interface Summary Table
Router Interface Summary
Router
Model
Ethernet
Interface #1
Ethernet
Interface #2
Serial
Interface #1
Serial Interface
#2
1800
Serial 0/0/0
(S0/0/0)
Serial 0/0/1
(S0/0/1)
1900
Gigabit Ethernet
0/0 (G0/0)
Gigabit Ethernet
0/1 (G0/1)
Serial 0/0/0
(S0/0/0)
Serial 0/0/1
(S0/0/1)
2801
Serial 0/1/0
(S0/1/0)
Serial 0/1/1
(S0/1/1)
2811
Serial 0/0/0
(S0/0/0)
Serial 0/0/1
(S0/0/1)
2900
Gigabit Ethernet
0/0 (G0/0)
Gigabit Ethernet
0/1 (G0/1)
Serial 0/0/0
(S0/0/0)
Serial 0/0/1
(S0/0/1)
Note: To find out how the router is configured, look at the interfaces to identify the router
type and how many interfaces the router has. There is no way to effectively list all the
combinations of configurations for each router class. This table includes identifiers for the
possible combinations of Ethernet and Serial interfaces in the device. The table does not
include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal
abbreviation that can be used in Cisco IOS commands to represent the interface.
2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 8 of 8