Tech Support Guy banner
Status
Not open for further replies.
1 - 3 of 3 Posts

· Registered
Joined
·
7,276 Posts
Discussion Starter · #1 ·
Here is what I want to accomplish and let me tell you I already know that Windows XP does have the capabilities of doing the reverse of what I want it to do.

If you go into the TCP/IP setup that is bound to the specific NIC then you can set it to DHCP and then set an Alternate Configuration if it does not find anything doling out a DHCP lease.

What I need is for the exact opposite – I want to have a hardcoded IP and DNS and then if it does not find communication on that hardcoded information to then change over to the DHCP and look for a lease.

Either that or is there any way to setup some type of “profile” so one profile will be set to DHCP and another to be hardcoded (but still all for 1 nic).

I cannot use multiple nics as an option.

Thank you.
 

· Registered
Joined
·
272 Posts
you may want to use netsh. this may help. quoted from www.chicagotech.net.

How to switch between static ip and DHCP

To switch the specified adapter from a static address to DHCP, type the following command:
netsh interface ip set address "chicagotechnet" dhcp

To change to a static address, type the following command:
netsh interface ip set address "chicagotechnet" static ipaddr subnetmask gateway metric
 
1 - 3 of 3 Posts
Status
Not open for further replies.
Top