Advanced IPv6 in NetworkManager

Dan Williams dcbw at redhat.com
Mon Nov 14 22:03:37 UTC 2011


On Mon, 2011-11-14 at 22:39 +0100, Ola Thoresen wrote:
> On 11/14/2011 06:43 PM, Jan-Frode Myklebust wrote:
> > 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
> >
> 
> 
> Unfortunately it does not seem to work here, which is a bit strange if 
> it works for you...
> Just tested the exact same setup (with my own IP-addresses) and only the 
> RA-address is set on the interface if i set IPV6_AUTOCON=yes.
> Even after a reboot.
> I could then add static addresses manually usin /sbin/ip ...
> 
> But if I change ifcfg-eth0 back to IPV6_AUTOCONF=no it will imediately 
> set the static address(es)
> 
> This is with NetworkManager-0.9.1.90-5.git20110927.fc16.x86_64

NM should allow static addresses in addition to RA/DHCP ones.  While the
UI currently might restrict that (should get fixed) I'd expect it to
work with the right bits in the ifcfg file.  I'll check that out.

Dan



More information about the devel mailing list