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.
Asked
Active
Viewed 5,719 times
3 Answers
4
As far as I know, you can't do this to a network adapter on Windows using any method, not just WMI.

MDMarra
- 100,734
- 32
- 197
- 329
-
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 '11 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 '11 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 '11 at 20:01
0
This has just turned reality (for the latest version of Windows only, probably).
Quoting myself:
There is a new property called
dhcpstaticipcoexistence
in thenetsh interface ipv4
set interface
command, which can be set toenabled
and this interface can be configured with multiple static IPs along with a DHCP-configured IP. However this has to be done with thenetsh
add address
command, not yet possible via the GUI.

Cecil
- 101