Re: what to check? no IPV6 pings between nodes on the same switch

From: Benoit Chesneau <benoitc_at_enki-multimedia.eu>
Date: Mon, 15 Aug 2022 09:25:39 UTC
OK here is the weird but interesting thing. When I start to capture icmp6 packets using tcpdump `tcpdump -i ql0 icmp6` then ping6 starts to work. Even after stopping the capture. Any idea what could it be ?

Benoît
------- Original Message -------
On Monday, August 15th, 2022 at 10:50, Benoit Chesneau <benoitc@enki-multimedia.eu> wrote:

> Hi,
>
> Thanks for the help :) The nodes can indeed ping each others using the link-local address. What does it means? I tested to set `accept_rtadv` using the ifconfig command without much success.
>
> Here are the ifconfigs, the prefix is the same for all To be sure, I replaced the content by <PREFIX> using sed.
>
> node 1:
>
> ```
> $ ifconfig ql0
> ql0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=21<PERFORMNUD,AUTO_LINKLOCAL>
> ```
>
> node 2:
>
> ```
> $ ifconfig ql0
> ql0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=21<PERFORMNUD,AUTO_LINKLOCAL>
> ```
>
> node 3
> ```
> ifconfig ql0
>
> ql0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=21<PERFORMNUD,AUTO_LINKLOCAL>
> ```
>
> ------- Original Message -------
> On Monday, August 15th, 2022 at 10:29, Ronald Klop <ronald-lists@klop.ws> wrote:
>
>> Hi,
>>
>> My rc.conf config has:
>> ifconfig_genet0_ipv6="inet6 accept_rtadv"
>>
>> Can you post the output of "ifconfig" and "ipfw show"?
>> Can you ping the link-local address of the other hosts?
>>
>> Regards.
>> Ronald.
>>
>> 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 switch
>>
>>> 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.
>>>
>>> I can ping them from an external machine through the router/gateway but the nodes can't ping each others. When I run `ndp-a` it only return the gateway and the node ipv6 (+ their libks) but not the ips of the other nodes.
>>>
>>> Previously these nodes wee under linux and were able to ping each others.
>>>
>>> What could be the issue? What do I need to check?
>>>
>>> Configuration is pretty straightforward:
>>> ```
>>>
>>> hostname="node1.domain.tld"
>>>
>>> keymap="fr.macbook.kbd"
>>>
>>> ifconfig_ql0=""
>>>
>>> ifconfig_ql0_ipv6="inet6 <PREFIX>::11/64"
>>>
>>> ipv6_defaultrouter="<PREFIX>::1"
>>>
>>> sshd_enable="YES"
>>>
>>> ntpd_enable="YES"
>>>
>>> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
>>>
>>> dumpdev="AUTO"
>>>
>>> zfs_enable="YES"
>>>
>>> ```
>>> Others machines are `<PREFIX>::12`, `<PREFIX>::13`Sent from Proton Mail for iOS
>>>
>>> Benoît