hyper-v虛擬交換器使本機無法連網

竣皓 許 0 Reputation points
2023-05-02T10:06:01.2366667+00:00

當我使用hyper-v創建一個虛擬交換器(使用我的網卡),並套用在虛擬機上,虛擬機的確更改成了和本機一樣的網段(也可以連接到網路),但虛擬機可以用了之後變成本機無法連接到網路(windows網路設定顯示正常),但都無法正常訪問網頁

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,613 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 33,301 Reputation points Microsoft Vendor
    2023-05-09T05:21:13.3366667+00:00

    Hi,

    Please open Hyper-V Manager and select Virtual Switch Manager from the Actions pane. Select the virtual switch, check Allow management operating system to share this network adapter and select OK.

    Also, open Network Connections from the start menu on your Hyper-V host and make sure the Hyper-V Virtual Ethernet Adapter is enabled. You can disable/enable the adapter and see if it helps.

    If this still does not work, you can remove the current virtual switch and create a new one.

    Best Regards,

    Ian Xue

    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.

    0 comments No comments

  2. 興中TW 0 Reputation points
    2024-06-03T07:16:52.0633333+00:00

    我是在Windows 11的Hyper-V遇到的,不管裝Windows 或Linux,本機都無法連虛擬機,但本機外的其它台電腦,又都可以遠端連得到(代表與虛擬機或本機的防火牆無關),真的有趣,後來我家裡有一台Windows 10,用Windows 10的Hyper-V後,你猜怎麼了,本機就可以連進虛擬機了,謝謝你喔Windows 11

    0 comments No comments