Multiple network devices cause bhyve to not send traffic.

Allan Jude allanjude at freebsd.org
Tue Dec 30 16:19:12 UTC 2014


On 2014-12-30 06:00, William B wrote:
>>>
>>> Networking does not work at all (Traffic is not seen on the bridge
>>> devices)
> 
> 
> When I went back and read the documentation carefully, I noticed:
> 
> https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html
> 
> # sysctl net.link.tap.up_on_open=1
> net.link.tap.up_on_open: 0 -> 1
> 
> This line is CRITICALLY important! Once I toggled this, everything just worked. Perhaps as an FAQ an entry that "if your machine has network interface issues, check that sysctl is set in the first instance"
> 
> Thanks for your time and patience.
> 
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"
> 

libvirt should probably 'ifconfig tap0 up' as part of its setup, rather
than relying on that sysctl

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20141230/6df8c8dc/attachment.sig>


More information about the freebsd-virtualization mailing list