Comment # 9 on bug 984088 from
(In reply to Ruediger Meier from comment #8)
> (In reply to Marius Tomaschewski from comment #7)
> > Please retry using the current testing rpms, I've updated the pull/testing
> > branch.
> 
> It works now, thanks!
> 
> > (In reply to Ruediger Meier from comment #6)
> > Yes, it is what your router is sending in the IPv6 RA (radvdump output).
> 
> I see. How could I ignore the RDNSS and DNSSL advertisements only?

I'd say, it is not correct that it happens with BOOTPROTO=static already.

Generally, there are the kernel sysctls, which cover most of the ipv6
related autoconf setup:

   .accept_ra          -- main RA acceptance setting, inclusive the
                          dhcpv6 AdvManagedFlag (address + dns + ntp) and
                          AdvOtherConfigFlag (info alias dns, ntp...)
                          [DHCLIENT6_MODE in sysconfig/network/dhcp]
   .accept_ra_defrtr   -- default route (AdvDefaultLifetime > 0 lifetime)
   .accept_ra_rtr_pref -- default route (AdvDefaultPreference low|medium|high)
   .accept_ra_mtu      -- mtu (AdvLinkMTU)
   .accept_ra_pinfo    -- prefix xxxx/yy {} which contains AdvAutonomous
   .autoconf           -- permits to use the AdvAutonomous=true in prefixes
                          [basically limited to "default" /64 prefixes]

kernel preforms the route + address + autoconf setup, wicked monitors
the kernel events about and handles the userspace side (dhcp6, rdnss
and dnssl basically).

That's why ifcfg files do not contain flags for most them -- we use the
sysctl files for the kernel parts plus BOOTPROTO=dhcp6 (dhcp means dhcp4
or dhcp6) + DHCLIENT6_MODE=auto|managed|info (== RA flags) for the things
we do in wicked.

I've introduced BOOTPROTO=auto6 or +auto6 in combination with the other
flags especially for this (static+auto6, dhcp+auto6), but it seems I did
not made the defaults of the "update dns" flags / mask the right way:

The filter to omit them is there:

https://github.com/openSUSE/wicked/blob/master/src/auto6.c#L689
https://github.com/openSUSE/wicked/blob/master/src/auto6.c#L738

but it is initialized to permit them and no way to disallow it :-/

> > And yes, there is still room to tweak the stuff the right way/be more
> > expected.
> 
> IMO for the future it's a good default to get DNS servers via autoconf. But
> maybe not suddenly overnight by "zypper patch".

The 0.6.32 .. 0.6.36 versions implement features for SLES-12-SP2 and
Leap-42.2 (+factory of course). We've intentionally didn't released
them as updates for Leap-42.1, SLE-11 <= SP1 yet -- they need some
time to "settle".

> > What does "sysctl net.ipv6.conf.eth0" on your system say?
> 
> /etc/sysctl.conf
> net.ipv6.conf.eth0.accept_ra=1
> net.ipv6.conf.eth0.autoconf=0
> 
> The rest is default. I want to get the gateway automatically but no IPs
> and not any other autoconf.

Yes. The setup expresses it -- BOOTPROTO=static, there is no auto6 in it.
I just wanted to know how you're using this.

> BTW what is the right mailinglist to discuss about wicked in general?

There is wicked-devel@opensuse.org as wicked specific one. Further, all
the other/generic opensuse lists at https://lists.opensuse.org/


You are receiving this mail because: