Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2019 08:47:41 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Inter-VM networking with FreeBSD under bhyve
Message-ID:  <201908201547.x7KFlfgO049668@gndrsh.dnsmgr.net>
In-Reply-To: <5e50ec97-4a68-b6a5-b8f7-7e9b21028e14@vangyzen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> freebsd-virtualization:
> 
> What is my best option for inter-VM networking with FreeBSD guests under
> bhyve?  I'm only concerned with networking between VMs, not with the
> host or physical network.  I imagine some form of netmap is my best bet,
> but what exactly?
> 
> Thanks in advance,

Do you have any desired parameters?
Performance Driven?  Simplicity?  

netmap would probably be the most performant solution,
A host bridge device with taps per guest with a vtnet device
in the guest would probably be the simplist.

By not attaching the bridge to a host adapter and not giving it
an IP on the host the host is left out of the communications, BUT
it can debug most any of it with tcpdump.

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908201547.x7KFlfgO049668>