Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2022 11:41:26 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Benoit Chesneau <benoitc@enki-multimedia.eu>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   Re: what to check? no IPV6 pings between nodes on the same switch
Message-ID:  <1540677665.110.1660556486732@localhost>
In-Reply-To: <GQsCACVdQaleA6RlMjW5LebnRhR9jPTsyWhhZPvVA0SOLj9keYDaUQ_dcGLZB3etCMhk7hRjg13epmaQtF0rrWpPeSZ3QkPrWoL43UZKOYg=@enki-multimedia.eu>
References:  <qcer8535Q1qdsyEXRpYZO7cRAnjTNz5qlcjbiwNFg7b_13lzwo15Y0-72_pOdSZnVe2AwHHNBLJbPycVb2SCS-evQV-Of1bgpBRyr1C9RU8=@enki-multimedia.eu> <718207270.67.1660552177215@localhost> <hMqENjOsAd2Dv-OG6Ge2FxSuQuyPc73a8Y4Kp2FzSdldA7QzFJGlV2AKaQjuHd3Q-k7I8uRLZ8eR44LJ9FVRdKXQ5-I623xO8BrA5PPnU38=@enki-multimedia.eu> <GQsCACVdQaleA6RlMjW5LebnRhR9jPTsyWhhZPvVA0SOLj9keYDaUQ_dcGLZB3etCMhk7hRjg13epmaQtF0rrWpPeSZ3QkPrWoL43UZKOYg=@enki-multimedia.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_109_1151619572.1660556486676
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Set rtsold_enable=3D"YES" in rc.conf and restart.
Does that help?

"
DESCRIPTION
     rtsold is the daemon program to send ICMPv6 Router Solicitation messag=
es
     on the specified interfaces.  If a node (re)attaches to a link, rtsold
     sends some Router Solicitations on the link destined to the link-local
     scope all-routers multicast address to discover new routers and to get
     non link-local addresses.

     rtsold should be used on IPv6 hosts (non-router nodes) only.
"

Btw: accept_rtadv makes "rtsol" to run once on startup if you set it in rc.=
conf and use it to boot the machine. (BTW: for me this does not work well e=
nough, so I run rtsold explicitly.) Setting accept_rtadv by ifconfig will n=
ot run rtsol.

Regards,
Ronald.

=20
Van: Benoit Chesneau <benoitc@enki-multimedia.eu>
Datum: maandag, 15 augustus 2022 11:25
Aan: Benoit Chesneau <benoitc@enki-multimedia.eu>
CC: Ronald Klop <ronald-lists@klop.ws>, "freebsd-net@FreeBSD.org" <freebsd-=
net@freebsd.org>
Onderwerp: Re: what to check? no IPV6 pings between nodes on the same switc=
h
>=20
> OK here is the weird but interesting thing. When I start  to capture icmp=
6 packets using tcpdump `tcpdump -i ql0 icmp6` then ping6 starts to work.  =
Even after stopping the capture. Any idea what could it be ?
> =20
> Beno=C3=AEt=20
> ------- Original Message -------
> On Monday, August 15th, 2022 at 10:50, Benoit Chesneau <benoitc@enki-mult=
imedia.eu> wrote:
>  >>=20
>> Hi,
>> =20
>> Thanks for the help :) The nodes can indeed ping each others using the l=
ink-local address. What does it means? I tested to set `accept_rtadv` using=
 the ifconfig command without much success.
