How to Assign a Static IP Address in XP, Vista, or Windows 7

Posted by Mysticgeek on How to geek See other posts from How to geek or by Mysticgeek
Published on Thu, 10 Jun 2010 15:00:00 +0000 Indexed on 2010/06/10 15:13 UTC
Read the original article Hit count: 1172

When organizing your home network it’s easier to assign each computer it’s own IP address than using DHCP. Here we will take a look at doing it in XP, Vista, and Windows 7.

If you have a home network with several computes and devices, it’s a good idea to assign each of them a specific address. If you use DHCP (Dynamic Host Configuration Protocol), each computer will request and be assigned an address every time it’s booted up. When you have to do troubleshooting on your network, it’s annoying going to each machine to figure out what IP they have.

Using Static IPs prevents address conflicts between devices and allows you to manage them more easily. Assigning IPs to Windows is essentially the same process, but getting to where you need to be varies between each version.

Windows 7

To change the computer’s IP address in Windows 7, type network and sharing into the Search box in the Start Menu and select Network and Sharing Center when it comes up.

1start menu 

Then when the Network and Sharing Center opens, click on Change adapter settings.

2adapter

Right-click on your local adapter and select Properties.

3local area connection

In the Local Area Connection Properties window highlight Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.

4properties

Now select the radio button Use the following IP address and enter in the correct IP, Subnet mask, and Default gateway that corresponds with your network setup. Then enter your Preferred and Alternate DNS server addresses. Here we’re on a home network and using a simple Class C network configuration and Google DNS.

Check Validate settings upon exit so Windows can find any problems with the addresses you entered. When you’re finished click OK.

5entersettings

Now close out of the Local Area Connections Properties window.

6closeoutof

Windows 7 will run network diagnostics and verify the connection is good. Here we had no problems with it, but if you did, you could run the network troubleshooting wizard.

7verify

Now you can open the command prompt and do an ipconfig  to see the network adapter settings have been successfully changed.

8verify 

Windows Vista

Changing your IP from DHCP to a Static address in Vista is similar to Windows 7, but getting to the correct location is a bit different. Open the Start Menu, right-click on Network, and select Properties.

sshot-2010-06-06-[02-26-14]

The Network and Sharing Center opens…click on Manage network connections.

sshot-2010-06-06-[02-28-30]

Right-click on the network adapter you want to assign an IP address and click Properties.

sshot-2010-06-06-[02-48-53]

Highlight Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.

sshot-2010-06-06-[02-49-46]

Now change the IP, Subnet mask, Default Gateway, and DNS Server Addresses. When you’re finished click OK.

sshot-2010-06-06-[02-51-04]

You’ll need to close out of Local Area Connection Properties for the settings to go into effect.

sshot-2010-06-06-[02-51-16]

Open the Command Prompt and do an ipconfig to verify the changes were successful.

sshot-2010-06-06-[02-52-29] 

Windows XP

In this example we’re using XP SP3 Media Center Edition and changing the IP address of the Wireless adapter.

To set a Static IP in XP right-click on My Network Places and select Properties.

sshot-2010-06-05-[22-24-49]

Right-click on the adapter you want to set the IP for and select Properties.

sshot-2010-06-05-[22-27-03]

Highlight Internet Protocol (TCP/IP) and click the Properties button.

sshot-2010-06-05-[22-27-58]

Now change the IP, Subnet mask, Default Gateway, and DNS Server Addresses. When you’re finished click OK.

sshot-2010-06-05-[22-28-15]

You will need to close out of the Network Connection Properties screen before the changes go into effect.

 sshot-2010-06-05-[22-29-15]

Again you can verify the settings by doing an ipconfig in the command prompt. In case you’re not sure how to do this, click on Start then Run.

sshot-2010-06-05-[22-36-10] 

In the Run box type in cmd and click OK.

sshot-2010-06-05-[22-36-34]

Then at the prompt type in ipconfig and hit Enter. This will show the IP address for the network adapter you changed.

sshot-2010-06-05-[22-37-10] 

If you have a small office or home network, assigning each computer a specific IP address makes it a lot easier to manage and troubleshoot network connection problems.


Got an opinion to share? Click here to join the discussion

Similar Articles Productive Geek Tips
Latest Software Reviews Tinyhacker Random Tips


© How to geek or respective owner

Related posts about Learning Windows 7

Related posts about Network and Internet