Configure Windows 2003/XP/2000 to use DHCP and Static IP addresses at the same time

If you're new here, you may want to subscribe to Windows Reference RSS feed Thanks for visiting!


To configure your computer (tested on Windows 2000, Windows XP and Windows Server 2003) to use both a DHCP obtained IP address and a statically configured IP address follow these steps



Configure your computer to use DHCP

  • Right-click My Network Places and choose Properties.
  • On the NIC that is (usually) labelled as Local Area Connection – right-click and choose Properties.
  • Select TCP/IP (make sure you don’t remove the check mark accidentally) and press the Properties button.
  • Make sure you have “Obtain Automatically” selected.
  • You can verify your settings by running ipconfig /all at a Command Prompt

Add a second static, IP address

  • Click Start and choose Run. Enter Regedit and press Enter.

Note: On Windows 2000 and NT you need to run Regedt32 instead.

  • Navigate to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
\Interfaces\{B003AD4A-B6DB-44FD-9741-CBA3C51B6498}

(actual GUID of the NIC may vary, select the one that represents your own NIC)

  • Select the IPAddress key and double click it.
  • In the Edit Multi String dialog box enter a second (and third and so on) IP address. Make sure you enter each IP on a separate line. Click Ok.
  • Select the SubnetMask key and double click it.
  • In the Edit Multi String dialog box enter a second (and third and so on) Subnet Mask. Make sure you enter each Subnet Mask on a separate line. Click Ok.
  • Close the registry editor.

Go back to your network properties, right-click your NIC and select Disable.

Right-click your NIC and select Enable.

Verify your settings by running ipconfig /all at a Command Prompt

  • Share/Bookmark

Random Posts


Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

Under what circumstances would you want to set a NIC up this way.

This seems to be broken in XPsp3

I got it working in SP3. Make sure the first ip and subnet stays as it was: 0.0.0.0 in both cases

sorry, I was wrong, wasn’t sp3…. :-(

which ip and subnet mask will i set here
(actual GUID of the NIC may vary, select the one that represents your own NIC)
• Select the IPAddress key and double click it.
• In the Edit Multi String dialog box enter a second (and third and so on) IP address. Make sure you enter each IP on a separate line. Click Ok.
• Select the SubnetMask key and double click it.
• In the Edit Multi String dialog box enter a second (and third and so on) Subnet Mask. Make sure you enter each Subnet Mask on a separate line. Click Ok.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)