加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-server-2008 – Hyper-V:从子网为VM分配公共IP

发布时间:2020-12-13 23:01:46 所属栏目:Windows 来源:网络整理
导读:我们在 Windows Server 2008 R2上运行Hyper-V服务器.我订购了一个子网,因为我们希望为每个VM提供一个公共IP地址. 我的数据中心提供商(来自德国的Hetzner AG)写了以下内容: Problems with virtualization With this type of IP/subnet allocation,it is not
我们在 Windows Server 2008 R2上运行Hyper-V服务器.我订购了一个子网,因为我们希望为每个VM提供一个公共IP地址.

我的数据中心提供商(来自德国的Hetzner AG)写了以下内容:

Problems with virtualization

With this type of IP/subnet allocation,it is not possible to use a
“bridged” setup,as with such a setup several MAC addresses appear.
VPS (linux virtual servers,Xen,vmware,etc) must use a so-called
“Routed” setup (VMware: “host-only networking”). With an additional
subnet the host system or dom0 must be configured with an IP address
from the subnet which is then used as a gatewar for the VPS. The
(additional) address of the host system must therefore be configured
in the VPS in each case as a gateway. An exception to this rule is
“openvz”,which does not require a gateway. On the host system or dom0
“ip_forward” must be activated for each virtualization:

那么,这对我来说意味着什么,我该如何配置超V?

谢谢你的帮助!

他们所说的是,如果你的设置中有多个不同的客户端,每个客户端都有自己的虚拟机,那么在桥接模式下使用子网可以让我“看到”虚拟网卡上的其他客户端的MAC.这有点安全,理想情况下,你需要完全隔离每个客户,这样就不会有一个客户对你的另一个客户造成“伤害”的风险,你可能最终要负责.

您托管设施的人只是提醒您,如果您做了您想做的事,您可能会面临陷入困境的风险.

我不确定是否可以在Hyper-V(或VMWare)上使用公共IP进行仅主机网络.我相信您应该做的是将所有这些IP分配给主机,然后为每个IP创建适当的NAT等规则,以指向每个客户端VM的专用网络.

现在,如果这是我们正在谈论的一个组织的服务器,并且您在安全方面没有需要隔离每个服务,那么您可能不关心这一点.就个人而言,我仍然会将它们隔离开来,这样如果一个人受到攻击,攻击者就无法通过查看ARP来发现新机器.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读