Welcome to CoreNetworkZ Tech Solutions, a leading custom network solutions provider. Today, we will discuss different methods to change the IP address assigned to a computer.
We all know how a computer network works. All devices connected to a single network have a unique IP address assigned by a DHCP server.
The problem with this method is the lack of ability to choose a favorite IP address for a specific device in the network. Derek Askaryar mentioned this issue in the comments.
The popular solution is to assign a static IP address to the device. But which may lead to an IP address conflict with another device in the network.
Vrat Bhasker Goyal mentioned it in the comment section. He saw an IP address conflict error after assigning a static IP address to a device connected to a network.
How does it happen? If the DHCP server automatically assigns the same IP address to a different device (we manually assign it to the first computer), it will create a conflict.
If two devices in a network have the same IP address, it will generate an IP address conflict.
In simple words, two devices share the same IP address. A network cannot work like that. So, we do not recommend it. Then, what is the best solution to change the automatically issued IP address?
Today, we discuss two methods to replace the current IP address of a computer with a new IP address.
Omprakash Walia asked if he could change both private and public IP addresses. So, in this article, I will explain two methods, one for private IP and one for public IP.How to Change the IP Address of your Laptop?
The first method applies to the private IP address of a device. The second method explains how to change the public IP address of your PC.
Release the Current IP Address and Renew
The first method is a simple DOS command process. We can release the current automatic IP address of a computer given by the router with a simple DOS command.
This method changes the private IP address of your computer.
Then, we can force the router (DHCP server) to assign a new IP address with another DOS command. Let us check how to get a new IP address on your computer from the Windows DOS.
Open the Windows 11 Search (Press the Windows and S keys together) and type cmd.
You will get the following result.
Click on Run as administrator to open the DOS Prompt with administrative privileges.
Type the following command on the Windows DOS.
ipconfig/release
Press the Enter key to execute it. It will release the current IP address of your computer. Now, this computer has no IP address. That means it has no network or Internet.
The next step is to force the router (DHCP Server) to assign a new IP address to this computer. Type the following command on the Windows DOS and press the Enter key.
ipconfig/renew
The router will assign a new IP address to this PC. I recommend you check the IP address and ensure that the router has not assigned the same IP address. Sukh Veer Singh mentioned it in the comment section. You can check the current IP address by typing the following command.
ipconfig
If it is the old IP address, repeat the procedure until you get a new IP address.
Use a VPN to Get a New IP Address
The first method changes the private IP address of a laptop. We cannot use that method to change the public IP address.
We need a VPN or Proxy server for a new public IP address. CoreNetworkZ has multiple tutorials on using a VPN or Proxy and changing the public IP address.
Alexander Belfiore asked if using a VPN to change the public IP address is safe. It is safe, but I suggest you use reputable VPN services.
I hope you enjoyed this article and learned how to change the current IP address of a computer with a new IP address.
Reference
- IP Address Ping error transmit failed general failure
- https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/change-ip-address-network-adapter
- https://support.torproject.org/tbb/tbb-29/
It is a helpful tutorial. I wondered if there is any method to keep a permanent IP address to my PC from the router. Thank you, Alex George.
ReplyDeleteThank you for your comment, Derek.
DeleteHi Alex George,
ReplyDeleteYour suggestion for assigning a static IP to keep the unique address is good. But I saw an IP address conflict. Is it normal?
Hello Vrat,
DeleteYou are right about it. I have explained the reason in the article.
Hello Alex,
ReplyDeleteThe method you mentioned is to change the Local IP or Public IP?
Hello Omprakash,
DeleteI have mentioned both methods in the tutorial.
Thank you for this post, Alex. I tried the first method, but it does not change the IP address. Why?
ReplyDeleteHello Sukh Veer Singh,
DeleteWelcome to CoreNetworkZ Tech Solutions. Sometimes, the router will assign the same IP address. You should perform that step multiple times to get a new IP.
Hello
ReplyDeleteIs it okay to use a VPN to get a new IP?
Yes Alexander
Delete