LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-06-2016, 02:32 PM   #1
Nalik
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Rep: Reputation: Disabled
dhclient forcerenew support


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
 
Old 04-07-2016, 11:40 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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).
From
Code:
man dhcpcd
Quote:
STANDARDS
RFC 951, RFC 1534, RFC 2104, RFC 2131, RFC 2132, RFC 2563, RFC 2855, RFC 3004,
RFC 3118, RFC 3203, RFC 3315, RFC 3361, RFC 3633, RFC 3396, RFC 3397, RFC 3442,
RFC 3495, RFC 3925, RFC 3927, RFC 4039, RFC 4075, RFC 4242, RFC 4361, RFC 4390,
RFC 4702, RFC 4074, RFC 4861, RFC 4833, RFC 4941, RFC 5227, RFC 5942, RFC 5969,
RFC 6106, RFC 6334, RFC 6603, RFC 6704, RFC 7217, RFC 7550.

Last edited by ferrari; 04-07-2016 at 11:47 PM.
 
1 members found this post helpful.
Old 04-08-2016, 11:46 AM   #3
Nalik
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-08-2016, 11:30 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhclient: execve (/sbin/dhclient-script, ...): Exec format error RandomTroll Linux - Networking 2 10-11-2015 09:01 PM
reason for multiple dhclient leases in /var/lib/dhclient/dhclient.leases psycroptic Linux - Networking 1 04-23-2014 09:24 AM
dhclient laurentwahl Linux - Wireless Networking 6 05-30-2005 12:35 AM
I need dhclient but there is no one g-string 3 Linux - Networking 2 05-19-2005 03:42 PM
dhclient and 2.4.23 townfool Linux - Networking 1 12-16-2003 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration