Line
Skip to main content
Print

How to Promote DHCP Server and Setup DHCP Scope

Setting up a DHCP server to assign IPs automatically does not require installing a Domain Controller (DC). Installing only the DHCP tool is sufficient, and any client machine on the same network will receive an IP address without needing to be part of Active Directory (AD).

In this test, DHCP will be installed on a server, and there will be a Windows 7 client machine that has not yet been assigned an IP. The test will verify if it receives an IP via DHCP and if the IP is within the defined scope.

First, install DHCP on the server by navigating to Manage > Add Role > DHCP Server Tool.

Once the installation is complete, click Complete DHCP Configuration.

Then go to Tool > DHCP, right-click on IPv4, and select New Scope….

Set the Scope Name.

Set the IP range. In this example, the IP range is configured to distribute between 192.168.1.10–192.168.1.50, then click Next.

Next is the Add Exclusion section, which means if you want certain IPs within the range to be excluded, you can specify them here. For example, if you don’t want IPs between 192.168.1.20–192.168.1.25 to be assigned, you can exclude that range.

Lease Duration refers to the period for which a client machine will retain the same IP. If this time exceeds the specified duration (default is 8 days), the client will be assigned a new IP address.

In the Default Gateway section, you can set the gateway IP. The client machine will be assigned this gateway IP as well. In this example, I will set the gateway to 192.168.1.254.

In the DNS and WINS sections, you can enter the corresponding IP addresses if available

Once completed, select Yes, I want to activate this scope now.

After finishing the scope configuration, return to Tool > DNS. You will find the scope that you have defined.

Switch to the Windows 7 client machine and disable the network card, then enable it again. You will see that the machine receives an IP address within the defined scope, along with the gateway that you specified.

Messenger