From owner-freebsd-virtualization@freebsd.org Fri May 20 05:25:05 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 89E6CB43F0E for ; Fri, 20 May 2016 05:25:05 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E4E11AA9 for ; Fri, 20 May 2016 05:25:05 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by mail-yw0-x22a.google.com with SMTP id x194so99586850ywd.0 for ; Thu, 19 May 2016 22:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=Dz0skAUzhbjYf0Y7++QdgE0/fyz+jpo6fO/FAbDOPYc=; b=od0ZcGaSztpvVA3RVKOndBjS3KMGHZy9vHsQpjmrtVo6JrJVvTFW2/Jut5OULI12Nt kATKXukvIHBu/c9pC2JvXgvijFKkzj1997YqwlckUZp+LY5KPFCYqozKmcsiEYNEWsGA KYIeZdvjGUX6Ih4XAT5kvi2apKRvUQnOBYwLcoSZzzmnHKGvqawYEqo99fNMdPWmp4f3 IYBjBJzRvgxLH4OfTbs70bBd9gK/zMh7oLDyv8XVH+sLAScsz68m2YE9dYKCsaWvKbL8 BZfdfXog14/OF0ElQGQMYaf2LlkWIPoXIcvPAkZv6Guh89FZ/qb97OLZ7XaepMkr/LZE 5APA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=Dz0skAUzhbjYf0Y7++QdgE0/fyz+jpo6fO/FAbDOPYc=; b=gbpSCp5rysd/Sp8ESXe8nxV1Nq60/yJ1hrpWxk9I6wvH5qP4YEzaiHYlyJN1nRMQw3 TD3kPJrhrLAEyvC5wTISRhrhZFxyyoeRNA5nEu5NKA4c35TXQ+gfPF6PeVmZgnCnN77O omdSV6E775+LkPR6D7zOScgLn8gKrWqc4Dshl6v2J3uHXsLrIkGmh9ObpQuEt514Ksrp qmSZhS1MmMth/tzUGcFQt1a1J3l4s+mi1erSADl14+QN45DTv3AF/3G4N3yVW57BPqvb lrVdLpwwTQCKg+dX36gqa2dZAb5IEg2l0oPN6y8mc1gdWKJT1g7J5UDQVTQPN8bIw+fM ebRg== X-Gm-Message-State: AOPr4FXF0Y8Y6AQOTZ2BfShZweAR7+Z8J0spH7+MMsFT3ll/pZM8iZqfyw3dkmJVUKxmmdfO4LiPqJLXoBCL4g== MIME-Version: 1.0 X-Received: by 10.129.108.208 with SMTP id h199mr670816ywc.229.1463721904518; Thu, 19 May 2016 22:25:04 -0700 (PDT) Received: by 10.37.218.1 with HTTP; Thu, 19 May 2016 22:25:04 -0700 (PDT) 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> Date: Thu, 19 May 2016 23:25:04 -0600 Message-ID: Subject: Re: Cannot forward traffic over wlan0 with bhyve From: Trent Thompson To: Fehmi Noyan ISI , FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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: Fri, 20 May 2016 05:25:05 -0000 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