简体   繁体   English

Hyper-V VM Internet连接无法正常工作

[英]Hyper-V VM Internet connection not working

I am working at a company and have been tasked with setting up a server with a VM for clients. 我在一家公司工作,受命为客户安装带有VM的服务器。 I have hit a wall with this problem, and I have no experience with this at all so I am posting here to ask for help. 我遇到了这个问题,完全没有经验,所以我在这里张贴以寻求帮助。

The problem is that the internet connection is not working on the VM. 问题是Internet连接在VM上不起作用。 The connection is limited and I cannot access the internet at all. 连接受到限制,我根本无法访问互联网。 I have been following a few guides I found for setting up the VM so far so I have set up the virtual switch and everything, I dont know why its not working. 到目前为止,我一直在遵循一些发现的关于设置VM的指南,因此我已经设置了虚拟交换机以及所有其他功能,我不知道为什么它不起作用。 I think some of my configuration of the VM or the virtual switch are wrong, but so far with hours of googling I have not found any configurations that have fixed the problem. 我认为我的VM或虚拟交换机的某些配置是错误的,但是到目前为止,经过数小时的搜索,我还没有找到解决该问题的任何配置。

I have made an album that shows all the configurations that relate to this issue(I think, if I need to show something else please let me know). 我制作了一张相册,其中显示了与此问题相关的所有配置(我想,如果需要显示其他内容,请告诉我)。 Here it is . 在这里

  • There is the properties of the connections on the server 服务器上有连接的属性
  • The virtual switch manager 虚拟交换机管理器
  • The settings of the VM 虚拟机的设置
  • The diagnostic of the connection on the VM VM上的连接诊断

I have messed with the IP & DNS settings of the adapter on the VM for hours but nothing has worked or changed the error, the configuration now is reset back to the default for the album. 我已经弄乱了虚拟机上适配器的IP和DNS设置几个小时,但没有任何作用或改变了错误,现在配置已重置为相册的默认设置。

I think this is a longshot, but I am really stuck here and I need to fix this problem. 我认为这是一个漫长的尝试,但是我真的被困在这里,需要解决此问题。 If anyone knows why I have this problem, or has any useful info or tips please let me know, thanks! 如果有人知道为什么我有这个问题,或者有任何有用的信息或提示,请告诉我,谢谢!

Oh and also if this is not the appropriate place for this type of post please let me know the right place to go asking. 哦,如果这不是此类帖子的合适位置,请告诉我合适的位置。

因此,如果以后有任何人阅读此帖子或遇到相同问题以防万一,则发布此解决方案是获得IP故障转移。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM