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. 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.
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.
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. 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.
I hope you enjoyed this article and learned how to change the current IP address of a computer with a new IP address.
No comments:
Post a Comment