Hyper-V机器内部没有互联网 [英] No internet inside Hyper-V machine

查看:128
本文介绍了Hyper-V机器内部没有互联网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于初学者,我只是该领域的初学者.我有某种功课",在其中,我需要创建一个虚拟网络,其中包括Windows Server 2016,通过Hyper V在其中的Windows 7和带有CLI的Linux发行版.
我创建了服务器,安装了Windows 7 Hyper-V.问题是我几乎没有网络知识,而且似乎无法理解如何在Windows 7计算机中建立互联网.我创建了一个虚拟交换机,分配给Win7,但在每个 YouTube教程,我看到人们在Win7机器的适配器设置中填充了一些信息(通常是IP,网关和DNS).

For starters, I'm just a beginner in this field. I have some kind of a "homework" in which I need to create a virtual network with a Windows Server 2016, a Windows 7 inside it through Hyper V and a Linux distro with CLI.
I created the server, I installed the Windows 7 Hyper-V. The problem is that I have almost no network knowledge and can't seem to understand how to have internet inside the Windows 7 machine. I created a Virtual Switch that I assigned to the Win7, but in every YouTube tutorial I see people filling in some information inside the adapter settings in the Win7 machine (usually IP, gateway and DNS).

我从哪里获得IP,网关和DNS?我尝试了多种组合,但似乎无济于事.我已经搞砸了我的服务器,不得不将其重新制作大约20次.请尝试尽可能简单地进行解释,因为很多术语对我来说都是陌生的.

Where do I get the IP, gateway and DNS? I tried multiple combinations but nothing seems to work. I already messed up my server and had to remake it about 20 times. Please try to explain as simple as possible, as a lot of terms are pretty alien to me. 

非常感谢!

推荐答案

关注此文档: 

Follow this doc: 

https://docs.microsoft.com/en-us/azure /virtual-machines/windows/nested-virtualization

介绍了如何设置嵌套虚拟化和配置网络.

It goes over how to setup nested virtualization and configure networking. 


这篇关于Hyper-V机器内部没有互联网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