How to set a static IP address on Windows 11

Here are the steps to set a static IP address on Windows 11 with Command Prompt, PowerShell, Control Panel, and Settings.

Avatar for Mauro Huculak

UPDATED 7/21/2023: On Windows 11, a static IP address is a network configuration that never changes, making it the preferred option to share files , a printer on a local network , or configure port forwarding.

Usually, when a computer connects to the network, it receives a dynamic IP address assigned by the local Dynamic Host Configuration Protocol (DHCP) server. The only problem is that this configuration can change at any time, as soon as you restart the computer or after the settings expire, and this can cause services like port forwarding and remote desktop to stop working. A static network configuration always maintains the same settings, making it ideal for hosting services that other users can access through the network.

This guide will teach you how to set a static IP (version 4) address on Windows 11 . (See also this video tutorial with the steps to complete this task.)

Assign static IP address on Windows 11 from Command Prompt

Assign static ip address on windows 11 from powershell, assign static ip address on windows 11 from settings, assign static ip address on windows 11 from control panel.

To set a static IP address on Windows 11 with Command Prompt, use these steps:

Open Start on Windows 11.

Search for Command Prompt , right-click the top result, and select the Run as administrator option.

Type the following command to see your current networking configuration and press Enter :

Under the network adapter, note the name of the adapter as well as the following information in these fields:

  • Subnet mask
  • Default Gateway
  • DNS Servers

Windows 11 ipconfig all command

Type the following command to assign a static IP address on Windows 11 and press Enter :

In the above command, replace “Ethernet0” with the name of your network adapter. Change “10.1.4.119 255.255.255.0 10.1.4.1” with the device IP address, subnet mask, and default gateway address corresponding to the local area network.

Type the following command to set a DNS server address and press Enter :

In the command, make sure to change “Ethernet0” with your adapter’s name and “10.1.4.1” with the DNS server address of the network.

Type the following command to set an alternate DNS server address and press Enter :

In the command, change “Ethernet0” with the adapter’s name and “8.8.8.8” with an alternate DNS server address.

Windows 11 netsh command to set static IP address

After completing the steps, you can use the ping command (for example ping google.com ) to see if the configuration works correctly.

You can use PowerShell with the “NetTCPIP” module to manage networking settings, including changing the IP address settings to a static configuration.

To set a static IP address with PowerShell, use these steps:

Open Start .

Search for PowerShell , right-click the result, and select the Run as administrator option.

Type the following command to view your current network configuration and press Enter :

Get-NetIPConfiguration

Confirm the following network information: 

  • InterfaceIndex
  • IPv4Address
  • IPv4DefaultGateway

Type the following command to set a static IP address and press Enter :

PowerShell assign static IP address

In the command, replace the “InterfaceIndex” number (10) with the corresponding number of your adapter. Change “IPAddress” with the static IP address you want to assign to your device. Change “PrefixLength” (subnet mask) with the correct bit number if necessary. Typically, on a home network, the setting is “24.” Also, change the “DefaultGateway” option with the default gateway address of the network.

Type the following command to assign a DNS server address and press Enter :

PowerShell assign static DNS address

If you need to set a secondary DNS server address, use a comma to use the same command with another address. For example:

In the command, replace the “InterfaceIndex” number (10) with your network adapter’s corresponding number. Also, change “ServerAddresses” with the DNS IP address.

Once you complete the steps, the new network configuration will apply to the computer.

Regardless of your chosen method, always assign a TCP/IP address in the network range and outside of the DHCP server scope to allow proper connectivity and avoid configuration conflicts. The reason is that multiple computers sharing the same address will cause problems, preventing them from connecting to the internet.

On Windows 11, you can set a static IP address configuration from the Settings app for wireless and wired adapters.

Set static IP address on Wi-Fi adapter

To assign a static IP address configuration to a Wi-Fi adapter, use these steps:

Open Settings on Windows 11.

Click on Network & Internet .

Click the Wi-Fi tab.

Open Wi-Fi settings

Select the current network connection.

Open wireless properties

Under the “IP settings” section, click the Edit button.

Windows 11 edit IP address

Select the Manual option.

Static IP enable option

Turn on the IPv4 toggle switch.

Set a static IP address for Windows 11 – for example, 10.1.4.119 .

Settings app set static IP address

Specify a Subnet mask  – for example, 255.255.255.0 .

Specify a Default Gateway address.

Specify a Preferred DNS address (required).

(Optional) Specify an “Alternate DNS” address.

Use the “DNS over HTTPS” drop-down menu and select the Off option for the preferred and alternate addresses, but you can enable DoH with these options:

  • Off: Transmits all DNS traffic without encryption.
  • On (automatic template): Sends all DNS traffic with encryption.
  • On (manual template): Allows you to specify a specific template. It is only required if the DNS service doesn’t work automatically or has a template that works as expected.