>> =20
>> =20
>> Here are the ifconfigs, the prefix is the same for all To be sure, I  re=
placed the content by <PREFIX> using sed.
>> =20
>> node 1:
>> =20
>> ```
>>  $ ifconfig ql0
>> ql0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>> options=3D507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWC=
SUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO>
>> ether b4:7a:f1:7a:9c:10
>> inet6 <PREFIX>::11 prefixlen 64
>> inet6 fe80::b67a:f1ff:fe7a:9c10%ql0 prefixlen 64 scopeid 0x1
>> media: Ethernet autoselect (25GBase-SR <full-duplex>)
>> status: active
>>  nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>> ```
>> =20
>> node 2:
>> =20
>> ```
>>  $ ifconfig ql0
>> ql0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>> options=3D507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWC=
SUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO>
>> ether b4:7a:f1:7a:99:52
>> inet6 <PREFIX>::12 prefixlen 64
>> inet6 fe80::b67a:f1ff:fe7a:9952%ql0 prefixlen 64 scopeid 0x1
>> media: Ethernet autoselect (25GBase-SR <full-duplex>)
>> status: active
>>  nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>> ```
>> =20
>> node 3
>> ```
>> ifconfig ql0
>> ql0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>> options=3D507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWC=
SUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO>
>> ether b4:7a:f1:18:ff:d8
>> inet6 <PREFIX>::13 prefixlen 64
>> inet6 fe80::b67a:f1ff:fe18:ffd8%ql0 prefixlen 64 scopeid 0x1
>> media: Ethernet autoselect (25GBase-SR <full-duplex>)
>> status: active
>> nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>> ```
>> =20
>> =20
>> ------- Original Message -------
>> On Monday, August 15th, 2022 at 10:29, Ronald Klop <ronald-lists@klop.ws=
> wrote:
>>  >>> Hi,
>>>=20
>>> My rc.conf config has:
>>> ifconfig_genet0_ipv6=3D"inet6 accept_rtadv"
>>>=20
>>> Can you post the output of "ifconfig" and "ipfw show"?
>>> Can you ping the link-local address of the other hosts?
>>>=20
>>> Regards.
>>> Ronald.
>>>=20
>>> =20
>>> Van: Benoit Chesneau <benoitc@enki-multimedia.eu>
>>> Datum: maandag, 15 augustus 2022 08:59
>>> Aan: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
>>> Onderwerp: what to check? no IPV6 pings between nodes on the same switc=
h
>>>>=20
>>>> =20
>>>> I have setup 3 nodes on a fresh Freebsd 13.1-RELEASE-p1. They have the=
 same gateway and IPS are in same /64. All 3 nodes are on the same switch (=
mikrotik) and same vlan untagged.
>>>>=20
>>>> I can ping them from an external machine through the router/gateway bu=
t the nodes can't ping each others. When I run `ndp-a` it only return the g=
ateway and the node ipv6 (+ their libks) but not the ips of the other nodes=
.
>>>>=20
>>>> Previously these nodes wee under linux and were able to ping each othe=
rs.
>>>>=20
>>>> What could be the issue? What do I need to check?
>>>>=20
>>>> Configuration is pretty straightforward:
>>>> =20
>>>> ```
>>>> hostname=3D"node1.domain.tld"
>>>>=20
>>>> keymap=3D"fr.macbook.kbd"
>>>>=20
>>>> ifconfig_ql0=3D""
>>>>=20
>>>> ifconfig_ql0_ipv6=3D"inet6 <PREFIX>::11/64"
>>>>=20
>>>> ipv6_defaultrouter=3D"<PREFIX>::1"
>>>>=20
>>>> sshd_enable=3D"YES"
>>>>=20
>>>> ntpd_enable=3D"YES"
>>>>=20
>>>> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
>>>>=20
>>>> dumpdev=3D"AUTO"
>>>>=20
>>>> zfs_enable=3D"YES"
>>>> ```
>>>> =20
>>>> Others machines are `<PREFIX>::12`, `<PREFIX>::13`Sent from Proton Mai=
l for iOS
>>>> =20
>>>> Beno=C3=AEt=20
>>=20
>=20
------=_Part_109_1151619572.1660556486676
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Set rtsold_enable=&quot;YES&quot; in rc.conf and restart.<br />
Does that help?<br />
<br />
&quot;<br />
DESCRIPTION<br />
&nbsp;&nbsp;&nbsp;&nbsp; rtsold is the daemon program to send ICMPv6 Router Solicitation messages<br />
&nbsp;&nbsp;&nbsp;&nbsp; on the specified interfaces.&nbsp; If a node (re)attaches to a link, rtsold<br />
&nbsp;&nbsp;&nbsp;&nbsp; sends some Router Solicitations on the link destined to the link-local<br />
&nbsp;&nbsp;&nbsp;&nbsp; scope all-routers multicast address to discover new routers and to get<br />
&nbsp;&nbsp;&nbsp;&nbsp; non link-local addresses.<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; rtsold should be used on IPv6 hosts (non-router nodes) only.<br />
&quot;<br />
<br />
Btw: accept_rtadv makes &quot;rtsol&quot; to run once on startup if you set it in rc.conf and use it to boot the machine. (BTW: for me this does not work well enough, so I run rtsold explicitly.) Setting accept_rtadv by ifconfig will not run rtsol.<br />
<br />
Regards,<br />
Ronald.<br />
<br />
&nbsp;
<p><strong>Van:</strong> Benoit Chesneau &lt;benoitc@enki-multimedia.eu&gt;<br />
<strong>Datum:</strong> maandag, 15 augustus 2022 11:25<br />
<strong>Aan:</strong> Benoit Chesneau &lt;benoitc@enki-multimedia.eu&gt;<br />
<strong>CC:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;, &quot;freebsd-net@FreeBSD.org&quot; &lt;freebsd-net@freebsd.org&gt;<br />
<strong>Onderwerp:</strong> Re: what to check? no IPV6 pings between nodes on the same switch</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">
<div style="font-family: arial; font-size: 14px;">OK here is the weird but interesting thing. When I start &nbsp;to capture icmp6 packets using tcpdump `tcpdump -i ql0 icmp6` then ping6 starts to work. &nbsp;Even after stopping the capture. Any idea what could it be ?</div>

