How to assign a static IP address in Windows 7, 8, 10, XP or Vista

Sometimes, assign an IP address to a better computer so that the router automatically assigns the IP address. Read this article for static IP address assignments in Windows.

Static IP address with automatic IP addressing

Typically, IP addresses for PCs and other devices can be automatically assigned by the router using a protocol called Dynamic Host Configuration Protocol ( DHCP ). This is a handy way to connect the devices to the network because the user doesn't have to configure the IP address for the new device. The downside of automatic IP address assignment is that the device's IP address can change over time.

This is not a big deal, but in some cases users want the device to use an unchangingstatic IP address . For example, in the case:

  • When there are certain applications that can only connect to network devices using their IP addresses, especially when many older network applications are restricted.
  • When you want to forward ports through the router to other devices on the network. Some routers can forward port and dynamic IP addresses; But some routers cannot.

Assigning a static IP address to the device is not difficult, but users should choose to do this from the router or on the device.

Assign an IP address


Assign a static IP address to the outer r

Although this article deals with assigning static IP addresses to PCs in Windows, there is another way to do it. Many routers allow users to specify a set of IP addresses that are distributed to specific devices (based on the device's physical MAC address). The method has certain advantages:

  • IP addresses are still managed by the router, which means you won't have to change them on individual devices.
  • Easily assign addresses within the same set of IP addresses the router uses.

This article will guide you how to assign static IP addresses directly to Windows computers.

Set static IP address assignment in Windows 7, 8 or 10

To change the IP address of a computer in Windows, open the " Network Connections " window . Press Windows + R , type " ncpa.cpl " in the Run box , then press Enter .

Open Network Connections in Windows 7,8,10

In the " Network Connections " window , right-click on the adapter you want to set a static IP address and then choose the command " Properties ".

Select Properties in Windows 7, 8, 10

In the adapter's properties window, select " Internet Protocol Version 4 (TCP / IPv4)" and then click the " Properties " button .

Select Internet Protocol Version 4 (tCP / IPv4)

Select the option " Use the following IP address ", then type the IP address, subnet mask and default gateway corresponding to the network settings. Next, enter the DNS server address . Finally, select the option " Validate settings upon exit " to have Windows check the new IP address and corresponding information to make sure it is working properly, then click the " OK " button when done.

Set network options on Windows 7, 8, 10

And then close the network adapter's properties window.

Click OK to close the adapter properties window

Windows automatically runs network diagnostics to verify connectivity. If there is a problem, Windows will offer the option to run a network troubleshooting wizard. However, if you do get into trouble, this troubleshooting wizard doesn't really fix the error, you should check the installation and try again.

Assign a static IP address in Windows Vista

Changing IP from DHCP to a static address in Vista is similar to other versions of Windows, but the location will be slightly different. Open the Start Menu, right-click on Network, and choose Properties.

Select Properties in Windows Vista

On the Network and Sharing Center that opens, click Manage network connections.

Select Manage network connections

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

Select the Properties of the adapter you want to assign the IP address to

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

Select Internet Protocol Version 4 on Windows Vista

Now change the IP, Subnet mask, default gateway gateway, and DNS server address, when done click OK .

Set up network addresses on Windows Vista

You need to close the Local Area Connection Properties window for the settings to take effect.

Close the Local Area Connection Properties window

Open Command Prompt and use the ipconfig command to verify the changes were successful.

Use the command in the Command Prompt to verify the changes

Assign a static IP address in Windows XP

To assign a static IP address in Windows XP, right-click the " My Network Places " icon , then choose " Properties ".

Select Properties in My Network Places

Right click on the adapter you want to set up the IP and then choose " Properties " from the context menu.

Select the Properties of the adapter you want to set the IP address

Select the " Internet Protocol (TCP / IP) " item, then click the " Properties " button .

Select Internet Protocol TCP / IP

Select the option " Use the following IP address ". Enter the IP address, subnet mask, default gateway, and the address of the DNS server you want to use. When done, click the " OK " button .

Select Use the following IP address and set some other options

You will need to close the adapter's properties window before the change can take effect.

Close the Wireless Network Connection Properties window

User can verify new settings using ipconfig command in Command Prompt.

Verify network settings using the ipconfig command

In general, it's best to let the router automatically assign IP addresses to the devices. From time to time, you can set a static IP address for a particular device. While it is possible to set static IP addresses on devices, you should still set up static IP addresses on the router if possible.

Operate and exploit advertising by iCOMM Vietnam Media and Technology Joint Stock Company.
116 Thai Ha, Trung Liet Ward, Dong Da District, Hanoi.
Editor in chief: Tran Vo
Tel: (+84) 903076053/7 Fax: (+84) 903030935

Responsible agency: Union of Science and High-Tech Production and Telecommunications (HTI)y
Copyright © 2022 iCOMM Tech JSC