
How to Set a Static IP Address
August 2021
There are many reasons that you may need to change and set a static IP address for your IP device, such as a managed switch , wireless router , or outdoor access point . One reason is because an installation scenario doesn’t have an active network with DHCP services. Some other reasons you may need to set a static IP are because you use a dedicated web server, host server, VPN, or VoIP services.
Setting static IP addresses can help to avoid network conflicts which could cause certain devices to stop working correctly. However, in most installation scenarios, users will use a regular network and will not need to use a static IP. Setting a static IP address is an advanced networking function, and a basic, fundamental knowledge of TCP/IP is needed.
In general, statically address devices outside of your DHCP pool range, which in most home networks is your router . For reference, the DHCP pool range for TRENDnet products is usually (but not always) 192.168.10.101 to 199.
1. Access the Control Panel
In the Windows search bar, type in “ncpa.cpl” and then press enter.

If you are not using Windows 10, follow the steps below instead.
- On your keyboard, press the “Windows” and “R” keys at the same time.
- Enter “ncpa.cpl” in the window that pops up.
Note: Network connections will display the network adapters that are currently connected to your computer.

2. Select the Network Adapter
Right click on the network adapter that is currently connected to the device that you are trying to configure. Usually, it will be the adapter with the word “Ethernet” in the name.

3. Select Properties
Select “Properties” from the drop-down menu.

4. Select Internet Protocol Version 4 (TCP/IPv4)
Double-click on “Internet Protocol Version 4 (TCP/IPv4)”.

5. Manually enter IP address and subnet mask
Select “Use the following IP Address” and then input the following information in the corresponding fields:
IP address: Check the device that you are connected to in order to locate the IP address. The first three sets of digits should match. For this tutorial, we will use IP address 192.168.10.10.
Subnet mask: The subnet mask between the device that you are trying to connect to needs to be the same as your PC. For this tutorial, we will use subnet mask 255.255.255.0

6. Save Settings
Click the OK button on “Internet Protocol Version 4 (TCP/IPv4) Properties” window, and also click the OK button on “Ethernet Properties” window.
Note: The OK buttons must be clicked in both instances or your settings will not be saved.
7. Revert Back to DHCP
To set your computer back to DHCP, repeat steps 1-4 again. When you get to the “Internet Protocol Version 4 (TCP/IPv4) Properties” window, click “Obtain an IP address automatically”. This will allow your PC to be assigned a random IP address on your network.

Operating System The operating system (often shortened to OS) is the software your computer or mobile device uses to perform basic functions. Microsoft Windows, Apple macOS, and Linux are the most popular operating systems for computers and laptops, with Android and iOS for mobile devices.
Browser A browser (short for web browser) is a software application that allows you to access the internet. Some of the most popular browsers are Chrome, Safari, Edge, Internet Explorer, and Firefox.
Network Adapter A network adapter allows a device to communicate and connect to a local area network (LAN), the internet, or other computers. Network adapters can be wired or wireless , and they can be visible or hidden from plain sight.
IP Address An IP address is a unique identifier for devices that access the internet or devices on a local area network. It uses a string of numbers and/or letters with periods or colons. To identify your IP address, type “what is my ip” into a search engine, like Google or Bing. You can also visit whatismyipaddress.com or whatismyip.com .
Dynamic IP address A dynamic IP address is an IP address that can change over time. Your IP address may change each time you connect. Most IP address assigned by your ISP will be dynamic IP addresses.
Static IP address A static IP address (also referred to as a manual IP address or static IP configuration) is an IP address that remains unchanged over time. Your IP address remains the same (or static) each time you connect (from the same location). Your IP address may change if you connect to a different network in a different location.
- What Is a VPN?
- Download VPN
- Business VPN
- Get NordVPN
Show all categories Hide all categories
How to set up a static IP address
A static IP address can facilitate remote access solutions and enhance network security . Setting up a static IP address is a simple process on most operating systems. In this article, we’ll provide step-by-step instructions for configuring a static IP on all popular systems, as well as using your router.

