Set specific DHCP options on a static IP address connection

Mark Henderson asked:

Our network has some not-commonly used DHCP options on it, including some vendor-specific options (e.g. option 002 for Time Offset set to 0x9AB0).

I have one particular computer that for whatever reason I want to have a static IP address. (I want to assign additional IP addresses to this network adapter, and you can’t have a hybrid static/DHCP connection in Windows. OK so there’s bullshit like this, but that doesn’t fly for me) But when I do this, it loses all these DHCP options and software that relies on them doesn’t work.

I’m not too concerned about the vendor-specific options (They are for device auto-provisioning and things like that), but some of the more commonly accepted DHCP options are more important.

Is there any way, in Windows 2008 R2 (or Windows 7) that these DHCP options can be set without actually using DHCP?

My answer:

Unfortunately, beginning with Windows Vista/2008, Microsoft disabled the ability for a single network interface to use both DHCP and static addresses at the same time. So you’re left with workarounds.

One sure-fire way to do this is to put a second NIC in the server. Configure one NIC with DHCP (to pick up a DHCP reservation and all of your DHCP options) and configure the second NIC with your other static IP addresses.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.