Configure a multiscope DHCP server to work with VLANs on Windows Server 2012

In order to take advantage of the full capabilities of LAN segmentation (VLAN), you need to properly configure a DHCP server with different scopes (multiscope setup). Windows Server offers a simple solution to the problem and we are going to see how to perform the operation.

Before starting, it’s important to say you need a configured layer-3 switch with multiple VLANs (check this tutorial for further information). Following these steps you’ll be able to automatically assign VLAN-aware IP addresses to the devices connected at the physical ports of the switch. The switch will also need to forward DHCP requests to the Windows Server.

The first step is to install the DHCP server role:

How to configure a multiscope DHCP server to work with VLANs

Then open the DHCP management panel:

How to configure a multiscope DHCP server to work with VLANs

Right-click on IPv4 and select New Scope, a Wizard will start:

How to configure a multiscope DHCP server to work with VLANs

Click Next:

How to configure a multiscope DHCP server to work with VLANs

Give a name to the scope:

How to configure a multiscope DHCP server to work with VLANs

Specify the range of IP addresses that will be assigned by the scope. Note, we are configuring a scope for the VLAN 10 (IP range 192.168.1.xyz):

How to configure a multiscope DHCP server to work with VLANs

You can add exclusions to the range of IPs:

How to configure a multiscope DHCP server to work with VLANs

Default lease duration settings are fine:

How to configure a multiscope DHCP server to work with VLANs

Choose Yes:

How to configure a multiscope DHCP server to work with VLANs

Add the gateway IP address of the VLAN (important to identify the VLAN):

How to configure a multiscope DHCP server to work with VLANs

Specify the DNS servers:

How to configure a multiscope DHCP server to work with VLANs

You don’t need to specify a WINS server:

How to configure a multiscope DHCP server to work with VLANs

Choose Yes:

How to configure a multiscope DHCP server to work with VLANs

You’re ready to go!

How to configure a multiscope DHCP server to work with VLANs

The scope will appear in the panel.

How to configure a multiscope DHCP server to work with VLANs

Of course you need to repeat the operation for every VLAN you want to manage through DHCP.

Related articles:
How to segment a LAN into VLANs with affordable hardware
How to manage VLANs and virtual switches on ESXi/vSphere

Read related articles