[Bug 247912] IPv6 ndp does not work across local bridge members

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 18 15:34:49 UTC 2020


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

--- Comment #2 from Martin Birgmeier <d8zNeCFG at 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 the
output for that, too.

Host before "bridge0 create" and "tap904 create":

[0]# ndp -a
Neighbor                             Linklayer Address  Netif Expire    S Flags
2002:b2bf:ee7e:4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R 
fec0::4d42:22cf:30ff:fe55:5cb6       20:cf:30:55:5c:b6    re0 permanent R 
fec0:0:0:4d42::e1                    20:cf:30:55:5c:b6    re0 permanent R 
fe80::22cf:30ff:fe55:5cb6%re0        20:cf:30:55:5c:b6    re0 permanent R 
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 
mizar.xyzzy                          f0:de:f1:98:86:a9    re0 23h58m35s S 
[0]# 

After "ifconfig bridge0 create && ifconfig bridge0 addm re0 && ifconfig bridge0
up":

[0]# ndp -a                             
Neighbor                             Linklayer Address  Netif Expire    S Flags
2002:b2bf:ee7e:4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R 
fec0::4d42:22cf:30ff:fe55:5cb6       20:cf:30:55:5c:b6    re0 permanent R 
fec0:0:0:4d42::e1                    20:cf:30:55:5c:b6    re0 permanent R 
fe80::22cf:30ff:fe55:5cb6%re0        20:cf:30:55:5c:b6    re0 permanent R 
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 
mizar.xyzzy                          f0:de:f1:98:86:a9    re0 23h59m48s S 
[0]# 

After "ifconfig tap904 create && ifconfig bridge0 addm tap904":

[0]# ndp -a                                                
Neighbor                             Linklayer Address  Netif Expire    S Flags
2002:b2bf:ee7e:4d42:22cf:30ff:fe55:5cb6 20:cf:30:55:5c:b6 re0 permanent R 
fec0::4d42:22cf:30ff:fe55:5cb6       20:cf:30:55:5c:b6    re0 permanent R 
fec0:0:0:4d42::e1                    20:cf:30:55:5c:b6    re0 permanent R 
fe80::22cf:30ff:fe55:5cb6%re0        20:cf:30:55:5c:b6    re0 permanent R 
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 
mizar.xyzzy                          f0:de:f1:98:86:a9    re0 23h59m2s  S 
[0]# 

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 Flags
v904.xyzzy                           00:a0:98:50:35:17 vtnet0 permanent R 
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 
fec0::4d42:2a0:98ff:fe50:3517        00:a0:98:50:35:17 vtnet0 permanent R 
fe80::2a0:98ff:fe50:3517%vtnet0      00:a0:98:50:35:17 vtnet0 permanent R 
mizar.xyzzy                          f0:de:f1:98:86:a9 vtnet0 23h59m57s S 
[0]# 

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 interface;
fec0:0:0:4d42::e resolves to hal.xyzzy):

[0]# ndp -a
Neighbor                             Linklayer Address  Netif Expire    S Flags
fec0:0:0:4d42::e1                    20:cf:30:55:5c:b6 vtnet0 permanent R 
v904.xyzzy                           00:a0:98:50:35:17 vtnet0 permanent R 
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 
fec0::4d42:2a0:98ff:fe50:3517        00:a0:98:50:35:17 vtnet0 permanent R 
fe80::2a0:98ff:fe50:3517%vtnet0      00:a0:98:50:35:17 vtnet0 permanent R 
hal.xyzzy                            20:cf:30:55:5c:b6 vtnet0 permanent R 
mizar.xyzzy                          f0:de:f1:98:86:a9 vtnet0 23h58m54s S 
[0]# 

-- Martin

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


More information about the freebsd-net mailing list