Re: vnet with interfaces

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Tue, 26 Mar 2024 19:30:00 UTC
On Tue, Mar 26, 2024 at 7:32 PM Benoit Chesneau
<benoitc@enki-multimedia.eu> wrote:
> How does work VNET with interfaces? Is this as efficient as using pci passtrough in a vm ?
> Benoît

Vnet allows you to control networks by the system and make various
configurations networks jails etc, example here:

https://klarasystems.com/articles/virtualize-your-network-on-freebsd-with-vnet/

PCI passthrough would skip all kernel networking and give your vm
access to the physical cable attached to a NIC. Note that passthrough
needs entry in /boot/loader.conf and disables that device for use in
system. I have a dedicated USB 3.0 controller working that way.

A very simple and elegant shell management tool to play with bhyve is vm-bhyve:

https://www.freshports.org/sysutils/vm-bhyve/

Have fun :-)

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