From owner-freebsd-virtualization@FreeBSD.ORG Sat Sep 21 06:44:50 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 828D918E for ; Sat, 21 Sep 2013 06:44:50 +0000 (UTC) (envelope-from editor@callfortesting.org) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A5EA2C00 for ; Sat, 21 Sep 2013 06:44:46 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id p10so1223711pdj.4 for ; Fri, 20 Sep 2013 23:44:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=7S3M9LfFW/E1rFG0pDEt3pQRkJXYCgvEdQnSBcG+ej4=; b=JhfHc3MLrnLkLZTXmCE7s3zJYr57uAoaiv3EZdPkEb6McLThFF2KUXIjyLrPczANKf WGhlrjS3OV/Tx+LNa1YctRI0gypKwcfmAbrRfxoAL+dPEXssi7kuVAZv2nHlhaYeUbAe SR6U5YRUPnU14gKcmwlsdjWU4xyoaXF4qJCfaSr9IQHIf5vKAaxRHldC+VFxRGS3DdLv ry8vXk9zt1fs5cXihqgLr3HpM7EeK7U7u6FG2ouo1mkf0Aq4UJLl0W2PQPu6jRQTYWS4 ATZsuyJAE43wfuO23V8uXgSLFY4HLOe0FTmIkCdoOU9Yk6eVnbwiCE2IHEatHb/wXisr Q8Ug== X-Gm-Message-State: ALoCoQkcgxdH7y7tNd0CjBamH4ONV9CdgApzhtn2fiBQjzpI3poX5nGDZCCyLJIylSA42WIog4Ql X-Received: by 10.66.49.68 with SMTP id s4mr12857710pan.98.1379745461181; Fri, 20 Sep 2013 23:37:41 -0700 (PDT) Received: from Michaels-MacBook-Pro.local (c-98-246-202-204.hsd1.or.comcast.net. [98.246.202.204]) by mx.google.com with ESMTPSA id fi4sm14092877pbc.28.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Sep 2013 23:37:40 -0700 (PDT) Message-ID: <523D3EB2.7030900@callfortesting.org> Date: Fri, 20 Sep 2013 23:37:38 -0700 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: bhyve bug report: creating a if_bridge on guest freezes guest References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 21 Sep 2013 06:44:50 -0000 On 9/20/13 10:04 PM, Aryeh Friedman wrote: > if I have something like: > > ifconfig bridge0 create > ifconfig bridge0 addm vtnet0 up > > the second ifconfig will just freeze the guest up (host is unaffected) vtnet0 is only visible from within a guest, not on the host. Here are the steps I use: Run once on the host before all guests: ifconfig bridge0 create Run on the host for each guest with different tap# numbers: ifconfig tap5 down ifconfig tap5 destroy ifconfig tap5 create ifconfig bridge0 addm tap5 addm em0 up ifconfig tap5 up em0 is the hardware interface on the host. Note that this will not work with a wireless interface unless you manually set some routes with pf. What is the bug? Michael