Malcolm Higgins
Why use a static IP address?
How to set a static ip address in macos, how to set a static ip address on windows 10, how to set a static ip address on android, how to set a static ip address on ios, how to set a static ip address on linux, how to set a static ip address on raspberry pi, how to set a static ip address through a router.
A static IP address can be useful for remote access systems, like virtual private networks (VPNs) and proxy servers.
Unlike dynamic IP addresses, which most devices use, static IPs don’t change. If you’re setting up your own server — for example, if you want to host work resources for employees to access remotely — being able to designate a dedicated IP address can be useful.
Static IP addresses are also great for virtual private networks (VPNs) . If some members of your team work from home while others are in the office, you can host programs and sensitive files on a (with a static IP address), to which team members can connect with a VPN client (an application on their device). Now everyone has secure access to the same resources, wherever they are based. Services like NordVPN also offer their own dedicated IPs which can be used for work purposes.
On some occasions, you may need to change or reset your IP address to resolve errors and other problems, including the IP address conflict on Windows . That’s another way in which being able to change your IP settings is useful.
- Open “About Mac” and select “System preferences.”
- Select “Network” and then choose the network you’re using.
- Select “Advanced.”
- Select “TCP/IP.”
- Select “Configure IPv4” > “Manually.”
- Open “System preferences” > “Network.”
- Select “Advanced” > “TCP/IP” > “WiFi.”
- In the IPv4 address field, input the IP address you want to be static.
- Select “Apply.”
- Open “Settings” on your computer.
- Select “Network and internet.”
- Select your current connection.
- Select “Manage known networks” > “Properties” > “IP settings.”
- Select “Edit.”
- Select “Manual.”
- Select “IPv4” and switch it to “On.”
- Input the IP address you want to be static.
- In the “Subnet prefix length” field, input “24.”
- Type “ipconfig/all” into the window and input your gateway information.
- Select “Save.”
- Open “Settings” and select “Connections” > “Wi-Fi.”
- Select the gear icon which appears beside your current network.
- Select “IP settings” > “Static.”
- Input your static IP address.
- Open “Settings” and select “Wi-Fi.”
- Select “Network.”
- In “IPv4” select “Configure IP” > “Manual.”

Apr 03, 2018
Dec 07, 2021
12 min read
Input the “ifconfig” command, the name of your network interface, and your preferred static IP address.
$ ifconfig [ interface name ] [ ip address ]
For example, let’s say your network interface is called “etho1” and you want to set your IP address to “00.000.00.000” (for obvious reasons, this is not a real IP address). To do this, you would run the following command:
$ ifconfig etho1 00.000.00.000
To verify that the new IP address has been set, run the “ifconfig” command with the name of your network interface. Sticking with the interface name from the example above, it would look like this:
$ ifconfig etho1
A Raspberry Pi computer is a single board computer that’s extremely cost-effective and versatile. Here’s how you can set up a static IP address for the tiny computers.
- Click the Wi-Fi icon on the menu bar.
- Select “Wireless & wired network settings” and open the empty dropdown menu.
- Select a network interface.
- In the “IPv4 address” field, input your static IP address.
- In the “Router” field, input your router’s IP address.
- In “AS DNS servers” input “8.8.8.8.”
- Select “Disable IPv6.”
You can set a static IP address through your router for any device on its network. To do this, you’ll need the MAC address of whatever device you want to configure with a static IP address, and that device must be connected to the router.
NOTE: Different router brands use different systems, so these instructions won’t relate exactly to your router.
- Access your router’s configuration page (this can be done by typing your router’s current IP address into your browser search bar)
- Navigate to a section on the configuration page with a name like “LAN setting,” “static IP addresses,” or “DHCP reservations”
- Input the MAC address of a device on the router’s network
- Input the static IP address you wish to assign to that device
- Save changes
Want to read more like this?
Get the latest news and tips from NordVPN.

- Privacy on any Wi-Fi
- Malware protection
- One account, six devices
- 5,500+ servers in 60 countries
Trending articles
Mar 07, 2023
How to ping an IP address

Charles Whitmore

14 min read
How to check if your VPN is working
Jomilė Nakutavičiūtė
Mar 13, 2023
Welcome to the next chapter of NordVPN
Vykintas Maknickas
This website uses cookies. To learn more, visit our Cookie Policy .
- {X-HTML Replaced}
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 reservation) for any device on your network.

