I think it is possible to set up 2 IP addresses and subnet masks on one NIC in Windows XP.
How can this be done?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Having more than 2 IP addresses is called Multihoming.
Most Multihoming solutions require giving up DHCP addressing in favor of static ones.
Actually, there is a way to multihome a network interface card (NIC) under XP and use both DHCP and multiple static IP addresses. Here's how, taken from Eccentricities of Windows networking :
IPAddressand double click on it. In the Edit Multi-String dialog that appears, enter in the value of each of the static IP addresses you want to assign to the NIC, one value per line. Note that the first value must be "0.0.0.0".
SubnetMaskkey and edit it exactly the same way you did the "IPAddress" key, again making sure the first value is "0.0.0.0".
I usually do this with netsh as it's easy to replicate.
netsh interface ip set address "Local Area Connection" static 10.0.10.20 255.255.255.0 10.0.10.1 1 netsh interface ip add address "Local Area Connection" 192.168.1.20 255.255.255.0
Now you'll want to configure DNS also, I presume.
netsh interface ip set dns "Local Area Connection" static 10.0.10.1 netsh interface ip add dns "Local Area Connection" 192.168.1.140
I'll then save these commands to a .cmd file and save that in my source code repository (or other backed up location) for posterity.
Searched Microsoft for "second ip address windows xp" it was the 5th link.
Read though you'll see it in there.
The Registry Key details here apply to Windows 98; different info applies to XP - go to the Eccentricities of Windows Networking site for the right info.