Advanced IPv6 in NetworkManager

Jan-Frode Myklebust janfrode at tanso.net
Mon Nov 14 17:43:07 UTC 2011


On Mon, Nov 14, 2011 at 02:43:10PM +0100, Ola Thoresen wrote:
> 
> So you say that both
> 
> IPV6_AUTOCONF=yes
> IPV6ADDR_SECONDARIES=2001:840:0:11::30/64
> 
> Shoudl work?
> (Have not tested yet, but might do that later today).

I believe

	IPV6INIT=yes
	IPV6_AUTOCONF=yes
	IPV6ADDR=2001:840:0:11::30/64

should work and give you both the static IPV6ADDR plus a dynamic address
from RA. At least with that config I'm getting these addresses:

          inet6 addr: 2a01:798:0:8012::5/64 Scope:Global	# IPV6ADDR
          inet6 addr: 2a01:798:0:8012:21a:4aff:fea8:8501/64 Scope:Global # RA
          inet6 addr: fe80::21a:4aff:fea8:8501/64 Scope:Link # link local

I think you only need IPV6ADDR_SECONDARIES if you need to add more than
one static address. So for your original example:

	IPV6INIT=yes
	IPV6_AUTOCONF=yes
	IPV6ADDR=2001:840:0:11::10/64
	IPV6ADDR_SECONDARIES=2001:840:0:11::20/64


  -jf


More information about the devel mailing list