Multiple VM hosting using bhyve

Allan Jude allanjude at freebsd.org
Tue Sep 27 22:01:31 UTC 2016


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 at freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>>>> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at 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


More information about the freebsd-virtualization mailing list