I´m guessing that you want and alternate configuration for the tcp/ip setting
in your machine.
4 normal way to do this.
Automatic by Apipa. This implies to use this segment in one of the networks.
Dinamic by Dhcp.
Alternate configuration. Explained below
Manually. Change each time by hand.
You can use this :
http://www.microsoft.com/technet/pr...elp/edf66ed4-a258-4d09-8d6f-60b0d95cfbcf.mspx
The general idea is to have dhcp configuration and in absence of it the
machine choose tha alternate configuration.
Other way could be to have another network card in the machine. and disabled
each card as you use.
and finally a regedit solution. Just an idea.
use run, regedit a go to
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\
There is a list of interfaces choose the one that match your current
configuration. The description is not very clear. Select it.
Use File, export or right clik export to have the configuration exported to
a file (say gateway.reg). The extension is important.
iif you open the file gateway.reg file with the following content:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{F7260876-0DD7-4156-BDA8-3E7EEDB05E4D}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:0000000
"IPAddress"=hex(7):31,00,30,00,2e,00,31,00,2e,00,32,00,2e,00,31,00,33,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,0
"DefaultGateway"=hex(7):31,00,30,00,2e,00,31,00,2e,00,32,00,2e,00,34,00,38,00,\
00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.1.2.202,200.33.146.201"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,0
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpClassIdBin"=hex:
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:42d69dd5
"T1"=dword:42d6a4dd
"T2"=dword:42d6aa23
"LeaseTerminatesTime"=dword:42d6abe5
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
as you see the "name server" the dns names ip´s is easy to change.
not as easy with the gateway is in hex format. but this can be solved.
setting it in the card normally and the use the regedit to export it.
you need to repair the card see the change in the details tab of the card.
Two lasts things:
One:tcp/ip evaluates dns in order if the first one fails pass to the second
and so on. So I think you dont need. to change this. Only takes one moment
more.
Two: Read about IRDP protocol. I dont known if applies to xp but could be
another solution.
http://support.microsoft.com/default.aspx?scid=kb;es;269734
Greetings