Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2020 15:34:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 247912] IPv6 ndp does not work across local bridge members
Message-ID:  <bug-247912-7501-dB2aFwsEbc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247912-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247912-7501@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from Martin Birgmeier <d8zNeCFG@aon.at> ---
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.=



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