[OmniOS-discuss] how to set a ipv6 address in a lxzone

Manuel Oetiker manuel at oetiker.ch
Thu Mar 9 13:27:09 UTC 2017


----- Original Message -----
> From: "Lauri Tirkkonen" <lotheac at iki.fi>
> To: "Manuel Oetiker" <manuel at oetiker.ch>
> Cc: omnios-discuss at lists.omniti.com
> Sent: Thursday, March 9, 2017 12:01:07 PM
> Subject: Re: [OmniOS-discuss] how to set a ipv6 address in a lxzone

> On Thu, Mar 09 2017 10:07:22 +0100, Manuel Oetiker wrote:
>> I what to setup a lxzone with a ipv4 and a ipv6 address.
>> 
>> /usr/sbin/zonecfg -z franz add net; add property
>> (name=ips,value="44.141.183.210/24") ; add property
>> (name=gateway,value="44.141.183.193") ; add property
>> (name=primary,value="true") ; set physical=franz0; end
>> 
>> this ist working but how can I add the ipv6 address?
> 
> I found the following works for SLAAC+DHCP, but I haven't tested static
> addresses:
> 
>    add net
>    set physical=foo0
>    add property (name=primary,value="true")
>    add property (name=ips,value="dhcp,addrconf")
>    end
> 
> ie. just add another address into the same property and delimit them with
> commas.


yes thats working for a second ipv4 address in the same subnet but I need to configure
a ipv6 default gw as well. 


--
Manuel Oetiker 



More information about the OmniOS-discuss mailing list