2013-08-22 03:34:11 +02:00
|
|
|
# To release the current IP address:
|
2013-08-11 21:37:11 +02:00
|
|
|
sudo dhclient -r
|
|
|
|
|
2013-08-22 03:34:11 +02:00
|
|
|
# To obtain a new IP address:
|
2013-08-11 21:37:11 +02:00
|
|
|
sudo dhclient
|
|
|
|
|
2013-08-22 03:34:11 +02:00
|
|
|
# Running the above in sequence is a common way of refreshing an IP.
|
2013-12-03 21:20:11 +01:00
|
|
|
|
|
|
|
# To obtain a new IP address for a specific interface:
|
|
|
|
sudo dhclient eth0
|