https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233535

            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: b...@freebsd.org
          Reporter: slav...@freebsd.org

Setup:
2 hosts connected back-to-back 
# 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=40+8+8 bytes) 2002::1 --> 2002::2
16 bytes from 2002::2, icmp_seq=0 hlim=64 time=0.101 ms
16 bytes from 2002::2, icmp_seq=1 hlim=64 time=0.085 ms
^C
--- 2002::2 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.085/0.093/0.101/0.008 ms

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

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

Few notes:
==================
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 never
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 (0x86dd),
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 (0x86dd),
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 (0x86dd),
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 (0x86dd),
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 (0x86dd),
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 (0x86dd),
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 (0x86dd),
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 (0x86dd),
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to