Skip to document
This is a Premium Document. Some documents on Studocu are Premium. Upgrade to Premium to unlock it.

Week9-Lab - Build a Switched Network

its the week 9 tut
Course

Networking Fundamentals (41092)

238 Documents
Students shared 238 documents in this course
Academic year: 2023/2024
Uploaded by:
Anonymous Student
This document has been uploaded by a student, just like you, who decided to remain anonymous.
University of Technology Sydney

Comments

Please sign in or register to post comments.

Preview text

Lab - Building a Switched Network

Topology

Addressing Table

Device Interface IP Address Subnet Mask

PC-A NIC 192.168.1 255.255.

PC-B NIC 192.168.1 255.255.

Objectives

Part 1: Initialize and Reload a Switch

Part 2: Set Up the Network Topology (Ethernet only)

Part 3: Configure PC Hosts

Part 4: Use Wireshark to View Network Traffic

Background / Scenario

Networks are constructed of three major components: hosts, switches, and routers. In this lab, you will build a

simple network with two hosts and two switches. You will initialize and reload the switches.

You will apply IP addressing for this lab to the PCs to enable communication between these two devices. Use

the ping utility to verify connectivity, and use Wirehshark to view the traffic.

Please note, you will need to disable the Firewall to allow “ping” traffic to go through. Follow the instructions in

Appendix A to disable the Firewall in lab PCs.

Refer to “Lab-Network_Guide” for switch router instructions.

Required Resources

 2 Switches (Cisco 2960 with Cisco IOS Release 15(2) lanbasek9 image or comparable)

 2 PCs (Windows 7 or 8 with terminal emulation program, such as Tera Term)

 Console cables to configure the Cisco IOS devices via the console ports

 Ethernet cables as shown in the topology

Part 1: Initialize and Reload a Switch

To make sure that the switches have been erased and have no startup configurations.

Step 1: Connect a Cisco switch and computer using a rollover console cable.

a. Connect the rollover console cable to the RJ-45 console port of the switch.
b. Connect the other cable end to the serial COM port on the computer.
Note: rollover console cable (blue flat cable) has already been connected to your desktop computer.
c. Turn on the Cisco switch and computer.
d. If confused, have a look at section 4 (c) of Document X. Steps are listed with graphical examples.
e. In example below, connect console port behind the PC (port no. 23) from RACK C to Console port of the
switch.

Step 2: Configure Putty to establish a console session with the switch.

Putty is a terminal emulation program. This program allows you to access the terminal output of the switch. It
also allows you to configure the switch. Also given in Section 4 of Week1-Lab-Guid with screenshots.
c. When you lick Open, you should see Command Cline Interface (CLI) and if the device is just powered on,
you will see a initial configuration dialog box as shown below. Type no , and press enter.

no

If everything was set up fine, you should see Switch> in CLI. If not, repeat the steps check the cabling

or press some keys from the keyboard. You can also refer to Section 4 of Week1-Lab-Guid or ask

for help from Tutor.

Press “enter” to access user mode “Switch>”
Type “enable” to access privileged EXEC mode “Switch#”.
Switch> enable
Switch#

Step 1: Determine if there have been any virtual local-area networks (VLANs) created.

Use the show flash command to determine if any VLANs have been created on the switch.
Switch# show flash
Directory of flash:/
2 -rwx 1919 Mar 1 1993 00:06:33 +00:00 private-config
3 -rwx 1632 Mar 1 1993 00:06:33 +00:00 config
4 -rwx 13336 Mar 1 1993 00:06:33 +00:00 multiple-fs
5 -rwx 11607161 Mar 1 1993 02:37:06 +00:00 c2960-lanbasek9-mz.150-2.SE
6 -rwx 616 Mar 1 1993 00:07:13 +00:00 vlan
32514048 bytes total (20886528 bytes free)
Switch#

Step 2: Delete the VLAN file.

a. If the vlan file was found in flash, then delete this file.
Switch# delete vlan
Delete filename [vlan]?
You will be prompted to verify the file name. At this point, you can change the file name or just press Enter
if you have entered the name correctly.
d. When you are prompted to delete this file, press Enter to confirm the deletion. (Pressing any other key will
abort the deletion.)
Delete vlan? [confirm]
Switch#

Step 3: Erase the startup configuration file.

Use the erase startup-config command to erase the startup configuration file from NVRAM. When you are
prompted to remove the configuration file, press Enter to confirm the erase. (Pressing any other key will abort
the operation.)
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#

Step 4: Reload the switch.

