Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  • My computer is configured to obtain a IP address automatically using DHCP.
  • It only has one network adapter.

How to configure an additional static IP address?

I found a tutorial for Windows XP, but the procedure didn't work for Windows 7.

Is it possible to configure two IP addresses on Windows 7, one being static e another being dynamic? How?

The dynamic address I got now is The static IP is The network mask is the same:
Both work independently, but I don't know how to use both at the same time.

share|improve this question
Could you explain why having two addresses is useful? – Isaac Rabinovitch Sep 19 '12 at 7:28

There are 2 tools to solve this Vista/Windows 7 issue, but after a DHCP refresh or cable replug, the settings are gone.

One tool is "Win IP Config", a graphical tool to add Internet Protocol addresses. The other one is iphelpcon.exe, a command-line tool (to put into Startup folder). The second tool uses the function AddIPAddress of the Microsoft DLL iphlpapi.dll.

share|improve this answer
Gotta say that software distributed via an anonymous file sharing site makes me very nervous. – Isaac Rabinovitch Sep 19 '12 at 7:26

Set the interface to be DHCP, then in a command window type:

C:\> netsh interface ipv4 add address "Local Area Connection"
share|improve this answer
Thanks, but it did not work. After setting to DHCP, the dynamic address was ping'able, and the static wasn't, as expected. After executing "netsh interface ...", the static IP was reachable but the dynamic IP was gone (even on ipconfig). – tiago2014 Mar 1 '11 at 22:08
... And the GUI was again as if I had manually set the configuration to use a static IP address in it. – tiago2014 Mar 1 '11 at 22:11
up vote 0 down vote accepted

Well, apparently Microsoft disabled configuring a network adapter with 1 static + 1 dynamic IP addresses at the same time on Windows 7.

share|improve this answer
Care to provide a verifiable reference for this presumption? – Iszi Sep 11 '12 at 14:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.