Turn off the “Fallback to plaintext” toggle switch (if you enable DoH).

Click the Save button.

Once you complete the steps, the static network configuration will apply to the computer. You can test the new settings by opening the web browser and loading a website.

Set static IP address on Ethernet adapter

To assign a static IP address to an Ethernet (wired) adapter on Windows 11, use these steps:

Open Settings .

Click the Ethernet  tab.

Open Ethernet settings

After you complete the steps, you can test your settings using your web browser to open a website.

On Windows 11, you can still use Control Panel to change the IP settings for Ethernet or Wi-Fi adapters.

To assign a static IP configuration through the Control Panel, use these steps:

Open Control Panel .

Click on Network and Internet .

Click on  Network and Sharing Center .

Click the Change adapter settings option on the left navigation pane.

Open Change adapter settings

Right-click the network adapter and select the Properties option.

Select the “Internet Protocol Version 4 (TCP/IPv4)” option.

Click the Properties button.

Control Panel open TCP/IPv4 properties

Select the “Use the following IP address” option.

Assign the static IP address – for example, 10.1.4.119 .

Set static IPv4 address in Control Panel

Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .

Specify a Default gateway address – for example, 10.1.4.1 (Usually, your router’s address).

Under the “Use the following DNS server addresses set Preferred DNS server” section, set the “Preferred DNS server address,” which is usually your router’s IP address or server IP address providing DNS resolutions (for example, 10.1.4.1 ).

(Optional) Specify an “Alternative DNS server,” which the computer will use if it cannot reach the preferred DNS server.

Click the OK button.

Click the Close button again.

Once you complete the steps, you can open the web browser and load a website to see if the configuration works.

If you want to revert the changes, you can use these instructions to remove the static settings to configure a dynamic IP address on Windows 11.

Avatar for Mauro Huculak

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter) , YouTube , LinkedIn and About.me .

  • How to delete network folder with thumbs.db file on Windows 10
  • How to enable new energy and battery usage settings on Windows 11

We hate spam as much as you! Unsubscribe any time Powered by follow.it ( Privacy ), our Privacy .

IMAGES

  1. How to Change Your IP Address on Windows 10 (3 Methods)

    how to set ip address manually

  2. How to find and manually assign an IP address on Windows 10

    how to set ip address manually

  3. How To Change IP Address in Windows 10: A Visual Guide

    how to set ip address manually

  4. How to find and manually assign an IP address on Windows 10

    how to set ip address manually

  5. How to Manually Assign a Static IP Address in Windows 11 : 4 Methods

    how to set ip address manually

  6. PC TRICKS..TIPS..AND HACKS..: How To Change IP Address Manually In

    how to set ip address manually

VIDEO

  1. Understanding an IP Address

  2. How to manually configure IP address for a Windows server

  3. how to set IP address

  4. set ip address manually in windows @for more updates fallow my channel

  5. How to get the IP address of your computer

  6. How to set manually IP address in Windows OS چگونه در سیستم عامل وندوز آی پی آدرس تعیین کنیم؟

