How to set up a Static IP Address in Windows 10

Windows 10 IP Address settings
Windows 10 IP Address settings

Learn how to set up a Static IP Address in Windows 10. If you’re planning on forwarding ports, your computer will need a Static IP Address to work every time you reboot the computer.


Basically, IP Address is a four sets of numbers that are separated by periods that allow computers to identify each other. Every computer on any network has at least one IP Address.

Important! Two computers on the same network should never have the same IP Address.

See also how to block IP address using Windows Defender Firewall in Windows 10.



First you need to copy the necessary information from your computer. All the information will be viewed in Command Prompt.

  1. Open Command Prompt by pressing Windows key, type cmd and press Enter.
  2. Type ipconfig /all and press Enter.
  3. From the information listed, write down the following on a separate note:
    • IPv4 Address
    • Subnet Mask
    • Default Gateway
    • DNS Servers
  4. Type Exit and press Enter to close Command Prompt window.

Keep these information, you’ll need them in the following steps.

Set up a Static IP Address in Windows 10

Here’s the step by step to set up a Static IP address in Windows 10. You’ll start by opening the Control Panel window.

  1. Click Start.
  2. Select Settings.
  3. Select Network & Internet.
  4. Select Status.
  5. Select Network and Sharing Center.
  6. Select Change adapter settings.
  7. Select the active network.
  8. Select View status of this connection.
  9. Select Properties.
  10. Select Internet Protocol Version 4 (TCP/IPv4).
  11. Select Properties.
  12. Click to check Use the following IP address.
  13. Enter the new IP address. It should be similar to your router’s IP address but the end number must be different.
    • Example: If your router IP address is, you can enter The new IP address should end between the number 1 to 254 and must be different from the router’s IP address and other devices.
    • Important! every device must have a different IP address. Otherwise, neither device will be able to connect to the internet because of IP address conflict.
  14. Continue to enter the Subnet Mask and the Default Gateway (you copied from Command Prompt).
  15. It will automatically check the Use the following DNS server addresses.
  16. Continue to enter the DNS servers (you copied from Command Prompt).
  17. Click OK to save the changes.

Done, your Windows 10 computer should use a Static IP Address and can be configured for port forwarding.

Once you complete the setup, your computer is ready for port forwarding — if you plan to, or any activity required static IP address.

If you encounter any issue, let me know in the comment below.

Recommended for you

Let me know your thought

Notify of
1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments
Barzrul Tech uses cookies to ensure you get the best experience while browsing the site.Read more >>