An IP address is a unique identifier for a specific device on your network. Your router assigns them to these devices using Dynamic Host Configuration Protocol (DHCP). As you connect new devices to the network, they will be assigned the next IP address in the pool, and if a device hasn't connected in a few days, its IP address will "expire" so it can be assigned to something else.
For everyday use, this is perfectly fine, and you will never even notice it happening in the background. But if you regularly SSH into your Raspberry Pi , turn your computer on from across the house with Wake-on-LAN , or perform other advanced networking tasks, DHCP can become an annoyance.
It's hard to remember which IP address is assigned to which device, and if they ever expire, you have to look it up all over again. This is where a static IP address comes in handy. Here's how to set them up.
What is a Static IP Address?
Instead of letting your router assign whatever IP address is free at any given time, you can assign specific IP addresses to the devices you access frequently. For example, I have my home server set to 192.168.1.10, my main desktop to 192.168.1.11, and so on—easy to remember, sequential, and unchanging.
You can assign these static IP addresses on the device itself—using, say, Windows' network settings on each computer—or you can do it at the router level. If you do it through the router, it will likely be called a DHCP reservation, though many people (and even some routers ) still refer to it as a "static IP address."
DHCP reservations allow you to easily set everything up in one place with all your computers left at their default settings. Your computer will ask for an IP address via DHCP, and your router will assign it the one you reserved, with your computer being none the wiser.
How to Set Up a DHCP Reservation
To set up a DHCP reservation, you need to know your IP address , which is easy enough to find out. You must then head to your router's configuration page —usually by typing its IP address in your browser's navigation bar—and log in. (For mesh Wi-Fi systems , you would use an app instead of a config page.)
The location is different for every config page, but you're looking for something called "DHCP reservations," "static IP addresses," or similar. On my Asus router, for instance, it's in the LAN settings category.
To assign a reservation, you need the MAC address of the device in question. This is a unique string of characters that identifies a particular network adapter, and you can usually find it in your router's list of connected devices . Make sure you're getting the MAC address for the correct network adapter—if you have both Ethernet and Wi-Fi on your computer, you have one MAC address for each.
On your router's config page, enter an easy-to-remember label for the device (like "Whitson's Desktop PC"), the MAC address, and your desired IP address. Save your changes, and repeat the process for any other IP addresses you want to reserve.
From then on, those devices should have your reserved IP addresses assigned to them, and you will never have to look them up again.
Like What You're Reading?
Sign up for Tips & Tricks newsletter for expert advice to get the most out of your technology.
This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy . You may unsubscribe from the newsletters at any time.
Your subscription has been confirmed. Keep an eye on your inbox!
Dig Deeper With Related Stories
Pcmag stories you’ll like, about whitson gordon, contributing writer.

Whitson Gordon is a writer, gamer, and tech nerd who has been building PCs for 10 years. He eats potato chips with chopsticks so he doesn't get grease on his mechanical keyboard.
Read Whitson's full bio
Read the latest from Whitson Gordon
- How to Switch Between Games With Quick Resume on Xbox Series X/S
- Don't Start Over: How to Transfer PS4 Games and Save Data to a PlayStation 5
- How to Turn on Your Computer From Across the House With Wake-on-LAN
- What Graphics Card Do I Have?
- Not Dead Yet: What to Do When Your Computer Won't Start
- More from Whitson Gordon
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

MyNETGEAR® Account
Welcome back
Access your NETGEAR

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:03/01/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
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.


Nighthawk Routers

Powerline and Wall Plug Extenders

Cable and DSL Modem Routers

ReadyNAS Network Storage

Wireless Access Points

Other Business Products

Mobile Broadband

How to set static IP address

Sometimes, it’s better to assign a PC it’s 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.
Static vs. Automatic IP Addressing
Right now, the IP addresses for your PCs and other devices are probably assigned automatically by your router using a procotol known as Dynamic Host Configuration Protocol (DHCP). It’s 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.
Mostly, that’s not a big deal, but there are times that you might want a device to have a static, unchanging IP address. For example:
- You have a device (like a home media server, say) that you want to be able to find reliably and you (or other devices) prefer to locate it by IP address. Using IP addresses is often much handier when troubleshooting your network, for example.
- 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.
Assign Static IP Addresses Via Your Router
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.
With all that in mind, though, let’s take a look at how to assign static IP addresses within Windows XP, Vista, 7, 8, and 10.
Set a Static IP Address in Windows 7, 8, or 10
To change the computer’s IP address in Windows, you’ll need to open the “Network Connections” window. Hit Windows+R, type “ncpa.cpl” into the Run box, and then hit Enter.

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.

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

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.

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

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.
Set a Static IP Address in Windows Vista
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.

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

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

