Share via

DHCP and static IP simultaneously?

Anonymous
2010-04-13T17:58:31+00:00

Simple scenario. My internet connection uses DHCP, and my home network uses (static) 10.x.x.x addresses. How do I add a static 10.0.0.x address in addition to the IP provided by DHCP so I can use internet and local network at the same time? In linux it's pretty simple: ip addr add 10.0.0.1/24 dev eth0

Windows for home | Previous Windows versions | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-04-14T08:30:43+00:00

    You can't use two IP addresses on a single ethernet interface, if you use DHCP, you can't add static IP, it's technically impossible, in that case you have to use two NIC cards, that is, two different interfaces. If you are connecting to the Internet through the DHCP and you have another PC which you use to build a LAN then you can't change you dynamic address, but can change the LAN address to either dynamic/static. For example, if the PC which has Internet connection, add another NIC card, then connect the second PC with this new NIC card. Now enable sharing on the Internet connection interface of the first PC and thus both PC will be able to run Home networking and Internet connectivity. You don't even need to add a static IP.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments

14 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-08-11T18:46:03+00:00

    Yes he can. Strange how you provide an answer that is so wrong in a fashion that you sound so confident in your answer, which is, again, wrong.

    Here is the correct answer: http://www.petri.co.il/configure\_tcp\_ip\_to\_use\_dhcp\_and\_a\_static\_ip\_address\_at\_the\_same\_time.htm

    The trick is to set the adapter to use dhcp and then manually add as many static ips you want using registry (Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces<YOUR INTERFACE HERE> Subkeys: IpAddress and SubnetMask)

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-10-03T19:05:06+00:00

    It's not technically impossible, as it was allowed in previous versions of Windows, and is possible on alternate operating systems.

    So the correct answer is that Windows does not support it anymore.

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2010-04-14T09:30:07+00:00

    What do you mean "technically impossible"? In Windows XP this was definitely possible, because I used it for many years. It required manually editing the registry, but the registry trick didn't work in Vista and Win7 anymore. In Linux this is trivial as well. I don't like connection sharing because it requires that the PC connected to internet is always on.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2010-04-14T09:25:14+00:00

    Start -> Run, type ncpa.cpl

    right click on LAN icon, select Properties

    Select IPv4 and click Properties, under General tab set it automatic and set the static IP in Alternate configuration tab

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments