Lab 1.1 Simple Network Hardware Lab
Assignment details:
This is our first time working with physical hardware! The goal of this assignment is to set up a simple network and be able to ping between 2 computers via a switch and router. This lab is taking packet tracer and bringing it to life.
Lab Partners: Matthew Compton and Savannah Ciak
Lab notes were borrowed from Savannahs Tech journal entry
Physical Hardware Setup and Equipment
Diagram by Savannah Ciak
This shows the Foster switch (on the left) and the Skiff switch (on the right) on top of the 1841 router. The router was connected to a Windows machine using a USB console cable and configured using Putty (see the light purple cable).
1841 router
2960 switches (small netgear switches)
Laptop/Server (Foster workstations booted to Kali Linux thumbdrives)
Cabling
Important Note about COM ports:
We are not using COM ports for this lab
PuTTy calls USB, COM ports. (USB is serial) COM POrts are a hardware interface on a computer that allows user to connect external devices and transfer data. The diagram below are the COM ports used on older routers, but our router does not have these ports:
Connections and PuTTY
Booting Classroom Workstations to Kali Linux USBs
Plug the USB Thumbdrive into the powered off workstation
Hit the F10 key during the NUC Splash Screen
From the Boot Menu – Select UEFI Vendor Product Code 2
Select “Live System (amd64)” (first option) from the menu
That will take you into a Live Kali Linux desktop
Use Ethernet cables to connect gear
Use ethernet ports on the 1841 (and not the serial ports)
Console into the 1841 using a USB console cable and Putty:
Plug serial console cable (blue light) into USB port on Workstation
Open
Device Manager
to see whatCOM port
it is using:
Power on switch (plug it in if not already running)
Open Putty on workstation
CTRL+Break
used to send a break signal
Under Connection - Go to Serial and enter the following:
Serial Line to Connect: COM port from Step 2
Bits per sec: 9600
Data bits: 8
Parity: none
Stop bits: 1
Flow control: 1
Under session - Select serial and change the COM port to the # from step 2:
Click Open - Hit Enter and you have access
ANSWER NO TO INITIAL CONFIGURATION DIALOG
The # means the system is booting up
Foster laptop (Savannah’s Kali) is on the 192.168.3.0/24 network.
The fast ethernet port on the router was assigned as fa0/0 192.168.3.1/24 (aka default gateway), and the foster laptop was assigned 192.168.3.2/24
Skiff server (Matt’s Kali) is on the 192.168.1.0/24 network.
The fast ethernet port on the router was assigned as fa0/1 192.168.1.1/24 (aka default gateway), and the skiff server was assigned 192.168.1.2/24.
Ip Configurations on Router
enable
config
interface fastethernet 0/0
ip address 192.168.3.1 255.255.255.0
exit
interface fastethernet 0/1
ip address 192.168.1.1 255.255.255.0
exit
end
Ip Configurations on Kali
Configure Kali IP settings in nmtui
run
sudo systemctl restart network
Use
ip a
andipconfig
to check that changes have been saved
Ping server from laptop
Once the Kali machines have been configured, they should be able to ping one another (via IP address only since we do not have a DNS setup).
Successful ping:
Foster Laptop (192.168.3.2)
Foster default gateway (192.168.3.1)
Skiff default gateway (192.168.1.1)
Foster Server was able to successfully ping:
Foster default gateway (192.168.3.1)
Skiff Server (192.168.1.2)
Resert Startup to Default
From putty, press
ctrl-break
while the router starts bootingAt the ROMMON prompt, type
confreg 0x2142
At the ROMMON prompt, type reset to
restart
the routerWhen the router offers to go through setup, type
no
At the
Router>
prompt, typeenable
to enter the privileged enable modeAt the
Router
prompt, type copyrunning-config startup-config
At the
Router# prompt
, typeconfig t
At the config prompt, type
config-register 0x2102
Type
exit
to leave config modeType
write memory
to create a configurationType
reload
to reload
Last updated