From owner-freebsd-virtualization@FreeBSD.ORG Wed Oct 22 14:12:36 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57483E38 for ; Wed, 22 Oct 2014 14:12:36 +0000 (UTC) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 251CCE13 for ; Wed, 22 Oct 2014 14:12:36 +0000 (UTC) Received: by mail-ig0-f180.google.com with SMTP id uq10so951954igb.13 for ; Wed, 22 Oct 2014 07:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:message-id:date :subject:from:in-reply-to:references:to; bh=Hp4SoINzBHR8AODCj0mpseZojxn5GDUo4NnNxwvuVcA=; b=ppH/aGNCQLkE67Y4C2Nuv7HK8WNw9vCL/V4xOtkLnxlCX96H3g9Ni41HjgSmFp/bJO xCROKldX9jHxjw2aa7zSvKjF66peahI3zmvsZ7Omr0CG2Iv4I59mMqyRS8Qlj3LnGyAa nN14b7Ztnx9ut2Aus7W4iPMs4LKSWlRjx+t4pCEOsHddhi3UV2xqBkPtMCgLeyv6mpYW /bTW+nv4ZPTi5/5rf/l3Y7QF/lMfe8sJdTbDeSpBSaVHdGH7qKVhfZ+0od7oO/Q1aKVx BRtElVautAZ1oQhySYLuFK50L4492f/tpVuMrzAhFTsiiM1eost6DtrBDmftD8Qx5YSk EivQ== X-Received: by 10.50.79.167 with SMTP id k7mr5725876igx.14.1413987155505; Wed, 22 Oct 2014 07:12:35 -0700 (PDT) Received: from [127.0.0.1] ([66.11.161.139]) by mx.google.com with ESMTPSA id h5sm792934igo.5.2014.10.22.07.12.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Oct 2014 07:12:33 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: BlackBerry Email (10.2.1.2141) Message-ID: <20141022141232.36446387.74087.1991@gmail.com> Date: Wed, 22 Oct 2014 10:12:32 -0400 Subject: Re: bhyve tapN additions From: Manas In-Reply-To: <20141022140934.GA367@potato.growveg.org> References: <20141022140934.GA367@potato.growveg.org> To: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Wed, 22 Oct 2014 14:12:36 -0000 =E2=80=8EI think you have to do ifconfig tap1 create Before the addm Manas On BlackBerry =C2=A0 Original Message =C2=A0 From: John Sent: Wednesday, October 22, 2014 10:09 AM To: freebsd-virtualization@freebsd.org Reply To: freebsd-lists@freebsd.org Subject: bhyve tapN additions Hi all, I couldn't see the following answered clearly in the literature, so I'll=20 ask it here.=20 When a freeBSD host is running a [anything] guest, a tap interface needs to= be created. Let's say I've done all this: # ifconfig tap0 create # sysctl net.link.tap.up_on_open=3D1 net.link.tap.up_on_open: 0 -> 1 # ifconfig bridge0 create # ifconfig bridge0 addm igb0 addm tap0 # ifconfig bridge0 up I want to add another tap, I don't want to restart the host. If I do # ifconfig bridge0 addm tap1 then configure another vm to use tap1, can I expect it to work? Or, If I wa= nt 2 vns with 2 taps, do I need to do this: # ifconfig bridge0 create # ifconfig bridge0 addm igb0 addm tap0 addm tap1 # ifconfig bridge0 up The reason I ask, is because I'm expecting a freebsd vm to work on tap1, an= d it's=20 not. thanks, --=20 John=20 _______________________________________________ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org"