在VM / XenServer环境中分隔相同的网络范围


0

我喜欢将相同的网络IP范围分开,然后将其“分开”进行测试。

我喜欢实现以下目标:

192.168.0.X(DHCP)[一些分隔] 192.168.0.Y

两者都可以使用VLAN来完成-但我不能使用VLAN,并且只能访问XenServer,并且必须在VM上完成。

所以我的想法是: VM1 have two network cards: - 192.168.0.X (DHCP), from XenServer NIC 0 (direct access to network) - 192.168.1.X (Static), Private1 network from XenServer VM2 have two network cards: - 192.168.1.X (Static), Private1 network from XenServer - 192.168.0.X (Static), Private2 network from XenServer VM3 (Testing) have one network cards: - 192.168.0.X (Static), Private2 network from XenServer

我无法弄清楚如何创建这种隔离,因为我必须保留相同的IP范围(用于测试的虚拟机是静态配置的),并且“测试虚拟机”不能访问主网络。

还有其他选择吗?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.