Reg. dhclient.conf configuration (DHCP option 43 and 125)

Dominic L dom.sasken at gmail.com
Fri Aug 13 06:48:40 UTC 2010


Hi.
I want the decoded strings of DHCP option 125 and 43 in my dhclient.leases.
To be specific I need to create a successfull option space to decode option
43 and option 125.
Can anyone please help me in this regards?

I want my received option 125 to be printed like ALU1.DeviceManufactureOUI
and option 43 as ALU.DeviceManufactureOUI.
Can anyone suggest the configuration change to my dhclient.conf?

My configuration details:

*dhclient.conf: *
send vivso
00:00:0D:E9:2B:01:D:30:30:31:44:34:43:3a:30:30:31:35:45:31:02:A:43:41:30:30:31:35:30:39:30:39:03:E:39:33:36:35:20:42:53:52:20:46:65:6d:74:6f;
send vendor-encapsulated-options
0A:D:30:30:31:44:34:43:3a:30:30:31:35:45:31:0B:A:43:41:30:30:31:35:30:39:30:39:0C:E:39:33:36:35:20:42:53:52:20:46:65:6d:74:
6f;
option space ALU;
option ALU.AcsUrl code 1 = string;
option ALU.ProvisioningCode code 2 = string;
option ALU.DeviceManufactureOUI code 3 = string;
option ALU.DeviceSerialNumber code 4 = string;
option ALU.DeviceProductClass   code 5 = string;
vendor option space ALU;
send vendor-class-identifier "dslforum.org";
option space ALU1;
option ALU1.DeviceManufactureOUI code 4 = string;
option ALU1.DeviceSerialNumber code 5 = string;
option ALU1.DeviceProductClass   code 6 = string;
vendor-option-space ALU1;
request subnet-mask, broadcast-address, time-offset, routers, domain-name,
domain-name-servers, host-name, vivso;


*dhclient.lease:*
lease {
  interface "eth0";
  fixed-address 192.168.101.39;
  option subnet-mask 255.255.0.0;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option dhcp-server-identifier 192.168.101.2;
  option vendor-encapsulated-options
1:2a:68:74:74:70:3a:2f:2f:31:39:32:2e:31:36:38:2e:32:35:33:2e:31:30:30:3a:37:30:30:35:2f:63:77:6d:70:57:65:62:2f:43:50:
45:4d:67:74:2:8:41:4c:55:2e:43:41:52:43:3:d:30:30:31:44:34:43:3a:30:30:31:35:31:37:4:a:30:30:30:30:43:42:30:39:30:39:5:e:39:33:36:35:20:42:53:52:20:46:65:6d
:74:6f;
  option vendor.unknown-3561
4:d:30:30:31:44:34:43:3a:30:30:31:35:45:31:5:a:43:41:30:30:31:35:30:39:30:39:6:e:39:33:36:35:20:42:53:52:20:46:65:6d:74:6f;
  option ALU.AcsUrl "http://192.168.253.100:7005/cwmpWeb/CPEMgt";
  option ALU.ProvisioningCode "ALU.CARC";
  option ALU.DeviceManufactureOUI "001D4C:001517";
  option ALU.DeviceSerialNumber "0000CB0909";
  option ALU.DeviceProductClass "9365 BSR Femto";
  renew 6 1970/01/03 04:32:14;
  rebind 6 1970/01/03 15:39:54;
  expire 6 1970/01/03 18:39:54;
}


Regards,
Dominic L A J S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100813/6410d031/attachment.html>


More information about the dhcp-users mailing list