Skip to content

dhcp win

NicolasNewman edited this page Feb 17, 2020 · 3 revisions

Configuring the DHCP Server on Windows

Set a static IP address

Before running the DHCP server, you must first make sure you have properly plugged your computer into the network switch. If you have, you should see "unidentified network" listed as the connected network.

Once you are on the network, you must assign yourself a static IP address by doing the following:

Image of the first steps

  1. Open up your wifi bar (icon on the bottom right, to the left of date/time) and click on Unidentified network.
  2. In the settings window that opened up, click Change adapter options.
  3. In the list of network adapters, look for the ethernet adapter that is in use and says Unidentified network in gray.

Image of the second steps

  1. Right click the adapter and select Properties
  2. In the properties window that poped up, double click Internet Protocol Version 4
  3. In the IPv4 window that poped up, select Use the following IP address and enter 192.168.0.1 as the IP.
  4. When done, click Ok on each window.

Note: The following changes will prevent you from connecting to another network via ethernet until they are reverted. You should always change it back to Obtain an IP address automatically once finished.

Configuring the DHCP Server

To configure the DHCP server, navigate to: C:\Users\{Username}\AppData\Local\Programs\scouter\resources\dhcp. In this folder there will be to similarly named files: dhcpsrv.exe and dhcpwiz.exe. Open dhcpwiz.exe.

Image of the first step

  1. The first screen will ask you to select the network adapter to run the server on. Assuming you have already correctly set the static address, select the adapter that shows 192.168.0.1.

Image of the first step

  1. The following screens can be left as their defaults until you get to one labeled Writing the INI file. For this screen, select Write INI file and then click next.
  2. On the final screen, there will be numerous buttons. For now, this can be closed.

Note: This process only needs to be performed once as long as the network adapter and static ip are the same.

Running the DHCP Server

To run the DHCP server, navigate to: C:\Users\{Username}\AppData\Local\Programs\scouter\resources\dhcp. In this folder there will be to similarly named files: dhcpsrv.exe and dhcpwiz.exe. Open dhcpsrv.exe.

First Run

The first time you run the DHCP server, the Windows service needed will not have been created (this will be indicated by status showing Not installed). To fix this, click the Admin... button and select Install on the left-hand column.

Starting the Server

If the service is properlly installed, the status will show Stopped. To start the server, click Start. Any computer that now connects to the switch should have their IP address automatically assigned.

You can then minimize this window until you are done using Scouter.