A DHCP server is the part of a router that is responsible for assigning IP addresses to the devices that are connected to a network. Depending on the router’s settings, this IP address might change from time to time without notifying the user. Some advanced home networking features, such as port forwarding, require a particular device on the network to have a known and unchanging IP address. To do this, set up a DHCP reservation which will ensure that a given device always gets the same IP address from the router.
First, find the MAC address of the device you wish to set up with a reserved IP address. Once you have that information it is time to access your router’s firmware. To do this, type the gateway address of your network into the address bar of a web browser.
If you do not know your network’s gateway address you can find it easily using a command prompt. Press the Windows key and R at the same time on your keyboard to bring up the Run menu. In this menu type “cmd” and then hit enter. This will open up a command prompt, which is displayed as a black box with white letters. Type “ipconfig” and press enter. The network’s gateway address will be listed as the Default Gateway, as illustrated in Figure 1, and takes the form of an IP address such as 192.168.0.1 or a similar combination.
When you type this number into the address bar of a web browser and hit enter, it will take you to your router’s firmware page which will allow you to access and change the settings of your router. Firmware designs vary, so you will need to consult your router’s manual for exact details on how to go forward. For this example we will be using a D-Link DIR-655 router, which is very similar to most home routers currently on the market.
The D-Link’s firmware page requires the user to sign in before altering settings on the router. By default, the login username is admin, and the password is left empty, so click Log In to proceed. If you have set up a custom configuration password on your router you will need to enter that instead.
On the main D-Link page click Setup in the upper left-hand corner. From the Setup page select Network Settings from the navigation bar on the left. Near the bottom of the page, depicted in Figure 2, there is a section called Add DHCP Reservation.
Check the checkbox marked Enable and then enter the name, desired IP address, and MAC address of the device you are setting the reservation up for. Click save and the table labeled DHCP Reservations List should populate with the information you just entered. Click the button marked Save Settings at the top of the screen and wait for the router to finish saving and applying the settings.
With the DHCP reservation complete you can now enable advanced configuration options such as port forwarding or establishing a DMZ.