COMMENTS

  1. How to Assign a Static IP Address in Windows 10 or Windows 11

    To set a static IP address in Windows 10 or 11, open Settings -> Network & Internet and click Properties for your active network. Choose the "Edit" button next to IP assignment and change the type to Manual. Flip the IPv4 switch to "On", fill out your static IP details, and click Save.

  2. How to find and manually assign an IP address on Windows 10

    Step 1: Open the Control Panel Press " Windows + R ", then a Run box comes out. Input control panel and press Enter to open the control panel. You can also type control panel in the search bar at the lower left of the screen and press Enter to open the control panel. Step 2: Go to Network Connections

  3. How to set static IP address on Windows 10

    To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi, click the connection, click on "Edit," select "Manual," turn on "IPv4," and set the static IP address. Alternatively, you can configure a static IP address from Command Prompt, PowerShell, and Control Panel.

  4. How to change the IP address in Windows 10 and Windows 11 (4 ways)

    First, open the Settings app: a quick way to do that is to push the Settings button from the Start Menu or to press Windows + I on your keyboard simultaneously. In the Settings app, open the Network & Internet category. On the left sidebar, select your network type. If you're using a wireless card, click or tap on Wi-Fi.

  5. How to Change Your IP Address (Windows)

    Method 1 Public IP Download Article 1 Unplug your router and modem. Most service providers assign dynamic IPs, which change from time to time. By disconnecting your modem for a long period of time, you are likely to get a new address assigned to you when you turn it back on. You may want to check your current IP address before doing this.

  6. How to set a static IP address on Windows 11

    Open Start on Windows 11. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to see your current networking configuration and press Enter: ipconfig /all Under the network adapter, note the name of the adapter as well as the following information in these fields: IPv4

  7. How to Set Up a Static IP Address

    Step 1: Open the Command Prompt Your first step should be to track down your computer's current IP address, subnet mask, and default gateway. Do this by opening the Start menu and searching for...

  8. Change TCP/IP settings

    Do one of the following: For a Wi-Fi network, select Wi-Fi > Manage known networks. Choose the network for which you want to change the settings. For an Ethernet network, select Ethernet, then select the Ethernet network you're connected to. Next to IP assignment, select Edit.

  9. How to Set a Static IP Address for a Windows 10 PC

    Here's how to set a static IP address on your Windows 10 PC. Click the magnifying glass icon in the bottom-left corner of your screen. Then type IP Address into the search bar and click Open. You can also hit Enter on your keyboard if you see Ethernet settings. Then click Change adapter options.

  10. How to Change Your IP Address on Windows 10 (3 Methods)

    WinBuzzer Tips How to Change Your IP Address on Windows 10 (3 Methods) We show you how to change your IP address in Windows 10 using the Settings app, Control Panel, and Command...

  11. How to Assign Static IP Address to Your Devices

    From the Configure IPv4 menu, choose Using DHCP with manual address. Enter a static IP address in the IPv4 Address and leave the Subnet Mask and Router field as default. Click Ok to save the changes. Now when you do an ifconfig, the system should be using the static IP you have defined in the previous times.

  12. How to Change Your IP Address

    Go to the TCP/IP tab and select Manually. Enter info. iOS: Open Settings > Wi-Fi, tap the circled i next to the network, select Configure IP > Manual. Set up the new IP. This article explains how to change your IP address manually by switching from the router's assigned DHCP address to a static one on Windows, Mac, iOS, and Android.

  13. How To Change Your IP Address

    Select Ethernet or Wi-Fi. Select Manage and then click Edit next to IP assignment. Select Automatic (DHCP) or Manual under Edit network IP setting. Enable IPv4 and type in these three boxes: IP ...

  14. How to Manually Assign a Static IP Address in Windows 11 : 4 Methods

    Step 4: Copy and Paste the following command in the command prompt and hit the Enter key to view all the IP configurations on your system. Step 5: Next, Modify, Copy and then Paste the following command in the command prompt. Step 6: Press Enter key on your keyboard to execute the command to assign the static ip address.

  15. How to Set a Static IP on Windows 11 [Manually]

    You can either have a static IP address that can be manually configured or a dynamic IP address that is automatically assigned. A static IP is constant as it does not change anytime you log off and log back in. Having a static IP is advantageous in some ways which we shall address below.

  16. How to Change IP Address in Windows 10/11, Configuring Static IP

    If you would like to change IP address in Windows 10 or 11 PC and configure static IP address, then this video will help you to manually set IP address on Wi...

  17. DHCP and manual IP address configuration

    Either automatically, or via manual configuration. DHCP - automatic assignment of IP addresses In a home network, the router usually decides how the LAN should work. The router will forward traffic between the clients on the LAN and also between the LAN and the Internet.

  18. Manual Network Configuration in Linux and How to Set a Static IP Address

    auto eth1 enables automatic configuration for this interface during boot. iface eth1 inet static sets eth1 as an IPv4 interface with a static address. address, netmask, and gateway assign the respective addresses and network. dns-nameservers, while not strictly necessary, sets the DNS servers to use.

  19. How do I assign IPv6 addresses manually?

    Ask Question Asked 4 years, 5 months ago Modified 4 years, 5 months ago Viewed 22k times 3 So I'm still rather clueless with IPv6, but I wanted to try something with my network today. Currently, I assign IPv4 LAN addresses manually, so that my router is 192.168..1, then my first computer is 192.168..2, and so on.

  20. How To Change Your IP Address

    ISP's will still be able to see IP: Even with a new IP address, your Internet Service Provider will be able to see it, so you're never truly "private" when you're online. » Learn more ...

  21. How to Configure Static IP Address on Ubuntu 20.04

    Depending on the interface you want to modify, click either on the Network or Wi-Fi tab. To open the interface settings, click on the cog icon next to the interface name. In "IPV4" Method" tab, select "Manual" and enter your static IP address, Netmask and Gateway. Once done, click on the "Apply" button.

  22. How to manually assign an IP address on Windows 8

    Step 2. Right click on "Ethernet", go to "Properties", and then choose "Internet Protocol Version 4", click on Properties; Step 3. To set manual IP address, please select "Use the following IP address", and input the IP or DNS address manually; Note: If you need to set static DNS server, select "Use the following DNS server ...