Reload the switch to remove any old configuration information from memory. When you are prompted to
reload the switch, press Enter to proceed with the reload. (Pressing any other key will abort the reload.)
Switch# reload
Proceed with reload? [confirm]
Note: You may receive a prompt to save the running configuration prior to reloading the switch. Type no
and press Enter.
System configuration has been modified. Save? [yes/no]: no

Step 5: Bypass the initial configuration dialog.

After the switch reloads, you should see a prompt to enter the initial configuration dialog. Type no at the
prompt and press Enter.
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>

Part 2: Set Up the Network Topology (Ethernet only)

You will cable the devices together according to the network topology.

Step 1: Power on the devices.

Power on all devices in the topology. The switches do not have a power switch; they will power on as soon as
you plug in the power cord.
c. Click the Change adapter options under the Related settings.
d. The Network Connections window displays the available interfaces on the PC. Right-click the Ethernet 2
(the name can be others, e., Local Area Connection) interface and select Properties.
e. Select the Internet Protocol Version 4 (TCP/IPv4) option and then click Properties.
Note: You can also double-click Internet Protocol Version 4 (TCP/IPv4) to display the Properties
window.
f. Click the Use the following IP address radio button to manually enter an IP address, subnet mask, and
default gateway.
b. The cmd window is where you can enter commands directly to the PC and view the results of those
commands. Verify your PC settings by using the ipconfig /all command. This command displays the PC
hostname and the IPv4 address information.
c. Type ping 192.168.1 and press Enter.
Were the ping results successful? ______________________
If not, troubleshoot as necessary, e., physical connection, IP configuration and firewall.
Note: If you did not get a reply from PC-B, try to ping PC-B again. If you still do not get a reply from PC-B,
try to ping PC-A from PC-B. If you are unable to get a reply from the remote PC, then have your instructor
help you troubleshoot the problem.

Part 4: Using Wireshark to Examine Network Traffic

Step 1: Retrieve your PC’s interface addresses.

PC-A: IP: ... MAC: :::::

PC-B: IP: ... MAC: :::::

Step 2: Start Wireshark and begin capturing data.

a. Capture ping request data on PC-A, while PC-A ping PC-B
Source IP: ... Source MAC: :::::
Dest IP: ... Dest MAC: :::::
Does the Source MAC address match your PC-A’s interface? ______
Which interface is the Destination MAC address? ______________
b. Capture ping request data received on PC-B, while PC-A ping PC-B
Source IP: ... Source MAC: :::::
Dest IP: ... Dest MAC: :::::
Does the destination MAC address match your PC-B’s interface? ______
Which interface is the source MAC address? ______________
3. Turn “off” firewall, click “yes” to pop out window.
4. Make sure all firewalls are “off”
Was this document helpful?
This is a Premium Document. Some documents on Studocu are Premium. Upgrade to Premium to unlock it.

Week9-Lab - Build a Switched Network

Course: Networking Fundamentals (41092)

238 Documents
Students shared 238 documents in this course
Was this document helpful?

This is a preview

Do you want full access? Go Premium and unlock all 13 pages
  • Access to all documents

  • Get Unlimited Downloads

  • Improve your grades

Upload

Share your documents to unlock

Already Premium?
Lab - Building a Simple Network
Lab - Building a Switched Network
Topology
Addressing Table
Device Interface IP Address Subnet Mask
PC-A NIC 192.168.1.10 255.255.255.0
PC-B NIC 192.168.1.11 255.255.255.0
Objectives
Part 1: Initialize and Reload a Switch
Part 2: Set Up the Network Topology (Ethernet only)
Part 3: Configure PC Hosts
Part 4: Use Wireshark to View Network Traffic
Background / Scenario
Networks are constructed of three major components: hosts, switches, and routers. In this lab, you will build a
simple network with two hosts and two switches. You will initialize and reload the switches.
You will apply IP addressing for this lab to the PCs to enable communication between these two devices. Use
the ping utility to verify connectivity, and use Wirehshark to view the traffic.
Please note, you will need to disable the Firewall to allow “ping” traffic to go through. Follow the instructions in
Appendix A to disable the Firewall in lab PCs.
Refer to “Lab-Network_Guide.pdf” for switch router instructions.
Required Resources
2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
2 PCs (Windows 7 or 8 with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
© 2023 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.

Why is this page out of focus?

This is a Premium document. Become Premium to read the whole document.

Why is this page out of focus?

This is a Premium document. Become Premium to read the whole document.

Why is this page out of focus?

This is a Premium document. Become Premium to read the whole document.

Why is this page out of focus?

This is a Premium document. Become Premium to read the whole document.