Managing DHCP Addresses in VMware Client Operating Systems
Dave Aiello wrote, "I'm not sure anyone else will consider this a revelation, but, I figured out how to acquire a new IP address via DHCP when I cable up to a new network. This is important for me because I often run Windows NT and 2000 as client operating systems under VMware for Linux. Rather than shut these client operating systems down, I often suspend them (explained here in the VMware for Linux Quick Start Guide)."
"Many times, I will suspend my Windows in one place and restore it in another. When both places have TCP/IP networks and DHCP, the IP machine is restored with an incorrect IP address and Windows doesn't seem to notice right away. So, read on if you are interested in the solution."
Dave Aiello continued:
Like I said earlier, this solution might be obvious to others, but, I found that I could issue an ipconfig command to force this to happen immediately under Windows NT Workstation 4.0:
C> ipconfig /renew
Windows NT IP ConfigurationEthernet adapter AMDPCN1:
IP Address. . . . . . . . . : 63.77.xxx.xxx
Subnet Mask . . . . . . . . : 255.255.255.xxx
Default Gateway . . . . . . : 63.77.xxx.xxx
I have not yet tried this in Windows 2000 Professional, but, it seems like this ought to work in that Operating System as well.