dhcpcd-discuss

Re: VIVO config for dhcpcd ?

Joakim Tjernlund

Tue Oct 23 11:16:54 2018

On Tue, 2018-10-23 at 10:04 +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.
> 
> 
> On 23/10/2018 09:59, Joakim Tjernlund wrote:
> > OK, that was for IPv6. I assume for IPv4 I should do:
> > #125
> > option vivso
> > #or should that be option vivco ?
> 
> option vivso
> 
> > vendopt 12345 encap xtm_ne
> > encap 1 string vne_image
> > encap 2 string vne_conf
> > 
> > So now onto configuring ISC dhcp server ... that is also
> > an adventure I need figure out
> 
> https://codingrelic.geekhold.com/2012/02/isc-dhcp-vivo-config.html
> 
> Roy

Thank you Roy, I am getting there but not quite. I have in ISC dhcp server:

option space vivco_xtm code width 1 length width 1;
option vivco_xtm.ne_image code 1 = text;
option vivco_xtm.initial_configuration_file code 2 = text;
option vsio.vivco_xtm code 12345 = encapsulate vivco_xtm;

class "xxxx"    {

                      match option vendor-class-identifier;
                }
                subclass "xxx" "yyyy" {
                     #vendor-option-space vend_xtm;                                                                                  
                     #option vend_xtm.ne_image "none";                                                                               
                     #option vend_xtm.initial_configuration_file "http://my.config.uri/file";;                                                                                                     
                     option vivco_xtm.ne_image "none";
                     option vivco_xtm.initial_configuration_file "http://my.config.uri/file2";;
                }

I can see the vend_xtm options(if I uncomment then) in dhcpcd client -T prints its variables.
But I don't get any trace of vivco. Must be missing something ?

Do I need more in dhcpcd.conf?:
option vivso

vendopt 12345 encap xtm_ne
encap 1 string vne_image
encap 2 string vne_conf

 Jocke



Follow-Ups:
Re: VIVO config for dhcpcd ?Joakim Tjernlund
References:
VIVO config for dhcpcd ?Joakim Tjernlund
Re: VIVO config for dhcpcd ?Roy Marples
Re: VIVO config for dhcpcd ?Joakim Tjernlund
Re: VIVO config for dhcpcd ?Roy Marples
Re: VIVO config for dhcpcd ?Joakim Tjernlund
Re: VIVO config for dhcpcd ?Roy Marples
Archive administrator: postmaster@marples.name