question

Azuresonance-5951 avatar image
0 Votes"
Azuresonance-5951 asked DSPatrick commented

Network bridging with Hyper-V virtual switches

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-server-hyper-vwindows-10-virtualization
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Any follow-up?

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



0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

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--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CandyLuo-MSFT avatar image
1 Vote"
CandyLuo-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.