From owner-freebsd-virtualization@freebsd.org Thu May 19 20:53:09 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D1C2B41002 for ; Thu, 19 May 2016 20:53:09 +0000 (UTC) (envelope-from fnoyanisi@yahoo.com) Received: from nm8-vm2.bullet.mail.ne1.yahoo.com (nm8-vm2.bullet.mail.ne1.yahoo.com [98.138.90.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AFC71B9B for ; Thu, 19 May 2016 20:53:08 +0000 (UTC) (envelope-from fnoyanisi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1463691017; bh=3+aBW9urdUJiAkdQC4qQRay/V2u/bZzSZtnuO9STl90=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=m1H8IBkvX+BVQbumVICCZscw0v69GhDtFtxf1c0H62JMC/t5nQljPvpMQq4RNYMFa7STOck7mCu9FlMHLMn//3DBJ2fjFBJs02jjSpGBu1qdVvZEUezLJoRbBW2wr+/hAnL6LwI7WuZqHHvaMYsFNmYucZnTfCJt4I/FdVHACbfnzzcXjgxgnRLGqubdcv55AKmFLfjLbbUm8G7R5D2YhKe3Kgbk/w8nabDAQybsIQxWYIAqiCRNPktfxqEAeyJUTMsH0G2IQ2XVNsiQzRv3ohJXeU3IJ2X4wBIhKyi3NyYGsXADoVQ7Doq2yVLnWt5JyAFfywCNmqjgtHBnHKJc3w== Received: from [98.138.100.116] by nm8.bullet.mail.ne1.yahoo.com with NNFMP; 19 May 2016 20:50:17 -0000 Received: from [98.138.89.170] by tm107.bullet.mail.ne1.yahoo.com with NNFMP; 19 May 2016 20:50:17 -0000 Received: from [127.0.0.1] by omp1026.mail.ne1.yahoo.com with NNFMP; 19 May 2016 20:50:17 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 261383.92728.bm@omp1026.mail.ne1.yahoo.com X-YMail-OSG: BuIFbPMVM1kQ8.RG67u.9Ul16xKN02lI37ChajeP4kXVPn1kCAl4e1gsomH_UQU 65kJ8ab3izInr11lTDrebzfGJihbeEcMhXqWGl2d3WZAQUvGh7zYQ0paTul3bi.FGu7FI0IJbZJA JAlO1guxt3D9tFj8kmSlbwFXgicjyPKKtlo8PHGcj1uxJA9P4boQPWQ8T5INbZcBL6JNK5Quaabk H2nKsAmF0yPpvor4UztoeeYiiB1eCrUFXoBgUP9BI8T1ujbOGU914RPBUSpsb4y4AHL58HzbjFVN i0mfs02KAABNQvEfyuvBNgdFc4U7DxLEDmiJiVKm8.lLT4BvfhFP9h__aAVZjZcA.jF1C_wzZ2b3 bmJHdHDhyoZMxWLGKdiptnu1OsSkP8MN07qKHf9GrU17y4aa8SvHaATAkbkZw9JoO1aY4ed_fmx_ mO36lJluAf0FSlUMGST4TqQU0oidnasSy85OReEStscD7DFWQWsr..GcE3Cy066Btj5sbVcllg_H sW2ikDUuWww-- Received: from jws100239.mail.ne1.yahoo.com by sendmailws127.mail.ne1.yahoo.com; Thu, 19 May 2016 20:50:16 +0000; 1463691016.807 Date: Thu, 19 May 2016 20:50:15 +0000 (UTC) From: Fehmi Noyan ISI Reply-To: Fehmi Noyan ISI To: "freebsd-virtualization@freebsd.org" Message-ID: <231368807.5153885.1463691015944.JavaMail.yahoo@mail.yahoo.com> Subject: Cannot forward traffic over wlan0 with bhyve MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <231368807.5153885.1463691015944.JavaMail.yahoo.ref@mail.yahoo.com> X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 20:53:09 -0000 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