<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>ipv6 slaac problems</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/671 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="671"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;search terms:&#13;
- slaac debugging linux&#13;
- slaac &amp;quot;prefix not used&amp;quot; no ip address&#13;
- slaac prefix &amp;quot;no ipv6 address&amp;quot;&#13;
&#13;
- &amp;quot;Stateful other conf&amp;quot;&#13;
&#13;
&#13;
net.ipv6.conf.eth2.accept_ra = 1&#13;
net.ipv6.conf.eth2.accept_ra_defrtr = 0&#13;
net.ipv6.conf.eth2.accept_ra_pinfo = 0&#13;
net.ipv6.conf.eth2.accept_ra_rt_info_max_plen = 0&#13;
&#13;
https://askubuntu.com/questions/652766/ipv6-slaac-icmpv6-router-advertisments-are-ignored-by-wlan1-interface&#13;
&#13;
&#13;
 ndisc6 gathers a few diagnostic tools for IPv6 networks including:&#13;
  - ndisc6, which performs ICMPv6 Neighbor Discovery in userland,&#13;
  - rdisc6, which performs ICMPv6 Router Discovery in userland,&#13;
  - rltraceroute6, a UDP/ICMP IPv6 implementation of traceroute,&#13;
  - tcptraceroute6, a TCP/IPv6-based traceroute implementation,&#13;
  - tcpspray6, a TCP/IP Discard/Echo bandwidth meter,&#13;
  - addrinfo, easy script interface for hostname and address resolution,&#13;
  - dnssort, DNS sorting script.&#13;
&#13;
&#13;
&#13;
root@gpc-rom:~# LC_ALL=C rdisc6 eth2&#13;
Soliciting ff02::2 (ff02::2) on eth2...&#13;
&#13;
Hop limit                 :           64 (      0x40)&#13;
Stateful address conf.    :           No&#13;
Stateful other conf.      :          Yes&#13;
Mobile home agent         :           No&#13;
Router preference         :       medium&#13;
Neighbor discovery proxy  :           No&#13;
Router lifetime           :         1800 (0x00000708) seconds&#13;
Reachable time            :  unspecified (0x00000000)&#13;
Retransmit time           :  unspecified (0x00000000)&#13;
 Prefix                   : 2a02:238:f065::/48&#13;
  On-link                 :          Yes&#13;
  Autonomous address conf.:          Yes&#13;
  Valid time              :        86400 (0x00015180) seconds&#13;
  Pref. time              :        14400 (0x00003840) seconds&#13;
 Recursive DNS server     : 2a02:238:f065::1&#13;
  DNS server lifetime     :          600 (0x00000258) seconds&#13;
 DNS search list          : mogic.company &#13;
  DNS search list lifetime:          600 (0x00000258) seconds&#13;
 MTU                      :         1500 bytes (valid)&#13;
 Source link-layer address: 52:B8:45:B5:6B:33&#13;
 from fe80::50b8:45ff:feb5:6b33&#13;
&#13;
&#13;
cweiske@gpc-rom:~$ nmcli device show eth2&#13;
&#13;
root@gpc-rom:~# nmcli monitor&#13;
root@gpc-rom:~# nmcli general logging level DEBUG domains ALL&#13;
&#13;
$ jourctrl&#13;
&#13;
&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/eth2/accept_ra' to '1' (current value is '0')&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/eth2/accept_ra_defrtr' to '0' (current value is identical)&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/eth2/accept_ra_pinfo' to '0' (current value is identical)&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; platform-linux: sysctl: setting '/proc/sys/net/ipv6/conf/eth2/accept_ra_rtr_pref' to '0' (current value is identical)&#13;
&#13;
&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]: router solicitation sent&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]: scheduling router solicitation retry in 4 seconds.&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc-lndp[0x559bf34acd40,&amp;quot;eth2&amp;quot;]: processing libndp events&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc-lndp[0x559bf34acd40,&amp;quot;eth2&amp;quot;]: received router advertisement at 6554&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]: scheduling next now/lifetime check: 1800 seconds&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]: neighbor discovery configuration changed [dGRSD]:&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]:   dhcp-level otherconf&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]:   gateway fe80::50b8:45ff:feb5:6b33 pref medium exp 1799,9981&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]:   route 2a02:238:f065::/48 via :: pref medium exp 86399,9981&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]:   dns_server 2a02:238:f065::1 exp 7199,9981&#13;
NetworkManager[1297]: &amp;lt;debug&amp;gt; ndisc[0x559bf34acd40,&amp;quot;eth2&amp;quot;]:   dns_domain mogic.company exp 7199,9981&#13;
&#13;
&#13;
&#13;
RFC 4861&#13;
&#13;
      M              1-bit &amp;quot;Managed address configuration&amp;quot; flag.  When&#13;
                     set, it indicates that addresses are available via&#13;
                     Dynamic Host Configuration Protocol [DHCPv6].&#13;
&#13;
                     If the M flag is set, the O flag is redundant and&#13;
                     can be ignored because DHCPv6 will return all&#13;
                     available configuration information.&#13;
&#13;
      O              1-bit &amp;quot;Other configuration&amp;quot; flag.  When set, it&#13;
                     indicates that other configuration information is&#13;
                     available via DHCPv6.  Examples of such information&#13;
                     are DNS-related information or information on other&#13;
                     servers within the network.&#13;
&#13;
        Note: If neither M nor O flags are set, this indicates that no&#13;
        information is available via DHCPv6.&#13;
&#13;
&#13;
64 bit präfix war das problem&#13;
48 war vorher, mit 64 gehts&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/671/rev-raw/75586433b453d5e0ad40372f5cfefa8d4e8e4d53/info.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/671#info.txt"&gt;info.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
