我需要发送供应商选项DHCP 服务器使用dhclient(ISC)。我在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 只发送第二个。有没有有效的方法来发送两个不同的供应商选项?