From owner-freebsd-virtualization@freebsd.org Tue May 5 22:36:49 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 DCCF62C7E66 for ; Tue, 5 May 2020 22:36:49 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10olkn2090.outbound.protection.outlook.com [40.92.42.90]) (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 49GvjD2dtDz4cxF for ; Tue, 5 May 2020 22:36:48 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QHCKXJZ2gfinpJ7tunAwNvncH943TEK6V2STZlso71cCXgY3qVg2x6CBm7gymBCoipH/8z0Vu1V5IxCjdrJKY94D7Fc4tPtqAnRDiVpWH09IwDye8ACJQ6vrjaLS5+a5ghb6m2TRqZ440caBQoxW7gm6CL7oq+5ynUOyji2PeGNCAEEDvSg7Kqstyw94seStI2MCcqGEwWNr6ODH4gaxkW7S4wmNSSz0GXgHQOt7cZhgw1eWPRzZkaEblJY0gSgM8WTNam5uDtE9KPWyxf6gnYjl1Ry0Lv6rgqYpmco6uXMYnCDMyf3UVSVUaQfDRu9RnECgUalV9xZbjpCcAzroNg== 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=X71IRVdhy7w+iJckDEK+oCmgBoq6QPlQOjZH4Mr5XC4=; b=lQrDFNvQSYE6SUktofR/GYeZCdhAH2iXrZhM4OW7s+i/AsD6EP7pULi8ILnjvjUyr7yNhAjt1SlJVXuoMBgKF/ktq38swVGv/b+GX91rgfwn+6IYKqLxY86pFD/wCXNTkqjEu14WeAxibJkc04C2doZpkowrd14YyGhb1Wp+zvcbcjnqw96Ri/m3+bFE/CXCI3QB07Gi+/d/iWUAj4LVVi/PhQoe5GLYaflob6hcJZkZeHRVgsqEKIrkqvCzMnJFuCYf/2HW/pshhJWQv66XofTAkRPzrxJabvVkZMebZ76MHInj4v1FcKAYi9KhJgbsLfrUItCfw8d5c/Tp4zcneQ== 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=X71IRVdhy7w+iJckDEK+oCmgBoq6QPlQOjZH4Mr5XC4=; b=YvNZME/c1GpQOZy9eDt1sP35Kfwi+S2X4XEJV/Eqm02Zw0NGZ02RoIy9gLh3sYmHHbQEZaGrdgsEGRb/74eFmINM+Q7fQfRs0zWR9JgXj2l314TAwk4elnqzGEei2B9yuX+IDzmh0niEwUTq0VFIfvkr4Ufrng8q+zLGoDlRWoTBirJepgB+t3IzZKBB8UotwJ8oir+cVvOq3JBR+1E60zN2SIJ4m3tEmUA1Qs9N+pJRFb7cZJf0Rb85FQExn173ATcBoN5ndL4qUtpU7SXV06N5PF3/iXPjU5Tu2vMWI1RXGJzB063QGEi7MVgDo2HJKsyxJ2mQWKEwpaytv6a24A== Received: from BN7NAM10FT018.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::4e) by BN7NAM10HT198.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::359) 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:36:45 +0000 Received: from CY4PR19MB1655.namprd19.prod.outlook.com (2a01:111:e400:7e8f::46) by BN7NAM10FT018.mail.protection.outlook.com (2a01:111:e400:7e8f::67) 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:36:45 +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:36:45 +0000 From: Brandon helsley To: Aryeh Friedman CC: "freebsd-virtualization@freebsd.org" Subject: Re: Bhyve help Thread-Topic: Bhyve help Thread-Index: AQHWIry70sLUVs25TUup9bVixLA8JaiZNcCAgAABqp+AAAjfAIAAAJIbgAAD1ACAAM2g1YAAArlT Date: Tue, 5 May 2020 22:36:45 +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:58039BD64DCAFC5DA6C86EA30F750DE7AAB00899BA08AEBA42A04BDE9E93C713; UpperCasedChecksum:AF1E2DA9EE33401B87330B8153EEE9E9807B96EEF8C3A9E7BFFFB8FE9F7D0BFC; SizeAsReceived:7518; Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [BwQwjDH4J+9YiRE7QvKiTBTBF9qzHiS7] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: c584e184-15a9-40c5-abf4-08d7f144caac x-ms-traffictypediagnostic: BN7NAM10HT198: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wzNRDLImd8rFVaJIHHQFzcLve8B4RoEXliDyDm864N5mlx5Rx8trCQ9uZGFDeJx6kfe+kbjH2rRW252L+b+Nd+KHZ1Lm3nnKfFJE6p55mui0Cd8QpRdiX5bnq4JL3rKDtCceeCuikzIVB4M2F1c1Im/8MWRhW+5sn2OxmjMHcfjzq0Qa4Lz4Lw71E5uHfNXFZqhGZDsTt9JP1vaxY6m/1FZtHn8vT6hBDJWR9LaBoeksvtpjPSoBXX6Uu8V7ag8Y 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: YUf42WfghZXwzbz62AOgA/29KmFWXtDNnJTlhMtiF6EAcf0HzEy7XYq6tH1dGbsofENBqg5C+Udee6uoH6WPmOSDdLQyJwlwMHqF7Bmahk1BjqcT9aTAp5etwiJcfKRMG5pXzIUhKjK1gw2g+Ubnjg== 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: c584e184-15a9-40c5-abf4-08d7f144caac X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 22:36:45.5459 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT198 X-Rspamd-Queue-Id: 49GvjD2dtDz4cxF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=YvNZME/c; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 40.92.42.90 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)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; URI_COUNT_ODD(1.00)[33]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; 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)[]; 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)[90.42.92.40.list.dnswl.org : 127.0.3.0]; 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)[90.42.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 22:36:49 -0000 Also error while fetching ftp://ftp4.us.freebsd.org/pub/FreeBSD/releases/and64/and64/12.1-RELEASE/bas= e.txz: no address record Sent from Outlook Mobile ________________________________ From: owner-freebsd-virtualization@freebsd.org on behalf of Brandon helsley Sent: Tuesday, May 5, 2020 4:28:25 PM To: Aryeh Friedman Cc: freebsd-virtualization@freebsd.org Subject: Re: Bhyve help 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 _______________________________________________ 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"