LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2022, 11:52 AM   #1
jabrwock
LQ Newbie
 
Registered: Jun 2022
Location: Saskatchewan, Canada
Distribution: Ubuntu 22.04 LTS
Posts: 1

Rep: Reputation: 0
Question isc-dhcp-client howto decode vendor options in lease file


I want to support some vendor-specific options sent by the DHCP server. And I'd like to have them decoded in the lease file. I'm using ISC DHCP client 4.4.2

So I added the following to my dhclient.conf to define the vendor options:

Code:
option space docsis;
option docsis.server-list		code 61 = array of ip-address; # suboption 61
option local-encapsulation		code 43 = encapsulate docsis; # option 43 VSE
The ref manual say I can add "vendor option space" to the lease block in dhclient.conf to enable decoding of vendor-specific options:


https://kb.isc.org/docs/isc-dhcp-41-...e-declarations
Code:
vendor option space "name";

The vendor option space statement is used to specify which option space should be used for decoding the vendor-encapsulate-options option if one is received. The dhcp-vendor-identifier can be used to request a specific class of vendor options from the server. See dhcp-options(5) for details.
But the client is rejecting the following with the error "expecting lease declaration".

Code:
lease {
	vendor option space "docsis";
}
 
  


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
procmailrc decode data from base64 encoded emails - trying to decode with uudeview garyrickert Linux - Software 6 10-06-2015 03:41 PM
"one-lease-per-client" option in ISC dhcpd dhcpd.conf file m4rtin Linux - Networking 3 09-27-2012 04:44 AM
ISC dhcpd with option 82 doesn't lease IP addresses Atllas Linux - Server 0 11-02-2011 04:00 PM
How to get vendor-string or vendor-class from a dhcp client. dhonnoll78 Linux - Networking 1 09-08-2010 11:42 PM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:18 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