Re: Can DHCP deamon expire leases "lazily"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-07-03 at 07:37 -0400, Tom Horsley wrote:
> I've got some virtual machines with old kernels that know nothing
> about virt clocks. They keep time so horribly when loaded up with
> testbed runs that they forget to renew their DHCP lease, which
> results in their name being removed from the DNS server, which
> results in testbed failure :-(.

If they keep time so badly, you might want to play around with NTP
servers forcing the clock back into sync, quite often.

> Does anyone know if it is possible to configure the DHCP daemon
> to just leave expired leases active until it actually needs
> to reuse the IP address for a new request?

Depends which daemon you're using, but that's sometimes the default
behaviour (completely new requests from strangers often get un-used IPs,
until it has no choice but to re-use previously leased ones, even if the
leases have expired).

One option is to extend the lease time to something much longer than the
expected up-time of those clients (a day, a few days, a couple of weeks,
et cetera).

Setting static addresses in the DHCP server configuration is probably
the simplest solution.  If you have less machines than available IPs,
I'd do that.  It also makes other configuration easier (firewalls, and
other networking), which machines always have the same IP.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux