How to Set a Static IP on Windows 10/8/7

How to Set a Static IP on Windows 10/8/7

There are a ton of reasons why someone would want a static IP address. If you want to know how to set a static IP address, you are in the right place. If you want to have a file server or host a static website IP address, it will be of great help to you.

So what is the static IP address? How to configure it? We will answer all of these questions in this article.

What is a static IP address?

An IP address is a unique string of numbers that is given to all devices connected to a network. Basically, it acts as your home address and allows other network devices to share information with your computer. A static IP address is an immutable IP address that is manually assigned to your device instead of being automatically assigned by DHCP.

Configuring static IP addresses reduces costs and maintenance. It is also suitable for online gaming, network printers, and port forwarding to a specific device. Indeed, as the IP address never changes, other devices know how to easily communicate with your device.

How to set a static IP address?

We have done a lot of research to give you the best ways to set a static IP address in Windows 10. Even if you are using older versions of Windows, we have what you need. I know this method seems long but it is very simple.

Method 1: Using Control Panel

This is the easiest way to configure a static IP address. It will work under Windows 10, 8.1, 8 and 7. Just follow these simple steps.

  1. Simultaneously press the Windows and R keys to launch the runtime dialog. Type cmd and press Enter to launch the command prompt. You can also search for and launch a command prompt from the Start menu.
  2. Once you have opened, type ipconfig / all.How to Set a Static IP on Windows 10/8/7
  3. On the command line, make sure you can find the IPV4 address, subnet mask, default gateway, and DNS servers. If the DNS server is the same as the default gateway, you must find the correct DNS IP address. Call your local ISP to find out.
  4. Move the command prompt to any corner of the screen for step 10.
  5. Go to the Start menu, locate the Control Panel and launch it.
  6. Under Network and Internet, you can find View Network status and tasks.
  7. On the left side of the resulting window, you can find the option to change the settings of the adapter.
  8. Right click on your Internet connection and select Properties.
  9. Under properties you can find Internet Protocol Version 4 (TCP / IPv4). Select this and open the properties. Make sure the contents of the command prompt are visible to you.
  10. Click on Use the following IP address.
  11. Fill in the boxes with the relevant data. For the IP address, use the same IP address except for the last 3 digits. Change this to 200 because it is unlikely that it will automatically be assigned that way. For example; if your dynamically assigned IPV4 address is 192.168.43.8, you can come in 192.168.43.200.
  12. The subnet mask must be filled when you click on its input box. You can confirm this in the command prompt window.
  13. Fill in the default gateway without any changes.
  14. You can use the DNS servers in the command window. But you can also use Open DNS servers. To do this, type 208.67.222.222 in the preferred DNS server box and 208.67.220.220.
  15. Check the validation settings before applying any changes.

Here is a video showing the same process.

Method 2: Using the Command Prompt

If you want to know how to set a static IP address from a command prompt, follow these steps.

  1. Just like the previous method, run the Run dialog. Type cmd and press Enter to launch the command prompt. You can also search for and launch a command prompt from the Start menu.
  2. Once you have opened, type ipconfig / all.
  3. On the command line, make sure you can find the IPV4 address, subnet mask, default gateway, and DNS servers. If the DNS server is the same as the default gateway, you must find the correct DNS IP address. Call your local ISP to find out.
  4. Enter the order netsh interface ip set address name = “Wireless LAN Adapter” Wireless Network Connection “static 192.168.43.200 255.255.255.0 192.168.43.31 . Make sure your network adapter is in control instead of “Wireless LAN Adapter Connection”. Also enter your IP address, subnet mask and default gateway address instead of “192.168.43.200 255.255.255.0 192.168.43.41“. Press Enter after typing the command.
  5. Type netsh ip interface set dns name = “Wireless Network Card – Wireless Network Connection” static 208.67.222.222 and press Enter. Again, make sure you have the name of your preferred adapter and DNS server.
  6. Enter the order interface netsh ip add name dns = “Wireless LAN adapter, wireless network connection” 208.67.220.220 index = 2.
  7. Close the command prompt and make sure your internet connection is working well. Now you can use your static IP address according to your needs.

Method 3: Using PowerShell

If you want to set a static IP address with PowerShell, follow these steps. Note, however, that this will only work on Windows 10, 8.1, and 8. This will not work on Windows 7 or earlier, even if PowerShell is installed.

  1. Look for PowerShell in the Start menu. Right click on it and open it as administrator.
  2. Type the command Get-NetIPConfiguration and press Enter.
  3. Under InterfaceAlias, you can find InterfaceIndex, IPv4Address, IPv4DefaultGateway and Dns server. Take note of these.
  4. type New-NetIPAddress -InterfaceIndex 4 -IPAddress 192.168.43.200 -PrefixLength 24 -DefaultGateway 192.168.43.31. Make sure to replace the values ​​of InterfaceIndex, IPv4Address and IPv4DefaultGateway with your values.
  5. To set the DNS server, simply enter Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses 208.67.222.222. To set an alternative DNS, type the previous command, separate it with a comma, and then type the alternate DNS. My example would look like Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses 208.67.222.222, 208.67.220.220.
  6. That’s all we can say about it.

Method 4: Using Settings in Windows 10

  1. Open the settings and click Network and Internet.
  2. If you are using WiFi, open the WiFi settings. If you are using Ethernet, open its settings.
  3. Select the desired connection and click Edit under IP Assignment.
  4. Select Manual.
  5. Then enable IPV4.
  6. Define all values ​​as in all other methods. For the subnet prefix length, if your subnet mask is 255.255.255.0, set it to 24.
  7. Tap Save and check if your internet is working.

Also check: How Many Pints In A Gallon?

Final catch

These are all methods that can be used to set a static IP address. Do not forget that if something goes wrong and you can not access the Internet anymore, follow steps 5 through 9 of Method 1 and choose Obtain IP address automatically. Now that this is fixed, if you have any doubts or suggestions, please delete them in the comment section below.

Leave a Reply