How-To Geek

How to assign a static ip address in windows 10 or windows 11.

When organizing your home network it's easier to assign each computer it's own IP address than using DHCP. Here we will take a look at doing it in XP,

Quick Links

What is a static ip address, assign static ip addresses via your router, how to set a static ip address in windows 11, how to set a static ip address in windows 10, how to set a static ip address in windows 7 or 8 using "network connections", set a static ip address in windows vista, set a static ip address in windows xp, key takeaways.

  • 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.

Sometimes, it's better to assign a PC its own IP address rather than letting your router assign one automatically. Join us as we take a look at assigning a static IP address in Windows.

A static IP address is manually set to a permanent, fixed address rather than being assigned automatically by your router using a procotol known as Dynamic Host Configuration Protocol (DHCP). DHCP is a handy way for devices to connect to your network more easily, because you don't have to configure IP addressing for each new device yourself. The downside to automatic addressing is that it's possible for a device's IP address to change from time to time, which is why people choose static IPs for certain types of devices. For example:

  • You have a device like a home media server that you want to be able to find using the same IP address or host name each time.
  • You have certain apps that can only connect to network devices using their IP address. In particular, many older networking apps suffer this limitation.
  • You forward ports through your router to devices on your network. Some routers play nice with port forwarding and dynamic IP addresses; others do not.

Whatever your reason, assigning static IP addresses to devices is not difficult, but you do have a choice to make---whether to do it from the router or on the device itself.

Related: How to Set a Static IP Address in Ubuntu

