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

2017-03-09 Thread Dan McDonald

> On Mar 9, 2017, at 8:27 AM, Manuel Oetiker  wrote:
> 
> yes thats working for a second ipv4 address in the same subnet but I need to 
> configure
> a ipv6 default gw as well. 

addrconf (aka. SLAAC) should get you one from your next-hop already, no?

If you need manual configuration, do your LX native bits have something that 
can help?  Something akin to the old-fashioned/now-disfavored 
/etc/defaultrouter on illumos?

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2017-03-09 Thread Manuel Oetiker
- Original Message -
> From: "Lauri Tirkkonen" 
> To: "Manuel Oetiker" 
> Cc: omnios-discuss@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 

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2017-03-09 Thread Lauri Tirkkonen
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.

-- 
Lauri Tirkkonen | lotheac @ IRCnet
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


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

2017-03-09 Thread Manuel Oetiker
Hi 

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?

thanks 

manuel
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss