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 10. Let's see how to set a static IP address on Windows 10.
Setting up a Static IP Address for Windows 10 Step 1: Open up the Windows 10 start menu by pressing the Windows key on your keyboard. Step 2: A window similar to the one you see above should appear on your screen. Step 3: There are three things I want you to write down from the window. Aug 16, 2019 Setting up Static IP Address on Windows 10. There are various ways to Setup and configure static IP address on Windows 10, Using network configuration windows, Using windows command prompt, From windows Settings etc.
RECOMMENDED: Click here to fix Windows errors and optimize system performance
An Internet Protocol address is a sequence of numbers (and letters in case of IPv6) for each network adapter installed in your device. 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.
A dynamic IP address is assigned by the DHCP server. Usually it is your router, but it can be a dedicated Linux PC or a computer running Windows Server.
A static IP address is usually specified manually by the user. Such configuration is traditionally used in small networks, where the DHCP server is not available and often is not required.
In Windows 10, there are a number of ways set a static IP address.
Update: Starting in Windows 10 version 1903, you can use Settings to set a static IP address for your Windows 10 device.
Set a static IP address in Windows 10
- Open Control Panel and go to Control PanelNetwork and InternetNetwork and Sharing Center.
- 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.
- Select Internet Protocol Version 4 (TCP/IPv4) in the list and click on the Properties button.
- In Propreties, set the option Use the following IP address and type the desired IP address, for example 10.0.2.15.
- Specify values for Subnet mask, Gateway and DNS servers for your network configuration and click OK.
Close all open dialog boxes and you're done.
Note: A subnet mask is a way of telling your computer or router what network addresses it considers local and which are remote. 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.
To understand what a DNS server is, see this article:
Set a static IP address with Command Prompt
- Open a new command prompt instance.
- Type the following command to see your current network configuration:
Note the connection name in the output. In my case, it is 'Ethernet'. - To set a new IP address, execute the following command:Substitute the appropriate string portions with the correct values for your case.
For example, - Set the DNS server for your connection as follows:
Set a static IP address with PowerShell
Change Static Ip Address Windows 10
- Open a new PowerShell console as Administrator.
- Execute the cmdlet Get-NetIPConfiguration to see the current network configuration.
- Note the InterfaceIndex value for your network connection.
- So set a new static IP address, execute the following command:For example:
- Set the DNS server using the following command:
Note: The PrefixLength parameter specifies the subnet mask for the IP address. In this example, the PrefixLength of 24 equals a subnet mask of 255.255.255.0.
To change the existing static IP value with PowerShell, use the cmdlet Set-NetIPAddress.
For example,
To change the existing static IP value with PowerShell, use the cmdlet Set-NetIPAddress.
For example,
To remove the static IP with PowerShell, use the cmdlet Remove-NetIPAddress. For example,
That's it.
Static Ip Address Windows 10
You might be interested in reading the article
Create Static Ip Address Windows 10
RECOMMENDED: Click here to fix Windows errors and optimize system performance