Re: vnet with interfaces

Tomek CEDRO <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <CAFYkXjmNCR=psBRTkQMPSueJxGH+1=Be6qLtp7FO4N2TxWYkrg@mail.gmail.com>
On Tue, Mar 26, 2024 at 7:32 PM Benoit Chesneau
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.