Discussion Locked

changing ip address

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i have a nt4.0 server as my PDC running Dhcp and wins, etc. I have a 2000 server as a file server.
the domain is NOT active directory. how can i change the ip address of the 2000 server without having to go to every client and change the hosts file. can i make a file on the NT4.0 server that automaticlly updates the clients. OR can i make the 2000 server the wins and dhcp server w/o changing to active directory domain and update the clients with one file that way ?? i appreciate any advice, thanks

5 replies

by quintar51

Well after changing the IP address of the 2000 server, just update your WINS database. Then, when clients contact the wins database, they will receive the new IP address for the 2000 server.

good luck,

by joseph moore

So, if you don't want to update the HOSTS file manually, does this mean that you have defined this server in HOSTS? If so, you can use a logon script to change the contents of HOSTS. That way, when your users log in, the logon script on the NT PDC will run, and it can change the HOSTS file.
Say the new IP for WIN2KBOX is 10.1.1.1
You would put the following in your logon scripts:

ECHO 10.1.1.1 WIN2KBOX > %WINDIR%\SYSTEM32\DRIVERS\ETC\HOSTS

That's it. That will overwrite the contents of HOSTS with this entry for the new IP for WIN2KBOX.

hope this helps

This discussion is closed to new replies.