Ubuntu – Force DHCP server to give a new IP address

dhcpip addresslocal-area-networkUbuntu

i connect to the web via LAN and IPs are assigned via the DHCP server. so a simple

sudo dhclient -r
sudo dhclient 

does not work. is there another way to get a new IP address from the DHCP server?

Best Answer

You should be able to be ifconfig /release and ifconfig /renew (the syntax might be a bit different I'm coming from Windows here) to drop the current IP and request a new IP from the DHCP server. However if your reservation is still valid the DHCP server will give you the same IP address.