# dhclient -r
если после выполненной команды ip-адрес не будет получен, то можно выполнить следующее:
systemctl network restart
In this example, I am renewing an IP address for my wireless interface:
sudo dhclient -v -r eth0
sudo dhclient -v eth0
nmcli command (NetworkManager) to renew IP address in Linux
The NetworkManager daemon attempts to make networking configuration and operation as painless and automatic as possible by managing the primary network connection and other network interfaces, like Ethernet, WiFi, and Mobile Broadband devices command-line tool for controlling NetworkManager. The nmcli is a command-line tool for controlling NetworkManager and getting its status. To renew IP address using nmcli for connection named ‘nixcraft_5G’ (use ‘nmcli con‘ command to get list of all connections):
nmcli con down id 'nixcraft_5G'
nmcli con up id 'nixcraft_5G
Best way most likely is to just issue these commands since your definitely on a DHCP connection:
And then simply run it again without the -k like:
This will kill your DHCP connection and then running it will query the server to pull another IP. But don't be alarmed if the server gives you the same IP, most will cache the MAC addresses and just issue the same IP over and over..