Date: Thu, 28 Mar 2024 11:24:31 +0100 From: Mario Marietto <marietto2008@gmail.com> To: Tomek CEDRO <tomek@cedro.info> Cc: Benoit Chesneau <benoitc@enki-multimedia.eu>, "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: Re: vnet with interfaces Message-ID: <CA%2B1FSihw60-uyAFuOZPHfXnUsMMGA=6VHgkzjATAPzo7s1zQCg@mail.gmail.com> In-Reply-To: <CAFYkXjmNCR=psBRTkQMPSueJxGH%2B1=Be6qLtp7FO4N2TxWYkrg@mail.gmail.com> References: <fMnWyNnZs8GZ-wPxlMzoeUbo-5GinDlYIYHn3yrMyAQ-iM12txadPv5m8ojaA0OOMF4Ys_qiOPyti2vThPVEd7BmT8WH6ofNA6wlLUdRJT0=@enki-multimedia.eu> <CAFYkXjmNCR=psBRTkQMPSueJxGH%2B1=Be6qLtp7FO4N2TxWYkrg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] ---> A very simple and elegant shell management tool to play with bhyve is vm-bhyve I never use it. I created my own elegant script that in my opinion works better than vm-bhyve. And I think that I can improve it.... I will... On Tue, Mar 26, 2024 at 8:30 PM Tomek CEDRO <tomek@cedro.info> wrote: > 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 > > -- Mario. [-- Attachment #2 --] <div dir="ltr"><div>---> A very simple and elegant shell management tool to play with bhyve is vm-bhyve</div><div><br></div><div>I never use it. I created my own elegant script that in my opinion works better than vm-bhyve. And I think that I can improve it....<br></div><div>I will...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 26, 2024 at 8:30 PM Tomek CEDRO <<a href="mailto:tomek@cedro.info" target="_blank">tomek@cedro.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Mar 26, 2024 at 7:32 PM Benoit Chesneau<br> <<a href="mailto:benoitc@enki-multimedia.eu" target="_blank">benoitc@enki-multimedia.eu</a>> wrote:<br> > How does work VNET with interfaces? Is this as efficient as using pci passtrough in a vm ?<br> > Benoît<br> <br> Vnet allows you to control networks by the system and make various<br> configurations networks jails etc, example here:<br> <br> <a href="https://klarasystems.com/articles/virtualize-your-network-on-freebsd-with-vnet/" rel="noreferrer" target="_blank">https://klarasystems.com/articles/virtualize-your-network-on-freebsd-with-vnet/</a><br> <br> PCI passthrough would skip all kernel networking and give your vm<br> access to the physical cable attached to a NIC. Note that passthrough<br> needs entry in /boot/loader.conf and disables that device for use in<br> system. I have a dedicated USB 3.0 controller working that way.<br> <br> A very simple and elegant shell management tool to play with bhyve is vm-bhyve:<br> <br> <a href="https://www.freshports.org/sysutils/vm-bhyve/" rel="noreferrer" target="_blank">https://www.freshports.org/sysutils/vm-bhyve/</a><br> <br> Have fun :-)<br> <br> --<br> CeDeROM, SQ7MHZ, <a href="http://www.tomek.cedro.info" rel="noreferrer" target="_blank">http://www.tomek.cedro.info</a><br> <br> </blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihw60-uyAFuOZPHfXnUsMMGA=6VHgkzjATAPzo7s1zQCg>