<div style="font-family: arial; font-size: 14px;">&nbsp;</div>

<div class="protonmail_signature_block" style="font-family: arial; font-size: 14px;">
<div class="protonmail_signature_block-user">
<div style="font-style:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;">Beno&icirc;t&nbsp;</div>
</div>
</div>

<div class="protonmail_quote">------- Original Message -------<br />
On Monday, August 15th, 2022 at 10:50, Benoit Chesneau &lt;benoitc@enki-multimedia.eu&gt; wrote:<br />
&nbsp;
<blockquote class="protonmail_quote">
<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">Hi,</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">Thanks for the help :) The nodes can indeed ping each others using the link-local address. What does it means? I tested to set `<span>accept_rtadv` using the ifconfig command without much success.</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">Here are the ifconfigs, the prefix is the same for all To be sure, I &nbsp;replaced the content by &lt;PREFIX&gt; using sed.</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">node 1:</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">```</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);"><span>&nbsp;$ ifconfig ql0</span>

<div><span>ql0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500</span></div>

<div><span>options=507bb&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO&gt;</span></div>

<div><span>ether b4:7a:f1:7a:9c:10</span></div>

<div><span>inet6 &lt;PREFIX&gt;::11 prefixlen 64</span></div>

<div><span>inet6 fe80::b67a:f1ff:fe7a:9c10%ql0 prefixlen 64 scopeid 0x1</span></div>

<div><span>media: Ethernet autoselect (25GBase-SR &lt;full-duplex&gt;)</span></div>

<div><span>status: active</span></div>
<span> nd6 options=21&lt;PERFORMNUD,AUTO_LINKLOCAL&gt;</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">```</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">node 2:</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);"><span style="caret-color:rgb(0, 0, 0);background-color:rgb(255, 255, 255)">```</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);"><span>&nbsp;$ ifconfig ql0</span>

<div><span>ql0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500</span></div>

<div><span>options=507bb&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO&gt;</span></div>

<div><span>ether b4:7a:f1:7a:99:52</span></div>

<div><span>inet6 &lt;PREFIX&gt;::12 prefixlen 64</span></div>

<div><span>inet6 fe80::b67a:f1ff:fe7a:9952%ql0 prefixlen 64 scopeid 0x1</span></div>

<div><span>media: Ethernet autoselect (25GBase-SR &lt;full-duplex&gt;)</span></div>

<div><span>status: active</span></div>
<span> nd6 options=21&lt;PERFORMNUD,AUTO_LINKLOCAL&gt;</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">```</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);"><span>node 3</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">```</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);"><span>ifconfig ql0</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">
<div><span>ql0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500</span></div>

