Comments on: The Really Simple Guide to Hyper-V Networking https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/ Hyper-V guides, how-tos, tips, and expert advice for system admins and IT professionals Wed, 31 Mar 2021 06:24:13 +0000 hourly 1 By: Hank https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3711 Mon, 03 Aug 2020 02:17:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3711 Great info.

I have a frustrating issue: I have a Win10 system running Hyper-v with a single Ubuntu VM.

I set it up and it ran for several days perfectly connected to the network, network browsable by other network devices and host programs operating as expected. Thus was Ubuntu 18.xx and my first move into both Hyper-v and Ubuntu. I have broad, but somewhat rusty skills in networking, host/server and programming skills. I figured, “piece of cake!”

Two days in, I allowed Ubuntu to upgrade to 20.xx and needed to reboot the Win 10 machine. When it all came back, the Hyper-V VM running Ubuntu is now its own DHCP and DNS server thus no longer on my network as even the net mask is different. WHAT THE HELL HAPPENED?

Thanks bud.

]]>
By: Eric Siron https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3679 Sun, 05 Jul 2020 19:53:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3679 In reply to Govind.

Correct.

]]>
By: Govind https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3675 Wed, 01 Jul 2020 04:51:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3675 In reply to Eric Siron.

For this to be possible we need to create the virtual switch where connection type is external correct?

]]>
By: Eric Siron https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3560 Tue, 17 Mar 2020 03:36:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3560 In reply to Eric.

The second and all further virtual network adapters for the management OS must be added via PowerShell. Check the how-to links at the end. You can also use Windows Admin Center.

]]>
By: Eric https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3554 Thu, 05 Mar 2020 22:16:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3554 Eric,

This is a great article. Question though. If you have 2 10Gb NIC’s teamed in the OS and set as the uplinks into a virtual switch as you show in the last example, where do your vNIC’s come from for live migration, etc? We can share the team with the OS and get one virtual NIC in one VLAN, but how do we create more for things like LiveMig? We’re not clustered, but we do want to take advantage of the 10Gb links for replication, moving shutdown vm’s between hosts, etc. Your last example seems to show this, but I’m lost on the vNIC’s after the mgmt one… Thanks!

]]>
By: Eric Siron https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3365 Thu, 10 Oct 2019 03:46:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3365 In reply to Lawrence.

I think you stopped reading far too early. Hyper-V VMs can perform off-host communications.

]]>
By: Lawrence https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3354 Thu, 03 Oct 2019 17:22:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3354 I am trying to set up a Hyper-V Virtual Machine as my Host Based Security System (HBSS) Server for work. Based on this post, does this mean that Hyper-V VM does not have capability to talk outside other than the host machine? Can someone please confirm.

Thank you!

]]>
By: Eric Siron https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3116 Mon, 14 Jan 2019 06:03:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3116 In reply to PsychoData.

I have never seen a VM lose its VLAN due to a Live Migration. I would revisit that testing because having multiple virtual switches is hurting your build.

]]>
By: PsychoData https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3115 Mon, 14 Jan 2019 03:46:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3115 Any suggestions on VLANs?
In my testing before, when I tried to migrate VMs between hosts, the vNICs on the VMs would lose their VLAN tagging.

So I was using the multiple vSwitches with one per VLAN. so that I could transfer between hosts without problems. I can’t remember if that was before I had made identical Virtual Switches on the multiple hosts, or not, though.

Have you seen anything like that?

]]>
By: Eric Siron https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking/#comment-3057 Mon, 12 Nov 2018 03:59:00 +0000 https://www.altaro.com/hyper-v/?p=15573#comment-3057 In reply to Darren.

I recommend that you look through the links at the end of the article. They provide much more how-to and cover the possibilities.
You’ll probably want this one: https://www.altaro.com/hyper-v/complete-guide-hyper-v-networking/. The parts about adding virtual NICs is roughly halfway down for PowerShell. The GUI instructions start up a bit after that.
Once you have a vNIC created for the management OS, it shows up like a regular physical adapter and you assign IP information as normal.

]]>