How to set static IP Address in Windows 11 ( Three easy ways )

When you connect to a network, your device automatically gets an IP address from the DHCP server. However, you are also able to assign an IP address to your PC manually. So stay with me till the end of the session; I will show you how to set a static IP address in Windows 11.

IP, or in a full form Internet Protocol address, is a unique identification number separated by dots or periods and is used to let the devices communicate with each other on the network.

The dynamic IP address often changes from time to time. On the other hand, the static IP address does not change until you change it manually. If you have a remote connection or set your computer as a server, the static IP address works much better than the dynamic one.

In the following article, I will assign a static IPV4 address to my PC running Windows 11 using the Settings app, Control Panel, and Command Prompt.

Related: How to find MAC Address in Windows 11

First method: Set the static IP address on Windows 11 from the settings

The first easy way to configure your PC’s IP address is via the setting app. But first of all, you need to find out the current configuration of your networks, like the default gateway address and name of the adapter, because you will need those details later.

Open Command Prompt and write IpConfig and enter.

Write the command to see current network configuration
Note the current network configuration.

Now that you have taken note of your current network configuration follow the steps below to change your computer’s IP address.

  1. Open the Settings app from Start Menu or press Windows + I buttons.
  2. Click on the Network and Internet from the left-side.
    • Alternatively, right-click on the Network icon in the taskbar and click on the Network and Internet settings.
  3. In the Network and Internet page, click on the properties.
Set static IP address in Windows 11 from the Settings app
Set static IP Address using Settings
  1. Scroll down and click on the Edit button in front of the IP Assignment.
Click on Edit button to assign static IP address in Windows 11
Click on the Edit button.
  1. A small window pops up; change the Automatic (DHCP) to Manual. Now select which types of IP version you want to assign to your computer.
Set static IP address in Windows 11 using Setting app
Switch on the IPV4 button
  1. Here I turn on the IPV4 and set my static IP address (192.168.1.10), Subnet mask (255.255.255.0), default gateway (192.168.43.1), and preferred DNS (8.8.8.8).
Set static IP address for your computer
Set static IP Address

Note: The Default Gateway must be the same address you received from your ISP. The DNS address can be the address of any DNS server. People mostly use the DNS server of google, which is 8.8.8.8. Additionally, make sure to set an IP address out of DHCP scope.

  1. After you set the static IP address, default gateways, and DNS address, click on the Save button. You will be disconnected for a short period, and soon you will reconnect.

Second Method: Assign a static IP address from the Control Panel

The Control Panel is the second method to set a static IP address on your PC.

  1. Open the Control panel and click on the Network and Internet.
Set static IP address in Windows 11 from the Control Panel
Open Control Panel and click on Network and Internet
  1. Click on the Network and Sharing Center.
  2. In the Network and Sharing Center windows, click on the active network you want to change their IP address.
Click on the Name of your active network
Click on the name of your active network.
  1. In the Wi-Fi status window, click on the properties.
Click on the network properties
Click on Properties
  1. Select the Internet Protocol Version (TCP/IP4) and click on the properties.
Select IPv4 and click on the properties
Select IPv4 and click on Properties
  1. Select the radio button ‘Use the following IP address and enter the desired IP address, subnet mask, and gateway. Additionally, set static DNS address as well.
Assign an IP Address manually in Windows 11 from Control Panel
Assign an IP address manually
  1. After you have assigned all the addresses, click the OK button.

That is it! Using the Control Panel, you successfully assigned a static IP address to your computer.

Third method: How to set static IP address with Command Prompt

Another easy and quick way to configure your PC’s IP address is from the Command Prompt.

  1. Run the command prompt as administrator from the Start Menu or search box.
  2. If you do not know the default gateway and current network configurations, write the IPConfig /all command to see the current configuration and take note of them.
  3. Now write the following command and enter.

Netsh Interface IP set address name =" Network Name" static NewIPAddress Subnet Mask Default gateway

Set static IP address from Command Prompt
Write the command and enter.

Remember! Write the name of your network instead of the ‘Network Name.’ Your IP address must not be in the scope of the DHCP server. The default gateway address must also be the same as the ISP address.

  1. You assigned the static IP address successfully. Now let’s assign a static DNS address for the DNS server.

Netsh interface IP set DNS name =" Network Name" static DNS Address

Set static DNS address form Command Prompt
Set the DNS address

To conclude, the above paragraphs discussed the IP configuration in Windows 11 and 10. I hope you enjoyed it and can share your thoughts and questions in the comment section.

Related: How to backup and restore full system in Windows 11?