There are some subtle changes between Windows 7 and either Windows XP and Windows Vista. Since I use virtualization (with VMWare Fusion) extensively to test environments, I seem to go through this drill too often. By the way, I upgraded to VMWare Fusion 3 before testing the production releases of Windows 7.
The easiest Windows 7 installation uses DHCP. That’s what I did before patching the OS, installing virus protection software, and installing a few tools and program. Then, I change from a dynamic IP to static IP address and add a meaningful name to the
C:\Windows\System32\Drivers\etc\hosts file. Here are the steps to set a static IP address on Windows 7:
- Assuming that you’re in the Category view, you should navigate to the Control Panel, choose Network and Internet, and then click Network and Sharing Center. This is the window that you should see (click image to enlarge it):
- Click the Local Area Connection to begin configuring your static IP address.
- From the Local Area Connection Status window, click the Details button to see your existing connection details (most likely DHCP). If you’re running this in VMWare Fusion, the
172.16.153.129is the first IP address allocated. You should note the default gateway and DNS server IP address, which should always be
172.16.153.2. Click the Close button when you’ve made note of those IP addresses for subsequent steps.
- Back at the Local Area Connection Status window, click the Properties button. It will show you the Local Area Connection Properties dialog. Click on the Internet Protocol Version 4 (TCP/IPv4) in the item box of the dialog window.
- Click the Use the following IP address radio button and enter the appropriate values for your static IP address. The default gateway and DNS server are generally different but are the same when you’re using NAT addressing inside VMWare.
You should be completed now. If you test the connection, Windows 7 raises and error but everything works after you reboot the operating system.