Cannot forward traffic over wlan0 with bhyve

Trent Thompson trentnthompson at gmail.com
Fri May 20 05:25:05 UTC 2016


Fehmi,

I noticed in your forum post that you were trying to get a DHCP lease on
your bhyve VM. Personally, I set my VM's over WiFi statically. I have
written a quick guide to set this up on the iohyve wiki. It should work
even if you do not use iohyve.
https://github.com/pr1ntf/iohyve/wiki/Using-iohyve-over-WiFi

This set up may not be the most optimal, as it uses your host as a gateway,
but it gets the job done for me. In the setup provided, my host (now a
gateway) has an IP address of 10.10.123.1 on the "hyve" network, and my
FreeBSD VM has an IP of 10.10.123.10, and a Windows VM with an IP address
of 10.10.123.11 Note that I must set those IP Addresses statically inside
of the VM for the internet to work.

I hope you found this helpful,
-Trent


More information about the freebsd-virtualization mailing list