Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2021 16:39:07 +0100 (CET)
From:      Ronald Klop via freebsd-net <freebsd-net@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Subject:   ipv6 on genet0 + bridge not configuring
Message-ID:  <1964077845.708.1640187547120@localhost>
References:  <297610586.526.1640181235676@localhost>

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

I hope somebody on this list has more insights into this issue below.

NB: I can repeat the rtsol command and error from the command line.

Regards,
Ronald.
 
Van: Ronald Klop via freebsd-arm <freebsd-arm@freebsd.org>
Datum: woensdag, 22 december 2021 14:53
Aan: freebsd-arm@freebsd.org
Onderwerp: ipv6 on genet0 + bridge not configuring
> 
> 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_707_1889223815.1640187547115
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>I hope somebody on this list has more insights into this issue below.<br />
<br />
NB: I can repeat the rtsol command and error from the command line.<br />
<br />
Regards,<br />
Ronald.<br />
&nbsp;
<p><strong>Van:</strong> Ronald Klop via freebsd-arm &lt;freebsd-arm@freebsd.org&gt;<br />
<strong>Datum:</strong> woensdag, 22 december 2021 14:53<br />
<strong>Aan:</strong> freebsd-arm@freebsd.org<br />
<strong>Onderwerp:</strong> ipv6 on genet0 + bridge not configuring</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">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;</div>
</div>
</div>
</blockquote></body></html>
------=_Part_707_1889223815.1640187547115--



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