Highlight Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.
![sshot-2010-06-06-[02-49-46] sshot-2010-06-06-[02-49-46]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100606024946.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.osdlaXS66t.png)
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] sshot-2010-06-06-[02-51-04]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100606025104.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.KR5paS_wtd.png)
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] sshot-2010-06-06-[02-51-16]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100606025116.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.0hsvgqJ7Xm.png)
Open the Command Prompt and use the ipconfig command to verify that the changes were successful.
![sshot-2010-06-06-[02-52-29] sshot-2010-06-06-[02-52-29]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100606025229.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.Aw7kmUfh-Q.png)
Set a Static IP Address in Windows XP
To set a Static IP in Windows XP, right-click the “My Network Places” icon, and then select “Properties.”

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

Select the “Internet Protocol (TCP/IP)” entry, and then click the “Properties” button.
![sshot-2010-06-05-[22-27-58] sshot-2010-06-05-[22-27-58]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100605222758.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.VYdrHTzoVO.png)
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] sshot-2010-06-05-[22-28-15]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100605222815.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.rcj25SMISe.png)
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] sshot-2010-06-05-[22-29-15]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100605222915.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.VU6vpmwN6M.png)
And you can verify your new settings by using the ipconfig command at the command prompt.
![sshot-2010-06-05-[22-37-10] sshot-2010-06-05-[22-37-10]](https://www.howtogeek.com/wp-content/uploads/2010/06/xsshot20100605223710.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.wmOPsBcMvs.png)
How to set static IP address on Windows 10
You can assign a static IP address manually on Windows 10 in many ways, and in this guide, you'll learn how.
- To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi .
- Then 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.
On Windows 10, setting a static IP address to a computer is a configuration you may need to set up in many scenarios. For instance, if you plan to share files , a printer on a local network , or configure port forwarding.
If you don’t assign a static IP address, services or a port forwarding configuration may eventually stop working. The reason is that, by default, connected devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change anytime, as soon as you restart the machine or after the dynamically assigned configuration lease expires.
This guide will teach you the steps to set a static IP (version 4) address to a Windows 10 device when providing a service on the network or simply configuring port forwarding to your device on the router.
Set static IP address on Windows 10
Set static ip address on windows 10 from control panel.
- Set static IP address on Windows 10 from Command Prompt
- Set static IP address on Windows 10 from PowerShell
To assign a static IP address on Windows 10, use these steps:
Open Settings on Windows 10.
Click on Network & Internet .
Click on “Wi-Fi” or “Ethernet.”
Click on the current network connection.

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

Using the drop-down menu, select the Manual option.
Turn on the “IPv4” toggle switch.

Set a static IP address to use by the Windows 10 computer.
Specify a “Subnet prefix length” (subnet mask). If the subnet mask is 255.255.255.0 , the subnet prefix length in bits is 24 .
Specify a “Default Gateway” address.
Specify a “Preferred DNS” address.
Specify an “Alternate DNS address” (if applicable).
Click the Save button.

After you complete the steps, you can test your settings using your web browser to open a website.
To assign a static IP from Control Panel on Windows 10, 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.

Right-click the network adapter and select the Properties option.
Select the “Internet Protocol Version 4 (TCP/IPv4)” option.
Click the Properties button.

Select the Use the following IP address option.
Assign the static IP address – for example, 10.1.2.220 .
Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .
Specify a Default gateway . (Usually, your router’s IP address. For example, 10.1.2.1 .)
Under the “Use the following DNS server addresses set Preferred DNS server” section, set the Preferred DNS server address , usually your router’s IP address or server IP address providing DNS resolutions (for example, 10.1.2.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 your web browser and load a website to see if the configuration works.
Set static IP address on Windows 10 from Command Prompt
To set a static IP address on Windows 10 from Command Prompt, use these steps:
Open Start on Windows 10.
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

Type the following command to assign a static IP address on Windows 10 and press Enter :
In the above command, replace Ethernet0 with the name of your network adapter. 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.
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, replace Ethernet0 with your adapter’s name and 8.8.8.8 with an alternate DNS server address.

After you complete the steps, you can test the new configuration using the ping command (for example ping google.com ) to see if the internet is working. Alternatively, you can open a website to see if the configuration works.
Microsoft is in the process of retiring netsh from Windows 10. As a result, you should start using the “NetTCPIP” networking module available in PowerShell instead.
Set static IP address on Windows 10 from PowerShell
Windows 10 also includes the PowerShell command line platform that allows you to use the “NetTCPIP” module to manage networking settings, including the ability to change the IP address settings of your computer.
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 :
After running the command, note the following information:
- InterfaceIndex
- IPv4Address
- IPv4DefaultGateway

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

In the command, replace the InterfaceIndex number (5) 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 :

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 (5) with your network adapter’s corresponding number. Also, change ServerAddresses with the DNS IP address.
After you complete the steps, you can test the new configuration by opening your web browser and navigating a website.
Whatever method you use, assigning an IP address within the network range and outside of the DHCP server scope is recommended to allow proper connectivity and avoid address conflicts. If multiple devices share the same address, this will cause a networking conflict, preventing connection to the internet.
- Windows 11 build 25314 rolls out new features in Canary Channel
- How to completely remove a printer driver on Windows 10
We hate spam as much as you! Unsubscribe any time Powered by follow.it ( Privacy ), our Privacy .
- Buying Guides
Complete Guides by How-To Geek
Our latest product roundups, reader favorites, more from how-to geek, latest geek news, latest reviews, across lifesavvy media.
Join 425,000 subscribers and get a daily digest of news, geek trivia, and our feature articles.
By submitting your email, you agree to the Terms of Use and Privacy Policy .
How to Assign a Static IP Address in Windows 10 or 11
Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work. Read more...

- 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.
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
What is a Static IP Address?
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
Assign Static IP Addresses Via Your Router
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
How to Set a Static IP Address in Windows 11
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.
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.
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.
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.
How to Set a Static IP Address in Windows 10
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.
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 .
On the network properties screen, scroll down until you see “IP settings” and click the Edit button under “IP assignment”.
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.
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.
How to Set a Static IP Address in Windows 7 or 8 Using “Network Connections”
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.
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.
In the properties window for the adapter, select “Internet Protocol Version 4 (TCP/IPv4)” and then click the “Properties” button.
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.
And then close out of the network adapter’s properties window.
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.
Set a Static IP Address in Windows Vista
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.
The Network and Sharing Center opens…click on Manage network connections .
Right-click on the network adapter you want to assign an IP address and click Properties.
Highlight Internet Protocol Version 4 (TCP/IPv4) then click the Properties button.
Now change the IP, Subnet mask, Default Gateway, and DNS Server Addresses. When you’re finished click OK.
You’ll need to close out of Local Area Connection Properties for the settings to go into effect.
Open the Command Prompt and use the ipconfig command to verify that the changes were successful.
Set a Static IP Address in Windows XP
To set a Static IP in Windows XP, right-click the “My Network Places” icon, and then select “Properties.”
Right-click the adapter for which you want to set the IP, and then select “Properties” from the context menu.
Select the “Internet Protocol (TCP/IP)” entry, and then click the “Properties” button.
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.
You will need to close out of the adapter’s properties window before the changes go into effect.
And you can verify your new settings by using the ipconfig command at the command prompt.
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 Find Your IP Address on a Windows 10 PC
- › How to Find Your IP Address on Windows 11
- › What Is DHCP (Dynamic Host Configuration Protocol)?
- › How to Change the IP Address on iPhone
- › How to Share Your Minecraft Game Over the Internet
- › How to Start Your Own Minecraft Server for Multiplayer Gaming
- › 5 Tips For Getting The Most Out of Your Tomato Router
- › This Anker Battery Is Under Recall for Fire Risk

IMAGES
VIDEO
COMMENTS
How to Set a Static IP Address · 1. Access the Control Panel · 2. Select the Network Adapter · 3. Select Properties · 4. Select Internet Protocol Version 4 (TCP/
How to set a static IP address on Windows 10 · Open “Settings” on your computer. · Select “Network and internet.” · Select your current connection.
Instead of letting your router assign whatever IP address is free at any given time, you can assign specific IP addresses to the devices you access frequently.
How to set up a static IP address ; Open the settings app on your computer; Choose Network and Internet option from the list on the left; Select the connection
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
Set a Static IP Address in Windows 7, 8, or 10 ... To change the computer's IP address in Windows, you'll need to open the “Network Connections” window. Hit
This is How To Configure a Static IP Address. We give you 2 examples, one on a Windows Computer and one on a PlayStation 5 console.
Do you know the difference between setting a static IP and reserving an IP address? Knowing how to do both can be very useful, especially if
To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi. · Then click the connection, click on “Edit,” select “
To set a static IP address in Windows 10 or 11, open Settings -> Network & Internet and click Properties for your active network. · Choose the "