dhcpcd-discuss

Re: Retrieving information in hook script

Shweta Kalyani

Wed May 29 11:27:00 2019

Yes I see only Option17 in ORO of Solicit message and in response I do get
the sub-options from the server.
Its just that I came across this link where I saw sub-options being sent in
option 17 for Solicit itself, so I wanted to confirm.
The link has Chinese content but you get the jist :) It seems to be sending
vendor specific data and also requesting vendor specifc info in option 17 -
ORO within option 17.
http://jianiau.blogspot.com/2014/05/packetcable-20-ipv6-CNR-FQDN.html

Thanks,
Shweta

On Wed, May 29, 2019 at 4:19 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:

> For DHCPv6, only option 17 should be in ORO.
> The server sends this back with the sub options within in.
> You should see this in pcap, if not it's a server issue and not dhcpcd's
>
> Roy
>
>
> On 29/05/2019 10:23, Shweta Kalyani wrote:
> > Thanks Roy,
> > I am able to define the vendor options in the conf file and get the
> > vendor specific data in the hook file.
> > On taking pcap, although option 17 is requested under ORO, its
> > sub-options which are defined in the conf file are not seen. Should the
> > sub-options of Option 17 been seen in pcap?
> > I am using dhcpcd-7.0.0
> >
> > Thanks,
> > Shweta
> >
> >
> > On Thu, Apr 25, 2019 at 7:30 PM Roy Marples <roy@xxxxxxxxxxxx
> > <mailto:roy@xxxxxxxxxxxx>> wrote:
> >
> >     On 25/04/2019 14:51, Shweta Kalyani wrote:
> >      > Hi Roy,
> >      > Thanks but it is not clear how the options are to be processed in
> >     the
> >      > hook script.
> >      > Is there some link I can read up for the same?
> >
> >     Uh no?
> >
> >     The option are *vendor* specific.
> >     ie, dhcpcd has no idea what these options look like.
> >     So you have to define them in dhcpcd.conf and use what you defined in
> >     the hook script.
> >
> >     Roy
> >
>

Follow-Ups:
Re: Retrieving information in hook scriptRoy Marples
References:
Retrieving information in hook scriptShweta Kalyani
Re: Retrieving information in hook scriptRoy Marples
Re: Retrieving information in hook scriptShweta Kalyani
Re: Retrieving information in hook scriptRoy Marples
Re: Retrieving information in hook scriptShweta Kalyani
Re: Retrieving information in hook scriptRoy Marples
Archive administrator: postmaster@marples.name