- Devices on a network are identified by their IP and MAC addresses. The IP address can be static or dynamic.
- Static address assignment remains unchanged when your machine reboots, but the router assigns dynamic addresses each time it reconnects to the network.
- Feel free to explore our Windows 10 hub for easier-to-follow guides.
- Our IP address website contains detailed information on this subject.
To fix various PC issues, we recommend DriverFix:
This software keeps your drivers working and protects you from common computer errors and hardware failures. Check all your drivers now in 3 easy steps:
- Download DriverFix (verified download file).
- Click Start Scan to find all problem drivers.
- Click Update Driver Software to get new versions to avoid system crashes.
DriverFix was downloaded by 537,329 readers this month.
Your Windows 10 PC or server is configured to use dynamic IP addresses by default. But when you add the computer to a network, you may need to configure the Windows 10 static IP address.
When you use DHCP or dynamic routing, your router assigns an IP address to your machine every time you reboot it.
You need a static IP address on your Windows 10 computer because your router can assign an IP address to multiple devices and they have no connectivity due to the conflict.
However, that’s just one of the reasons. If for any reason you want to set a static IP address, here’s how to do it in Windows 10.
Users sometimes face challenges after setting up static IP addresses, the most common of which is the system refusing to connect to a static IP address.
To resolve this issue:
- Confirm that no other device on your network is assigned the same static IP address.
- Disconnect all cables from your router and reboot the router.
- Rename your network and router, add your computer and reboot.
- Change the IP address in the subnet mask with the allowed number of connected devices.
- Add a second computer to the network.
- Verify that the default gateway and subnet mask are correct.
How can I set up my static IP address in Windows 10?
1. Set it manually
- Right click on the network icon on your taskbar.
- Select the Open Network and Internet Settings option.
- Click Change adapter options in the Change your network settings area.
4. Right click on your network connection and select Properties.
5. Go to Internet Protocol version 4 (TCP/IPv4) and click on it.
6. Select Properties below the list.
7. Click the Use the following IP address option.
8. Enter your static IP address.
9. Enter the subnet mask and default gateway.
10. Optionally, choose to use the following DNS server addresses and enter your DNS server addresses.
11. Press the OK button to save the settings.
2. Use the Command Prompt
- Press the Windows key and search for cmd.
- Right click on Command Prompt and choose Run as administrator.
- In the Command Prompt window, type the following command and press ENTER:
- Write down the IPv4 address, subnet mask, default gateway, and DNS server addresses.
- Type the following command and press ENTER:
Netsh interface IP set address name = “Ethernet0” static 10.2.2.212 255.255.255.0 10.1.2
Note: Replace Ethernet0 with the name of your network adapter and change 10.2.2.212 255.255.255.0 10.1.2 to the correct IP address.
6. Run the following command to assign a DNS server address:
Netsh interface ip set dns name = “Ethernet0” static 10.1.2.1
Note: Replace Ethernet0 with the name of your adapter and 10.1.2.1 with the address of your network’s DNS server.
7. Run the following command to assign an alternate DNS server address:
netsh interface ip add dns name = “Ethernet0” 18.104.22.168 index = 2
Note: Change Ethernet0 for your network name and 22.214.171.124 for the alternate DNS server address.
3. Use the Windows 10 Settings
- Press the combination Windows key + I.
- Select the Network & Internet tile.
- Click Change connection properties.
4. Scroll down to IP Settings and click Edit.
5. Choose Manual from the drop-down menu.
6. Activate the IPv4 switch.
7. Enter your IP address, the length of the subnet prefix, the default gateway address, and DNS addresses.
8. Click the Save button.
These are the three easiest ways to assign or configure a static IP address on your Windows PC, so be sure to follow them exactly to avoid unwanted issues.