Lab3:1DHCPServer - echadbourne/NET-330 GitHub Wiki

Setting up the switch

Plug in the console cable to the computer you are using to set it up, use the following configuration in Putty: Serial Line to Connect: COM port from earlier

  • Bits per sec: 9600
  • Data buts: 8
  • Parity: none
  • Stop bits: 1
  • Flow control: none

Do initial setup of the router:

  • en
  • conf t
  • int Fa 1/0 - set up this interface for Foster (ip addr 192.168.3.1 255.255.255.0)
  • int Fa 0/0 - Set this one up for Skiff (ip addr 192.168.1.1 255.255.255.0)

image

image

On the Foster network:

  • ip helper-address 192.168.1.104

image

Setting up DHCP

  • Start with a sudo apt update
  • Install isc DHCP with sudo apt install isc-dhcp-server

Assign a manual IP, and use ip addr to check that the manual assignment is working

Configure the DHCP server with the following:

image

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

  • You can check status and stop with this command too, by replacing "start" with "restart," "stop," or "status"