Network bridging with Hyper-V virtual switches

Azuresonance 1 Reputation point
2021-03-30T00:48:53.617+00:00

I have two machines:

  1. A Hyper-V VM that runs Ubuntu 18.04, that runs on a Windows 10 host that has a Ethernet port and a WiFi card.
  2. An embedded development kit that only has a Ethernet port.

What I want to do is to connect the VM and the dev kit to the same LAN, and that LAN must have Internet access.

The solution I came up with is to connect the dev kit to my host's Ethernet port, then connect my host to the local WiFi, and then add a bridge between my WiFi card, Ethernet port and the Hyper-V virtual switch.

However, bridging with Hyper-V virtual switches does not seem to be possible.

Is there any other solutions?

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-03-30T06:31:06.71+00:00

    Hi ,

    For Hyper-V network ,don't bridge the Virtual Switch adapter with any of the physical network adapters in the host. As Dave said, the correct way should be creating an external Virtual Switch.

    Best Regards,
    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.
    0 comments No comments

  2. Anonymous
    2021-03-30T00:55:52.803+00:00

    Should be able to create an external vSwitch, then configure the guest to use this same vSwitch. Then plug both into the physical switch.
    https://blogs.technet.microsoft.com/jhoward/2008/06/17/hyper-v-what-are-the-uses-for-different-types-of-virtual-networks/

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.