Class Lab 3-1: Simple DHCP Relay Hardware Lab

Recreate the environment from Lab 1.1:

Lab 1.1 Simple Network Hardware Labchevron-right

Hardware

  • one 1841 router

  • two 2960 switches (NetGear)

  • one workstation (kali)

  • One workstation (windows configuration machine)

  • One console cable

  • Four ethernet cables

Lab Setup

  • Use ethernet cables to connect gear

  • Use the console cable to connect to the configuration computer (light blue cable)

  • Configure the router with PuTTy

    • Under connection, go to serial and enter the following:

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

    • Click Open - hit enter and you should have access

circle-info

Subnet for Foster is 192.168.3.0/24

Subnet for Skiff is 192.168.1.0/24

  • Use the bootable kali hard-drive for the Foster Laptop and the Skiff server (don't connect them to the switches yet)

Set up DHCP on Skiff Server

  • Leave the Skiff/Kali live system on the Ireland Network (make sure you have internet access)

  • Open Terminal and:

    • sudo apt update

  • Install isc dhcp server

    • sudo apt install osc-dhcp-server

  • Disconnect Skiff/Kali NUC from Ireland Network and connect to your Skiff switch

  • Assign a manual IP address (such as 192.168.1.100) on "Skiff Server/Kali" on the Skiff subnet

    • use ip addr to make sure that your new IP is in effect on eth0

  • On Skiff Server (Kali) Configre the DHCP server

  • Start the DHCP server with sudo systemctl start isc-dhcp-server

circle-exclamation
  • Update Cisco Router with ip helper-addresson the Foster Interface using the ip address of the DHCP Server

Getting DHCP to work for Foster Laptop

  • Set Foster laptop to DHCP and obtain address and IP configuration.

  • If it works, you should be able to ping the skiff server

circle-info

If needed - Booting Classroom NUCS to Kali Linux

  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

  6. If needed:

    1. Username: kali

    2. Password: kali

Last updated