| |
Assign a Secondary IP Address on Windows
Problem: Want a second IP address on the same NIC on Windows. For example,
you need a DHCP address to get DNS, etc., but a fixed address for services
to run against.
Summary of solution:
- configure to run DHCP
- ipconfig /all to check
- run regedit (XP) regedt32 (2k/NT)
- edit at HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces+ navigate to the NIC via its GUID (it's the one that has the DHCP address)
- add the IP addresses under "IPAddress"
- add each subnet mask under "SubnetMask"
- disable and re-enable the NIC
- ipconfig /all to verify
source: http://www.petri.co.il/configure_tcp_ip_to_use_dhcp_and_a_static_ip_address_at_the_same_time.htm
date: 06/06/2007
|