Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2021 14:53:55 +0100 (CET)
From:      Ronald Klop via freebsd-arm <freebsd-arm@freebsd.org>
To:        freebsd-arm@freebsd.org
Subject:   ipv6 on genet0 + bridge not configuring
Message-ID:  <297610586.526.1640181235676@localhost>

next in thread | raw e-mail | index | archive | help
------=_Part_525_337538973.1640181235578
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

My RPI4 is running pretty happy with some VNET jails on it.
# uname -a
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #15 main-9c0287e092: Fri Nov  5 10:48:20 CET 2021     ronald@rpi4:/home/ronald/dev/obj/home/ronald/dev/freebsd/arm64.aarch64/sys/GENERIC-NODEBUG  arm64

# cat /etc/rc.conf
hostname="rpi4"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm genet0 SYNCDHCP"
ifconfig_genet0="up"

I now added this line to rc.conf:
ifconfig_bridge0_ipv6="inet6 accept_rtadv"

This does trigger some ipv6 negotiation on start up, but also some errors.
bridge0: Ethernet address: 58:9c:fc:00:3e:aa
Created cloe interfaces: bridge0.
lo0: link state changed to UP
genet0: link state changed to DOWN
genet0: promiscuous mode enabled
bridge0: link state changed to DOWN
rtsol: cap_llflags_get() failed, anyway I'll try
rtsol: sendmsg on bridge0: Can't assign requested address
genet0: link state changed to UP
bridge0: link state changed to UP
rtsol: sendmsg on bridge0: Can't assign requested address
rtsol: sendmsg on bridge0: Can't assign requested address
Starting dhclient.

Dhclient for ipv4 works well and assigns an address.

Similar setup on another FreeBSD 14 works well with ipv6. But that does not have a bridge. It just enables IPv6 on the interface.

What am I missing? Something obvious?

Regards,
Ronald.
 
------=_Part_525_337538973.1640181235578
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Hi,<br />
<br />
My RPI4 is running pretty happy with some VNET jails on it.<br />
# uname -a<br />
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #15 main-9c0287e092: Fri Nov&nbsp; 5 10:48:20 CET 2021&nbsp;&nbsp;&nbsp;&nbsp; ronald@rpi4:/home/ronald/dev/obj/home/ronald/dev/freebsd/arm64.aarch64/sys/GENERIC-NODEBUG&nbsp; arm64<br />
<br />
# cat /etc/rc.conf<br />
hostname=&quot;rpi4&quot;<br />
cloned_interfaces=&quot;bridge0&quot;<br />
ifconfig_bridge0=&quot;addm genet0 SYNCDHCP&quot;<br />
ifconfig_genet0=&quot;up&quot;<br />
<br />
I now added this line to rc.conf:<br />
ifconfig_bridge0_ipv6=&quot;inet6 accept_rtadv&quot;<br />
<br />
This does trigger some ipv6 negotiation on start up, but also some errors.<br />
bridge0: Ethernet address: 58:9c:fc:00:3e:aa<br />
Created cloe interfaces: bridge0.<br />
lo0: link state changed to UP<br />
genet0: link state changed to DOWN<br />
genet0: promiscuous mode enabled<br />
bridge0: link state changed to DOWN<br />
rtsol: cap_llflags_get() failed, anyway I'll try<br />
rtsol: sendmsg on bridge0: Can't assign requested address<br />
genet0: link state changed to UP<br />
bridge0: link state changed to UP<br />
rtsol: sendmsg on bridge0: Can't assign requested address<br />
rtsol: sendmsg on bridge0: Can't assign requested address<br />
Starting dhclient.<br />
<br />
Dhclient for ipv4 works well and assigns an address.<br />
<br />
Similar setup on another FreeBSD 14 works well with ipv6. But that does not have a bridge. It just enables IPv6 on the interface.<br />
<br />
What am I missing? Something obvious?<br />
<br />
Regards,<br />
Ronald.<br />
&nbsp;</body></html>
------=_Part_525_337538973.1640181235578--



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