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
1 Answer
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.
-
1This does not break Windows infrastructure and previous versions of Ubuntu.– sorisiwiMay 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.– marosgMay 24, 2019 at 13:09
grep -i "lease time" /var/log/syslog
? What is the output ofgrep lease-time /etc/dhcp/dhclient.conf
? Please edit your question and add corresponding outputs to it.grep -i "renewal in" /var/log/syslog
.