<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: &amp;quot;ping6: sendto: Network is unreachable&amp;quot; after unplugging and plugging the ethernet cable</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843355#M129316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can also try with nxp latest L4.14.78 release from source.codeaurora.org repository&lt;/P&gt;&lt;P&gt;Linux L4.14.78_1.0.0 Documentation&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_LINUX_DOCS&amp;amp;appType=license&amp;amp;location=null" title="https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_LINUX_DOCS&amp;amp;appType=license&amp;amp;location=null"&gt;https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_LINUX_DOCS&amp;amp;appType=license&amp;amp;location=null&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2019 23:06:39 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-01-04T23:06:39Z</dc:date>
    <item>
      <title>"ping6: sendto: Network is unreachable" after unplugging and plugging the ethernet cable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843354#M129315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using an iMX6ULL evk board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is about ipv6 multicast after unplugging/plugging ethernet cable. But let me explain in details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built an image with these packages:&lt;/P&gt;&lt;P&gt;- ntp and ntpupdate&lt;/P&gt;&lt;P&gt;-&amp;nbsp;iproute2&lt;/P&gt;&lt;P&gt;- dhcpcd&lt;BR /&gt;- bind&lt;/P&gt;&lt;P&gt;- mdns&lt;/P&gt;&lt;P&gt;- systemd&lt;/P&gt;&lt;P&gt;and other basic tools, that probably aren't relevant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I setup systemd-networkd in this way: /etc/systemd/network/eth0.network:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;[Match]&lt;BR /&gt;Name=eth0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;[Network]&lt;BR /&gt;DHCP=no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Automatically my system starts these processes:&lt;/P&gt;&lt;P&gt;- mdns&lt;/P&gt;&lt;P&gt;- bind &amp;lt;------ I don't know if it is really required, I used this to do some experiments&lt;/P&gt;&lt;P&gt;- systemd-networkd (obviously)&lt;/P&gt;&lt;P&gt;- ntpd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I start "dhcpcd -i eth0" to have a dhcp server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running ifconfig &lt;SPAN style="text-decoration: underline;"&gt;without ethernet cable&lt;/SPAN&gt; the result is:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;eth0 Link encap:Ethernet HWaddr 9A:06:AA:21:D9:3A&lt;BR /&gt; UP BROADCAST MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;lo Link encap:Local Loopback&lt;BR /&gt; inet addr:127.0.0.1 Mask:255.0.0.0&lt;BR /&gt; inet6 addr: ::1/128 Scope:Host&lt;BR /&gt; UP LOOPBACK RUNNING MTU:65536 Metric:1&lt;BR /&gt; RX packets:4 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:4 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:158 (158.0 B) TX bytes:158 (158.0 B)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;If I &lt;SPAN style="text-decoration: underline;"&gt;attach ethernet cable&lt;/SPAN&gt;, thanks to &lt;SPAN style="text-decoration: underline;"&gt;dhcpcd&lt;/SPAN&gt; I can get a Link Local ipv4 address easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I &lt;SPAN style="text-decoration: underline;"&gt;reboot&lt;/SPAN&gt; my system with &lt;SPAN style="text-decoration: underline;"&gt;ethernet cable&lt;/SPAN&gt; previously attached to a real modem, but &lt;SPAN style="text-decoration: underline;"&gt;without dhcpcd&lt;/SPAN&gt; (and systemd configured without dhcpcd), the result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;eth0 Link encap:Ethernet HWaddr 52:31:61:9D:36:FA&lt;BR /&gt; inet6 addr: fe80::5031:61ff:fe9d:36fa/64 Scope:Link&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:51 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:20 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:8490 (8.2 KiB) TX bytes:2126 (2.0 KiB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Running dhcpcd -i eth0&lt;/SPAN&gt; the result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;root@evk-fslc:~# dhcpcd -i eth0&lt;BR /&gt;DUID 00:01:00:01:c7:92:be:43:f6:73:fa:ed:7b:b9&lt;BR /&gt;eth0: IAID 61:9d:36:fa&lt;BR /&gt;[ 668.714011] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=POLL)&lt;BR /&gt;[ 668.767487] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready&lt;BR /&gt;eth1: waiting for carrier&lt;BR /&gt;eth0: rebinding lease of 192.168.1.139&lt;BR /&gt;eth0: NAK: from 192.168.1.1&lt;BR /&gt;eth0: soliciting an IPv6 router&lt;BR /&gt;eth0: soliciting a DHCP lease&lt;BR /&gt;eth0: Router Advertisement from fe80::62e3:27ff:fef1:8833&lt;BR /&gt;eth0: soliciting a DHCPv6 lease&lt;BR /&gt;eth0: offered 192.168.1.140 from 192.168.1.1&lt;BR /&gt;eth0: probing address 192.168.1.140/24&lt;BR /&gt;eth0: leased 192.168.1.140 for 86400 seconds&lt;BR /&gt;eth0: adding route to 192.168.1.0/24&lt;BR /&gt;eth0: adding default route via 192.168.1.1&lt;BR /&gt;forked to background, child pid 424&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and ifconfig prints:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;root@evk-fslc:~# ifconfig&lt;BR /&gt;eth0 Link encap:Ethernet HWaddr 52:31:61:9D:36:FA&lt;BR /&gt; inet addr:192.168.1.140 Bcast:192.168.1.255 Mask:255.255.255.0&lt;BR /&gt; inet6 addr: fe80::5031:61ff:fe9d:36fa/64 Scope:Link&lt;BR /&gt; UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:517 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:107 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:92869 (90.6 KiB) TX bytes:15241 (14.8 KiB)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;eth1 Link encap:Ethernet HWaddr 8E:51:A7:B0:CA:9B&lt;BR /&gt; UP BROADCAST MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;lo Link encap:Local Loopback&lt;BR /&gt; inet addr:127.0.0.1 Mask:255.0.0.0&lt;BR /&gt; inet6 addr: ::1/128 Scope:Host&lt;BR /&gt; UP LOOPBACK RUNNING MTU:65536 Metric:1&lt;BR /&gt; RX packets:25 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:25 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:1574 (1.5 KiB) TX bytes:1574 (1.5 KiB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If I ping ipv6 multicast address the result is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;root@evk-fslc:~# ping6 ff02::fb&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PING ff02::fb (ff02::fb): 56 data bytes&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;64 bytes from fe80::5031:61ff:fe9d:36fa: seq=0 ttl=64 time=2.484 ms&lt;/STRONG&gt;&lt;BR /&gt;64 bytes from fe80::18a3:89b7:d6d1:49: seq=0 ttl=64 time=53.415 ms (DUP!)&lt;BR /&gt;64 bytes from fe80::3e28:6dff:feed:5b97: seq=0 ttl=64 time=129.909 ms (DUP!)&lt;BR /&gt;64 bytes from fe80::5031:61ff:fe9d:36fa: seq=1 ttl=64 time=0.786 ms&lt;BR /&gt;64 bytes from fe80::18a3:89b7:d6d1:49: seq=1 ttl=64 time=58.024 ms (DUP!)&lt;BR /&gt;64 bytes from fe80::3e28:6dff:feed:5b97: seq=1 ttl=64 time=133.957 ms (DUP!)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;--- ff02::fb ping statistics ---&lt;BR /&gt;2 packets transmitted, 2 packets received, 4 duplicates, 0% packet loss&lt;BR /&gt;round-trip min/avg/max = 0.786/63.095/133.957 ms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So everything is ok, but when I unplug and plug ethernet cable, the result becomes:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;root@evk-fslc:~# [ 1097.855919] fec 20b4000.ethernet eth0: Link is Down&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;root@evk-fslc:~# [ 1104.097304] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;root@evk-fslc:~# ping6 ff02::fb&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PING ff02::fb (ff02::fb): 56 data bytes&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ping6: sendto: Network is unreachable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now I'm not able to run&amp;nbsp;ping6 ff02::fb anymore also restarting systemd-networkd, dhcpcd and so on.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don't understand the reason.&amp;nbsp;:smileycry:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Andy Duan suggested to check if my kernel has&amp;nbsp;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 13px;"&gt;CONFIG_IP_MULTICAST and&amp;nbsp;&lt;/SPAN&gt;/proc/sys/net/ipv6/conf/eth0/disable_ipv6 is 0 (also after the problem).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;About&amp;nbsp;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;CONFIG_IP_MULTICAST, both if enabled or not the behaviour is the same.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;&lt;EM&gt;Instead, /proc/sys/net/ipv6/conf/eth0/disable_ipv6 is always 0, before and after cable unplugging/plugging.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem happens in all these configurations:&lt;/P&gt;&lt;P&gt;- yocto sumo (kernel IMX 4.9.88 and u-boot IMX 2017.03)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- yocto sumo (kernel 4.17 FSLC and u-boot 2018.07 FSLC&amp;nbsp;+ u-boot-fslc-fw-utils)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- yocto thud (kernel IMX 4.9.123 and&amp;nbsp;u-boot IMX 2017.03 + u-boot-fw-utils-imx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- and probably also with thud fslc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I talked about this topic also here, but I don't know if they are related:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- NXP:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/359397"&gt;i.MX Linux FEC Driver Drops IPV6 Multicasts &amp;amp;amp; Promiscuous Setting&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;LINUX NETDEV:&amp;nbsp;&lt;A class="link-titled" href="https://www.spinics.net/lists/netdev/msg542215.html" title="https://www.spinics.net/lists/netdev/msg542215.html"&gt;iMX6 FEC driver Linux-fslc 4.17 - IPV6 Multicast not working when unplugging/plugging ethernet cable — Netdev&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Yocto mailing list:&amp;nbsp;&lt;A class="link-titled" href="https://lists.yoctoproject.org/pipermail/yocto/2018-December/043664.html" title="https://lists.yoctoproject.org/pipermail/yocto/2018-December/043664.html"&gt;[yocto] iMX6 FEC driver Linux-fslc 4.17 - IPV6 Multicast not working when unplugging/plugging ethernet cable&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- meta-freescale mailing list:&amp;nbsp;&lt;A class="link-titled" href="https://lists.yoctoproject.org/pipermail/meta-freescale/2018-December/023625.html" title="https://lists.yoctoproject.org/pipermail/meta-freescale/2018-December/023625.html"&gt;[meta-freescale] iMX6 FEC driver Linux-fslc 4.17 - IPV6 Multicast not working when unplugging/plugging ethernet cable&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The real problem is that I don't know where to search. Is it either a driver problem, or a kernel config problem or something about yocto? I "spammed" in every possible mailing list :smileyhappy:, but I'm completely blocked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank u.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2018 15:35:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843354#M129315</guid>
      <dc:creator>stefano_cappa_k</dc:creator>
      <dc:date>2018-12-29T15:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: "ping6: sendto: Network is unreachable" after unplugging and plugging the ethernet cable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843355#M129316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can also try with nxp latest L4.14.78 release from source.codeaurora.org repository&lt;/P&gt;&lt;P&gt;Linux L4.14.78_1.0.0 Documentation&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_LINUX_DOCS&amp;amp;appType=license&amp;amp;location=null" title="https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_LINUX_DOCS&amp;amp;appType=license&amp;amp;location=null"&gt;https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_LINUX_DOCS&amp;amp;appType=license&amp;amp;location=null&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 23:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843355#M129316</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-04T23:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: "ping6: sendto: Network is unreachable" after unplugging and plugging the ethernet cable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843356#M129317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed this issue&amp;nbsp;building the kernel with both &lt;EM style="background-color: #ffffff; border: 0px; color: #212121; font-weight: inherit;"&gt;CONFIG_IP_MULTICAST,&amp;nbsp;&lt;/EM&gt;IPV6_MULTIPLE_TABLES and&amp;nbsp;IPV6_SUBTREES&amp;nbsp;enabled in menuconfig.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 23:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-ping6-sendto-Network-is-unreachable-quot-after-unplugging/m-p/843356#M129317</guid>
      <dc:creator>stefano_cappa_k</dc:creator>
      <dc:date>2019-01-09T23:17:20Z</dc:date>
    </item>
  </channel>
</rss>

