Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2024 20:30:00 +0100
From:      Tomek CEDRO <tomek@cedro.info>
To:        Benoit Chesneau <benoitc@enki-multimedia.eu>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   Re: vnet with interfaces
Message-ID:  <CAFYkXjmNCR=psBRTkQMPSueJxGH%2B1=Be6qLtp7FO4N2TxWYkrg@mail.gmail.com>
In-Reply-To: <fMnWyNnZs8GZ-wPxlMzoeUbo-5GinDlYIYHn3yrMyAQ-iM12txadPv5m8ojaA0OOMF4Ys_qiOPyti2vThPVEd7BmT8WH6ofNA6wlLUdRJT0=@enki-multimedia.eu>
References:  <fMnWyNnZs8GZ-wPxlMzoeUbo-5GinDlYIYHn3yrMyAQ-iM12txadPv5m8ojaA0OOMF4Ys_qiOPyti2vThPVEd7BmT8WH6ofNA6wlLUdRJT0=@enki-multimedia.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 26, 2024 at 7:32=E2=80=AFPM Benoit Chesneau
<benoitc@enki-multimedia.eu> wrote:
> How does work VNET with interfaces? Is this as efficient as using pci pas=
strough in a vm ?
> Beno=C3=AEt

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-v=
net/

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-bh=
yve:

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

Have fun :-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjmNCR=psBRTkQMPSueJxGH%2B1=Be6qLtp7FO4N2TxWYkrg>