dhcpcd-discuss

Re: Retrieving information in hook script

Joakim Tjernlund

Thu Apr 25 13:44:55 2019

On Thu, 2019-04-25 at 14:22 +0100, Roy Marples wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> Hi Shweta
> 
> On 25/04/2019 09:57, Shweta Kalyani wrote:
> > How do we retrieve vendor information vendor specific information
> > (vivso) received from DHCPv6 server to the hook script. This should
> > include the vendor class and all the options for this vendor.
> 
> See dhcpcd-definitions.conf in the source:
> 
> define6 17      embed                   vivso
> embed           uint32                  enterprise_number
> # Vendor options are shared between DHCP/DHCPv6
> # Their code is matched to the enterprise number defined above
> # See the end of this file for an example
> 
> ...
> 
> # Vendor-Identifying Vendor Options
> # An example:
> #vendopt 12345  encap                   frobozzco
> #encap 1        string                  maze_location

I recall messing around with vivso a few moths ago and never got the hang of it.
I could really use an complete example, both dhcp client and server(ISC)

 Jocke

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