Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 16:12:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233535] Machines lost ping6 after adding same IPv6 address
Message-ID:  <bug-233535-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233535

            Bug ID: 233535
           Summary: Machines lost ping6 after adding same IPv6 address
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: slavash@FreeBSD.org

Setup:
2 hosts connected back-to-back=20
# uname -rv
13.0-CURRENT FreeBSD 13.0-CURRENT r340922 GENERIC-NODEBUG

Steps to reproduce:
1. Configure IPv6 address on both hosts:
HOST A: ifconfig igb0 inet6 2002::1
HOST B: ifconfig igb0 inet6 2002::2

2. Ping to make sure all works:
# ping6 2002::2
PING6(56=3D40+8+8 bytes) 2002::1 --> 2002::2
16 bytes from 2002::2, icmp_seq=3D0 hlim=3D64 time=3D0.101 ms
16 bytes from 2002::2, icmp_seq=3D1 hlim=3D64 time=3D0.085 ms
^C
--- 2002::2 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev =3D 0.085/0.093/0.101/0.008 ms

3. On both hosts configure the same IP=20
HOST A: ifconfig igb0 inet6 2002::1
HOST B: ifconfig igb0 inet6 2002::2

4. Check ping again
# ping6 2002::2
PING6(56=3D40+8+8 bytes) 2002::1 --> 2002::2
^C
--- 2002::2 ping6 statistics ---
7 packets transmitted, 0 packets received, 100.0% packet loss

Few notes:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1. Seems like sometimes need to do step 3 multiple times.
2. Pinging from the other side, may resolve the issue.
3. Issue is reproducing on other NIC vendors.


>From tcpdump, I see that the other side is getting the NS messages, but nev=
er
replies:
# tcpdump -nei igb0 host 2002::1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on igb0, link-type EN10MB (Ethernet), capture size 262144 bytes
18:10:10.176317 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:11.196325 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:12.343345 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:13.377329 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:14.382334 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:15.533880 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:16.583342 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
18:10:17.603347 0c:c4:7a:a8:b7:f6 > 33:33:ff:00:00:02, ethertype IPv6 (0x86=
dd),
length 86: 2002::1 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has
2002::2, length 32
^C
8 packets captured
41 packets received by filter
0 packets dropped by kernel

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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