Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 20:50:15 +0000 (UTC)
From:      Fehmi Noyan ISI <fnoyanisi@yahoo.com>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Cannot forward traffic over wlan0 with bhyve
Message-ID:  <231368807.5153885.1463691015944.JavaMail.yahoo@mail.yahoo.com>
References:  <231368807.5153885.1463691015944.JavaMail.yahoo.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi there,

As I mentioned in this forum post [1], I am having issues with getting my FreeBSD-CURRENT VM connected to the Internet via wlan0 interface.

I created tap0 and bridge0 interfaces, and edited configuration files to keep changes permanent as suggested by the handbook [2].

I also set the pf rules to enable NAT between tap0 and wlan0 interfaces as described here [3].


When I monitor tap0 and wlan0 interfaces with tcpdump while running "dhclient vtnet0" in the guest OS, I noticed that tap0 forwards packets to wlan0 and wlan0 recevies them (some tcpdump output is in [1]). But nothing happens after this...

I also noticed that the pf fails to start with the ruleset given in [3], and having paranhtesis around (bridge0:network) solves the issue, so I filed a bug report for this [4].

I need assistance with my VM internet access and will appreciate you guidance on the matter.

Thanks in advance
Fehmi


[1] https://forums.freebsd.org/threads/56285/
[2] https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html
[3] https://wiki.freebsd.org/bhyve
[4] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209479



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?231368807.5153885.1463691015944.JavaMail.yahoo>