From owner-freebsd-virtualization@freebsd.org Tue May 5 22:28:29 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 84EA82C7B0E for ; Tue, 5 May 2020 22:28:29 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10olkn2082b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::82b]) (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 49GvWc1g26z4cbH for ; Tue, 5 May 2020 22:28:27 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WTn4/befRz0oSBkgf5snoEzkPsykRzQKJbgJb+8czjZaxw4oCIiY8eUQWk4sZQ8T7APax5WEpB1noMDQOuudr5Y80u/qT12gZVo9DePjMTPiCWLtWV7eB8LI5zWJqt+w/tqL7WQzQxsHyb+LlgPN7LfnN0P1sI2J0S9C43Ra/M2USs+HzM1KzAPY3XnLauiLvr7RvGC0dob8X1MZ32wnbWLJ72Z+LiAVfmdz57QQpyx3Kl7o1q3g+2zyQLUv1CdbgW4TPW5szadhYLwBZ7i7Dqc0Ah1eywNeWHN9HCtXotRN0lHAkhy5rZPoS6RaG5SDWEdwOvBpMCRbpcdaHUloRQ== 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=H3TtdMUwRSNlUlMAKlmLflabAVnS0BYvT/3obuWXmVc=; b=U3QXTZpVGm48g4mApyiXUtqHAWA5JuyHZz2fnZHlXI8/SpDM/9/hRrmZY63xHjkBYqBZpHOMWVqA5IvYwywUt+BvUG5lrGu0K3zH8Uhc/xESlCn5ejHV1XWMp5UnRkp3oj0GQByrrLDF4IrV8z25PR9SFSVanij24E8km2p0hYhOcF1wXu0/oSgLVNX83XzilEN9leSKfsKLBsIa0nRSer+due1/FK1lSUpTBoTDxK7BjQNjAqBz2vw1PycpRzOpu0lIjLxOiwPqs+3z3JHiDcWtTCBidT/dwrqnIwXfODsELcrVl/FcsGX9sBuF716KmEX7k+EVPeax0Ch1+lr7CQ== 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=H3TtdMUwRSNlUlMAKlmLflabAVnS0BYvT/3obuWXmVc=; b=GnU5dh6wnHZuLH+UbOgb+JB8Sq4TTVbhH8O42M9S1HaEulkEbDuhhpQVyjVG80pO4iGLXu8rStc9uwTtoslgeNczfx5F6yuH0IZh1/qNcdnYdji8UmoPwfeeT6CSfH8aGbaDIHDkUnpyAdAhwcaOedIgi4WmhxuDptFgCNxbfuZr3oq5oldxxRDrb9W+mzcf4jCUF0oCfmFvMQqgZPMuVlrULgahhaG8fL2vPTcL+xXPhnCH+PEq/y1GV5E8N2Ns6mSBL8M26rTrQ1FW2VJjMQ53f0OGgijZ78Han/v3f1QJw7bIt3JEe6sN7UMESzUULRwV4KixvolIuJ2G2T8Gkw== Received: from BN7NAM10FT050.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::49) by BN7NAM10HT236.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::374) 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 22:28:25 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e8f::4d) by BN7NAM10FT050.mail.protection.outlook.com (2a01:111:e400:7e8f::284) 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 22:28:25 +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 22:28:25 +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+AAAjfAIAAAJIbgAAD1ACAAM2g1Q== Date: Tue, 5 May 2020 22:28:25 +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:831D27D3D45A7F68CD4CC703E74CDCDA2869358EEEB2DA34289D0C8BC88E595D; UpperCasedChecksum:DB1AEF53D1D4CFEF3A1CDAD0BCE665F0E4851BC660470115208B437EBAE468EF; SizeAsReceived:7494; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [16eFbNps8E+d/MN6XwtE/8xp1UQh+5YJ] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: d3563f99-537a-43bb-317f-08d7f143a071 x-ms-traffictypediagnostic: BN7NAM10HT236: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YdTcvYfJ6RKMBmSbtxFOPIqeLxiPmR/aoAP/aZOhxqZSH7jbf5c9oURFn0zE99cFW3PmOJmyzWVyfSoYBgYbf5BsrB/wGIX0ud+r3fjqMDEdmlalbsvqRtFSd9h8y4wY1J3O7l16tjpRxteqdfSMZquWt761ji3UVyVl+8fUlsAOplT08UzzYOWDp/nYtxLshCS4uCaz/cuoFe3Kj1MFr3zpdwAwpDpy9b4vT+Z03/s7MdLo99Z4H8tni1Gt5hnP 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: XGCv/Rjxa1adig3AlafZNRU/fNUMQcCyCh/xHh3/rrkIfl/pmpwVSJVmoUaa6nargweLECpM5BJXMP3+w2ciUpu4OLkoftVQ3W1/KxHdHUAFqROwSq1mVgnbg2X3SDXa3d6QjoP0vOvBQDY2kci0bA== 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: d3563f99-537a-43bb-317f-08d7f143a071 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 22:28:25.1910 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT236 X-Rspamd-Queue-Id: 49GvWc1g26z4cbH X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=GnU5dh6w; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 2a01:111:f400:7e88::82b as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[hotmail.com]; 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:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1]; 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)[]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.18), asn: 8075(-3.23), country: US(-0.05)] 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 22:28:29 -0000 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