368 B
368 B
tell dhcp client to request specific IP
put the line:
send dhcp-requested-address ${ip:?};
in /etc/dhcp/dhclient.conf
note that this seems to cause a failure if the requested address is not available. For more information see here: https://serverfault.com/questions/880900/can-i-request-a-specific-ip-address-via-dhcp-without-rejecting-an-offer-of-a-dif