From owner-freebsd-virtualization@freebsd.org Tue May 5 23:55:05 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 944752D9A00 for ; Tue, 5 May 2020 23:55:05 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn2109.outbound.protection.outlook.com [40.92.41.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GxRX141Dz3DcD for ; Tue, 5 May 2020 23:55:03 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h9S7PGiTrVYtfNQj9f41snu+I+TQY5+V0+g2hjrncLAenIFFVDa6eHBtillxqNRVf2+/d81RZ9FDyZkp5HpdOl+pbr03gAXo176a5Zy8mVrbk5ZBxIqh088Cn4uAxIKA1TaNfWw6LmUGTnUngIRmNQFonh1QiVQD1O+tSGwd1TJ4BdxYSuopMuXWJNfSwVTrkRL7CLgfzZlDci+srZ6nkrLpQtc8GK0Gg5lxP20gzbfReh0HJXTISRzg0tH04GXiLttiRk3dGiT4JEp6ck23H+QNmqQicJVc+050ZPBCnuJk7RbC4aR2DzbOLc3ULR/IX00RASJ2NmVC7FMZR6Ln3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xg1Q18pF4XRq3B84dzTqT3tYqiFIf7amc1Hekk6lhdA=; b=D3BPU0WMQmJqdAgp/A6+d0PbvYWV44b6FtYm0CRqZdWazdFyDU+iEgjOIYz1Usf9Bo3w4n2PUxkXaEFFuU22qZQVrKWg83qX8SLMPpyxfCanKCy9+vjbO9j+Kxljuxe8l/zO25HiOSUMLtVOSHRXMEKBbYAA8aP3gNB0XKEbU0f2uYG9x4eSPnx8Kzy0I2BuyCEtcfPs/gJofd+y+i4B5+JhYvGoPTcrXweNBmAocNGlprQC0v9rqPAdb4N6VuLu3UJqWIxtRRVJllsFxhQiV/O5PcAsiYFzTM59e0sLpDqc5I+vT/mPOxv3EQRwxrmtg64kM8tX2TQl9pZvZhqPtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xg1Q18pF4XRq3B84dzTqT3tYqiFIf7amc1Hekk6lhdA=; b=PhGJiyXfE4hDmtuxpOC65jpeWGMvTy2933Sdfi9qXI1gQL7oYSbBJQL3IbXKAU3kQrfVKMYFL+u5hgtsS4N+K2X0yJKBbP3LyauhKrS4ae0FjL1YRVFfSiwQd9hoC6plomLRsVetRReV8zSu+I7D60Sn7s3mviIcmmQ6VIZEtt0590qrhR9pcEarODqY7kt6Yii2/215R5aKY0KfqD1yKp0MrzODHdHEKaK3Ng9lWjUpPEgXmZcDTfa5drDuzYvOMnC2Qz0dLrQ6ew3RfZBaztLfeVFTntObflf1hWgnt1kXgM9Nmzf3Wta4a4ERRGllwX7gX0AoDWqdu6nxFGGxqA== Received: from DM6NAM10FT006.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e86::4b) by DM6NAM10HT169.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e86::191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Tue, 5 May 2020 23:55:02 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e86::48) by DM6NAM10FT006.mail.protection.outlook.com (2a01:111:e400:7e86::270) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20 via Frontend Transport; Tue, 5 May 2020 23:55:02 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d]) by CY4PR19MB1655.namprd19.prod.outlook.com ([fe80::387e:fe14:f955:101d%12]) with mapi id 15.20.2979.025; Tue, 5 May 2020 23:55:01 +0000 From: Brandon helsley To: Aryeh Friedman CC: "freebsd-virtualization@freebsd.org" , Robert Crowston Subject: Re: Bhyve help Thread-Topic: Bhyve help Thread-Index: AQHWIry70sLUVs25TUup9bVixLA8JaiZNcCAgAABqp+AAAjfAIAAAJIbgAAD1ACAAM2g1YAACtAAgAAOYAM= Date: Tue, 5 May 2020 23:55:01 +0000 Message-ID: References: <1NVr2edzkfBDrm41NUc1i3czldPuT_tn_7Y1mlj7ef_uTSXRpKo1BV5wvWTr9F8K14KqN09d5Sy8BjnnaJ9EsAMTQ6rvJl1IiD2TNWcTf2Y=@protonmail.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:AC95546B2F28C69053BA9D7A24C76228E4D554A9E640852D270248B299CAA01C; UpperCasedChecksum:65E21620556C2161D648C1D3299EE833E96988560806939E3A689DA9EB9824E1; SizeAsReceived:7651; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [gTMvWlEu5oeV89THf61amXGHtQIkGo1e] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 3342b129-93c7-4871-d253-08d7f14fb9e8 x-ms-traffictypediagnostic: DM6NAM10HT169: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 036LUtADu3OxVhpI2+/buy9xcV/obXCoNc0eC9dznekBUCejj9oyKmZW6vmt6bD7BZWjDyUxA0UjgntZhkNtedNVbwAixxSmL+3S5yu4aT530Y31JT0QVEwNH4dcIPheP40hQV0iyO6lGWBUecBRjKUdUiwj3dmqtrlcDhsr5GgXZ7QUzOoatuKIgAuh7LKFOcqlKI+NFM6xkzcDJKmnMZNOVQ3AURUrxrqCej+xERcEYH/te4lxs8rvoh73Q3lR x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR19MB1655.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: IvhyXsNN6KAX9H8QNVxuBiw84TklWZ/7ZBcp12z+rePANmbwF1UOZqYHhG4RoI/SxqMQIWkBLLPW5Km9PNixBR2BA14OkSnbg/ysHs3lsxxrY2N/Ovy6BYRs8Fh0lB7u8HoaapPUL1O99G3Zv3Z6iA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 3342b129-93c7-4871-d253-08d7f14fb9e8 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 23:55:01.9478 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM10HT169 X-Rspamd-Queue-Id: 49GxRX141Dz3DcD X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=PhGJiyXf; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 40.92.41.109 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; FREEMAIL_FROM(0.00)[hotmail.com]; URI_COUNT_ODD(1.00)[29]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; ARC_ALLOW(-1.00)[i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[109.41.92.40.list.dnswl.org : 127.0.3.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ipnet: 40.64.0.0/10(-3.73), asn: 8075(-3.23), country: US(-0.05)]; RWL_MAILSPIKE_POSSIBLE(0.00)[109.41.92.40.rep.mailspike.net : 127.0.0.17] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.30 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, 05 May 2020 23:55:05 -0000 Well how do i add a tap to the bridge the VM is on as well as my physical n= ic Sent from Outlook Mobile ________________________________ From: Aryeh Friedman Sent: Tuesday, May 5, 2020 5:02:50 PM To: Brandon helsley Cc: freebsd-virtualization@freebsd.org = ; Robert Crowston Subject: Re: Bhyve help When setting up a VM you also need to add the tap it is on to the bridge as= well your physical NIC On Tue, May 5, 2020 at 6:28 PM Brandon helsley > wrote: Bhyve gets me to Network installation: "some installation files were not fo= und on the boot volume. The next few screens will allow you to configure ne= tworking so that they can be downloaded from the internet." This happens af= ter system components. Sent from Outlook Mobile ________________________________ From: Aryeh Friedman > Sent: Tuesday, May 5, 2020 4:08:10 AM To: Brandon helsley > Cc: freebsd-virtualization@freebsd.org >; Robert Crowston > Subject: Re: Bhyve help On Tue, May 5, 2020 at 6:00 AM Brandon helsley > wrote: The handbook only says vmm doesn't it. I got bhyve to start without virtio = kernel module as well as the if_tap but with vmm modules. The handbook section on virtualization (FreeBSD host) is at best awful and = misleading your best guide is the bhyve man page (especially the examples t= here) here is the modules I load for the same set up I recommended you try = as a advanced beginners lesson in virtualization and networking. And an e= xample script for using them: /boot/loader.conf: kern.geom.label.disk_ident.enable=3D"0" kern.geom.label.gptid.enable=3D"0" opensolaris_load=3D"YES" zfs_load=3D"YES" ipfw_load=3D"YES" ipdivert_load=3D"YES" linux_load=3D"YES" In the real /boot/loader.conf the following are commented out because Petit= eCloud takes care of them when it loads but unless you want to get into mor= e advanced stuff (like how to install non-standard ports) you should uncomm= ent them. vmm_load=3D"YES" if_tap_load=3D"YES" nmdm_load=3D"YES" The script to load the file server VM: #!/bin/sh # # Generated by PetiteCloud 0.2.6 # ifconfig tap12 destroy ifconfig tap12 create ifconfig tap12 up sleep 5 ifconfig bridge0 addm tap12 up bhyvectl --destroy --vm=3Db829e56e9b4289a1 /usr/sbin/bhyve -c cores=3D4 -m 4096 -AI -H -P -w -g 0 -s 0:0,hostbridge -s= 1,virtio-net,tap12 -s 2,ahci-hd,/vms/import/win10 -s 29,fbuf,tcp=3D0.0.0.= 0:5912,w=3D1920,h=3D1080 -s 30,xhci,tablet -s 31,lpc = -l com1,/dev/nmdm12B -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.f= d b829e56e9b4289a1&>/dev/null echo $!>/var/run/petitecloud/b829e56e9b4289a1 sleep 10 I'm at this screen:please choose the appropriate terminal type for your sys= tem.common console types are: ansi, vt100, xterm, cons25w. Console type [vt100]: Sent from Outlook Mobile ________________________________ From: Aryeh Friedman > Sent: Tuesday, May 5, 2020 3:52:26 AM To: Brandon helsley > Cc: freebsd-virtualization@freebsd.org >; Robert Crowston > Subject: Re: Bhyve help On Tue, May 5, 2020 at 5:21 AM Brandon helsley > wrote: I have re0 but the ip address is under wlan0 with my CenturyLink In order to use vtnet and bridging (both required for bhyve networking) you= need to load the load the virtio kernel module as well as the if_tap and v= mm modules (the first one provides the host side of the virtual NIC and the= second loads the hypervisor components) Sent from Outlook Mobile ________________________________ From: Robert Crowston > Sent: Tuesday, May 5, 2020 3:14:43 AM To: Brandon helsley >; freebsd-virtualization@freebsd.org > Subject: Re: Bhyve help What are your network interfaces called on your machine? You probably have = to change igb0 in the example to em0 (an Intel card) or re0 (a Realtek card= ). Type =93ifconfig=94 to list all the interfaces, and look for ones with a= n ip address to figure it out. On Tue, May 5, 2020 at 10:10, Brandon helsley >> wrote: I'm trying to set up bhyve like the example to learn and when doing the phy= sical interface interface get the result no such file or directory the comm= and is: ifconfig bridge0 addm igb0 addm tap0 "In this example, the physical interface is igb0" Sent from Outlook Mobile _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org