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";
}