Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I need to send vendor-options to DHCP server using dhclient (ISC). I've added following lines in the dhclient.conf:

option dhcp6.vendor-class code 16 = {integer 32, integer 16, string};
send dhcp6.vendor-class <enterprise id> <string length> <string value>;

And it works.

Now, I need to send two different instances of this option. I've modified the 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>;

But dhclient sends only the second one. Is there valid way to send two different instances of the vendor-options?

share|improve this question
    
On the same interface? –  Danila Ladner Oct 9 '13 at 13:19
    
@DanilaLadner yes –  emzar Oct 10 '13 at 5:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.