General discussion

Locked

changing ip address

By mndthegap1 ·
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

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

changing ip address

by quintar51 In reply to changing ip address

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,

Collapse -

changing ip address

by mndthegap1 In reply to changing ip address

Poster rated this answer

Collapse -

changing ip address

by Joseph Moore In reply to changing ip address

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

Collapse -

changing ip address

by mndthegap1 In reply to changing ip address

Poster rated this answer

Collapse -

changing ip address

by mndthegap1 In reply to changing ip address

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums