Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing IP addy info with a batch file 1

Status
Not open for further replies.

MrRetro

IS-IT--Management
Jul 21, 2003
66
CA
I have 2 sites that one of my users will be travelling between, one has a dhcp server the other has static IP addresses. Is there a batch file that I can use that will change the ip address of the machine depending on where the guy will be logging in.
Basically I need to do a release and a renew at one site (and have dhcp give him an address) and then have the ip assigned when he gets to the other site. Is this possible ??

Thanks in advance for any help.
 
Thanks for the quick reply, I took the batch from the bottom of that web page and modified it a bit and all appears to be working fine

Much appreciated !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top