1

Ubuntu sends dhcp realease on reboot.This kills the lease, changes ip and my DHCP server automaticaly kills DNS record. I want to disable this releasing every time. Is it possible? Ubuntu 16.04 isc-dhclient-4.3.3

2
  • What is current value of DHCP lease time? Do you have any output for grep -i "lease time" /var/log/syslog? What is the output of grep lease-time /etc/dhcp/dhclient.conf? Please edit your question and add corresponding outputs to it.
    – N0rbert
    May 24, 2019 at 19:33
  • Also add grep -i "renewal in" /var/log/syslog.
    – N0rbert
    May 24, 2019 at 20:44

1 Answer 1

0

This would break whole DHCP purpose. What you are asking for is a static IP. Easiest is to set fixed DHCP record for your MAC on DHCP server.

2
  • 1
    This does not break Windows infrastructure and previous versions of Ubuntu.
    – sorisiwi
    May 24, 2019 at 10:30
  • What is the purpose of DHCP? To assign an IP. Client should not care what IP it gets normally. If there is a requirement for the same IP then person responsible for assigning IPs (DHCP administrator) needs to be aware and take action. Either assign fixed DHCP IP or take your IP out of the pool and you use static IP.
    – marosg
    May 24, 2019 at 13:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .