Blog

How to configure a static IP in Windows 10/8/7

There are many reasons why someone would want a static IP address. If you want to know how to configure a static IP, you are in the right place. If you want to have a file server or host a website, the static IP is of great help.

So what is static IP? How to configure it? We are going to answer all these questions in this article.

What is the static IP address?

An IP address is a unique string of numbers that is provided to all devices connected to a network. It basically 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 assigned manually to your device rather than being assigned automatically by DHCP.

Static IP settings reduce cost, maintenance, and are also good for online gaming, network printers, and device-specific forwarding ports. This is because since the IP address never changes, the other devices know how to easily communicate with your device.

How to configure a static IP?

We’ve done a lot of research to provide you with the best ways to set up a static IP in Windows 10. Even if you’re using some older versions of Windows, we’ve got you covered. I know this method seems long but it is very simple.

Method 1: using the control panel

This is the easiest method to configure a static IP. This will work on Windows 10, 8.1, 8, and 7. Just follow these easy steps.

  1. Press the Windows and R keys together to start the run dialog. Type cmd and press Enter to start the command prompt. Alternatively, you can also find and launch the command prompt from the Start menu.
  2. Once you have that open, type ipconfig / all .
  3. From the command prompt, make sure you 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. Call your local ISP to find out.
  4. Move the command prompt to any corner of the screen to refer to it during step 10.
  5. Go to the start menu, find 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 adapter settings.
  8. Right click on your internet connection and select properties.
  9. In properties, you can find Internet Protocol version 4 (TCP / IPv4) . Select that 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 relevant data. For the IP address, use the same IP address except the last 3 numbers. Change that to 200 as it is unlikely to be automatically assigned that way. For instance; if your dynamically assigned IPV4 address is 192.168.43.8 , you can enter 192.168.43.200 .
  12. The subnet mask must be filled out when clicking on its input box. You can confirm it in the command prompt window.
  13. Complete the default gateway without any changes.
  14. You can use DNS servers in command window. But you can also use open DNS servers. For this, type 208.67.222.222 in the box of the preferred DNS server and 208.67.220.220 .
  15. Check the validation settings before applying all the changes.
YOU CAN ALSO READ:   How to resize the taskbar in Windows 11

Here is a video showing the same process.

Method 2: use the command prompt

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

  1. Like the previous method, start the run dialog. Type cmd and press Enter to start the command prompt. Alternatively, you can also find and launch the command prompt from the Start menu.
  2. Once you have that open, type ipconfig / all .
  3. From the command prompt, make sure you 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. Call your local ISP to find out.
  4. Enter the command 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 the command instead of “Wireless LAN adapter wireless network connection”. Also enter your preferred 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. Scribe netsh interface ip set dns name = “Wireless LAN Adapter Wireless Network Connection” static 208.67.222.222 and press Enter. Again, make sure you have your preferred adapter name and DNS server.
  6. Enter the command netsh interface ip add dns name = “Wireless LAN adapter Wireless network connection” 208.67.220.220 index = 2 .
  7. Close the command prompt and make sure the Internet is working properly. Now you can use your static IP address according to your needs.
YOU CAN ALSO READ:   ONYX BOOX introduced the NOVA 3 Color reader: with a color display and stylus support

Method 3: use PowerShell

If you want to set a static IP with PowerShell, just follow these steps. But note that it will only work on Windows 10, 8.1, and 8. This will not work on Windows 7 or earlier, even if you have PowerShell 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, they can be found InterfaceIndex , IPv4Address , IPv4DefaultGateway and DNS Server . Take note of this.
  4. Scribe New-NetIPAddress -InterfaceIndex 4 -IPAddress 192.168.43.200 -PrefixLength 24 -DefaultGateway 192.168.43.31 . Be sure to replace the values ​​of InterfaceIndex , IPv4Address and IPv4DefaultGateway with their values.
  5. To configure the DNS server, simply enter Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses 208.67.222.222 . To set an alternate DNS, type the above 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 about it.
YOU CAN ALSO READ:   What is Google's Chrome OS: like Windows, just simpler?

Method 4: use settings in Windows 10

  1. Open settings and click network and internet.
  2. If you are using WiFi, open the WiFi settings. If you use Ethernet, open your settings.
  3. Select the connection you want and click edit under IP Mapping.
  4. Select Manual.
  5. Then enable IPV4.
  6. Set all values ​​as in all other methods. For the length of the subnet prefix, if your subnet mask is 255.255.255.0, set it to 24.
  7. Press Save and check if your internet works.

Final take

These are all the methods that can be used to establish a static IP. Note that if something goes wrong and you can no longer access your internet, just follow steps 5-9 from method 1 and choose Obtain IP address automatically. Now that you are out of the way, if you have any other questions or suggestions, please drop them in the comment section below.

Related posts

NVIDIA has released its Paint for RTX graphics cards: it turns doodles into masterpieces

Shubham

10 Windows keyboard shortcuts only power users know about

Shubham

Lincoln promises to abandon internal combustion engines and completely switch to electric vehicles by 2030

Shubham

Leave a Comment