tap(4) and host-only networking between host and guest
Victor Sudakov
vas at mpeks.tomsk.su
Wed Nov 4 15:34:22 UTC 2015
Eugene Grosbein wrote:
>
> > And if I need the VMs to talk to one another, I think I can bridge
> > several tapN devices on the host.
>
> You could also just use broader IP network and single tap interface
> for several VMs.
Do you mean to say I can run several bhyve instances on the same
tap0 device? Like, with the identical "-s 3,virtio-net,tap0"
parameter?
tap(4) says that tapN is an exclusive-open device. And when I tried it
out, the second bhyve instances said "open of tap device /dev/tap0 failed",
which was kind of expected.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru
More information about the freebsd-net
mailing list