Windows Server DHCP assignment based on MAC of client

dhcpwindows-server-2008

I need to serve slightly different DHCP information to clients based on the MAC address prefix. MAC addresses from a particular vendor need to have PXE assigned to a certain host, while all other devices need to receive PXE information for another host.

Is it possible to configure or script this to happen automatically? The DHCP server is Windows Server 2008 R2. I know this can be done in Linux/Unix by setting classes to match a substring in dhcp.conf, but I see no similar functionality in Windows.

Static reservations aren't practical for the size of the network.

Best Answer

I think this is what you're looking for.

"To configure a new filter

Open the DHCP snap-in.

In the console tree, double-click the applicable DHCP server, double-click IPv4, double-click Filters, and then right-click Allow or Deny.

Click New Filter, and then type a MAC Address and Description. Description is an optional field.

"

"The MAC address can either be the full address or a MAC address pattern (wild card). Following are the valid MAC address wild cards:

00-1C-23-*-*-*

00-1C-23-20-AF-*

00-1C-23-20-*-*

001C2320AF4E

001C*"

EDIT: Source http://technet.microsoft.com/en-us/library/dd759190.aspx