Hello.
I encapsulate two IPv6 address into DHCPv6 option 17 (D6O_VENDOR_OPTS) with two sub-options which have the same code=1 for them.
Here is the two sub-options in D6O_VENDOR_OPTS which I get from Wirshark:
option
Option code: 1
Option length: 16
Option data: fd12ac8b3f43006a98c5dbfffeba918b
option
Option code: 1
Option length: 16
Option data: 20010db80001000d0000000000001000
And I try to get the two IPs from dhclient. I configure the dhclient.conf to define the vendor-encapsulated-options for the IP.
Here is my definition in dhclient.conf:
option space iplist code width 2 length width 2;
option iplist.ctip code 1 = ip6-address;
option vsio.iplist code 43793 = encapsulate iplist;
My problem is I alway get only one IP from dhclient when I using "require iplist.ctip;". Could anyone tell me how to configure dhclient to get both of the two IPs?
Thank you.
Songtao
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at
https://www.isc.org/contact/ for more information.
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users