Inter-VM networking with FreeBSD under bhyve

Rodney W. Grimes freebsd-rwg at gndrsh.dnsmgr.net
Tue Aug 20 15:47:46 UTC 2019


> 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 at freebsd.org


More information about the freebsd-virtualization mailing list