Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 23:25:04 -0600
From:      Trent Thompson <trentnthompson@gmail.com>
To:        Fehmi Noyan ISI <fnoyanisi@yahoo.com>,  FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Cannot forward traffic over wlan0 with bhyve
Message-ID:  <CAE7bWBrMAgU0kWwe=Zrs3Pe-c1wkbN_5Amrv9b3ZNSO5h1-SCw@mail.gmail.com>
In-Reply-To: <231368807.5153885.1463691015944.JavaMail.yahoo@mail.yahoo.com>
References:  <231368807.5153885.1463691015944.JavaMail.yahoo.ref@mail.yahoo.com> <231368807.5153885.1463691015944.JavaMail.yahoo@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE7bWBrMAgU0kWwe=Zrs3Pe-c1wkbN_5Amrv9b3ZNSO5h1-SCw>