DHCP option 125

Hok Hie Tjioe hhtjioe at yahoo.com
Fri Jun 22 12:44:36 UTC 2012


Hi all,

somebody have any advise how to define the DHCP option 125 (vivso) using the option space?
I am using ISC DHCP server version 4.2.3-P2.

Want I want to achieve is quite simple though:
option 125 = enterprise-ID + one suboption

From the manual section I can made the following structure, assuming that enterpise id of TEST = 12345

option space TEST code width 1 length width 1 hash size 3;
option TEST.suboption code 1 = string;
option vendor.TEST code 12345 = encapsulate TEST;

subnet 10.0.16.0 netmask 255.255.255.0 {
 option routers 10.0.16.1;
   range 10.0.16.10 10.0.16.254;
   if substring (option vendor-class-identifier, 0, 5) = "test1" {
     option TEST.suboption = "Here is the string of this option";
   }
}

what I missed here is the link to the option 125 (vivso) in this case?

Any feedback is appreciated...
TIA.


Best Regards,

H2T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120622/7c1b215b/attachment.html>


More information about the dhcp-users mailing list