Re: Can't figure out getting network into bhyve instance.

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Fri, 05 May 2023 17:22:55 UTC
On Fri, May 5, 2023 at 5:55 PM Steven Friedrich wrote:
> I had found a bhyve tutorial on the Internet: https://klarasystems.com/articles/from-0-to-bhyve-on-freebsd-13-1/
> (..)

In a simple scenario read `man vm` :-)

Just add public switch with selected physical port / interface.
Machines will use that for networking by default.

I had the same problem(?). Packets were not going out of the guest vm.
There are some sysctls to do in order to pass the bridged traffic.

sysctl net.link.bridge.ipfw=0
sysctl net.link.bridge.pfil_bridge=0
sysctl net.link.bridge.pfil_member=0

I have provided a man page update on that, any comments welcome :-)

https://github.com/churchers/vm-bhyve/pull/510

Hope that helps :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info