How to use the ipconfig command to refresh, reset IP address
This article will guide you how to use ipconfig to find IP address, reset IP address as well as assign new IP address.
Sometimes, it is better to assign an IP address to a computer than to let the router automatically assign an IP address. Read this article to learn how to assign a static IP address in Windows.
Static IP Address vs Dynamic IP Address
Typically, IP addresses for personal computers and other devices can be automatically assigned by the router using a protocol called Dynamic Host Configuration Protocol ( DHCP ). This is a convenient way to connect devices to a network because the user does not have to configure an IP address for a new device. The downside of automatically assigning IP addresses is that the device's IP address can change over time.
This is not a big deal, but in some cases, users want the device to use a static IP address that does not change. For example, in the case of:
A static IP address is an IP address that is manually configured for a device rather than being assigned by a DHCP server. It is called static because it does not change like a dynamic IP address. A static IP address is also sometimes called a permanent IP address or a dedicated IP address.
Routers, phones, tablets, desktops, laptops, and any other device that can use an IP address can be configured to have a static IP address. Assigning a static IP address to a device is not difficult, but users should choose whether to do this from the router or on the device.
The main disadvantage that static IP addresses have over dynamic ones is that devices have to be manually configured. The examples given above involve home web servers and remote access programs that require you to set up the device with an IP address and properly configure the router to communicate with that specific address.
This requires more than just plugging in your router and letting it dynamically assign an IP address via DHCP. If a device is assigned an IP address of, say, 192.168.1.110 and you access a different network that provides a 10.XXX address, you won’t be able to connect to the static IP. Instead, the device will need to be reconfigured to use DHCP (or use a static IP that works with that new network).
Set Static IP Address on Windows 11
Like most things on Windows, there are multiple ways to do this. Let's first look at the simplest method, which is using Windows Settings.
Here's how you can set a static IP address using Windows Settings:
Follow the above steps meticulously and your Windows 11 will have a new static IP address from here on out.
Set a static IP address assignment in Windows 7, 8, or 10
To change your computer's IP address in Windows, open the " Network Connections " window. Press Windows + R , type " ncpa.cpl " in the Run box , then press Enter .
In the " Network Connections " window , right-click on the adapter you want to set a static IP address for and then select the " Properties " command.
In the adapter properties window, select " Internet Protocol Version 4 (TCP/IPv4)" and then click the " Properties " button.
Select the " Use the following IP address " option , then type in the IP address, subnet mask, and default gateway corresponding to the network setup. Next, enter the DNS server address. Finally, select the " Validate settings upon exit " option to let Windows check the new IP address and corresponding information to make sure it works properly, then click the " OK " button when done.
And then close the network adapter properties window.
Windows automatically runs network diagnostics to verify your connection. If there's a problem, Windows will offer you the option to run a network troubleshooting wizard. However, if you're really having trouble and the troubleshooting wizard doesn't actually fix the problem, you should check your settings and try again.
Assign 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 the location is slightly different. Open the Start Menu, right-click Network, and select Properties.
On the Network and Sharing Center window that opens, click Manage network connections.
Right-click the network adapter you want to assign an IP address to and click Properties .
Select Internet Protocol Version 4 (TCP/IPv4) then click the Properties button .
Now change the IP, Subnet mask, default gateway, and DNS server address, when done click OK .
You need to close the Local Area Connection Properties window for the settings to take effect.
Open Command Prompt and use the ipconfig command to verify the changes were successful.
Assign a static IP address in Windows XP
To assign a static IP address in Windows XP, right-click on the " My Network Places " icon, then select " Properties ".
Right click on the adapter you want to set the IP for and then select " Properties " from the context menu.
Select the " Internet Protocol (TCP/IP) " item, then click the " Properties " button.
Select the " Use the following IP address " option . Enter the IP address, subnet mask, default gateway, and DNS server address you want to use. When done, click the " OK " button.
You need to close the adapter properties window before the changes take effect.
Users can verify the new settings using the ipconfig command in Command Prompt.
In general, it is best to let your router automatically assign IP addresses to your devices. Occasionally, you may want to set a static IP address for a specific device. While it is possible to set static IP addresses on your devices, it is still recommended that you set a static IP address on your router if possible.
How to set up static IP using Command Prompt
The above method, using GUI Settings, is just one way to adjust your IP address settings. For those who prefer the command line over the GUI, fortunately, there are alternatives. For example, you can also use Command Prompt and set the address with just a few commands.
To change your IP address via Command Prompt, follow the steps below:
1. Go to the search bar in the Start menu, type cmd and launch CMD with admin rights .
2. Type the following command into CMD and press Enter :
ipconfig /all
3. In Ethernet adapter , note the information for the following data:
4. Type the following command to assign a static IP address on Windows and press 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 your adapter name and 10.1.4.220 255.255.255.0 10.1.4.1 with the device's IP address, subnet mask, and default gateway address corresponding to your network configuration.
5. Now, type the following command to set the DNS server address and press Enter :
netsh interface ip set dns name= "Ethernet1" static 10.1.4.1
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 that is primarily useful for power users, designed to provide more control and management through task automation. If any of the above methods fail, you can also use PowerShell to set up a static IP address. Here’s how you can get started:
1. Go to the search bar in the Start menu, type powershell and run it with admin rights.
2. Type the following command to view your current network configuration and press Enter :
Get-NetIPConfiguration
3. Confirm the following information fields:
4. Type the following command to set a static IP address and press Enter :
New-NetIPAddress -InterfaceIndex 10 -IPAddress 10.1.4.119 -PrefixLength 24 -DefaultGateway 10.1.4.1
5. Here, replace all the values of the information. Replace the InterfaceIndex number (10) with the number assigned to your adapter. Similarly, replace the IPAddress above with a static IP address that you want to set.
6. Finally, type the following command to assign the DNS server address and press Enter :
Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 10.1.4.1
Again, replace InterfaceIndex number (10) with the corresponding network number. Also, replace ServerAddress with the DNS IP address.
You will have a new static IP address immediately after completing all the above steps.
When to use static IP address?
While DHCP is great and makes our lives easier, there are situations where using a manually assigned static IP address is quite handy. Let’s look at a few situations where you would want to assign a static IP address to illustrate the benefits.
You need reliable name resolution on your network for computers to be found accurately and consistently. While network protocols have evolved over the years and most of the time using a more abstract protocol like SMB (Server Message Block) to access shared computers and folders on your network using the familiar //officecomputer/shared_music/ style address still works fine, for some applications it breaks down. For example, when setting up media sync on XBMC, you need to use the IP address of the media source instead of the SMB name.
Anytime you rely on a computer or software to accurately and instantly locate another computer on your network (as is the case with the XBMC example - client devices need to find the media server hosting the document) with the least chance of error, assigning a static IP address is the best way to go. Direct IP-based resolution remains the most stable and error-free method of communication on the network.
You want to impose a human-friendly numbering scheme on your network devices. For networking tasks like giving your friend’s iPad or laptop an address, you probably don’t care where the IP comes from in the available address block because you don’t really need to know (or care). If you have devices on your network that you frequently access using command line tools or other IP-oriented applications, then assigning permanent addresses to those devices in a human-friendly scheme can be really useful.
For example, normally the router will assign any available address to the 3 Raspberry Pi XBMC units. Since the author of this article frequently modifies those units and accesses them by their IP addresses, it makes sense to permanently assign them sensible and memorable addresses:
See also:
This article will guide you how to use ipconfig to find IP address, reset IP address as well as assign new IP address.
Many times you go to different websites and there are websites that are not accessible, there are websites that work normally. Either lose the network, it is an error that occurs when DNS Resolution is not working, DNS is not a great feature
Images in your newsletter enhance your message and motivate readers to feel or take action, making them an important part of your email marketing strategy.
With just a few smart choices and simple upgrades, you can dramatically improve your audio experience without having to spend a fortune on expensive equipment.
The Galaxy AI has been performing extremely well lately, and you can count on some of its features almost every day.
Motivational status can help you restore your mood and move forward positively. The article will summarize for you good quotes about motivation on the Internet.
You want to buy Samsung Galaxy S25 but your budget is not too much. Or you simply want to try out the experience of Samsung's flagship smartphone.
If you're tired of reading breaking news and interesting articles on Google Search and Discovery, you'll be glad to know that you may not have to do so anymore.
Although it is one of the most popular browsers in the world with millions of users every day, Google Chrome is not immune to some minor errors such as automatically shutting down the browser, crashing Chrome, automatically reloading the page...
Several times a year, the deep night sky above us puts on a spectacular show of lights streaking through the darkness.
Kabbalah Numerology is a way to determine your inner purpose and life path. Let's analyze how Kabbalah Numerology works.
A hacker and hardware modder named David Buchanan has just gained root access (highest administrative rights) on a laptop using only... a lighter, making the online community stop worrying about a new security vulnerability.
Perhaps to expand its rather limited audience, Apple has just released its first short film, along with a slew of immersive content in development.
Minecraft, the wildly popular 3D blocky world exploration game owned by Microsoft, is now available on nearly every major gaming hardware platform — except the PlayStation 5.
Data can be overwhelming, but Excel's CORREL function helps you cut through the noise. Calculating the correlation coefficient is the secret weapon for uncovering hidden trends and making smarter decisions.
Losing access to your Google account can have serious consequences beyond not being able to send and receive email.
Google has just announced that users can now create videos using artificial intelligence through its Gemini chatbot and the recently launched experimental tool Whisk.