From owner-freebsd-virtualization@freebsd.org Tue Sep 27 22:01:31 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 9633DBEADED for ; Tue, 27 Sep 2016 22:01:31 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 790E01D60 for ; Tue, 27 Sep 2016 22:01:31 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [192.168.1.10] (unknown [192.168.1.10]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E4E5E1F23; Tue, 27 Sep 2016 22:01:29 +0000 (UTC) Subject: Re: Multiple VM hosting using bhyve To: The Doctor References: <20160927201118.GC64360@doctor.nl2k.ab.ca> <20160927210207.GA34361@doctor.nl2k.ab.ca> <20160927220029.GA45391@doctor.nl2k.ab.ca> Cc: freebsd-virtualization@freebsd.org From: Allan Jude Message-ID: <91fc16a2-f8a2-b677-d63b-373d688e175a@freebsd.org> Date: Tue, 27 Sep 2016 18:01:26 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160927220029.GA45391@doctor.nl2k.ab.ca> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 27 Sep 2016 22:01:31 -0000 On 2016-09-27 18:00, The Doctor wrote: > On Tue, Sep 27, 2016 at 05:07:01PM -0400, Allan Jude wrote: >> On 2016-09-27 17:02, The Doctor wrote: >>> On Tue, Sep 27, 2016 at 04:23:49PM -0400, Allan Jude wrote: >>>> On 2016-09-27 16:11, The Doctor wrote: >>>>> The big question: >>>>> >>>>> Can you host multiple virtual machines on one FreeBSD Box? >>>>> >>>>> I am thinking of hosting multiple Linux and maybe Win2016 VMs one one server. >>>>> >>>> >>>> Yes, you can most as many VMs as you want, provided you have enough RAM, >>>> CPU, and storage IOPS to power them all. >>>> >>> >>> Dual 1.7 Xeon 64 bit CPUs and 16 GB ECC Ram >>> >>> should be plenty. >>> >>> All right, what bhyve sequence do I need to >>> distinguish the taps and the guests? >>> >>>> -- >>>> Allan Jude >>>> _______________________________________________ >>>> freebsd-virtualization@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >>>> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" >>> >> >> When you invoke bhyve, just specify different tap devices. They do not >> need to be sequential. Each bhyve has a name. >> >> linux1 -> tap1 >> linux2 -> tap2 >> windows1 -> tap101 >> >> or whatever you want to do. >> > > Getting you. > > All right > > Just reading 21.7.1 of the handbook > > How do I "bridge" these "Taps"? > >> -- >> Allan Jude > ifconfig bridge0 create addm tap1 addm tap2 addm real-interface-here There is a section in the handbook on bridging too. -- Allan Jude