Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There is extension for dhcp which allows dhcp servers to send FORCERENEW message and clients should renew their ip's(RFC 3203). This extension requires implementation of another RFC 3118 - dhcp authentication. Are there any dhcp clients which support these extensions, maybe dhclient? Couldn't find any info about this in internet
Both dhcpcd and dhclient are DHCP clients, and both manage leases automatically and support most of the expected standards.
For example
Code:
man dhclient
Quote:
]In order to keep track of leases across system reboots and server restarts,
dhclient keeps a list of leases it has been assigned in the dhclient.leases
file. On startup, after reading the dhclient.conf file, dhclient reads the
dhclient.leases file to refresh its memory about what leases it has been
assigned.
When a new lease is acquired, it is appended to the end of the dhclient.leases
file. In order to prevent the file from becoming arbitrarily large, from time
to time dhclient creates a new dhclient.leases file from its in-core lease
database. The old version of the dhclient.leases file is retained under the
name dhclient.leases~ until the next time dhclient rewrites the database.
Old leases are kept around in case the DHCP server is unavailable when
dhclient is first invoked (generally during the initial system boot process).
Thanks for reply. dhcpcd indeed explicitly states that they support these RFC, but dhclient doesn't. And in those extracts from dhclient man I don't see anything related to the subject, am I missing something?
I agree that it would be useful if the dhclient manpage could explicitly outline the relevant RFCs it supports. The documentation does mention
Quote:
The Internet Systems Consortium DHCP Client, dhclient, provides a means for
configuring one or more network interfaces using the Dynamic Host Configura-
tion Protocol, BOOTP protocol, or if these protocols fail, by statically
assigning an address.
and
Quote:
The current version owes much to Elliot's Linux enhancements, but was substan-
tially reorganized and partially rewritten by Ted Lemon so as to use the same
networking framework that the Internet Systems Consortium DHCP server uses.
More definitive information could be sought via https://www.isc.org/ and they have mailing lists as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.