How to set a static IP on a Windows 11 PC

March 2023 · 7 minute read

A static IP address is an unchanging number assigned to a computer by an Internet service provider (ISP) and is used to identify with a specific address instead of one that is assigned temporarily.

Gamers, those who do website hosting and Voice over Internet Protocol (VoIP) services will find that a static IP works best for their activities.

There are many reasons why a static IP address is useful. For example, if you host your own web or email servers you need to have one so you can configure them.

However, this is not possible with a dynamic IP because they are only good for a limited amount of time before they change.

Usually, a specific dynamic IP address remains allocated to a user for as long as their modem stays connected. However, that could change when they disconnect and reconnect at another time.

Both static and dynamic IP addresses can be used in Internet connections. ISPs often assign static IP addresses to businesses because they are more reliable and predictable than dynamic IP addresses.

Static addresses can be used in other situations where reliability and predictability are essential, such as gaming or video conferencing.

BEST VPNS WE RECOMMEND

What’s the difference between a static and dynamic IP address?

If you are new to networking and have heard the terms static IP or dynamic IP address and wondered what the difference was between the two, here’s a quick overview.

In simple terms, a static IP address is one that doesn’t change. You set it manually, and it stays that way until you change it.

A dynamic IP address is one that changes from time to time and is issued by your Internet Service Provider (ISP).

A static IP address gives you more control over your connection since you can always find the same computer on your network by typing in the same address every time.

Setting up a static IP is especially helpful if you need to access your computer remotely or if you run a server. If you have a dynamic IP address, then you can’t access your computer remotely because you don’t know what that address will be.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

Some pros of using a static IP address include:

Cons of using a static IP address:

Setting up a static IP address is simple and can be done in different ways. Follow the guide below to set up.

How can I set up a static IP address in Windows 11?

1. Use Command Prompt

  • Hit the Windows key, type cmd in the search bar, and click Run as administrator.
  • Type in the following command and take note of the details: ipconfig /all
  • Next, type in the following command: netsh interface ip set address name="Ethernet0" static 10.1.2.220 255.255.255.0 10.1.2.1
  • Type in the following command to assign an alternate DNS address: netsh interface ip add dns name="Ethernet0" 8.8.8.8 index=2
  • 2. Use Settings

  • Press the Windows + I keys combination to open Settings.
  • Navigate to Network & internet and click Open.
  • Click on Wi-Fi and find your current connection.clicking wifi settings win11
  • Click on Edit IP settings and select Manual settings.
  • Toggle on the IPV4 button.enabling ipv4 dns win11
  • Set a static IP address from the details in solution 1 and click the Save button.
  • Read more about this topic

    3. Use Control Panel 

  • Hit the Windows key, type Control Panel in the search bar and click Open.
  • Navigate to Network & Internet.
  • Select Network and Sharing Center.
  • On the left pane, select Change adapter settings.
  • Right-click your network connection and click the Properties option.
  • Select the Internet Protocol Version 4 (TCP/IPv4) option and select Properties.
  • Select Use the following IP address option, enter the details in 1 above and under Use the following DNS server addresses set Preferred DNS server and press the OK button.
  • 4. Use Powershell

  • Press the Windows key, type Powershell in the search bar and click Run as administrator.
  • Type the following command and press Enter and take note of the details: Get-NetIPConfiguration
  • Next, enter the following commands: New-NetIPAddress -InterfaceIndex 4 -IPAddress 10.1.2.220 -PrefixLength 24 -DefaultGateway 10.1.2.1   Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses 10.1.2.1
  • Does a static IP increase internet speed?

    The stability of a static IP address is one of the most significant advantages it has over a dynamic IP address. Using it, however, does not increase speed because it does not make any difference to your internet connection speed.

    It is the bandwidth that decides how fast you can download from the internet.

    The static IP address will however ensure that your website is always available to users on the internet. Another advantage is that other computers will always be able to find it on a local network for file-sharing or remote desktop connections without having to check what the address is every time.

    Is a static IP good for gaming?

    Static IP addresses have a number of advantages over dynamic IP addresses. With a static IP address, it will remain unchanged every time you log on to the Internet.

    This means that computers and servers can easily find your system, which is especially helpful if you host websites or manage your own email server.

    However, because a static address is always constant, your system becomes vulnerable to increased security risks as hackers can target them more easily.

    If your system has been compromised before and a hacker knows your device’s previous IP address, they will be able to find it again if you do not take the proper precautions.

    When it comes to online gaming, speed and reliability are key advantages so you may want to consider using a static IP address, but don’t forget to invest in a VPN to mask your identity.

    In addition, if you would like a VPN that goes the extra mile, Private Internet Access should be on top of your list. It suits the needs of most users, from the not-so-tech-savvy to those who prefer to tweak the most detailed network settings.

    It not only protects you from dangerous online threats but also protects your privacy and enables you to access any blocked websites and content.

    You can also set up a secondary IP address if you want to bypass firewalls, hosting multiple SSL certificates, or simply avoid a network outage when migrating from one subnet to the other.

    Also, if you are still using Windows 10, follow our guide to set up your static IP address.

    If you had problems setting up your static IP we hope this guide was able to help you and your activity on the Internet is now more seamless.

    We’d love to hear about your experience while setting up so feel free to share your thoughts in the comment section below.

    Your connection is not secure - websites you visit can find out your details:

    Companies can sell this information, alongside your location and internet provider name, and profit from it by serving targeted ads or monitoring your data usage.

    We recommend Private Internet Access, a VPN with a no-log policy, open source code, ad blocking and much more; now 79% off.

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGifqK9dqbxuv8StZKyskam2pHnIqWSwoZ6ZvLi%2FjGpoaA%3D%3D