On Windows 10, setting a static IP address to your device is an essential configuration that may be required in a number of scenarios. Although using commands may be challenging for some users, this is one of the quickest way to assign a static IP address on Windows Search for Command Promptright-click the result and select the Run as administrator option to open the console. 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:.
Windows 10 ipconfig command Type the following command to assign a static IP address and press Enter :. In the above command make sure to change Ethernet0 for the name of your network adapter, and you must change Type the following command to set an alternate DNS server address and press Enter :.
Windows 10 netsh command to set static IP address After you complete the steps, you can test the new configuration using the ping command for example, ping google.
Alternatively, you can simply open your web browser and try to navigate to a website to see if the configuration works.
Set the Subnet mask. Usually, on a home network, the subnet mask is Set the Default gateway. Once you complete the steps, you can open your web browser and try loading a website to see if the configuration works. 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 device.
Search for PowerShellright-click the result, and select the Run as administrator option to open the console.
Assign Fixed Static IP Addresses to Devices on Home Network
Type the following command to view your current network configuration and press Enter :. In the above command make sure to change the InterfaceIndex number with the one corresponding to your adapter. Only if necessary, change PrefixLength subnet mask with the correct bit number. Typically on a home network the setting is Also, change the DefaultGateway option with the default gateway address of your network.
If you need to set a secondary DNS server address, you can use the same command, and to add another address simply use a comma. After you complete the steps, you can test the new configuration by opening your web browser and trying to navigate to a website.
On Windows 10, you can also change the IP address settings using the Settings app for wireless as well as wired adapters. Set the Subnet prefix length subnet mask. If your subnet mask is If you need help configuring a static IP address on Windows 10, make sure to ask in the Pureinfotech forums. Subscribe free and never miss a tutorial Select "Daily" or "Weekly" subscription We hate spam as much as you!Fix "Wi-Fi doesn’t have valid IP configuration" on Windows 10
Click on Network and Internet. On the left pane, click the Change adapter settings link. Click the Properties button. Set the IP address for example, By default, your router assigns dynamic IP Address to every device that connects to it. But sometimes, we need our devices to have the same IP address i.
Static IP every time it connects to the network. Reason being. There are a couple of ways to pick an unused IP address. You can do this quickly through the command line. You will need to first find your subnet mask, default gateway, and network adapter name. To find yours just type the following command. Once you get the output, find for the Network Adapter which has IP listed under it.
The adapter name is a one-word name suffixed to the end of the Network Title. You will also need the Subnet mask and the Default Gateway Address. Wherein, Wi-Fi should be replaced by your adapter name and the IP, subnet mask and gateway address according to your configuration. In case you find it too confusing, you are not alone. You can refer to the above step on how to find these details. Click once you see the Network and Sharing Center Icon. Next, click on OK to save changes.
Once this is enabled, your system will start picking an IP address dynamically from the router. Right-click anywhere on the desktop to open the terminal.
Once the terminal window opens, we need to run a command. We need the subnet mask and network adapter name in order to set a static IP and to get that, run the following command on the terminal. It is pretty simple and straight forward. We need to open the Network Adapter settings. To do that, click on the Network Icon at the top right corner of the desktop. Now, navigate on the active network and click on the expand button for more options. Click on Wired Settings to open the Network menu.
Once you get the Wired Settings dialogue, make sure you are on the Network page. Click on the Settings icon beside the active network to open the adapter properties.Nowadays the majority of computers are connected to the Internet. In most cases computers are configured to obtain an IP-address automatically because every router has a built-in DHCP server that serves to assign local IP to every device on the local area network LAN.
But in some cases you might need to assign an IP-address manually. In this case it is also called a static IP-address. The simplest example when you may need to do it — while you are configuring your router or access point itself. And here is how. We will show the process on Windows 10 version Be advised that Windows 10 is a constantly changing system.
As the time goes on the configuration settings and applets are being migrated from the deprecated Control Panel to the modern Settings app. Friend's Email Address.
For example, I have a printer that also scans and will save the file directly to a computer. However, it uses the IP address instead of the name of the machine. Every time the machine reboots, it gets a new IP address and I have to type that new IP into the printer. What a pain! This saves you from having to configure 20 devices individually and allows you to manage all the static IP addresses from one central location.
Most modern routers have some sort of IP address reservation page or configuration option that you just have to find, usually under the Local Area Network or LAN section. If you already know it, then you can skip this section. To figure out your router IP, you can simply look up the default gateway on your computer. Windows 8 — Go to Start screen, right-click, choose All apps, then scroll right and click on Command Prompt.
Make sure you are looking at the correct network adapter. If you are using wireless, it should say Wireless adapter. The IP address you want is the one listed under Default Gateway. This will load the web interface for your wireless router. Note that you will probably have to enter the router username and password in order to gain access.
If you never changed it, then you can check out a site called routerpasswords. If you have the original packaging, it should be on there too. To give a device a fixed IP address, just find it in the list and then click on the Address Assignment drop down.
By default, it is set to Private from pool:IPRange. From the drop down, you can choose a fixed IP address. Once you log in, you have to click on Advanced at the top or side.
Go ahead and click on that. All of them should be Dynamic leases by default. To change this, you need to click on the Edit button next to the lease you want to make static. Finally, check the Static Lease Type box and click Apply. For my Netgear router, the process was a little different. First, once you logged in, you have to go to Attached Devices to see all the connected devices and their MAC addresses. Click the Add button under Address Reservation and then either choose from the radio buttons at the top or manually type in info yourself.
This is a much easier way to assign static or fixed IP addresses to devices on your network rather than manually configuring it on the device itself. Founder of Online Tech Tips and managing editor. He began blogging in and quit his job in to blog full-time. He has over 15 years of industry experience in IT and holds several technical certifications.
Read Aseem's Full Bio.
We hate spam too, unsubscribe at any time.It's important to setup a static IP address if you are planning on forwarding ports. When you setup port forwarding your router forwards ports to the IP address you specify. If you don't setup a static IP address the port forward will probably work the first time. But after restarting your computer it may use a different IP address.
When this happens the ports are no longer forwarded to that computer's IP address. IP addresses are four sets of numbers that are separated by periods that allow computers to identify each other.
Every computer on your network has at least one ip address. Two computers on the same network should never have the same IP Address. If two computers end up with the same IP address neither will be able to connect to the Internet. There is a lot of information at the following link. If you want to know more about how networks work check out the information here. Your router most likely assigns dynamic IP addresses by default. Routers do this because having a dynamic IP address network requires no configuration on your part.
You can simply plug in your computer and the network will work. When IP addresses are assigned dynamically, it is the router's job to assign them.
Every time a computer reboots it asks the router for an IP address.
The router then hands the computer an IP address that has not already been handed out to another computer. This is a very important because when you set your computer to a static IP address, the router doesn't know that a computer is already using that IP address. That same IP address could be handed out to another computer later on. This will prevent both computers from connecting to the Internet. It's important to assign an IP address that will not be handed out to a different computer by the dynamic IP address server.
Open up the Windows 10 start menu by pressing the Windows key on your keyboard. You can also open this menu by clicking the windows icon in the lower left corner of your screen.
When the start menu appears simply type cmd on your keyboard and press enter.Not everyone needs a static IP address, but knowing how they differ from dynamic IP addresses can help you understand whether you should use a static IP address.
The terms were mentioned only briefly above, and that's because they're pretty simple to understand. At the core, the only real change you'll notice between static vs dynamic IP addresses is that the former never changes, while the latter does. Most people don't really care if their IP address changes.
If you never know what your IP address isand never have a reason to have it stay the same, then dynamic addresses are perfectly fine for you. However, if your network or computer is set up a specific way where some devices would work easier, and setup made smoother for you as the admin, if an IP address always stayed the same, then static addressing is what you want.
How to set a static IP address on Windows 10
Static IP addresses are assigned manually by an administrator. In other words, the device receiving the static IP is given a very specific address such as For example, they're basically required if your computer is configured as a server, such as an FTP server or web server. This is a good thing, because if you want to ensure that people can always access your computer to download files, then you need to force the computer to use a static, never-changing IP address.
Alternatively, if the server were assigned a dynamic IP address, it would change occasionally which would prevent your router from knowing which computer on the network is the server. Similarly, if you want to access your home computer while you're on trips, or your work computer when you're at home, setting up the computer to use a static IP address lets you reach that computer all the time without fearing that the address will change and block your access to it.
Consider a shared printer as another example for when to use a static IP address. If you have a printer that everyone in your house or office needs to share, you'd give it an IP address that won't change no matter what.
That way, once every computer is set up to connect to that printer, those connections will remain indefinitely because the address will never change.
Because a static IP address is assigned manually, it's much less efficient for a network admin to give them out, especially in mobile situations. They have to often visit the device in person to give it an IP address instead of letting DHCP assign the address automatically. For example, you wouldn't set a static IP address on a smartphone because the moment it reaches another Wi-Fi network, the address might no be supported on that network, meaning that it won't be able to access the internet.
Dynamic addressing would be much more convenient in this situation because it's easy for administrators to set up. DHCP works automatically with minimal intervention needed, allowing mobile devices to seamlessly move between different networks.
Businesses are more likely to use static IP addresses than home networks. Implementing static IP addresses isn't easy and frequently requires a knowledgeable technician. However, you can have a static IP address for your home network. These ranges support many thousands of different IP addresses.
It's common for people to assume that any number in the range can be chosen and that the specific choice doesn't matter much. This is untrue. To choose and set specific static IP addresses suitable for your network, follow these guidelines. This is due to historical shortages of available IP numbers.In Windows 10, there are a number of ways to set your IP address to a static value for network diagnostics or if you need to form a network with another device without a DHCP server, via an Ethernet crossover cable.
Let's see how to set a static IP address on Windows Such configuration is traditionally used in small networks, where the DHCP server is not available and often is not required. Update : Starting in Windows 10 versionyou can use Settings to set a static IP address for your Windows 10 device. Note: A subnet mask is a way of telling your computer or router what network addresses it considers local and which are remote.
How to Assign Static IP Address to Windows 10 PC
The subnet mask determines what portion of the IP address represents your network and what portion can be used for your hosts. Don't worry, Windows will automatically fill in the correct values for subnet mask.
A default gateway is simply the remote IP address of the forwarding host computer or router or access point from which information will arrive at your IP address.
If you omit the default gateway, Windows will show the network as an unidentified network. Note the connection name in the output.
In my case, it is "Ethernet". For example. How to see your IP address in Windows Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:. Used the above commands.
Test your comments before posting. Remove or add when an update changes the outcome of these commands…. LoL David, seriously?
I use it in my setup website after Windows install, so it works just fine. Your email address will not be published. It allows network devices to find and communicate with each other. Without every device in a network having its own unique IP address, it will not be able to establish a network at all.
Windows 10 supports two types of IP addresses. In Windows 10, there are a number of ways set a static IP address. On the left, click Change adapter settings.
The network connections folder will open. Double click the desired network connection to open its properties. Click on the Properties button. Close all open dialog boxes and you're done. Support us Winaero greatly relies on your support.