dhcpcd-discuss

Re: dhcpcd v7.0.8 (ipv6) seeking help configuring option 17 (OPTION_VENDOR_OPTS )

Shahid Mahmood

Thu Sep 20 16:55:35 2018

Greetings! It worked.
In summary, we need to add this in dhcpcd6.conf file:

vendopt <nnnn> encap sson6
encap 242 string test

where <nnnn> is the 4-digit enterprise code.

A dhcp server (ISC), configured to respond to such request, responds as
expected.

So, all good.
Thanks, Roy, for your quick help!

Regards,
-shahid


On Thu, Sep 20, 2018 at 11:31 AM Shahid Mahmood <shahid.avaya@xxxxxxxxx>
wrote:

> Thanks! I will check it out and let you know shortly.
>
> Regards,
> -shahid
>
> On Wed, Sep 19, 2018 at 4:06 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
>> Hi Shahid
>>
>> On 19/09/2018 15:03, Shahid Mahmood wrote:
>> > Hello List,
>> > We are trying to configure dhcpcd for ipv6 such that it would request
>> > vendor option 17, with encapsulated sub-option: 'nnn'.
>> >
>> > We tried the following in dhcpcd.conf:
>> >
>> > option 17
>> >
>> > Which didn't work.
>> > Looking for help in configuring this, properly in .conf file.
>> > (We do have an IANA assigned enterprise-number as per RFC 3315)
>>
>> You just need to request option 17, which you need to do like so:
>>
>> option dhcp6_vivso
>>
>> Then tell dhcpcd.conf how to interpret the option.
>> dhcpcd-definitions.conf has this example:
>>
>> ##############################################################################
>> # Vendor-Identifying Vendor Options
>> # An example:
>> #vendopt 12345  encap                   frobozzco
>> #encap 1        string                  maze_location
>> #encap 2        byte                    grue_probability
>>
>> see here for it being tested on dnsmasq:
>>
>> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2013q4/007865.html
>>
>> I've not tested it recently, will try and do so later.
>>
>> Good luck!
>>
>> Roy
>>
>

References:
dhcpcd v7.0.8 (ipv6) seeking help configuring option 17 (OPTION_VENDOR_OPTS )Shahid Mahmood
Re: dhcpcd v7.0.8 (ipv6) seeking help configuring option 17 (OPTION_VENDOR_OPTS )Roy Marples
Re: dhcpcd v7.0.8 (ipv6) seeking help configuring option 17 (OPTION_VENDOR_OPTS )Shahid Mahmood
Archive administrator: postmaster@marples.name