我需要使用dhclient(ISC)将供应商选项发送到DHCP服务器。 我在dhclient.conf中添加了以下几行:
option dhcp6.vendor-class code 16 = {integer 32, integer 16, string}; send dhcp6.vendor-class <enterprise id> <string length> <string value>;
它工作。
现在,我需要发送这个选项的两个不同的实例。 我修改了dhclient.conf :
option dhcp6.vendor-class code 16 = {integer 32, integer 16, string}; send dhcp6.vendor-class <enterprise id1> <string length1> <string value1>; send dhcp6.vendor-class <enterprise id2> <string length2> <string value2>;
但是dhclient只发送第二个。 有没有有效的方法来发送供应商选项的两个不同的实例?