From owner-freebsd-virtualization@freebsd.org Tue Nov 1 15:13:16 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 3814BC28C33 for ; Tue, 1 Nov 2016 15:13:16 +0000 (UTC) (envelope-from randy@terbush.org) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 021431A48 for ; Tue, 1 Nov 2016 15:13:15 +0000 (UTC) (envelope-from randy@terbush.org) Received: by mail-qk0-x231.google.com with SMTP id o68so202944174qkf.3 for ; Tue, 01 Nov 2016 08:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terbush.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xvLMK2spjUpmGK4v3P7aDGMFfpX6S57hbfjwQRMn3LI=; b=inWx/SgVHRK65/9hBz+Yrki0mFWgk5UmoEtrhUn88VSHbtmOQzXrUcTnNxPAL5ftLr 5B3aLhErZXoUPXqBH77StNLhWEm4Vp9X7bZHueRrxG7gCr7a4Bc4QknzM8GyW4ifB2Jo bzoZaIdpxw+E4w4f7VAj+cl7ZOpJ2AWXJJSC4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xvLMK2spjUpmGK4v3P7aDGMFfpX6S57hbfjwQRMn3LI=; b=IuvUipwEfbVFn20P8U0VWKPgvqeYnd0I6oU4jxGBtKlX9ysyY28K8t8mvWXFbKcgwu KeCESrz2LIF9A3CaPNWRWmb6WnRj/6W/gkWNEQ46xmjZxphPBTzgvMXzaRbLVH9bzd1O bOflkLz9KdvmKSaGh0I3kxxEVOLF5CgWhXOfryhxXESNas9bQXPwIAznE95A17FcSm6k yBvmN3bJoBpZpd35G7I87ISu1gmmd8oz8FmK1E9VeaFmjjkFXieLgMtS8Na01Wajo/8O A+BeRKB3ExayIUa2oJKXYTMhc1CRLROYd19degmpIFAO+AXYcfNN3epTJ8azXJJRym0v XZ/w== X-Gm-Message-State: ABUngveKC2nxaPKjdEEmJYX37+2mbq2+5S53UjgwJ0fsTEI2yyGC0sU64PoRWNnEJOOVNKWdlnDt919ueOy3Fw== X-Received: by 10.55.103.133 with SMTP id b127mr15663352qkc.16.1478013195103; Tue, 01 Nov 2016 08:13:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.51.82 with HTTP; Tue, 1 Nov 2016 08:12:44 -0700 (PDT) In-Reply-To: References: <20161101044503.GA58756@doctor.nl2k.ab.ca> <20161101140249.GB27402@doctor.nl2k.ab.ca> <1478009772.19546.74.camel@fastmail.fm> <20161101142257.GF27402@doctor.nl2k.ab.ca> From: Randy Terbush Date: Tue, 1 Nov 2016 09:12:44 -0600 Message-ID: Subject: Re: Windows 2016 To: Matt Churchyard Cc: The Doctor , Daniel Tihanyi , "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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, 01 Nov 2016 15:13:16 -0000 On Tue, Nov 1, 2016 at 8:58 AM, Matt Churchyard via freebsd-virtualization = < freebsd-virtualization@freebsd.org> wrote: > On Tue, Nov 01, 2016 at 03:16:12PM +0100, Daniel Tihanyi wrote: > > On Tue, 2016-11-01 at 08:02 -0600, The Doctor wrote: > > > On Tue, Nov 01, 2016 at 09:02:57AM +0000, Matt Churchyard wrote: > > > > > > > > > > > > > > I was able to install the Windows 2016 using the GUI method. > > > > > > > > > > One problem. > > > > > > > > > > It is assigned an IP but > > > > > > > > > > the netmask and the default route is not showing up. > > > > > > > > > > Also??The virtual Windows 2016 box does not see a network > > > > > interface. > > > > This makes very little sense. You usually specify the netmask and > > > > default route when you assign Windows an IP address. > > > > And how have you assigned the guest an IP address if it has no > > > > network interface? > > > > > > > The taps are allocated an IP address. > > > > > > I fully concur. > > > > > > In the install at one point, I declare that the IP address, netmask > > > and gateway are 'declared' at the 'MB ' BIOS interface. > > > > > > > > > > > > > > > > > > > > What must I do to convince this box that is it on a switch > > > > On the bhyve host it should be configured just like any other > > > > bhyve virtual machine. The guest should have a virtio-net device, > > > > which is linked to a tap interface on the host. That tap interface > > > > should be bridged with whichever physical network adapter you want > > > > the guest connected to. > > > > > > > > However, I think I mentioned in a previous message that Windows > > > > does not have the virtio-net drivers by default. You need to boot > > > > the guest with the virtio-net driver ISO attached and install the > > > > driver. You should see the interface in Device Manager flagged as > > > > not installed/working. > > > > > > > > > > That is correct . > > > > > > I do have an iso of the MB drivers, > > > > > > namely a Supermicro??X10DRW-i MB? > > > > > > and? > > > > > > from Intel I did obtain the .exe file for the i350GbE drivers. > > > I script a 2 phase installation as follows: > > > > > > 1) > > > > > > > > > /usr/sbin/bhyve -c 2 -m 4G -w -H -s 3,ahci-cd,./.iso/14393.0.160715- > > > 1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO -s 4,ahci- > > > hd,windows2016.img -s 5,virtio-net,tap15 -s > > > 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait -s 30,xhci,tablet -s > > > 31,lpc -l com1,stdio -l > > > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd > > > windows2016guest > > > > > > 2) > > > > > > > > > /usr/sbin/bhyve -c 2 -m 4G -w -H -s > > > 3,ahci-cd,./.iso/null-install.iso -s 4,ahci-hd,windows2016.img -s > > > 5,virtio-net,tap15 -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D1024,h=3D768,wai= t -s > > > 30,xhci,tablet -s 31,lpc -l com1,/dev/nmdm15A -l > > > bootrom,/usr/local/share/uefi- firmware/BHYVE_UEFI.fd > > > windows2016guest & > > > > > > As I said, I have picked up an ISO from the MB manufacturer > > > > > > let's call it manufacturer.iso . > > > > > > Where do I place said iso in the 'phase' of things? > > > > You use virtio network adapters, you have to install the virtio > > drivers and NOT the drivers for the physical interface. Then configure > > the IP Address, gateway, etc. in Windows. > > >All right, let me repeat what I am up aginst. > > >I do set the IP configuration in the virtual BIOS. > > >However when the Win2016 VM boots it sees > > >1) the localhost > > >2) its assigned IP address > > >3) A yellow triangle where the ethernet adaptor is. > > I'm not sure what people find so difficult about this - Just treat it lik= e > it was a real Windows machine > > 1) Do not assign the guest's IP address on the host > 2) Do not set the IP in the guest BIOS (I'm not even sure what you mean b= y > this) > > As you have found, the virtio-net network adapter has a yellow triangle i= n > Windows, because it is not installed. You need to run bhyve but replace t= he > Windows ISO with the virtio-net driver ISO, which you can download off th= e > Internet; Then install the network driver through VNC. The guest has a > "virtio-net" interface which is created by bhyve - This has nothing to do > with your motherboard and you do not need to install any of the motherboa= rd > or physical interface drivers in the guest. > > Once you have the virtio driver installed, you will have a "Redhat VirtIO= " > network adapter in Windows, and you can assign an IP/Netmask/Gateway to > this just as you normally would in Windows. > > Forget about the Linux machines. They have the virtio-net driver built in= , > so you can just configure eth0 out-of-the-box like normal. If you've > configured their IP addresses on the bhyve host then that's not really th= e > correct way to configure things, even if it doesn't actually break > anything; The IP address should be configured inside the guest OS. > > Matt > > =E2=80=8BCan you guys confirm that you actually have a Windows 2016 vm runn= ing? As I have said, I have installed nearly every version of Windows OS vms with Bhyve (vm-bhyve) successfully with the exception of Windows 2016. DHCP does not work. Assigning an address by hand does not work. Any attempt to configure the IP on the network device or even uninstall it just results in long delays and spinning cursors. If you've got this working, I would love to see a vm-bhyve template and to know what virtio driver package version you are using. =E2=80=8B