Date: Fri, 5 May 2023 19:22:55 +0200 From: Tomek CEDRO <tomek@cedro.info> To: Steven Friedrich <freebsdlouisville@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Can't figure out getting network into bhyve instance. Message-ID: <CAFYkXjna8ytEfdqx-GAc6qThar04JC%2BYCMNGZMnK=Y0GSbQrrg@mail.gmail.com> In-Reply-To: <8d3a09fe-e69f-2c0e-8cc8-ca87ccfcfa42@gmail.com> References: <8d3a09fe-e69f-2c0e-8cc8-ca87ccfcfa42@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 5, 2023 at 5:55=E2=80=AFPM Steven Friedrich wrote: > I had found a bhyve tutorial on the Internet: https://klarasystems.com/ar= ticles/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=3D0 sysctl net.link.bridge.pfil_bridge=3D0 sysctl net.link.bridge.pfil_member=3D0 I have provided a man page update on that, any comments welcome :-) https://github.com/churchers/vm-bhyve/pull/510 Hope that helps :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjna8ytEfdqx-GAc6qThar04JC%2BYCMNGZMnK=Y0GSbQrrg>