2

Found question and great answer: WMI and adding Multiple IP Addresses? However this only explains how to add multiple static IP addresses. I am looking how to configure a dynamic (DHCP) and at least one static IP address on the same NIC. But only manage to get one or the other to work. I am looking for a WMI solution for WinXP, Vista and Win7.

3 Answers 3

4

As far as I know, you can't do this to a network adapter on Windows using any method, not just WMI.

3
  • Yeah, I don't think this is possible. I just double checked for sanity and you can't add multiple IP's to a NIC with DHCP through the GUI.
    – Dan
    Nov 15, 2011 at 22:43
  • IIRC you can add alternative addresses to adapters with DHCP set and you can add multiple fixed IPs. But that's as far as it goes.
    – Rob Moir
    Nov 15, 2011 at 22:52
  • Thanks. I will do some research about maybe doing it with a virtual NIC. If I don't figure it out I'll ask a new question.
    – John Next
    Nov 16, 2011 at 20:01
0

Here is an interesting article that does what you need but employing two steps - DHCP and registry editing.

It's not a solution per se, but can be implemented as one if you really have the need.

0

This has just turned reality (for the latest version of Windows only, probably).

Quoting myself:

There is a new property called dhcpstaticipcoexistence in the netsh interface ipv4 set interface command, which can be set to enabled and this interface can be configured with multiple static IPs along with a DHCP-configured IP. However this has to be done with the netsh add address command, not yet possible via the GUI.

https://superuser.com/a/1250941/771867

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .