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


Network Diagram

image

Labeling done by Savannah Ciak

Physical Hardware Setup and Equipment

image

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

{73B663EB-DF9D-435F-8372-9289A60E843F}

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:

{46091B70-83FB-4805-AE40-B00B6B92B5BA}

Connections and PuTTY

Booting Classroom Workstations to Kali Linux USBs

  1. Plug the USB Thumbdrive into the powered off workstation

  2. Hit the F10 key during the NUC Splash Screen

  3. From the Boot Menu – Select UEFI Vendor Product Code 2

  4. Select “Live System (amd64)” (first option) from the menu

  5. 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 what COM port it is using:

{790DB826-4759-41DB-B243-3B201B96015F}

  • 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

{F1575131-EBFF-428B-9017-784118C83E03}

  • Under session - Select serial and change the COM port to the # from step 2:

  • Click Open - Hit Enter and you have access

{2965C761-3DA9-41C3-AB36-65DDF8637A9A}

ANSWER NO TO INITIAL CONFIGURATION DIALOG

{08B513DB-685C-4A83-97A9-32E5620ABF60}

The # means the system is booting up

{5AD404C6-7524-4B6A-B539-02D32E2EEA00}

  • 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

image

  • run sudo systemctl restart network

  • Use ip a and ipconfig 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).

image

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)

image

Resert Startup to Default
  • From putty, press ctrl-break while the router starts booting

  • At the ROMMON prompt, type confreg 0x2142

  • At the ROMMON prompt, type reset to restart the router

  • When the router offers to go through setup, type no

  • At the Router> prompt, type enable to enter the privileged enable mode

  • At the Router prompt, type copy running-config startup-config

  • At the Router# prompt, type config t

  • At the config prompt, type config-register 0x2102

  • Type exit to leave config mode

  • Type write memory to create a configuration

  • Type reload to reload

Last updated