<div><span>options=507bb&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO&gt;</span></div>

<div><span>ether b4:7a:f1:18:ff:d8</span></div>

<div><span>inet6 &lt;PREFIX&gt;::13 prefixlen 64</span></div>

<div><span>inet6 fe80::b67a:f1ff:fe18:ffd8%ql0 prefixlen 64 scopeid 0x1</span></div>

<div><span>media: Ethernet autoselect (25GBase-SR &lt;full-duplex&gt;)</span></div>

<div><span>status: active</span></div>
<span>nd6 options=21&lt;PERFORMNUD,AUTO_LINKLOCAL&gt;</span></div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">```</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div style="font-family: arial; font-size: 14px; color: rgb(0, 0, 0);">&nbsp;</div>

<div class="protonmail_quote">------- Original Message -------<br />
On Monday, August 15th, 2022 at 10:29, Ronald Klop &lt;ronald-lists@klop.ws&gt; wrote:<br />
&nbsp;
<blockquote class="protonmail_quote">Hi,<br />
<br />
My rc.conf config has:<br />
ifconfig_genet0_ipv6=&quot;inet6 accept_rtadv&quot;<br />
<br />
Can you post the output of &quot;ifconfig&quot; and &quot;ipfw show&quot;?<br />
Can you ping the link-local address of the other hosts?<br />
<br />
Regards.<br />
Ronald.<br />
<br />
&nbsp;
<p><strong>Van:</strong> Benoit Chesneau &lt;benoitc@enki-multimedia.eu&gt;<br />
<strong>Datum:</strong> maandag, 15 augustus 2022 08:59<br />
<strong>Aan:</strong> &quot;freebsd-net@FreeBSD.org&quot; &lt;freebsd-net@freebsd.org&gt;<br />
<strong>Onderwerp:</strong> what to check? no IPV6 pings between nodes on the same switch</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">
<div>&nbsp;</div>
<span>I&nbsp;have setup 3 nodes on a fresh Freebsd 13.1-RELEASE-p1. They have the same gateway and IPS are in same /64. All 3 nodes are on the same switch (mikrotik) and same vlan untagged.</span><br />
<br />
<span>I can ping them from an external machine through the router/gateway but&nbsp;</span><span>the nodes can't ping each others.</span><span>&nbsp;When I run `ndp-a` it only return the gateway and the node ipv6 (+ their libks) but not the ips of the other nodes.</span><br />
<br />
<span>Previously these nodes wee under linux and were able to ping each others.</span><br />
<br />
<span>What could be the issue? What do I need to check?</span><br />
<br />
<span>Configuration is pretty straightforward:</span>

<div>&nbsp;
<div>```</div>

<div>
<p>hostname=&quot;node1.domain.tld&quot;</p>

<p><span style="color: var(--text-color); background: var(--bg-color);">keymap=&quot;fr.macbook.kbd&quot;</span></p>

<p>ifconfig_ql0=&quot;&quot;</p>

<p>ifconfig_ql0_ipv6=&quot;inet6 &lt;PREFIX&gt;::11/64&quot;</p>

<p>ipv6_defaultrouter=&quot;&lt;PREFIX&gt;::1&quot;</p>

<p>sshd_enable=&quot;YES&quot;</p>

<p>ntpd_enable=&quot;YES&quot;</p>

<p># Set dumpdev to &quot;AUTO&quot; to enable crash dumps, &quot;NO&quot; to disable</p>

<p>dumpdev=&quot;AUTO&quot;</p>

<p>zfs_enable=&quot;YES&quot;</p>
<font color="#141414" face="Segoe UI, Helvetica Neue, Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, sans-serif"><span>```</span></font></div>

<div>&nbsp;
<div><span><span>Others machines are `&lt;PREFIX&gt;::12`, `&lt;PREFIX&gt;::13`</span>Sent from Proton Mail for iOS</span></div>
</div>
</div>

<div>&nbsp;</div>

<div><span>Beno&icirc;t&nbsp;</span></div>
</div>
</div>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote></body></html>
------=_Part_109_1151619572.1660556486676--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1540677665.110.1660556486732>