While this article covers assigning static IP addresses to PCs within Windows itself, there is another way to go about it. Many routers allow you to assign a pool of IP addresses that are handed out to specific devices (based on the device's physical, or MAC address). This method offers a couple of significant advantages:

  • IP addresses are still managed by the router, meaning that you won't have to make (and keep up with) changes on each individual device.
  • It's easier to assign addresses within the same IP address pool your router uses.

This article is about assigning static IP addresses directly to PCs running Windows. We've already got a great guide on How to Set Static IP Addresses On Your Router , so if that's the way you want to go, be sure to give it a read.

With all that in mind, though, let's take a look at how to assign static IP addresses within any version of Windows.

Related: How to Find Your Router's IP Address on Any Computer, Smartphone, or Tablet

To set a static IP address in Windows 11, you'll want to open Settings, go to Network & Internet, and then find the Properties for your network. Inside there you'll be able to click the Edit button for IP Assignment and then fill out the manual network details.

First, open up the Settings app and then find Network & Internet on the left-hand side. You'll be presented with a panel that shows your current network connection. You can click where it says "Properties" right underneath the network, or if you have multiple network connections you can drill down into the specific network to see the IP address details for each one . In this case it's called "Ethernet", but you will most likely see "Wi-Fi" as the option to choose.

Network & Internet Settings Windows 11

Once you've drilled down into the network connection that you want to set a manual IP for, scroll down until you see "IP Assignment" and then click the Edit button to the right.

Windows 11 Ethernet settings

Once there, you'll flip the drop-down to "Manual" and switch the IPv4 switch to "On". At this point you can fill out your network details and click Save to finish.

Windows 11 manual ip settings

You can also use the old-school Network Connections panel in Windows 11, so if you prefer to use that method, keep reading.

If you're interested in more advanced networking, you might need to set up a static TCP/IP route , reset the entire TCP/IP stack on Windows , check open TCP/IP ports , find your MAC address on Windows , or find your IP address from the Command Prompt . We've got you covered there too.

To set a static IP address in Windows 10, you'll need to open the Settings app and drill down to Network & Internet. From there you'll select Properties for your network, and then the Edit button next to IP Assignment where you can input a manual IP address.

First, open the Settings app and locate the Network & Internet button.

Windows 10 settings app

On the next screen you'll see your network status, which should show you your active network. Here you'll want to click the Properties button. If you have multiple different networks, you could select them from the left-hand menu---in our case you'll notice we have both Wi-Fi and Ethernet networks, so you'll want to pick the one that you are trying to set a manual IP address for. You'll notice this is the same method we use when we're trying to find an IP address on Windows 10 .

Windows 10 network & internet settings

On the network properties screen, scroll down until you see "IP settings" and click the Edit button under "IP assignment".

windows 10 network settings

In the resulting popup window, change the Edit IP settings dropdown to Manual and then flip the IPv4 switch to "On". Fill out the details, click Save, and you should be good to go.

Windows 10 manual ip settings

You might need to reboot to get all of your applications to work properly, just because it's Windows.

It's worth noting that you can use the old Network Connections method to set an IP address in any version of Windows, so if you prefer that method, keep reading.

To change the computer's IP address in Windows 7, you'll need to open the "Network Connections" window. Hit Windows+R, type "ncpa.cpl" into the Run box, and then hit Enter.

how to set a static ip windows

In the "Network Connections" window, right-click the adapter for which you want to set a static IP address, and then select the "Properties" command.

how to set a static ip windows

In the properties window for the adapter, select "Internet Protocol Version 4 (TCP/IPv4)" and then click the "Properties" button.

how to set a static ip windows

Select the "Use the following IP address" option, and then type in the IP address, subnet mask, and default gateway that corresponds with your network setup. Next, type in your preferred and alternate DNS server addresses. Finally, select the "Validate settings upon exit" option so that Windows immediately checks your new IP address and corresponding information to ensure that it works. When you're ready, click the "OK" button.

how to set a static ip windows

And then close out of the network adapter's properties window.

how to set a static ip windows

Windows automatically runs network diagnostics to verify that the connection is good. If there are problems, Windows will give you the option of running the Network troubleshooting wizard. However, if you do run into trouble, the wizard likely won't do you too much good. It's better to check that your settings are valid and try again.

Changing your IP from DHCP to a Static address in Vista is similar to other versions of Windows, but getting to the correct location is a bit different. Open the Start Menu, right-click on Network, and select Properties.

how to set a static ip windows

The Network and Sharing Center opens...click on Manage network connections.

how to set a static ip windows

Right-click on the network adapter you want to assign an IP address and click Properties.

how to set a static ip windows

Highlight Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.

sshot-2010-06-06-[02-49-46]

Now change the IP, Subnet mask, Default Gateway, and DNS Server Addresses. When you're finished click OK.

sshot-2010-06-06-[02-51-04]

You'll need to close out of Local Area Connection Properties for the settings to go into effect.

sshot-2010-06-06-[02-51-16]

Open the Command Prompt and use the

command to verify that the changes were successful.

sshot-2010-06-06-[02-52-29]

To set a Static IP in Windows XP, right-click the "My Network Places" icon, and then select "Properties."

how to set a static ip windows

Right-click the adapter for which you want to set the IP, and then select "Properties" from the context menu.

how to set a static ip windows

Select the "Internet Protocol (TCP/IP)" entry, and then click the "Properties" button.

sshot-2010-06-05-[22-27-58]

Select the "Use the following IP address" option. Type in the IP address, subnet mask, default gateway, and DNS server addresses you want to use. When you're finished, click the "OK" button.

sshot-2010-06-05-[22-28-15]

You will need to close out of the adapter's properties window before the changes go into effect.

sshot-2010-06-05-[22-29-15]

And you can verify your new settings by using the

 command at the command prompt.

sshot-2010-06-05-[22-37-10]

By and large, it's better to let most of your devices have their IP addresses assigned automatically by your router. Occasionally, though, you might want to set a static IP address for a particular device. While you can set static IP addresses directly on your devices (and this article has shown you how to do just that on Windows PCs), we still recommending setting up static IP addressing on your router if possible. It will just make life easier.

Related: How to Find Any Device's IP Address, MAC Address, and Other Network Connection Details

How to configure a static IP on Windows 10 or 11

Do you need to switch from a dynamic to a static IP address configuration on Windows 11 or 10? Here's how.

Windows 11 static IP

  • Windows 11 static IP
  • Windows 10 static IP

On Windows, the router's Dynamic Host Configuration Protocol (DHCP) server is (usually) responsible for assigning a dynamic Transmission Control Protocol/Internet Protocol (TCP/IP) configuration to every device in the network, including to your computer running Windows 11 or Windows 10.

Although a dynamic IP address is the recommended configuration for most situations, you may need to change to a static IP address if you're thinking about setting up a printer or file sharing, or you have to configure port forwarding on the router to your computer.

The reason is that a dynamic network configuration can change at any time after the lease from the DHCP expires and if the address changes, network resources you may have configured will stop working. Setting a static IP address will always stay the same on the computer, allowing a more reliable experience sharing resources in the network or forwarding ports.

Whatever the reason, on Windows 10 and 11, you have many ways to configure a static TCP/IP address, including using the Settings app and Command Prompt.

This guide will walk you through the different ways to configure a static network configuration on Windows 11 and 10.

How to set a static TCP/IP network configuration on Windows 11

On Windows 11, you can change your computer's dynamic IP configuration to static in at least two ways through the Settings app or commands.

Configure IP from Settings app

To assign a permanent TCP/IP configuration on Windows 11, use these steps:

  • Open  Settings .
  • Click on  Network & internet .
  • (Optional) Click on Advanced network settings .
  • Under the "More settings" section, click on Hardware and connection properties.
  • Note the current IPv4 ,  Subnet mask ,  Default Gateway , and  DNS server addresses to determine the new configuration, as it has to be in the same network scope.
  • Click the  Ethernet  or  Wi-Fi  page on the right side from the "Network & internet." page.
  • Quick note:  If you select the Wi-Fi page, you need to click on the connection properties to access the network settings.
  • Click on the  Edit  button for the "IP assignment" setting.
  • Select the  Manual  option from the drop-down menu.
  • Turn on the  IPv4  toggle switch.
  • Confirm the IP address for the computer – for example, 10.1.4.90.
  • Confirm the subnet mask for the configuration – for example, 255.255.255.0.
  • Confirm the default gateway address (usually your router's IP) – for example, 10.1.4.1.
  • Confirm the preferred DNS address – for example, 10.1.4.1.
  •   Quick note:  In a home network, you may also be able to use the router's IP address for the DNS configuration. You can also use third-party DNS services like Google Public DNS, Cloudflare, Cisco's OpenDNS, and others. 
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled unless you want to encrypted as well as unencrypted traffic or you're troubleshooting connectivity.
  • Quick note:  DNS over HTTPS (DoH) is a feature that encrypts the DNS queries over the HTTPS protocol to improve security and privacy on the internet. You only want to enable this feature if the DNS server supports this feature.
  • Confirm the alternate DNS address (if applicable).
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled.
  • Click the  Save  button.

Once you complete the steps, the computer will start using the static network configuration. If everything has been configured correctly, you should be able to open the web browser to access the internet.

If you entered an address (such as the DNS address) and then changed it, you probably won't be able to save the settings. If this is the case, cancel the configuration, start over, enter the correct configuration, and then try to save the settings.

Configure IP from Command Prompt

To set a static TCP/IP configuration on Windows 11, use these steps:

  • Open  Start .
  • 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
  • Confirm the name of the adapter and the networking configuration, including the IPv4 , Subnet mask , Default Gateway , and DNS Servers .
  • Type the following command to configure a static TCP/IP address and press  Enter :  netsh interface ip set address name= "ADAPTER-NAME" static IP-ADDRESS SUBNET-ADDRESS DEFAULT-GATEWAY-ADDRESS

In the above command, replace  ADAPTER-NAME  with the name of your network adapter. Change  IP-ADDRESS SUBNET-ADDRESS    DEFAULT-GATEWAY-ADDRESS  with the device IP address, subnet mask, and default gateway addresses you want. For example, this command sets the 10.1.4.90, 255.255.255.0, 10.1.4.1 configuration:  netsh interface ip set address name="Ethernet 10Gb" static 10.1.4.90 255.255.255.0 10.1.4.1

  • Type the following command to set a DNS server address and press  Enter :  netsh interface ip set dns name="ADAPTER-NAME" static DNS-ADDRESS  

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name="Ethernet 10Gb" static 10.1.4.1

  • Type the following command to set an alternate DNS server address and press  Enter :  netsh interface ip add dns name="ADAPTER-NAME" DNS-ADDRESS index=2

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet 10Gb" 1.1.1.1 index=2

After you complete the steps, the commands will set a static network configuration on Windows 11.

How to set a static TCP/IP network configuration on Windows 10

On Windows 10, you can also use the Settings app and Command Prompt to set up a static IP network configuration.

To assign a permanent TCP/IP configuration on Windows 10, use these steps:

  • Click on  Ethernet  or  Wi-Fi .
  • Click on the active connection on the right side.
  • Click the  Edit  button for the "IP assignment" setting.
  • Select the  Manual  option.
  • Confirm the subnet prefix length (subnet mask) for the configuration – for example, 24 to specify the 255.255.255.0 subnet mask.
  • Quick tip:  It's important to use the number that represents the network instead of the subnet mask. Otherwise, the configuration won't save. If you don't know the subnet prefix length for your subnet mask, you can use any  online subnet calculator  to find out.

Once you complete the steps, Windows 10 will start using the static IP configuration. If you lose network connectivity, restart the computer to regain access to the local network and internet.

To change from dynamic to static IP address with commands on Windows 10, use these steps:

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name=" Ethernet 10Gb" static 10.1.4.1

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet0" 1.1.1.1 index=2

After you complete the steps, the network configuration will switch from dynamic to static on Windows 10.

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

  • 2 Early MSI Claw benchmarks don't look great versus the seemingly superior ROG Ally — Will Intel's Core Ultra CPU be a mistake for portable PC gaming handhelds?
  • 3 One of the largest Esports organizations is suing Activision for monopolistic practices with the Call of Duty League
  • 4 Alan Wake 2 is Remedy's fastest-selling game of all time
  • 5 One of my favorite PowerToys utilities is getting native support on Windows 11

how to set a static ip windows

How to Set a Static IP Address on Windows

Meenatchi Nagasubramanian

A dynamic IP address is the recommended configuration for most Windows PC users. However, a static IP address is required when a computer provides a service for other PCs. This tutorial walks you through how to quickly set a static IP address on your computer.

Good to know : check out how to find the IP address of a network printer .

Why Do You Need a Static IP Address

1. set static ip address using settings, 2. using command prompt, 3. using powershell.

A static IP address could be useful in various cases, including:

  • Hosting : if you’re hosting a website, having a dynamic IP address can be a hassle. It’s best to have a static IP address to avoid the need to manually change the router settings every time the computer gets a new IP address.
  • File server : is your computer configured as an FTP or a web server? It is highly recommended to use a static IP address, as your device can be easily accessed by others to download files.
  • Remote access : if you plan on accessing your Windows PC remotely, having a static IP address can provide faster and more reliable access. In contrast, dynamic IP addresses are constantly changing and can create difficulties connecting with remote devices.

You don’t need to be a pro user to set a static IP address, as you can do that easily with the Settings app on your Windows computer.

  • Click the Start menu, and launch the Settings app.

Opening Settings app from Star menu.

  • Click “Network & Internet” in the left pane. Click “Properties” next to your Wi-Fi network on the right.

Clicking

  • Scroll down and click the “Edit” button next to “IP assignment.”

Clicking

  • Click the drop-down box in the “Edit network IP settings” dialog, and select “Manual.”

Clicking drop-down box to select

  • Select the IPv4 or IPv6 format to set the static IP address. In this example, we are selecting IPv4.

Selecting the option IPv4 in

  • Fill in all the required details, such as IP address, Subnet mask, and Gateway, and click “Save.”

Fill all the required values of IPv4 and click Save

  • When entering the IP address, make sure it is a private IP address that can be used on home and other private networks. According to the Internet Assigned Numbers Authority (IANA) , the addresses reserved for private networks are as follows:
  • Class A : 10.0.0.0 to 10.255.255.255
  • Class B : 172.16.0.0 to 172.31.255.255
  • Class C : 192.168.0.0 to 192.168.255.255
  • For any private network that needs to use IP addresses internally, it is permissible to use any address within the specified ranges. These addresses are unique only within the given private network.
  • Typically, networks with a significant number of total hosts utilize Class A addresses, while medium- to large-sized networks opt for Class B, and small local area networks use Class C.
  • To fill the Subnet Mask and Gateway fields, make sure you are using the same values that are currently assigned to your router. To find those values, launch the Command Prompt, type the following command, and press Enter . Also, note the “DNS Servers” address, as you’ll need it later.

enter ipconfig /all to get the details of network configuration

Tip : learn how to manage and control wireless networks via the Command Prompt .

You can also configure the static IP address from the Command Prompt if you prefer the command line.

  • Right-click on the Start menu, and click “Run” from the list of options.

Selecting

  • Type cmd.exe in the box, then press Ctrl + Shift + Enter to launch the Command terminal in admin mode.

Typing

  • To set a static IP address, use the following command and press Enter . Make sure you replace “X” with the name of your network adapter, as well as [IP address], [Subnet Mask], and [Default Gateway], each with your specific address. The values correspond to Subnet Mask and Default Gateway that you identified using ipconfig in the previous section.

Enter the netsh command to set static ip address

Note : to find the name of the network adapter, navigate to “Control Panel -> Network and Internet -> Network and Sharing Center,” and jot down the name next to “Connections.”

  • To set the DNS server address, use the following command and press Enter . Replace “X” with the name of your network adapter and [DNS server address] with the DNS server address of the network you found earlier using ipconfig .

Setting a DNS server address via Command Prompt.

  • You will not see a success message but can run the ipconfig command again to check the new configuration.

Typing ipconfig on Command Prompt to view the modified network configuration.

Tip : need the IP address of your router ? Learn how to find it.

Alternatively, use the PowerShell tool to set a static IP address for your Windows PC.

  • Press Win + X on your keyboard, and click Terminal (Admin) in the menu to launch PowerShell.

Pressing Win + X and select

  • To view the details of your current network configuration, type the following command and press Enter . From the results displayed, jot down the values for the following fields: InterfaceIndex, IPv4Address, IPv4DefaultGateway, and DNSServer.

Entering command on PowerShell to get network configuration.

  • Type the following command to set a static IP address and press Enter . Before executing the command, don’t forget to add the values for InterfaceIndex, IPAddress, and DefaultGateway. As for the PrefixLength, in most cases, it should be set to “24.” The parameter defines the local subnet size or subnet mask. For example, for a subnet mask such as “255.255.255.0,” the prefix length is 24 bits, while a subnet mask of “255.255.0.0” has a prefix length of 16 bits.

Enter command to set Static IP Address using PowerShell.

  • To set the DNS server address, use the following command and press Enter . Make sure to add the values for InterfaceIndex and ServerAddresses (DNSServer).

Enter command to set Dns Address using Powershell

Tip : unable to launch PowerShell? Try these fixes.

Static IP Is Sometimes Handy

Businesses have more use for static addresses than home networks. It’s completely safe to use a static IP address, as errors like “ Your IP has been temporarily blocked ” happen mostly with dynamic IP addresses. Plus, it is not complicated to set a static IP address if you follow the instructions outlined in this tutorial. Check out our post to troubleshoot Wi-Fi-related issues if you experience any problems with your Internet connection.

Image credit: Unsplash . All screenshots by Meenatchi Nagasubramanian .

Our latest tutorials delivered straight to your inbox

Meenatchi Nagasubramanian

Meenatchi is always passionate about learning new technological advancements and would love to try out new gadgets, software, and apps. After quitting her career as an Embedded Software Developer in 2009, she took up a career in content writing.

Wsl Neofetch

Thank you for taking the time to respond. The NETGEAR documentation team uses your feedback to improve our knowledge base content.

Rating Submitted

Do you have a suggestion for improving this article?

Characters Left : 500

NETGEAR logo

MyNETGEAR® Account

Welcome back

Access your NETGEAR

how to set a static ip windows

NETGEAR Support

How do I set a static IP address in Windows?

Was this article helpful?    Yes      No | 5 people found this helpful in last 30 days

Most users do not need to set a static IP address. However, advanced users and businesses might benefit from a static IP address.

A static IP address is useful for hosting servers or websites and for sharing large files. For more information about static and dynamic IP addresses, see What is an IP address?

To set a static IP address in Windows 7, 8, and 10:

  • Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet > Network and Sharing Center.
  • Click Change adapter settings .
  • Right-click on Wi-Fi or Local Area Connection.
  • Click Properties .
  • Select Internet Protocol Version 4 (TCP/IPv4) .
  • Click Properties . 
  • Select Use the following IP address .
  • Enter the IP address , Subnet mask , Default gateway , and DNS server .
  • Click OK . Your computer displays a static IP address.  

To set a static IP address on a Macintosh OS X computer, see  Configuring TCP/IP and Proxy Settings on Mac OSX .

Last Updated:04/25/2023 | Article ID: 27476

Was this article helpful?

This article applies to:.

  • EX7000-1AZNAS
  • R6300-2CHNAS
  • XR1000-1RNNAS (ENTOUCH)
  • XR1000-1RNNAS (GRANDE)
  • XR1000-1RNNAS (RCN)
  • XR1000-1RNNAS (WAVE)
  • DGN1000SP-1RGUKS
  • DGN1000SS-1VGUKS
  • DGN2200-4DDAUS
  • DGN2200M-2TKSAS
  • DGN2200T-3BEGES
  • DGND3300Bv2
  • DGND3700Bv2
  • DM111PSP-2GTLAS
  • ProLine 6100
  • Versalink 7500
  • EVG1500-1EMRUS
  • EVG1500-2EMRUS
  • EVG2000-1STAUS
  • DG834NU-2BEGES
  • WN2000RPTv1
  • WN2000RPTv2
  • WN2000RPTv3
  • CENTRIA (WNDR4700/4720)
  • JWNR2000-4EMRUS
  • JWNR2000Tv3
  • WNDR3400-1CANAS
  • WNR1000-2VCNAS
  • WNR2000-3XFNAS
  • WNR2000UPPE
  • WNR3500CEIF
  • WNR612-2EMRUS
  • WGR614-7VCNAS
  • WGR614-8CONAS
  • WGR614-9UMGRS

Read this article in another language:

Looking for more about your product.

Get information, documentation, videos and more for your specific product.

Can’t find what you’re looking for?

Quick and easy solutions are available for you in the NETGEAR community.

Need to Contact NETGEAR Support?

With NETGEAR’s round-the-clock premium support, help is just a phone call away.

Complimentary Support

NETGEAR provides complimentary technical support for NETGEAR products for 90 days from the original date of purchase.

NETGEAR Premium Support

Gearhead support for home users.

GearHead Support is a technical support service for NETGEAR devices and all other connected devices in your home. Advanced remote support tools are used to fix issues on any of your devices. The service includes support for the following:

  • Desktop and Notebook PCs, Wired and Wireless Routers, Modems, Printers, Scanners, Fax Machines, USB devices and Sound Cards
  • Windows Operating Systems (2000, XP or Vista), MS Word, Excel, PowerPoint, Outlook and Adobe Acrobat
  • Anti-virus and Anti-Spyware: McAfee, Norton, AVG, eTrust and BitDefender

ProSUPPORT Services for Business Users

NETGEAR ProSUPPORT services are available to supplement your technical support and warranty entitlements. NETGEAR offers a variety of ProSUPPORT services that allow you to access NETGEAR's expertise in a way that best meets your needs:

  • Product Installation
  • Professional Wireless Site Survey
  • Defective Drive Retention (DDR) Service

Where to Find Your Model Number

To find the model/version number, check the bottom or back panel of your NETGEAR device.

Select a product or category below for specific instructions.

how to set a static ip windows

Nighthawk Routers

how to set a static ip windows

Powerline and Wall Plug Extenders

how to set a static ip windows

Cable and DSL Modem Routers

how to set a static ip windows

ReadyNAS Network Storage

how to set a static ip windows

Wireless Access Points

how to set a static ip windows

Other Business Products

how to set a static ip windows

Mobile Broadband

How to Set a Static IP Address on a Windows PC

You can learn how to set up a static IP address on your computer. Here's how.

While most of the internet runs on dynamic addresses these days, static addresses are sometimes helpful to use as well. Whether you need to run a server of your own, set up external devices or services, or are just simply looking to explore, before you get your hands dirty, you need to know your way around and be super careful while setting up an IP address.

Moreover, there's more than one way to go about this. So, one by one, let's look at all the ways you can easily set up a static IP address on your Windows.

Static IP Addresses: The Whys and Hows

An IP address of a computer that stays the same over time is known as a Static IP address . This is in contrast to a dynamic IP Address, which is an address that can tweak over time.

Today, most devices use a dynamic IP address because of their ease of use and management. However, in rare cases, Static IP addresses can become handy. Some of those cases include:

  • When you have external devices that you can only connect to your network through your IP address.
  • When you connect to other networks through a VPN.
  • Static IP addresses can make hosting a server somewhat easier.

Because of a slew of such benefits, using a Static IP address can make your life super easy in some situations. So, now let's look at the different methods you can use to set up a static IP address for yourself.

How to Set a Static IP Address on Windows 11

Like most things on Windows, you have multiple ways to do this. Let's look at the most straightforward method first, which is using Windows Settings.

Here's how you can set a static IP Address using the Windows settings:

  • Head to the Start menu search bar, type in 'settings,' and select the best match. Alternatively, press the Windows Key + I to launch the Settings menu.
  • Then head to Network & internet settings .
  • Look for the Properties button. It's right next to your connection settings.
  • Scroll down and look for the IP assignment section. Then click on Edit .
  • In the new Edit IP settings dialog box, click on the scroll-down menu and select Manual .
  • Toggle on the switch for the IPv4 button.
  • Fill in all the network details here, including the IP address , Subnet mask , Gateway , and then click on Save .

ip settings

Follow the above steps meticulously, and your Windows 11 will have a new static IP address from here on.

How to Set Up a Static IP Address on Windows 10

The basics of setting up an IP Address in Windows 10 are similar. Even though the implementation of steps might differ here and there, you have to follow a pattern that's pretty much the same. Here's how:

  • Open the Windows 10 Settings.
  • Click on Network & Internet .
  • Depending on how you are connected to the Internet, select Wi-Fi or Ethernet .
  • Select the current network connection.

settings

  • Toggle on the IPv4 switch.
  • Set up the static IP address here and fill in other relevant information, such as the Preferred DNS , Default Gateway , etc.
  • Click on Save .

After you are done, you will have a new static IP address on your PC from here on.

How to Set Up a Static IP With Command Prompt

The above method, using the Settings GUI, is only one of the ways to tweak your IP address settings. For those of you who tilt more towards a command line rather than a simple click-and-play GUI, luckily, alternatives exist. For instance, you can also use the Command prompt, and set up the address with just a few commands.

To change up your IP address through your Command Prompt, follow the below steps:

  • Head to the Start menu search bar, type in 'cmd,' and launch the cmd as administrator.
  • Type in the following command in the cmd and hit Enter : ipconfig /all
  • Subnet mask
  • Default Gateway
  • DNS Servers
  • Type in the following command to assign static IP address on your Windows and hit Enter : netsh interface ip set address name= "Ethernet1" static 10.1.4.220 255.255.255.0 10.1.4.1 In the above command, replace Ethernet1 with the name of your adapter, and change 10.1.4.220 255.255.255.0 10.1.4.1 with the device IP address, subnet mask, and default gateway address corresponding to your network configuration
  • Now type the following command to set up a DNS server address and hit Enter : netsh interface ip set dns name= "Ethernet1" static 10.1.4.1

cmd

That's it. Your new static IP address will be set up from here.

How to Set Up a Static IP Address With PowerShell

PowerShell is another tool primarily handy for power users, designed to give them more control and management capabilities through task automation. If any of the above methods fail, you can also use PowerShell to set up the Static IP Address. Here’s how you can get started:

  • Head to the Start menu search bar, type in ‘powershell,’ and run it as administrator.
  • Type the following command to view your current network configuration and press Enter : Get-NetIPConfiguration
  • InterfaceIndex
  • IPv4Address
  • IPv4DefaultGateway
  • Type in the following command to set up a static IP address and hit Enter : New-NetIPAddress -InterfaceIndex 10 -IPAddress 10.1.4.119 -PrefixLength 24 -DefaultGateway 10.1.4.1
  • Here, replace all values of information. Replace the InterfaceIndex number (10) with the number assigned to your adapter. Similarly, replace the above IPAddress with a static IP address that you want to set.
  • Finally, type in the following command to assign the DNS server address and hit Enter : Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 10.1.4.1

Again, replace the InterfaceIndex number (10) with your network’s corresponding number. Also, replace the ServerAddress with the DNS IP address.

You will have a new static IP address as soon as you finish all the above steps.

Setting up a Static IP Address on a Windows PC

Setting up your static IP address doesn't have to be complicated. If you follow the above methods we have laid out above, you should be done without any significant difficulties.

And while static IP address has their uses, dynamic addresses are undoubtedly necessary. So, before you make an important switch, ensure you understand their significant differences well.

  • Skip to main content
  • Skip to primary sidebar

Technology Simplified.

How to Set Static IP Address in Windows 10

By: Waseem Patwegar | August 7, 2023

Windows operating system provides the option to connect to Internet using both Static and Dynamic IP Address. You can find below the steps to Set Static IP Address in Windows 10.

Set Static IP Address in Windows 10

Assign Static IP Address in Windows 10

The default option on a Windows computer is to connect to internet using a Dynamic IP as assigned by the Router or a combined Modem/Router unit.

Being Dynamic in nature, the assigned IP Address of the computer changes whenever the DHCP lease expires and it can also change when the Modem/Router is restarted.

This means that “File and Printer Sharing” feature on the computer will eventually stop working, as soon as the computer is assigned a New Dynamic IP Address.

However, you can prevent this from happening by assigning a Static IP Address to your computer using steps as provided below.

Step #1. Find Router IP Address

The first step is find the IP Address of the Router which is responsible for assigning IP Address to all devices that are connected to your Home or Office Network.

1. Type Command Prompt in Windows search bar > right-click on Command Prompt and select Run as Admin .

Open Command Prompt As Admin

2. In Command Prompt window, type ipconfig/all and press the Enter key.

IP Config all Command

3. Once the command is executed, scroll down the list of entries to “WiFi” or “Ethernet” section as required and note down Subnet Mask Address and the DHCP Server Address (Router IP Address).

Router IP Address on Command Prompt Screen

4. Close Command Prompt window.

Step #2. Set Static IP Address

After noting down Subnet Mask and DHCP Server Address, follow the steps below to Assign or Set Static IP Address for your computer.

1. Go to Settings > Network & Internet > Select your active network ( WiFi or Ethernet) in the left-pane. In the right-pane,  scroll down and click on Change adapter options link under “Related Settings”.

Change Network Adapter Options on Windows PC

2. On the next screen, right-click on your active Network ( WiFi or Ethernet) and click on Properties .

Open WiFi Network Properties on Windows PC

3. On the properties screen, select Internet Protocol Version 4 (TCP/IPv4) and click on Properties .

Open IPV4 Properties

4. On IPv4 properties screen, select Use the following IP Address option > Enter Default Gateway (Router IP Address), Subnet Mask Address (As obtained in the first step), Enter Static IP Address and click on OK .

Change IPV4 Address on Windows PC

As you can see in above image, the first 3 number sets (192.175.0 in this case) in IP Address Field need to be the same as the Default Gateway Address and you can only change the last number set with any number from 1 to 255.

  • How to Find Your Public and Private IP Address
  • How to Change Router IP Address

StackHowTo

  • How To Set Static IP Address in Windows 10 using CMD

I n this tutorial, we are going to see how to set static IP address in Windows 10 using CMD . There are several methods to set a static IP address in Windows 10. In this tutorial, we will see together how to set a static IP address from the Command Prompt.

In Windows 10, setting a static IP address for your device is an essential configuration that may be required in a number of scenarios. For example, if you plan to share files or a printer on a local network, or when you try to set up port forwarding.

Using CMD may seem difficult for some users, yet it is one of the fastest ways to assign a static IP address in Windows 10.

how to set a static ip windows

  • IPv4 address
  • Subnet mask
  • Default gateway
  • DNS servers

how to set a static ip windows

  • Types of Ethernet Cable
  • How to Install CAB File in Windows 10 using Command Line
  • How to Change Multiple File Extensions at Once in Windows 10 Using PowerShell
  • How to Make Taskbar Buttons Smaller in Windows 10
  • How to Run AutoHotKey Script on Startup Windows 10
  • How to Remap Keyboard Keys in Windows 10
  • How to Search Files by Size in File Explorer on Windows 10
  • How to Check Internet Data Usage in Windows 10
  • How to Change Folder Background Color in Windows 10
  • How to Turn off Location on Laptop Windows 10
  • How to Disable Sleep Option from Windows 10 Start Menu
  • How to Wake Up Computer From Sleep Mode in Windows 10 with Mouse
  • How to Wake Up Computer From Sleep Mode in Windows 10 with Keyboard

Batch File To Display Popup Message in Windows 10

  • How to Display Popup Reminder in Windows 10
  • How to See PC Startup and Shutdown History in Windows 10
  • How to Record Your Screen with VLC on Windows 7/8/10
  • How to Change Paging File Size in Windows 10
  • How to Display Full Path in Title Bar of File Explorer on Windows 10
  • How to Cancel Shutdown on Windows 10
  • How to Schedule Auto Shutdown in Windows 10
  • How to Schedule a Scan in Windows Defender
  • How to Calculate Total Duration of Multiple Video Clips in Windows 10
  • How to Fix Drag and Drop Problems in Windows 10
  • How to Disable Power Throttling in Windows 10
  • How to Run Program as Administrator Without Password Prompt in windows 10
  • How to Limit Windows Defender CPU Usage
  • How to Check if Windows 10 is Activated
  • How to Fix Right Click on Desktop Not Working in Windows 10
  • Image Resizer on Right-click for Windows 10
  • How to Change Computer Name in Windows 10
  • How to Change Account Picture in Windows 10
  • How to Zoom in and out in CMD and PowerShell
  • How to Lock Screen After Inactivity on Windows 10
  • How to Sync Computer Time With Internet in Windows 10
  • Command To Check Open Ports in Windows
  • How to Keep a Window Always On Top on Windows 10
  • How to Increase Font Size in Windows 10
  • How to Change Cursor Color in Windows 10
  • How to Change Cursor Size in Windows 10
  • How to Change Default PDF viewer on Windows 10
  • How to Disable Security Questions in Windows 10
  • How to Pin Specific Settings to the Start Menu in Windows 10
  • How to Format USB Device When FAT32 Option is Not Available
  • How to Automatically Open a Web Page at a Specific Time
  • How to Restart explorer.exe in Windows 10 Using CMD
  • How to Restart Explorer.exe in Windows 10 [2 Methods]
  • How to Add Program Shortcut to Start Menu in Windows 10
  • Hibernate Option Not Showing In Windows 10
  • How To Delete Previous Version of Windows in Windows 10
  • How to Add Print Option in Right-Click Menu
  • How to Delay Startup Programs in Windows 10/8/7
  • How to Disable Task Manager on Windows 10
  • How to Turn on Network Discovery in Windows 10
  • How to Check if Virtualization is Enabled in Windows 10
  • How to Password Protect a Zip File on Windows 10
  • How To Change User Folder Name in Windows 10
  • How to Restore Drivers in Windows 10
  • How to Backup Drivers using PowerShell Command in Windows 10
  • How to Add Store Apps to Startup in Windows 10
  • How to Enable Fingerprint in Windows 10
  • How to Enable Autocorrect and Predictive Text in Windows 10
  • How To Open a Second File Explorer Window in Windows 10
  • How to Block Websites On Your Computer
  • Check Disk Command in Windows 10
  • How to Activate a Window by Hovering Over it with the Mouse in Windows 10
  • How to Control Volume for Individual Programs in Windows 10
  • How to Schedule Restart in Windows 10
  • How to Change Microsoft Store Region in Windows 10
  • How to Hide the Clock From Windows 10 Taskbar
  • How to Enable Number Pad on Keyboard Windows 10
  • How to Turn Off Taskbar Thumbnail Previews in Windows 10
  • How Can I See All Drives in CMD
  • How to Show All Drives in Windows 10 File Explorer
  • Windows 10 Privacy Settings to Turn Off
  • How to Change Desktop Icons in Windows 10
  • How to Force a Program to Open in Full Screen in Windows 10
  • How to Delete Temporary Files in Windows 10
  • How to Enable Startup Sound in Windows 10
  • How to Reset All Default Apps in Windows 10
  • How to Change Default Action on Connecting a USB Device Windows 10
  • How to Remove Old Drivers From Windows 10
  • Where is the Drivers Folder in Windows 10
  • How to Reset Windows Update in Windows 10
  • How to Format USB Using CMD on Windows 10
  • How To Check WiFi Signal Strength on Windows 10 Using CMD
  • How to Remove “Show Desktop” Button on Windows 10
  • How to Enable Remote Desktop on Windows 10
  • How To Open File Explorer To “This PC”
  • How to Stop the Screen From Turning Off on Windows 10
  • How to Change Default Folder Name in Windows 10
  • How to Display Day of Week in Windows 10 Taskbar
  • How To Display Windows 10 Start Menu in Full Screen
  • How to Create a New Library in Windows 10
  • How to Reset the Settings App in Windows 10
  • How To Disable Startup Programs in Windows 10
  • How to Enable Registry Backup in Windows 10
  • How to Remove Password at Windows 10 Startup
  • How to Reset Windows 10 To Factory Settings
  • How To Enable or Disable Night Light in Windows 10
  • How to Add Clocks to Start Menu on Windows 10
  • How to Disable Bing Web Search Results in Windows 10 Start Menu
  • How to check Bluetooth battery level on Windows 10
  • How To Find Out If a Program is 32 or 64-bit Windows 10
  • How To Check Bios Firmware Version in Windows 10
  • How To Activate Windows 10
  • How to enter UEFI (BIOS) on Windows 10
  • How to Boot From a USB Drive on Windows 10
  • How to Reinstall Microsoft Store in Windows 10
  • How to Enable Ultimate Performance Mode in Windows 10
  • How to Stop Apps From Running in the Background on Windows 10
  • How to Change Another User’s Password in Windows 10
  • How to Delete Local User Account using PowerShell in Windows 10
  • How to Create Local User Account using PowerShell in Windows 10
  • How to Disable User Account Control (UAC) in Windows 10
  • How to Block Inappropriate Websites on Windows 10
  • How to Set Up a Child Account in Windows 10?
  • How to Download Windows 10 ISO file (32 bits and 64 bits)
  • How to Change the Default Save Location in Windows 10
  • How to Add Open Command Prompt Here to right-click Menu in Windows 10
  • Add Open PowerShell Window Here as Administrator in Windows 10
  • How to Mount ISO Images on Windows 10
  • How to Clear DNS Cache on Windows 10
  • How to Change DNS Server in Windows 10
  • How to Change Temp Folder Location in Windows 10
  • How to Reduce the Size of the Search Bar in Windows 10
  • How to Force Close a Program on Windows Without Task Manager
  • How to Force Close a Program with Task Manager
  • How to Speed Up Windows 10 Startup
  • How to Enable Sandbox in Windows 10
  • How to Disable Automatic Installation of Suggested Apps in Windows 10
  • No Sounds on Windows 10? Here’s How to Fix It
  • No Audio Output Device Is Installed in Windows 10 Fix
  • Where is the Location of Startup Folder in Windows 10?
  • How to Create a Windows 10 Bootable USB
  • How To Run Computer Performance Test in Windows 10
  • How To Tell If Your Computer Is 32 Or 64-bit Windows 10
  • How to Remove Recycle Bin From Desktop on Windows 10
  • How to Show My Computer, Recycle Bin Icon on Windows 10
  • How To Enable Screen Saver In Windows 10
  • How to Enable or Disable Updates For Other Microsoft Products on Windows 10
  • How to Disable Windows 10 Startup Delay
  • How To Open Emoji Keyboard on Windows 10
  • How to Turn On File and Printer Sharing in Windows 10
  • How To Optimize Windows 10 For Gaming
  • How to Add Shortcuts to the “Send to” Menu in Windows 10
  • How to Change the Screen Refresh Rate of Your Monitor in Windows 10
  • How to Make a Program Run on Startup in Windows 10
  • How to Turn Off SmartScreen in Windows 10
  • How to Disable Telemetry in Windows 10
  • How to Disable Windows 10 Tracking
  • How to Disable Windows 10 Data Collection
  • How to Free Up Disk Space in Windows 10
  • Fast Way to Delete a Large Folder in Windows 10
  • How to Create a Printer Shortcut on Desktop Windows 10
  • How to Change Audio Output Device Per Application on Windows 10
  • How to Format a Hard Drive or SSD in Windows 10
  • How to Switch Between Windows in Windows 10 using Keyboard
  • How to Download and Install Windows Media Player for Windows 10
  • How to Create a Shortcut on Desktop Windows 10
  • How to Block reopening of Programs on startup Windows 10
  • How To Limit Windows Update Bandwidth in Windows 10
  • How to remove the 3D Objects folder from This PC in Windows 10
  • How to Remove Old User Account Pictures in Windows 10
  • How to Delete the Hibernation File hiberfil.sys
  • How to Show Seconds in System Clock in Windows 10
  • How to Open Files and Folders with Single Click in Windows 10
  • How to Reset Your Microsoft Account Password for Windows 10
  • How to Fix Corrupted Files in Windows 10
  • How To Export And Import Start Menu Layout In Windows 10
  • How to Stop Automatic Restart After Updating Windows 10
  • How to Remove Ads From the Start Menu in Windows 10
  • How to Create a Homegroup Network in Windows 10
  • How to Disable ads in File Explorer in Windows 10
  • How To Fix gpedit.msc Group Policy Editor Missing in Windows 10
  • How to Change the Network Connection Priority in Windows 10
  • How to Watch Videos While Working on Other Tasks on Windows 10 Computer
  • How to Create a System Repair Disk in Windows 10
  • How to Customize the Taskbar in Windows 10
  • How to Change Taskbar Icons in Windows 10
  • How to Show the Control Panel in File Explorer on Windows 10
  • How to Uninstall Updates in Windows 10
  • How to reset all Local Group Policy on Windows 10
  • How To Turn Windows 10 Computer Into a Wi-Fi Hotspot
  • How to Reset Network Settings in Windows 10 Using CMD
  • How to Disable the Game Bar in Windows 10
  • How to Clear Windows 10 Update Cache
  • How to Create an Invisible Folder without Any Name in Windows 10
  • How to Add Open With to Right-click Menu in Windows 10
  • How to Change Default Apps on Windows 10
  • How to Prevent Copying Files From USB to PC
  • How to Find Your WiFi Password on Windows 10
  • How to Hide Your Name and Email Address on Windows Login
  • How to Speed Up File Transfer in Windows 10
  • How to Remove Power or Shutdown Button from Lock Screen in Windows 10
  • How to Start Windows 10 in Safe Mode
  • How to Stop Lock Screen ads in Windows 10
  • How to Enable Guest Account in Windows 10 using CMD
  • How to Restore Windows 10 Image Backup From Hard Drive
  • How to Create a System Image in Windows 10
  • How to Disable Automatic Update on Windows 10
  • How to Stop Programs From Automatically Updating in Windows 10
  • How to Take a Screenshot on Windows 10
  • Windows 10: Start Menu And Taskbar Not Working
  • How to Rebuild a Broken Icon Cache in Windows 10
  • How to Turn Off Windows Security Notifications in Windows 10
  • How to Preview a File Without Opening it in Windows 10

How to Permanently Disable Windows Defender on Windows 10

  • How to Disable the Action Center in Windows 10
  • How To Reinstall Microsoft Edge In Windows 10
  • How to Uninstall Microsoft Edge in Windows 10
  • How to Change Start Menu and Taskbar Color in Windows 10
  • How to Get Windows 7 Start Menu on Windows 10 with Classic Shell
  • Why the Start Menu is Slow to Open in Windows 10
  • How to Change Login Screen Background on Windows 10
  • How to Restore Windows Photo Viewer in Windows 10
  • How to Fix Screen Flickering in Windows 10
  • How to Remove Windows 10’s Built-in Apps
  • How to Fix Black Screen on Windows 10
  • How to Remove Search Bar From Taskbar on Windows 10
  • How to Disable Windows 10 Peer-to-Peer Updates

How to Downgrade to Windows 7 From Windows 10

  • How to Fix Windows 10 Start Menu And Cortana Not Working
  • How to Backup and Restore Registry in Windows 10
  • How to Change the Default Installation Location on Windows Using Regedit
  • How to Force Restart Windows 10 with Keyboard
  • How to Remove Shortcut Arrow from Desktop Icons on Windows 10
  • How to Find Computer Specs on Windows 10
  • How To Move Your Libraries To Another Drive in Windows 10
  • How to Enable Numlock at Windows Startup
  • How to Change CMD Color in Windows 10
  • How To Increase Font Size In CMD
  • How To Assign Letter To Drive In CMD
  • How To Get MAC Address In CMD
  • How to Open File Explorer Using CMD on Windows 10
  • How To Run Batch File On Windows Startup
  • How To Run EXE From A Batch File
  • How To Run A Python Script From A Batch File
  • How to Run PowerShell Script From A Batch File
  • How to Run Multiple Batch Files From One Batch File
  • Batch File To Copy All Files From One Folder To Another
  • How To Compare Strings In Batch Files
  • How To Concatenate Variables In Windows Batch File
  • How To Clear A Variable In A Batch File
  • For Loop Counting From 1 To N in a Batch File
  • How to Run Batch File Automatically Every X Minutes
  • Batch File To Get and Set System Date
  • Batch File To Set Default Programs in Windows 10
  • Batch File To Get Computer Name
  • Batch File To Get Current Directory
  • Batch File To Get Input From User
  • Batch File To Get IP Address
  • Batch File To Get MAC Address
  • How to Add a Registry Key in a Batch File
  • Batch File To Create Local User Accounts
  • Batch File To Create a Text File
  • Batch File To Create a Folder
  • Batch File To Create Folders From a List
  • Batch File To Write Ping Results To a Text File
  • Batch File To Write Variable To a Text File
  • Batch File To Write To a Text File
  • Batch File To Read XML File
  • Batch File To Read CSV / XLS
  • Batch File To Read Text File Line By Line into A Variable
  • Batch File To List Folder Names
  • Batch File To List Folders and Subfolders
  • Batch File To List Filenames in a Specified Folder
  • Batch File to List All Files in a Folder and Subfolders
  • How to Check Internet Connection using Batch File
  • How to Check the Size of a File in a Windows Batch Script
  • How To Check Batch File Error
  • Batch File To Check If Folder Exists
  • How to Check If a Path is File or Directory using Batch
  • Batch File To Delete Folders Older Than N Days
  • Batch File To Delete All Files in Folder Older Than N Days
  • Batch File To Delete All Files In Folder
  • Batch File To Delete A File If Exists
  • Batch File To Check If Multiple Files Exist
  • Batch File To Check If File Exists
  • Batch File Commands List With Examples
  • 8 Batch File Commands You Should Know
  • How to Create a Batch File in Windows
  • How to Run Batch File in CMD
  • How to Run EXE File in CMD
  • How to Change the MAC Address on Windows 10
  • How to Create a Website Shortcut on Desktop In Windows 10
  • 29 Run Commands in Windows You Should Know
  • How to Ping IP Address in CMD
  • How to Get IP Address Using Ipconfig in CMD
  • How to Delete Folder Using CMD in Windows 10
  • CMD Commands List You Should Know
  • How to Change Lock Screen in Windows 10
  • How to Show My Computer Icon on Desktop in Windows 10
  • How to Change Compatibility Mode in Windows 10
  • How to Uninstall Internet Explorer in Windows 10
  • How to Add or Change Desktop Theme in Windows 10
  • How to Disable Transparency Effects in Windows 10
  • How to Delete and Uninstall Fonts in Windows 10
  • How to Install New Fonts in Windows 10
  • How to Disable Lock Screen on Windows 10 Using Registry
  • How to Customize Action Center in Windows 10
  • How to Disable Cortana in Windows 10 using Registry
  • Battery Icon Missing From Taskbar in Windows 10 [Solved]
  • How to Change Desktop Background in Windows 10
  • How to Increase Battery Life of Windows 10 Laptop
  • How to Turn off Notifications in Windows 10
  • How to Create Keyboard Shortcuts in Windows 10
  • How to Change Desktop Icon Size in Windows 10
  • How to Turn On Dark Mode on Opera
  • How to Turn On Dark Mode on Mozilla Firefox
  • How to Turn On Dark Mode on Google Chrome
  • How to Turn On Dark Mode on Microsoft Edge
  • How to Enable Dark Mode in Windows 10
  • How to Increase Mouse Sensitivity in Windows 10
  • How to Find Which Programs are Slowing Down Your Boot Time in Windows 10
  • How to Defrag the Hard Drive in Windows 10
  • How to Copy and Paste Into Command Prompt in Windows 10
  • How to Enable the On-Screen Keyboard in Windows 10
  • How to Check Laptop Battery Health in Windows 10
  • How to Use Offline Maps in Windows 10
  • How to Calibrate Your Monitor in Windows 10
  • How to Enable God Mode in Windows 10
  • How to Increase Processor Speed in Windows 10
  • How to Pin a Folder to Taskbar in Windows 10
  • How to Pin a Website to Taskbar in Windows 10
  • How to Switch Between Desktops in Windows 10
  • How to Make Windows 10 Boot Faster
  • How to Stop Windows 10 From Sleeping
  • How to Set an Alarm Clock on Windows 10
  • How to Go Directly to Desktop in Windows 10
  • How to Create a New Folder on Windows 10
  • How to Reduce Blue Light on Computer Screen on Windows 10
  • How to Turn on Speech Recognition in Windows 10
  • How to Sync My Settings in Windows 10
  • How to Change the Screen Resolution on Windows 10
  • How to Create a New User on Windows 10
  • How to Turn Off Tablet Mode in Windows 10
  • How to Uninstall a Program on Windows 10
  • How To Change Password In Windows 10
  • Top Keyboard Shortcuts in Windows 10
  • How to Speed Up Windows 10 Shutdown
  • How to Change Default Browser in Windows 10
  • How to Disable the Lock Screen in Windows 10
  • How to disable User Account Control in Windows 10
  • How to Hide File Extensions in Windows 10
  • How to Show Hidden Files and File Extensions in Windows 10
  • How to Create a Restore Point with System Protection Enabled in Windows 10
  • How to Delete Browsing History on Firefox in Windows 10
  • How to Delete Browsing History on Microsoft Edge in Windows 10
  • How to Delete Browsing History on Google Chrome in Windows 10

You May Also Like

How to Downgrade to Windows 7 From Windows 10

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

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 .

How To Set Static IP Windows 10

Copy to Clipboard

  • How-To Guides
  • Tech Setup & Troubleshooting

how-to-set-static-ip-windows-10

Introduction

Setting a static IP address in Windows 10 can be a useful skill for those who want more control over their network configuration. By assigning a static IP address to your computer, you can ensure that it always has the same IP address, regardless of any changes in the network. This can be particularly helpful when configuring network devices, setting up a local server, or troubleshooting network connectivity issues.

In this guide, we will walk you through the step-by-step process of setting a static IP address in Windows 10. Whether you are a computer enthusiast or a network administrator, understanding how to configure a static IP address can empower you to take charge of your network setup and optimize your network performance.

Before we delve into the steps, it is important to note that setting a static IP address requires administrative privileges. So, make sure you have the necessary permissions to make changes to your network adapter settings. Additionally, it is crucial to have a clear understanding of the IP address range used in your network, as well as the subnet mask and default gateway values.

Without further ado, let’s start exploring the process of setting a static IP address in Windows 10. By following these steps, you’ll be able to easily configure your network settings and enjoy a more stable and reliable network connection on your Windows 10 device.

Why Set a Static IP Address in Windows 10?

Having a static IP address on your Windows 10 device can offer several benefits and improved control over your network configuration. Here are a few reasons why you might want to consider setting a static IP address:

1. Port Forwarding and Remote Access: If you frequently access your Windows 10 device remotely or need to configure port forwarding for applications or services, having a static IP address makes the process much easier. With a static IP, you can consistently access your device from anywhere and ensure that the correct ports are forwarded.

2. Stable Network Configuration: When connecting to a network, devices are typically assigned dynamic IP addresses that can change each time the device connects to the network. This dynamic nature of IP addresses can cause disruptions in services that rely on a consistent IP address, such as file sharing or network printing. By setting a static IP address, you eliminate the risk of IP address changes and maintain a stable network configuration.

3. Easy Network Device Management: If you have multiple network devices, such as printers, media servers, or IoT devices, setting a static IP address for each device can simplify management and troubleshooting. With static IPs, you can easily identify and connect to specific devices without the need to manually adjust IP configurations.

4. Improved Security: In certain scenarios, having a static IP address can enhance network security. With a static IP, you can easily set up firewall rules and access controls to allow or deny specific IP addresses. Additionally, it reduces the risk of unauthorized access or IP address conflicts in your network.

5. Network Performance Optimization: In some cases, setting a static IP address can improve network performance. While dynamic IP addresses work well in most situations, there might be instances where assigning a specific IP address to your Windows 10 device can result in faster network response times and reduced latency.

By understanding the advantages of setting a static IP address in Windows 10, you can determine whether it is a suitable option for your specific network requirements. Now, let’s dive into the step-by-step process of setting a static IP address in Windows 10.

Step 1: Open Network and Sharing Center

To begin the process of setting a static IP address in Windows 10, you first need to navigate to the Network and Sharing Center. This is where you can access the network adapter settings and make the necessary changes. Follow these steps:

1. Right-click on the network icon located in the system tray or taskbar. This icon usually resembles a series of bars or a computer monitor, indicating your network connection status.

2. From the context menu that appears, select “Open Network & Internet settings” or a similar option, depending on your Windows 10 version.

3. This will open the Network & Internet settings window. Here, you will find various network-related settings and options.

4. Look for the “Change adapter options” link and click on it. This will take you to the Network Connections window.

5. In the Network Connections window, you will see a list of all the network adapters available on your computer. These adapters may include both wired and wireless connections.

6. Identify the network connection for which you want to set a static IP address. Right-click on the desired network connection and select “Properties” from the context menu.

By following these steps, you have successfully opened the Network and Sharing Center and accessed the properties of the network connection. In the next step, we will explore how to change the adapter settings to configure the static IP address.

Step 2: Change Adapter Settings

In this step, we will learn how to change the adapter settings for the network connection in order to configure a static IP address. Follow these steps:

1. After opening the properties of the desired network connection, you will find a list of different network protocols and services. Look for the protocol called “Internet Protocol Version 4 (TCP/IPv4)” and select it.

2. Once you have selected the “Internet Protocol Version 4 (TCP/IPv4)” protocol, click on the “Properties” button below it. This will open the TCP/IPv4 Properties window.

3. In the TCP/IPv4 Properties window, you will see two options: “Obtain an IP address automatically” and “Use the following IP address.” By default, the first option is usually selected.

4. To set a static IP address, select the “Use the following IP address” option. This will activate the input fields for you to manually enter the IP address, subnet mask, default gateway, and DNS server addresses.

By changing the adapter settings to use a static IP address, you gain more control over your network configuration. In the next step, we will explore how to set a specific IP address for your Windows 10 computer.

Remember, the IP address you choose should be within the range of your network’s IP addresses. It should also be unique and not already assigned to another device on the network. Additionally, be sure to have the correct subnet mask and default gateway values, as these are essential for proper network communication.

Step 3: Select the Network Connection

In this step, we will focus on selecting the network connection for which you want to set a static IP address. This ensures that the changes you make only apply to the desired network interface. Follow these steps:

1. After opening the properties of the network connection, click on the “Networking” tab at the top of the window. Here, you will find a list of networking components and protocols associated with the selected network connection.

2. Within the networking components list, scroll down and locate the “Internet Protocol Version 4 (TCP/IPv4)” protocol. Click on it to select it.

3. With the “Internet Protocol Version 4 (TCP/IPv4)” protocol selected, click on the “Properties” button below. This will open the TCP/IPv4 Properties window.

4. In the TCP/IPv4 Properties window, you will see the options to choose between obtaining an IP address automatically or using a specific IP address. If you have already selected the “Use the following IP address” option in the previous step, you can proceed to the next step. Otherwise, select that option now.

By selecting the network connection and accessing its specific properties, you are ready to configure the static IP address for that particular connection. In the next step, we will delve into the details of configuring the TCP/IPv4 settings to set the static IP address.

Step 4: Open Properties

In this step, we will explore how to open the network connection properties where you can make changes to the TCP/IPv4 settings. By accessing these properties, you can further configure the network connection and set a static IP address. Follow these steps:

1. After selecting the “Internet Protocol Version 4 (TCP/IPv4)” protocol, click on the “Properties” button. This will open the TCP/IPv4 Properties window.

2. In the TCP/IPv4 Properties window, you will see two options: “Use the following IP address” and “Obtain an IP address automatically.” If you have already selected the “Use the following IP address” option, you will see the IP address, subnet mask, default gateway, and DNS server fields activated.

3. If you haven’t selected the “Use the following IP address” option, select it now. This will allow you to manually configure the IP address, subnet mask, default gateway, and DNS server settings.

4. Click on the “OK” button to save the changes and close the TCP/IPv4 Properties window.

By opening the properties of the network connection, you gain access to all the necessary settings and configurations to set a static IP address. In the next step, we will dive into the details of configuring the TCP/IPv4 settings to set the actual static IP address.

Step 5: Configure TCP/IPv4 Settings

In this step, we will focus on configuring the TCP/IPv4 settings to set the static IP address for your Windows 10 computer. Follow these steps:

1. After opening the TCP/IPv4 Properties window, you will see various input fields where you can enter the required information.

2. In the “IP address” field, enter the specific IP address you want to assign to your Windows 10 computer. Make sure the IP address falls within the valid range of IP addresses for your network.

3. In the “Subnet mask” field, enter the subnet mask value. The subnet mask is used to determine the network portion and host portion of an IP address. It is typically provided by your network administrator or Internet Service Provider.

4. In the “Default gateway” field, enter the IP address of your network’s default gateway. The default gateway is responsible for routing network traffic outside of your local network.

5. In the “Preferred DNS server” field, enter the IP address of the DNS server you wish to use. The DNS server is responsible for translating domain names into IP addresses, allowing your computer to access websites and other network resources.

6. Optionally, you can also enter the IP address of the “Alternate DNS server” if you have one available. This acts as a backup DNS server in case the preferred DNS server is unavailable.

7. Once you have entered all the necessary information, click on the “OK” button to save the changes and close the TCP/IPv4 Properties window.

By configuring the TCP/IPv4 settings, you have successfully set a static IP address for your Windows 10 computer. In the next step, we will explore additional settings such as the subnet mask and default gateway.

Step 6: Set Static IP Address

In this step, we will focus on setting the static IP address for your Windows 10 computer. By following these instructions, you can ensure that your computer always uses the same IP address when connecting to the network:

1. After configuring the TCP/IPv4 settings, ensure that the “Use the following IP address” option is selected in the TCP/IPv4 Properties window.

2. In the “IP address” field, enter the specific IP address that you want to assign to your Windows 10 computer. This IP address should be unique and not already assigned to another device on the network.

3. Make sure the IP address falls within the valid range of IP addresses for your network. Consult your network administrator or refer to your router’s documentation to determine the appropriate IP address range.

4. Double-check the “Subnet mask” field to ensure it matches the correct value for your network. The subnet mask determines the size of the network by indicating which part of the IP address represents the network portion and which part represents the host portion.

5. Once you have entered the IP address and subnet mask, you can proceed to the next step.

6. Ensure that the “Default gateway” field is correctly populated with the IP address of your network’s default gateway. The default gateway allows your computer to communicate with devices outside of your local network.

7. If you have a preferred DNS server, make sure its IP address is entered in the “Preferred DNS server” field. The DNS server is responsible for resolving domain names into IP addresses and plays a crucial role in your computer’s ability to access websites and other network resources.

8. Remember, these settings are specific to the network connection you are configuring. If you have multiple network adapters, make sure you apply the changes to the correct one.

9. Once you have verified and entered all the necessary information, click on the “OK” button to save the changes.

By successfully setting a static IP address, you have taken control over your computer’s network configuration. In the next step, we will explore additional settings such as the subnet mask and default gateway to further refine your network setup.

Step 7: Set Subnet Mask and Default Gateway

In this step, we will focus on setting the subnet mask and default gateway for your Windows 10 computer. These settings are essential for proper network communication and routing. Follow these steps:

1. After entering the desired IP address in the TCP/IPv4 Properties window, ensure that the correct subnet mask is entered in the “Subnet mask” field. The subnet mask determines the size of the network by indicating which part of the IP address represents the network portion and which part represents the host portion. It is typically provided by your network administrator or Internet Service Provider.

2. Double-check your subnet mask to ensure that it matches the correct value for your network. The subnet mask will consist of four numbers separated by periods, such as 255.255.255.0, which represents a common subnet mask configuration.

3. Next, ensure that the “Default gateway” field is correctly populated with the IP address of your network’s default gateway. The default gateway allows your computer to communicate with devices outside of your local network. It is usually the IP address of your router.

4. The default gateway is crucial for routing network traffic, so it is important to enter the correct IP address to ensure proper connectivity. If you are unsure, consult your network administrator or refer to your router’s documentation to obtain the correct default gateway IP address .

5. Verify that both the subnet mask and default gateway fields are accurately filled in the TCP/IPv4 Properties window.

6. Once you have verified and entered the necessary information, click on the “OK” button to save the changes.

By setting the subnet mask and default gateway, you are optimizing your network configuration and enabling your Windows 10 computer to communicate effectively with devices both inside and outside of your local network. In the next step, we will explore how to set the preferred DNS server.

Step 8: Set Preferred DNS Server

In this step, we will focus on setting the preferred DNS server for your Windows 10 computer. The DNS server is responsible for translating domain names into IP addresses, allowing your computer to access websites and other network resources. Follow these steps to configure the preferred DNS server:

1. After entering the desired IP address, subnet mask, and default gateway in the TCP/IPv4 Properties window, locate the “Preferred DNS server” field.

2. In the “Preferred DNS server” field, enter the IP address of the DNS server you wish to use. This can be the IP address of your network’s DNS server or a public DNS server such as those provided by Google (8.8.8.8) or Cloudflare (1.1.1.1).

3. The DNS server is responsible for resolving domain names into IP addresses. By setting a preferred DNS server, you ensure that your computer uses a specific DNS server for all its DNS queries.

4. Configuring a preferred DNS server can improve network performance and reliability. It also allows you to choose a DNS server that suits your needs, such as one that offers enhanced security features or faster response times.

5. In addition to the preferred DNS server, there is an optional field for entering an “Alternate DNS server.” This serves as a backup DNS server in case the preferred DNS server becomes unavailable. If you have an alternate DNS server available, you can enter its IP address in this field.

6. Once you have entered the preferred DNS server or the preferred and alternate DNS servers, click on the “OK” button to save the changes in the TCP/IPv4 Properties window.

By setting the preferred DNS server, you are ensuring that your Windows 10 computer has accurate and responsive DNS resolution. This enables seamless access to websites and other network resources. In the next step, we will discuss how to save the changes made and test the network connection.

Step 9: Save Changes and Test Connection

In this final step, we will cover how to save the changes made to the network settings and test the connection to ensure that the static IP address is successfully configured. Follow these steps:

1. After configuring the preferred DNS server and completing all the necessary changes in the TCP/IPv4 Properties window, click on the “OK” button. This will save the changes and close the window.

2. Back in the Network Connections window, take a moment to review the network connection properties and ensure that all settings are correct.

3. Once you are satisfied with the settings, close the Network Connections window.

4. To test the network connection, open a web browser or any application that requires internet access. Visit a website or perform any action that requires internet connectivity.

5. If the connection is successful and you are able to access the internet without any issues, congratulations! You have successfully set a static IP address in Windows 10.

6. If you encounter any problems or cannot access the internet, double-check the settings you entered in the TCP/IPv4 Properties window. Ensure that the IP address, subnet mask, default gateway, and preferred DNS server are all correct. Additionally, check that there are no typographical errors or conflicting IP addresses.

7. If you are still experiencing difficulties, you may need to consult your network administrator or refer to your router’s documentation for further troubleshooting steps.

By saving the changes and testing the connection, you can confirm whether the static IP address is properly configured on your Windows 10 computer. This step ensures that your device can successfully communicate with other devices on the network and access the internet. Congratulations on successfully setting a static IP address!

Setting a static IP address in Windows 10 can provide you with greater control over your network configuration and offer several advantages. By following the step-by-step process outlined in this guide, you have learned how to open the Network and Sharing Center, change adapter settings, select the network connection, open properties, configure TCP/IPv4 settings, set a static IP address, configure the subnet mask and default gateway, set the preferred DNS server, and finally, save the changes and test the connection.

With a static IP address, you can easily set up port forwarding, remotely access your Windows 10 device, and manage network devices more effectively. Additionally, you can enjoy a stable network configuration, improved security, and better network performance optimization.

Remember, while setting a static IP address can be beneficial, it is important to ensure that the IP address you choose falls within the valid range for your network and is unique. Additionally, accurate configuration of the subnet mask, default gateway, and preferred DNS server is crucial for proper network communication.

If you encounter any issues or have questions, don’t hesitate to consult your network administrator or refer to your router’s documentation for further guidance. They can provide additional assistance tailored to your specific network setup.

By taking control of your network configuration through setting a static IP address in Windows 10, you empower yourself with a more stable and reliable network connection. Whether you are a computer enthusiast or a network administrator, this knowledge helps you optimize your network setup and streamline your network troubleshooting process.

Now that you have successfully configured a static IP address, enjoy the benefits of a more personalized and controlled network experience on your Windows 10 computer.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

  • Crowdfunding
  • Cryptocurrency
  • Digital Banking
  • Digital Payments
  • Investments
  • Console Gaming
  • Mobile Gaming
  • VR/AR Gaming
  • Gadget Usage
  • Gaming Tips
  • Online Safety
  • Software Tutorials
  • Tech Setup & Troubleshooting
  • Buyer’s Guides
  • Comparative Analysis
  • Gadget Reviews
  • Service Reviews
  • Software Reviews
  • Mobile Devices
  • PCs & Laptops
  • Smart Home Gadgets
  • Content Creation Tools
  • Digital Photography
  • Video & Music Streaming
  • Online Security
  • Online Services
  • Web Hosting
  • WiFi & Ethernet
  • Browsers & Extensions
  • Communication Platforms
  • Operating Systems
  • Productivity Tools
  • AI & Machine Learning
  • Cybersecurity
  • Emerging Tech
  • IoT & Smart Devices
  • Virtual & Augmented Reality
  • Latest News
  • AI Developments
  • Fintech Updates
  • Gaming News
  • New Product Launches

Close Icon

How Many Strongholds Are There In Minecraft

What is adventure mode in minecraft, related post, how to change gamemode in minecraft, minecraft how to get out of boat, how to make a boat in minecraft, how to use name tag in minecraft, how to make a rainbow sheep in minecraft, related posts.

How To Port Forward Ethernet

How To Port Forward Ethernet

How To Assign An IP Address In VMware Workstation

How To Assign An IP Address In VMware Workstation

Which Of The Following Describes An IP Address?

Which Of The Following Describes An IP Address?

What Is My Local IP

What Is My Local IP

Do Routers Have IP Addresses If So How Many

Do Routers Have IP Addresses If So How Many

How To Find Ethernet Ip Address

How To Find Ethernet Ip Address

How To Set Up A Domain Controller In VMware Workstation

How To Set Up A Domain Controller In VMware Workstation

How To Assign A Static IP Address To A Workstation In Windows Server 2008 R2

How To Assign A Static IP Address To A Workstation In Windows Server 2008 R2

Recent stories.

How Many Strongholds Are There In Minecraft

Coinbase’s 2024 Priorities Revealed After Crushing Q4 Estimates

No Trademark For OpenAI’s GPT

No Trademark For OpenAI’s GPT

German Nonprofit LAION Launches BUD-E, An Open Voice Assistant Project

German Nonprofit LAION Launches BUD-E, An Open Voice Assistant Project

The Future Of Comics: Reading On Apple’s Vision Pro

The Future Of Comics: Reading On Apple’s Vision Pro

Robots.net

  • Privacy Overview
  • Strictly Necessary Cookies

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

  • PC & Mobile

How to Set a Static IP Address in Windows 10

how to set a static ip windows

Lee Stanton Lee Stanton is a versatile writer with a concentration on the software landscape, covering both mobile and desktop applications as well as online technologies. Read more June 16, 2023

There are many benefits of setting up a static IP address in Windows 10. For example, this allows you to share data like documents, files, and printers locally or using port forwarding.

How to Set a Static IP Address in Windows 10

Services and port forwarding configurations will ultimately stop functioning if you don’t set a static IP address. One of the reasons for this is that most devices utilize a dynamic IP address, which the router’s Dynamic Host Configuration Protocol (DHCP) server usually determines. These addresses can be changed at any moment, including when you restart your computer or when the dynamic settings that were used end.

Luckily, there are a couple of ways you can set a static IP address. In this article, we’ll go through and discuss the necessary steps for configuring a static IP address on both Windows 10 and 11.

There are a few different methods to set a static IP address on a Windows 10 PC. Every method works is equally effective.

Command Prompt

On a Windows 10 PC, it’s possible to configure a static IP address using the command prompt. Although some users may find it difficult, this is the fastest method.

how to set a static ip windows

Again, replace Ethernet0 with the name of your adapter and 8.8.8.8 with your DNS server address in the command.

As soon as you’ve finished the process, you may test your new setup using a command line tool (for instance, ping google.com). Check out a web page to test whether the settings work.

Control Panel

For some users, the previous method using the Command Prompt might not be for them. Luckily, there is a way to modify the IP configuration on a Windows 10 PC via the Control Panel. To set a static IP address using the Control Panel, follow these steps:

how to set a static ip windows

Now you can assign all the needed information.

how to set a static ip windows

When you’re finished with the instructions, you may open a web browser to test the setup by loading a webpage.

There is an option on Windows 10 to alter the IP address settings for connected devices via the Settings app. Here’s how:

how to set a static ip windows

Once you’ve finished following the instructions, you may verify your settings by opening a webpage in a web browser.

How to Set a Static IP Address in Windows 11

You can use the Settings app to set up a static IP address in Windows 11. Here’s how:

how to set a static ip windows

Open your default web browser and determine whether you are able to surf the internet.

As well as Windows 11, the PowerShell method works on older Windows versions too. Follow these steps to set up a static IP address using PowerShell:

how to set a static ip windows

Have All the Benefits of a Static IP Address

Setting up a static IP address in Windows 10 and 11 can come in handy in a number of situations. A Windows 11 PC or Laptop with a fixed IP address and DNS address will improve the speed of your internet connection, making it more responsive. You may also reduce ping and latency time by boosting the IP address, which will result in less lag.

Do you have a static IP address on your Windows? Have you tried setting up a static IP address? Let us know in the comment section below!

Related Posts

how to set a static ip windows

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

microsoft edge logo on a gradient background.

Aman Kumar February 13, 2024

Top speech to text software

Lee Stanton February 9, 2024

how to set a static ip windows

Pankil Shah February 1, 2024

Send To Someone

Missing device.

Please enable JavaScript to submit this form.

how to set a static ip windows

Lee Stanton April 1, 2023

How to See Google Search History

Steve Larner March 7, 2023

how to set a static ip windows

Lee Stanton August 23, 2022

how to set a static ip windows

Lee Stanton August 16, 2022

how to download photos from google photos

Cassandra McBride December 3, 2022

how to set a static ip windows

Lee Stanton February 20, 2023

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

How do I set a static IP address in Windows?

If I do not have access to the router / DHCP server to create a static reservation (i.e. asking the router / DHCP server to set aside a specific IP address when a certain MAC address requests it), how can I set my Windows 7 workstation to have a static IPv4 address?

Canadian Luke's user avatar

  • Will you use the IP that DHCP already gave you? There are some strategies to choose an IP that most likely will not handed out to anyone else, or better, not at all. (choosing one high in the IP range, or one that is not within the range of the DHCP server pool. It can involce some guesswork though :) –  Lexib0y Nov 5, 2015 at 0:01
  • @lexib0y add any awesome information you can! –  Canadian Luke Nov 5, 2015 at 0:05
  • It would help if you could give the current IP address, netmask and gateway, because some educated guessing is needed :) –  Lexib0y Nov 6, 2015 at 12:32

2 Answers 2

  • Click on Start , then Control Panel
  • Choose Network and Internet -> Network and Sharing Center (or just Network and Sharing Center )
  • Click Change Adapter Settings on the left
  • Find the network adapter (NIC) that you are currently connecting with. Right-click it and click Properties (requires Admin access)

enter image description here

  • Click OK , and close the next window. Verify you can access the Internet.

You will now have the IP Address always set to this address. Because it is getting set to whatever was found below, once your computers find the new address, it will remember it. Your router (more specifically, the DNS Service) will match the name with the IP Address, and HomeGroups are built to just know (using IPv6, usually).

How do you find out what you can put here?

  • Click on Start , type cmd and press Enter to bring up the Command Prompt .
  • Type ipconfig /all and press Enter

Check for the following items:

Your screen will output different numbers. Keep the information handy, and put them into the dialog above.

Type exit and press Enter to exit.

You can also use NETSH command to do this.

Setting static IP address:

Setting primary & seconday dns.

clhy's user avatar

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged windows-7 networking ipv4 ..

  • The Overflow Blog
  • Exploring the inclusive tech revolution sponsored post
  • Would you trust an AI bot to find the fix for vulnerabilities in your code?
  • Featured on Meta
  • Site maintenance - Saturday, February 24th, 2024, 14:00 - 22:00 UTC (9 AM - 5...
  • Upcoming privacy updates: removal of the Activity data section and Google...

Hot Network Questions

  • Statistically significant difference
  • Is there a term for having a sequence of notes that then change key while modulating?
  • How to code defensively in Bash for unhandled runtime errors within logical expressions?
  • Spot The Difference
  • How to combine two different datasets to create a unified dataset
  • the main difference between using sentinel-hub API and free STAC API for getting to sentinel 2 images
  • Movie about a team of people drilling to the center of the Earth to save humanity
  • Cayley Table Sudoku
  • Why does the exported video still have control buttons, causing the screen to be too large?
  • How can I check whether a a row exists containing two cells each equal to a different given value?
  • Motivation and physical interpretation of the Laplace transform
  • Advisor's Move to Another University: Should I Identify as a Visiting Student or Visiting Researcher?
  • What specifically can’t the Wish spell do?
  • Short story about Jesus being actually an alien that got stranded on Earth
  • Showing prefix of token in error message?
  • Could a deadly fire start within a spacesuit?
  • How can misattributed paternity cause "a welfare minefield"?
  • Odd use(s) of "bauen"
  • Why are my new switches operating in reverse?
  • Trie implementation using std::shared_ptr
  • If philosophy is based on reason and rationality, then why is there so much disagreement?
  • how to keep the original material after using simulation zone in GN?
  • How do I know it is safe to remove eclipse glasses when viewing a total solar eclipse?
  • What is the better rendering of colossians 2: 14?

how to set a static ip windows

WinTips.org

How to Set Static IP Address on Windows 11/10.

A static IP address is a dedicated, permanent IP address that is manually assigned to a device by a user. Unlike dynamic IP addresses, which are assigned by a DHCP Server and can change over time, static IP addresses remain fixed and do not change over time.

A static IP address can be useful in many situations, such as when hosting a website or server, setting up a virtual private network (VPN) server, forwarding ports to a specific device, accessing a networked printer, and more.

Whatever your reason may be, assigning a static IP address is a simple and straightforward task that can be done directly on the device. In this article, we will cover various methods for setting up a static IP address on Windows 11/10.

How to Assign a Static IP Address on a Windows 11 PC.

  • Set Static IP on Windows 11 Settings.
  • Set Up Static IP Address in Network Connections.
  • Assign a Static IP Address through Command Prompt.
  • Specify a Static IP Address with PowerShell.

Method 1: Manually Set a Static IP Address using Windows Settings

The most straightforward method for setting a static IP address is through Windows Settings.

1. Press Windows + I keys to open the Windows Settings app

2. Select the Network & internet tab in the left pane and then click on the active/connected network connection ( Ethernet or WiFi ) on the right pane.

How to Set Static IP Address on Windows 11/10.

3. On the network configuration page:

a. Note the current IPv4 address and the IPv4 DNS server address which automatically assigned by DHCP (usually your router).

b. Click the the Edit button next to the IP assignment section to set a Static IP Address.

How to Assign Static IP Address on Windows 11/10.

4. In Edit IP settings , change the setting from Automatic (DHCP) to Manual using the drop-down menu.

clip_image006

5. Then, Turn On the IPv4 toggle and fill out the fields below as follows:

  • IP address: Enter the static IP Address that you want to use. *

* Note: if you want to set the assigned DHCP IPv4 address you noted before as static, type this address here. (e.g. "192.168.1.217" in this example)

  • Subnet mask: Type 255.255.255.0
  • Gateway: Enter the IP address of your router. [Usually, this is the same as the IPv4 DNS server address you noted before. (e.g. "192.168.1.1" in this example)]
  • Preferred DNS: Type the IPv4 DNS server address you noted before. (e.g. "192.168.1.1" in this example).

6. When finish, click Save and you done.  You have successfully changed the IP address from dynamic to static. *

* Note: If, after following the instructions above, you lose your network connectivity, make sure you have set the correct IP address, Subnet Mask, Gateway and DNS, or change to Automatic (DHCP) again.

Assign Static IPv4 Address on Windows 10/11

Method 2: Assign a Static IP Address in Network Connections settings.

The classic and my favorite method to change the IP Address in Windows, is through the Network Connections applet.

image

3a. In Network Connections window, double-click on the active Network Connection/Adapter and click Details.

Network Connection Details

3b. In Network Connection Details window, notice and write down the following information:

  • IPv4 Address (e.g. "192.168.1.101")
  • IPv4 Subnet Mask (e.g. "255.255.255.0")
  • IPv4 Default Gateway (e.g. "192.168.1.1")
  • IPv4 DNS Server   (e.g. "192.168.1.1")

IPv4 Address Settings

3c. When done, click the Close button.

4. Now, in Network Status window, click Properties.

Network Connection Properties

5. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties again.

IPv4 TCPI/IP Properties

6. In ' Internet Protocol Version 4 (TCP/IPv4) Properties' window, do the following:

a. Check the Use the following IP address option and fill the below fields as follows:

b.  At IPv4 Address field, type the static IP Address that you want to use, or if you want to set the assigned DHCP IPv4 address you noted before as static, type this address. (e.g. "192.168.1.101" in this example)

c. Then press the Tab button once to fill automatically the Subnet mask field, or type manually the Subnet mask "numbers" you noted in the step-3b above (e.g. 255.255.255.0").

d. At Default gateway field, type the IP Address of the "IPv4 Default Gateway" you noted before (This is the IP Address of your router. e.g. "192.168.1.1" in this example)

Set Static IP Address

e. Next, check the Use the following DNS addresses option and type below the IPv4 DNS Server address you noted before (e.g. "192.168.1.1" in this example), or type your preferred DNS server's address, such as the Google's public DNS Server's addresses " 8.8.8.8 " for Preferred DNS and " 8.8.4.4 " for Alternate DNS, as in this example.

Set Preferred DNS Server Address

7. Now, check the Validate settings upon exit option and click OK to save the changes.

set static ip address on windows

8. Finally, click Close to close the adapter’s properties window and you done! *

* Note: If, after following the instructions above, you lose your network connectivity, make sure you have set the correct IP address, Subnet Mask, Gateway and DNS, or change back to the Dynamic IP assignment, by checking both the " Obtain an IP address automatically "  & " Obtain DNS Server addresses automatically " options in the above screen.

Set Static IP Address on Windows 11/10

Method 3: Set Up a Static IP Address using Command Prompt

If you like commands, then here are the instructions to change your Dynamic IP address to Static, via command line.

1. Open Windows Search, type command prompt, and select Run as administrator . Then, click Yes on the UAC prompt to proceed.

command prompt

2. Proceed and view your current IP Address configuration by giving the below command and pressing Enter :

  • ipconfig/all

ipconfig/all

3. After command execution, scroll up and and note the name of the network adapter that you are currently using (e.g. "Wi-Fi" in this example), and then note the following details below it:

  • IPv4 Address (e.g. "192.168.1.100")
  • Subnet Mask (e.g. "255.255.255.0")
  • Default Gateway (e.g. "192.168.1.1")
  • DNS Server   (e.g. "192.168.1.1")

ip configuration

2a. To change the Dynamic IP address configuration you already have to a static IP address configuration, enter the following command:*

  • netsh interface ip set address name=" Adapter's_Name " static IPAddress SubnetMask DefaultGateway

* Note: In the above command:*

  • Replace Adapter's_Name with the name of the active network adapter, (e.g. " Wi-Fi " in this example)
  • Replace the IPAddress with the IPv4 Address you noted above (e.g. " 192.168.1.100 " in this example), or type the Static IP Address that you want to use.
  • Replace the SubnetMask with the " Subnet mask" address you noted above (e.g. " 192.168.1.1 " in this example).

* In this example, the command will be:

  • netsh interface ip set address name="Wi-Fi" static 192.168.1.100 255.255.255.0 192.168.1.1

setup static ip address command prompt

2b. To assign a DNS server address, type or paste the following command and press Enter :*

  • netsh interface ip set dns name=" Adapter's_Name " static DnsServer
  • Replace the DnsServer with the DNS Server's IP Address of the DNS you noted above (e.g. " 192.168.1.1 " in this example), or the type the IP address of the DNS Server that you want to use. **

** e.g. In this example will want to use Google's Public DNS server (8.8.8.8). So , the command will be:

  • netsh interface ip set dns name="Wi-Fi" static 8.8.8.8

set dns address command

2c. If you want to assign an alternate DNS server address, (e.g. "8.8.4.4"), give the following command and press Enter : *

  • netsh interface ip add dns name=" Wi-Fi " 8.8.4.4 index=2

* Note: Replace Wi-Fi with your adapter's name and change 8.8.4.4 with your desired alternative DNS server address.

set alternate dns address

3. When finish, close the command prompt window and you're done!

Method 4: Set a Static IP Address using PowerShell.

Another way to change to a Static IP address on your device, is via PowerShell.

1. Press the Windows key, type powershell in the search bar, and click Run as Administrator to open Windows PowerShell as administrator .

powershell

2. Now give the following PowerShell command and hit Enter to view the current Network IP configuration:

  • Get-NetIPConfiguration

view network ip configuration

3. Now note the InterfaceIndex of the active network adapter (e.g. "22" in this example), and the following details below it:

  • IPv4Address (e.g. "192.168.1.100")
  • IPv4Default Gateway (e.g. "192.168.1.1")

assign ip address powershel

4. Run the following command to set up a static IP address: *

  • New-NetIPAddress -InterfaceIndex Number -IPAddress New- IPv4Address -PrefixLength 24 -DefaultGateway IPv4DefaultGateway

* Notes 1. In the above command:

  • Replace Number with the Interface's Index number you noted above (e.g. "22" in this example)
  • Replace New- IPv4Address with the static IP Address you want to use.  (e.g. "192.168.1.150" in this example), or type the IPv4Address you noted before.
  •   Replace IPv4DefaultGateway with the IP Address you noted above (e.g. "192.168.1.1" in this example.

e.g. To set the IPv4 Address to "192.168.1.150", type:

New-NetIPAddress -InterfaceIndex 22 -IPAddress 192.168.1.150 -PrefixLength 24 -DefaultGateway 192.168.1.1

2. The number "24" is usually the default prefix (Subnet Mask) for home networks.

set dns address powershel

5. To add a primary DNS server to your network adapter, run the below command:*

  • Set-DnsClientServerAddress -InterfaceIndex Number -ServerAddresses DnsServer

Note: In the above command:

  • Replace DnsServer with the IP of the DNS Server you noted above (e.g. "192.168.1.1" in this example), or type the IP Address of your referred DNS Server.

Example No1: To use the current DNS server's IP address in this example:

  • Set-DnsClientServerAddress -InterfaceIndex 22 -ServerAddresses 192.168.1.1

Example No2: To set another DNS Server with IP address "208.67.222.222" type:

  • Set-DnsClientServerAddress -InterfaceIndex 22 -ServerAddresses 208.67.222.222

set alternate dns address powershel

Example No3: To specify both a Preferred and an Alternate DNS Server with IP's 208.67.222.222 & 208.67.220.220 respectively, give the following command:

  • Set-DnsClientServerAddress -InterfaceIndex 22 -ServerAddresses 208.67.222.222, 208.67.220.220

image

That's it! Which method worked for you? Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.

We're hiring

We're looking for part-time or full-time technical writers to join our team! It's about a remote position that qualified tech writers from anywhere in the world can apply. Click here for more details.

  • Recent Posts

Konstantinos Tsoukalas

  • FIX: An Active Directory Domain Controller for domain could not be contacted. (Solved) - February 14, 2024
  • How to Enable Remote Desktop on Windows 11. - February 12, 2024
  • FIX: This sign-in option is disabled because of failed sign-in attempts. - February 7, 2024

' src=

Konstantinos Tsoukalas

Related posts.

FIX: An Active Directory Domain Controller for domain could not be contacted. (Solved)

How to , Tutotial , Windows , Windows 10 , Windows 11 , Windows 7

FIX: An Active Directory Domain Controller for domain could not be contacted. (Solved)

How to Enable Remote Desktop on Windows 11.

How to , Tutotial , Windows , Windows 10 , Windows 11

How to Enable Remote Desktop on Windows 11.

FIX: This sign-in option is disabled because of failed sign-in attempts.

How to , Tutotial , Windows 10 , Windows 11

FIX: This sign-in option is disabled because of failed sign-in attempts.

Leave a reply cancel reply.

Your email address will not be published. Required fields are marked *

Steve's Smart Home Networking Guide

Practical Home Networking and Home Automation

How to Set Up A Static IP Address on Windows 10

You can manually assign IP addresses to your computers and devices.

These addresses are known as static addresses. See Home network addresses for more details.

To set up a static address you need to locate the Connection you are using.

windows-settings

1. Click on the Windows Icon Lower left.

2. Click the Settings icon

3. The windows setting screen appears click on the network and Internet link.

windows-settings-Inter

4. In the Network status pane locate the change adapter options link and click it

network-status-window

5. You should now see your network adapters. I have two installed and the Wi-Fi adapter is disabled. If your PC is equipped with two; as most are, then only use one and disable the other.

network-connections-window

7. Use the scroll bar to locate TCP/IPv4 and click it to highlight it,and then click the properties button .

Local-connection-properties

1. My home network use the network address 192.168.1 (first three numbers) also common is 192.168.0 and 10.x.x.x

2. The default gateway is the address of your home router. This is assigned to the router as a static IP address. It can be changed as part of the home router set up .

3. The subnet mask is important anf is usually 255.255.255.0

4. You need the address of 1 DNS server to access websites on the Internet. The Google DNS server is available to use for free but you can use your ISP DNS servers.

5. You can choose to manually assign the DNS addresses and automatically assign the IP address or vice versa.

Related Tutorials and resources

  • How to Geek article covers other versions of Windows. (XP,Vista,Windows 7)
  • Setting Up A Home Network
  • Internal and External IP Addresses
  • How to Setup and Configure your Home Router 
  • Windows File Sharing Guide

Frontier Communications supplied me with an Arris NVG468MQ router. I use NordVPN. I want to set up port forwarding and would like to know if I first should set up a static IP address. If so, should I disable the VPN prior to doing that? If not, which IPv4, Subnet, and DNS server(s) should I use from cmd -> ipconfig /all? I show the following while NordVPN is enabled:

Windows IP Configuration: Host Name: xxxxxx xxxx xxxx xxxx

Unknown Adapter NordLynx: Media State: Media Disconnected Connection Specific DNS Suffix: (empty) Description: NordLynx Tunnel Physical address: (empty) DHCP Enabled: No Autoconfig enabled: Yes

Ethernet Adapter Ethernet 2 Descriptioon: TAP-NordVPN Windows adapter V9 xxxxx xxxxx xxxxx

Ethernet Adpater Ethernet: Connection specific DNS suffix: Home Description: Intel gigabit network coonection IPv4 address: xxxxxxx SUbnmet: xxxxxxx Default Gateway: xxxxxxx DHCP Server: xxxxxx DNS Servers: xxxxxxx (only 1)

Wireless LAN adapter Wi FI: Media State: media disconnected

Have not used Nord vpn but I don’t think that port forwarding will work to the machine running it. Rgds Steve

Extremely helpful. Just bought a second hand Computer with Windows 16 server installed. Was trying to understand how to set up a home network using that. This has made it much easier to understand the static IP bit. Thanks

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Privacy Overview

WindowsLoop

How to Set Up Static IP Address on Windows 11

If you don’t want your IP address to change every time you reconnect to a WiFi network, you must set up a static IP address on Windows 11. This guide shows you how.

Unlike dynamic IP addresses, which are automatically and randomly assigned by the router, a static IP address remains constant. i.e., your IP address won’t change even after reconnecting to the network. There are several advantages to using a static IP address. It gives your device a constant identity and allows other devices on your network to communicate with your device easily. For example, a static IP address makes it easy to access your device using Remote Desktop. Additionally, assigning a static IP to Windows 11 allows you to set up specific rules, such as network speed limitations, website blocks, etc., in the router to better manage the network connection.

In this small tutorial, let me take you through setting up a static IP address on your Windows 11 system from Settings and Command Prompt.

Assign static IP address on Windows 11 from Settings

To set up static IP address on Windows 11, follow the steps given below.

Step 1: Launch the Settings on Windows 11.

Use the Windows key + I keyboard shortcut or right-click on the taskbar’s Start icon and click on the “Settings” option. This action will open the Settings app.

Step 2: Open the network properties.

In the Settings window, go to the “Network & Internet” tab on the sidebar, click on Wi-Fi, and then click on the current network properties option. If you are using an ethernet connection, click on ethernet and then click on the network properties option.

click on Windows 11 WiFi network properties

Step 3: Click the Edit button next to IP Assignment.

Now, scroll down to the IP Assignment section and click on the Edit button. This action allows you to edit the IP address settings on Windows 11.

edit network IP configuration - click on edit

Step 4: Enable the IPv4 option and add the preferred IP address, Subnet mask, default gateway, and preferred DNS address.

In the Edit Network IP Settings window, enable the IPv4 option and type the below details in their respective fields and click on the “Ok” button to save the changes.

  • Preferred IP address: The IP address you want to assign to Windows 11.55
  • Subnet mask: You can get this from the router’s local network settings.
  • Default gateway: You can get this from the router’s local network settings.
  • Preferred DNS: You can either use the DNS provided by your router or a custom DNS server .

enter IP address details to set up static IP address on Windows 11

That is it. With that, you’ve assigned a static IP address. From now on, the router will automatically assign the static IP address whenever you system connects to it assuming you’ve configured relevant rules in the router.

Assign static IP address on Windows 11 from Command Prompt

Follow the steps below to set up static IP address using Command Prompt on Windows 11.

First of all, open the Command Prompt window . You can do that by searching for Command Prompt in the Start menu. Alternatively, open Windows Terminal and launch the Command Prompt tab in it.

Before you can set up the static IP address, you need a few important details such as the subnet mask, default gateway, and preferred DNS. To get them run the ipconfig /all command . This will list all the network adapters and their configuration details. Next, note down the adapter name and IP addresses of the Subnet Mask, Default Gateway, and DNS Servers (note down the IPv4 address).

ipconfig /all command

Now, run the below command while replacing the dummy text with the actual details you noted down.

netsh interface ip set address name="AdapterName" static IPAddress SubnetMask DNSAddress

Once you replace all the details like the adapter name subnet mask, default gateway, and DNS server, this is what the command looks like.

netsh interface ip set address name="Wi-Fi" static 192.168.142.42 255.255.255.0 192.168.142.1

This will assign the static IP. From now on, the router will automatically assign the static IP address whenever your system connects to it assuming you’ve configured relevant rules in the router.

That is it. I hope this small tutorial helped you in making Windows 11 use a static IP address.

Related network tutorials:

  • How to set up static IP on Windows 10
  • How to force 5GHz WiFi on Windows 11
  • How to change MAC address
  • How to enable DNS-over-HTTPS (DoH) on Windows 11
  • How to find IP address on Windows
  • How to share a folder on Windows
  • How to find printer IP address
  • How to find WiFi IP address on Windows 10 & 11
  • How to set up metered connection on Windows 11
  • How to see WiFi passwords on Windows 11
  • How to delete DNS cache on Windows 11
  • More Windows network tutorials

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

Security.org

What Is a Static IP Address?

I f you’ve done any research on internet protocol (IP) addresses, then chances are you’ve run into the term “static IP address.” Static means unchanging, but is that a good or a bad thing for your overall digital security? We’ll break down what a static IP address is and figure out if it’s right for your devices.

A static IP address is an IP address that stays the same. Typically, users create static IP addresses manually; internet service providers, or ISPs, can assign them, as well. Static IP addresses can be either IPv4 or IPv6, although as of now, IPv4 is much more common.

Your private information

My ip address.

20.237.210.148

Unprotected

My IP Information

Internet provider:

MICROSOFT-CORP-MSN-AS-BLOCK

Region/ State:

Hide my IP address

View IP Details

Browser name:

Browser version:

Device brand:

Device type:

Postal code:

  • Better support for DNS
  • Better for voice and video communications that use VoIP
  • Better for geolocation services, like changing your Tinder location
  • Easier to hack
  • Makes you easier to locate and track
  • Higher cost

What Is an IP Address?

If you’re not sure what an IP address is, we’ve got you covered. “IP” stands for “internet protocol,” and it’s a device’s identifying number both within a computer network and outside of that network. Think of an IP address like a street address that lets people send letters to each other, but in this case it’s data. IP addresses reveal the user’s approximate physical location including their city and ZIP code.

» Learn about: How to find your IP address

What Is a Dynamic IP Address?

The opposite of a static IP address is a dynamic IP address, one that changes periodically. A Dynamic Host Configuration Protocol (DHCP) server assigns dynamic IP addresses automatically; after a period of time, they expire and get replaced.

  • Makes you harder to follow online
  • No need to change your IP address manually
  • Bad for DNS servers
  • Less accurate geolocation information
  • Websites won’t remember who you are

Static vs. Dynamic IP Addresses

Now, let’s put static and dynamic IP addresses head to head. Both show a user’s approximate geolocation, but they’re useful for different purposes.

When You Need a Static IP Address

To be blunt, you won’t need a static IP address most of the time, except for websites that need to remember your IP address. If you have a business with your own website or internet service and employees working from home, use a static IP address along with a business VPN . This will help your employees work from home safely .

When You Need a Dynamic IP Address

For everything else, there are dynamic IP addresses, the choice of most consumers. Since dynamic IP addresses make it harder to track you online, they’re the default option the majority of the time.

» Learn more: How to get a US IP address

Which Type of IP Address Do You Have?

Finding your IP address is easy, whether you need to find your printer’s IP address , find your Roku’s IP address , or find your router’s IP address . We’ve included instructions for the major operating systems below.

Follow these steps to check your Mac’s IP address :

  • Open the System Settings…
  • Select Network.
  • Select your Wi-Fi network.
  • Click Details…
  • Your internal IP address should then be listed.

PC (Windows 11)

Find your Windows computer’s IP address:

  • Click on the Taskbar.
  • Click Wi-Fi Network.
  • Click Select Network.
  • Select Properties.
  • Look under IPv4 Address for your IP Address.

To find your Android device’s IP:

  • Open your Android Settings.
  • Click About.
  • Click Status.
  • Click IP Address.

And last but not least, to find your iPhone’s IP address :

  • Open Settings.
  • Click Wi-Fi.
  • Under the lowercase i, click Network.
  • You’ll find your IP address under IPv4 Address.

Is It Hard to Change Your IP Address?

Once you’ve found it, changing your IP address isn’t hard. You can use a number of methods, but installing a VPN is the easiest option. But don’t worry; we’ll get to that soon.

How to Get a Dynamic IP Address

Now, to change your IP address (and change it again and again), we recommend using a VPN with dynamic IP addresses. However, although there are free VPNs as well as free trial VPNs , you’ll probably have to pay for a VPN in the long term. If that doesn’t work for you, we’ve provided some other options.

» Further Reading: Learn how to get a UK IP address

VPNs hide your IP address and change it periodically. Additionally, VPNs hide your browsing history for some added privacy, if that’s your reason for using a VPN .

Look for a VPN with dynamic IP addresses; we suggest ExpressVPN, Private Internet Access, or IPVanish, to name a few. Learn more in our ExpressVPN review , Private Internet Access review , or IPVanish review . Once you’ve picked out a VPN:

  • Download the VPN from your app store.
  • Complete the installation process as guided.
  • Connect to a server. Your IP address will change automatically.

Another way to get dynamic IP addresses is to use Tor as your web browser. Tor is a free and open-source secure browser that isolates each website, clearing the cookies as soon as you move onto the next one. By changing your IP address and device information, Tor makes all users look the same, encrypting their IPs and web activity three times. You can download Tor for macOS, Linux, Android, or PC on the Tor Project website. 2

Proxy Servers

If you want to change your IP address only and don’t care about your web activity being hidden, you can use a proxy server in lieu of a VPN. Here’s how.

  • Open Safari.
  • Click Settings.
  • Click Advanced.
  • Under the Proxies section, click Change Settings.
  • Update your settings with the necessary information that was provided to you.
  • Open your Settings.
  • Click Network & internet.
  • Click Proxy.
  • Click Set up under the automatic or manual section.
  • Enter your proxy information.

Click Save.

  • Select the lowercase i, in the WiFi section.
  • Scroll to HTTP Proxy section.
  • Click Manual.
  • Change the setting from Off to Manual.
  • Enter in the Server and Port information needed.
  • Tap Settings.
  • Tap Connections.
  • Tap Settings next to the network name.
  • Tap View More.
  • Tap Proxy, then select Manual.
  • Enter your proxy port and hostname.
NOTE: Proxy servers encrypt your IP address only; your ISP will still be able to see everything you’ve done online.

How to Set up a DHCP Reservation

If you’ve ever tried to print wirelessly, then you know how hard it can be to connect your computer to your printer. That’s probably because your printer’s IP address keeps changing. So to combat this issue, some people set up DHCP reservations, which tell your Wi-Fi network to assign a device the same IP address every time. How to set up a DHCP reservation depends on the operating system, but if you use Google Home:

  • Open the Google Home app.
  • Click Advanced Networking.
  • Click DHCP IP Reservations.
  • Click the plus sign to add IP reservations.
  • Click the device you want to assign a static IP address.
  • Enter the static IP address.
  • Click Save. 3

How to Protect Your IP Address

The most surefire way to protect your IP address is to use a VPN, but you could also use a proxy server or the Tor browser, as we detailed above. If someone has your IP address along with your personally identifiable information , or PII, they could steal your identity , which is why it’s best to keep your IP addresses hidden .

And there you have it: everything you ever wanted to know about static IP addresses and more. But if we still haven’t answered your burning questions, keep reading below or check out our VPN how-to guides for even more information.

Laptop Computer with Windows

IMAGES

  1. How to Set Static IP Address in Windows 10

    how to set a static ip windows

  2. Cómo configurar una dirección IP estática en una PC con Windows 10 (actualizado en 2022)

    how to set a static ip windows

  3. How to set a static ip windows 10

    how to set a static ip windows

  4. Saturate Thunder physicist set a static ip windows 10 Embassy Parliament dump

    how to set a static ip windows

  5. set a static ip windows 10

    how to set a static ip windows

  6. How (and why) to set a static IP address in Windows 10

    how to set a static ip windows

VIDEO

  1. How to set up a static IP address in Windows 11

  2. How To Assign Static Ip Address From Class Ipv4

  3. How to Assign a Static IP Address in Windows 10 and Windows 11

  4. How To Configure Static IP in Ubuntu 18.04 Desktop

  5. How to configure a static IP address for WiFi Network on Kali Linux

  6. How to Set Static IP Address on Android 4 (Ice-Cream)

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 configure a static IP on Windows 10 or 11

    Whatever the reason, on Windows 10 and 11, you have many ways to configure a static TCP/IP address, including using the Settings app and Command Prompt. This guide will walk you through the...

  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 set a static IP in Windows 10 [Easy Setup]

    1. Set it manually Right-click on the network icon on your taskbar. Select the Open Network & Internet settings option. Click on Change adapter options under the Change your network settings area. Right-click on your network connection and select Properties. Go to Internet Protocol Version 4 (TCP/IPv4) and click on it.

  5. How to Set a Static IP Address for a 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. You will see this under Related settings. This will open a control panel window.

  6. How to set a Static IP Address in Windows 11/10

    Via Control Panel Via Windows Settings Using PowerShell Using Command Prompt. 1] Setting a static IP address via Control Panel Right-click the network (or Wi-Fi) icon visible on Windows...

  7. How to Set a Static IP Address on Windows

    How to Set a Static IP Address on Windows Meenatchi Nagasubramanian A dynamic IP address is the recommended configuration for most Windows PC users. However, a static IP address is required when a computer provides a service for other PCs. This tutorial walks you through how to quickly set a static IP address on your computer.

  8. How do I set a static IP address in Windows?

    Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet > Network and Sharing Center. Click Change adapter settings. Right-click on Wi-Fi or Local Area Connection. Click Properties. Select Internet Protocol Version 4 (TCP/IPv4). Click Properties . Select Use the following IP address.

  9. How to Set a Static IP Address on a Windows PC

    Head to the Start menu search bar, type in 'settings,' and select the best match. Alternatively, press the Windows Key + I to launch the Settings menu. Then head to Network & internet settings. Look for the Properties button. It's right next to your connection settings. Scroll down and look for the IP assignment section. Then click on Edit.

  10. How to Set up Static IP Address on Windows 10

    Click on the "Properties" button in the right panel. Scroll down and click "Edit" the "IP Settings" section. Turn on the "IPv4" option. Type the IP address, Subnet, Gateway, and Preferred DNS addresses. Click on the "Save" button. In Windows 10, you can set the static IP address from the Settings app. First, open the ...

  11. How to Set Static IP Address in Windows 10

    Step #2. Set Static IP Address. After noting down Subnet Mask and DHCP Server Address, follow the steps below to Assign or Set Static IP Address for your computer. 1. Go to Settings > Network & Internet > Select your active network ( WiFi or Ethernet) in the left-pane. In the right-pane, scroll down and click on Change adapter options link ...

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

    Any Windows device's settings can be tweaked in order to set up a static IP address. 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.

  13. How to Set Up a Static IP Address

    Home How-To Networking How to Set Up a Static IP Address DHCP is fine, unless you're looking to perform advanced networking tasks. Here's how to set a Static IP address (or DHCP...

  14. How To Set Static IP Address in Windows 10 using CMD

    There are several methods to set a static IP address in Windows 10. In this tutorial, we will see together how to set a static IP address from the Command Prompt. In Windows 10, setting a static IP address for your device is an essential configuration that may be required in a number of scenarios.

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

    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: ipconfig /all.

  16. How To Set Static IP Windows 10

    Introduction Setting a static IP address in Windows 10 can be a useful skill for those who want more control over their network configuration. By assigning a static IP address to your computer, you can ensure that it always has the same IP address, regardless of any changes in the network.

  17. How to Set a Static IP Address in Windows 10

    Pick "Wi-Fi" or "Ethernet". Select the active network connection. Go to "Edit" in the "IP settings" section. Select "Manual" from the menu. Turn the IPv4 toggle switch on ...

  18. How do I set a static IP address in Windows?

    Choose Network and Internet -> Network and Sharing Center (or just Network and Sharing Center) Click Change Adapter Settings on the left Find the network adapter (NIC) that you are currently connecting with. Right-click it and click Properties (requires Admin access) Choose Internet Protocol version 4 (TCP/IPv4) and choose Properties

  19. How to Set Static IP Address on Windows 11/10.

    The most straightforward method for setting a static IP address is through Windows Settings. 1. Press Windows + I keys to open the Windows Settings app 2. Select the Network & internet tab in the left pane and then click on the active/connected network connection ( Ethernet or WiFi) on the right pane. 3. On the network configuration page: a.

  20. How to Set Up A Static IP Address on Windows 10

    To set up a static address you need to locate the Connection you are using. 1. Click on the Windows Icon Lower left. 2. Click the Settings icon. 3. The windows setting screen appears click on the network and Internet link. 4. In the Network status pane locate the change adapter options link and click it.

  21. How to Set Up Static IP Address on Windows 11

    To set up static IP address on Windows 11, follow the steps given below. Step 1: Launch the Settings on Windows 11. Use the Windows key + I keyboard shortcut or right-click on the taskbar's Start icon and click on the "Settings" option. This action will open the Settings app. Step 2: Open the network properties.

  22. How to Set a Static IP Address in Windows 11

    Right-click on your network adapter and select Properties. Click Internet Protocol Version 4 (TCP/IPv4). Click Properties. Select Use the Following IP Address and enter the IP Address, Subnet Mask ...

  23. How to set up a static IP address

    Select "Manage known networks" > "Properties" > "IP settings." Select "Edit." Select "Manual." Select "IPv4" and switch it to "On."

  24. What Is a Static IP Address?

    A static IP address is an IP address that stays the same. Typically, users create static IP addresses manually; internet service providers, or ISPs, can assign them, as well.

  25. Setting a Static IP Address in Ubuntu 24.04 via the Command Line

    Verify the New Static IP Address; Conclusion. Setting a static IP address on Ubuntu 24.04 involves identifying the correct network interface, editing the Netplan configuration file with the new IP settings, securing the file permissions, and applying the changes. This process ensures your server can communicate consistently and securely on your ...