From owner-freebsd-net@freebsd.org Tue Aug 18 15:34:49 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 520BA3BFBA2 for ; Tue, 18 Aug 2020 15:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BWFMs1Z21z4Fwq for ; Tue, 18 Aug 2020 15:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3407F3BFBA1; Tue, 18 Aug 2020 15:34:49 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 33CFF3BFCFC for ; Tue, 18 Aug 2020 15:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWFMs0hbFz4GHj for ; Tue, 18 Aug 2020 15:34:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F086F140A9 for ; Tue, 18 Aug 2020 15:34:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07IFYmmu015683 for ; Tue, 18 Aug 2020 15:34:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07IFYmPG015682 for net@FreeBSD.org; Tue, 18 Aug 2020 15:34:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 247912] IPv6 ndp does not work across local bridge members Date: Tue, 18 Aug 2020 15:34:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 15:34:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247912 --- Comment #2 from Martin Birgmeier --- Hi Li, Since you want it "before and after the creation of bridge0", the following= is from the host; but the issue actually occurs on the client - I'll provide t= he output for that, too. Host before "bridge0 create" and "tap904 create": [0]# ndp -a Neighbor Linklayer Address Netif Expire S F= lags 2002:b2bf:ee7e:4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R=20 fec0::4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R=20 fec0:0:0:4d42::e1 20:cf:30:55:5c:b6 re0 permanent R=20 fe80::22cf:30ff:fe55:5cb6%re0 20:cf:30:55:5c:b6 re0 permanent R=20 gandalf.xyzzy 00:03:0d:4f:f3:a7 re0 23h57m34s S R fe80::203:dff:fe4f:f3a7%re0 00:03:0d:4f:f3:a7 re0 23h55m33s S R fe80::218:e7ff:fee0:807b%re0 00:18:e7:e0:80:7b re0 23h55m33s S R hal.xyzzy 20:cf:30:55:5c:b6 re0 permanent R=20 mizar.xyzzy f0:de:f1:98:86:a9 re0 23h58m35s S=20 [0]#=20 After "ifconfig bridge0 create && ifconfig bridge0 addm re0 && ifconfig bri= dge0 up": [0]# ndp -a=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 Neighbor Linklayer Address Netif Expire S F= lags 2002:b2bf:ee7e:4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R=20 fec0::4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R=20 fec0:0:0:4d42::e1 20:cf:30:55:5c:b6 re0 permanent R=20 fe80::22cf:30ff:fe55:5cb6%re0 20:cf:30:55:5c:b6 re0 permanent R=20 gandalf.xyzzy 00:03:0d:4f:f3:a7 re0 23h58m48s S R fe80::203:dff:fe4f:f3a7%re0 00:03:0d:4f:f3:a7 re0 23h51m46s S R fe80::218:e7ff:fee0:807b%re0 00:18:e7:e0:80:7b re0 23h51m46s S R hal.xyzzy 20:cf:30:55:5c:b6 re0 permanent R=20 mizar.xyzzy f0:de:f1:98:86:a9 re0 23h59m48s S=20 [0]#=20 After "ifconfig tap904 create && ifconfig bridge0 addm tap904": [0]# ndp -a=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 Neighbor Linklayer Address Netif Expire S F= lags 2002:b2bf:ee7e:4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R=20 fec0::4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R=20 fec0:0:0:4d42::e1 20:cf:30:55:5c:b6 re0 permanent R=20 fe80::22cf:30ff:fe55:5cb6%re0 20:cf:30:55:5c:b6 re0 permanent R=20 gandalf.xyzzy 00:03:0d:4f:f3:a7 re0 23h58m2s S R fe80::203:dff:fe4f:f3a7%re0 00:03:0d:4f:f3:a7 re0 23h51m0s S R fe80::218:e7ff:fee0:807b%re0 00:18:e7:e0:80:7b re0 23h51m0s S R hal.xyzzy 20:cf:30:55:5c:b6 re0 permanent R=20 mizar.xyzzy f0:de:f1:98:86:a9 re0 23h59m2s S=20 [0]#=20 Now starting the bhyve VM; the rest is from inside the VM. Before manually added ndp entries: [0]# ndp -a Neighbor Linklayer Address Netif Expire S F= lags v904.xyzzy 00:a0:98:50:35:17 vtnet0 permanent R=20 gandalf.xyzzy 00:03:0d:4f:f3:a7 vtnet0 23h59m57s S R fe80::203:dff:fe4f:f3a7%vtnet0 00:03:0d:4f:f3:a7 vtnet0 23h59m2s S R fe80::218:e7ff:fee0:807b%vtnet0 00:18:e7:e0:80:7b vtnet0 23h59m2s S R 2002:b2bf:ee7e:4d42:2a0:98ff:fe50:3517 00:a0:98:50:35:17 vtnet0 permanent R= =20 fec0::4d42:2a0:98ff:fe50:3517 00:a0:98:50:35:17 vtnet0 permanent R=20 fe80::2a0:98ff:fe50:3517%vtnet0 00:a0:98:50:35:17 vtnet0 permanent R=20 mizar.xyzzy f0:de:f1:98:86:a9 vtnet0 23h59m57s S=20 [0]#=20 After "ndp -s fec0:0:0:4d42::e 20:cf:30:55:5c:b6 && ndp -s fec0:0:0:4d42::e1 20:cf:30:55:5c:b6" (the host has two IPv6 addresses assigned to its interfa= ce; fec0:0:0:4d42::e resolves to hal.xyzzy): [0]# ndp -a Neighbor Linklayer Address Netif Expire S F= lags fec0:0:0:4d42::e1 20:cf:30:55:5c:b6 vtnet0 permanent R=20 v904.xyzzy 00:a0:98:50:35:17 vtnet0 permanent R=20 gandalf.xyzzy 00:03:0d:4f:f3:a7 vtnet0 23h58m54s S R fe80::203:dff:fe4f:f3a7%vtnet0 00:03:0d:4f:f3:a7 vtnet0 23h57m59s S R fe80::218:e7ff:fee0:807b%vtnet0 00:18:e7:e0:80:7b vtnet0 23h57m59s S R 2002:b2bf:ee7e:4d42:2a0:98ff:fe50:3517 00:a0:98:50:35:17 vtnet0 permanent R= =20 fec0::4d42:2a0:98ff:fe50:3517 00:a0:98:50:35:17 vtnet0 permanent R=20 fe80::2a0:98ff:fe50:3517%vtnet0 00:a0:98:50:35:17 vtnet0 permanent R=20 hal.xyzzy 20:cf:30:55:5c:b6 vtnet0 permanent R=20 mizar.xyzzy f0:de:f1:98:86:a9 vtnet0 23h58m54s S=20 [0]#=20 -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=