具有2个NIC的VM连接到不同的VLAN /子网 [英] VM with 2 NICs connected to different VLANs/subnets

查看:48
本文介绍了具有2个NIC的VM连接到不同的VLAN /子网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在Azure中工作,我创建了2个虚拟网络,admin和DMZ。它们每个都有1个子网,也叫做admin和DMZ。

Working in Azure, I have created 2 virtual networks, admin and DMZ. They each have 1 subnet, also named admin and DMZ.


我想拥有一个带有2个NIC的RHEL VM,一个连接到admin,一个连接到DMZ虚拟网络。

I want to have a RHEL VM with 2 NICs, one connected to admin and one connected to DMZ virtual networks.


门户网站不允许我在除VM连接的第一个虚拟网络之外的任何虚拟网络上创建网络接口。

The portal will not let me create a network interface on any virtual network other than the first one the VM is connected to.


任何指导都将受到赞赏。

Any guidance would be appreciated.


谢谢

推荐答案

Azure中的虚拟网络提供了你的界限隔离。手段,一个VNET中的资源将无法在内部(使用私有IP地址)与其他VNET通信,而无需站点到站点/对等。 

Virtual Network in Azure provides your the boundary of isolation. Means, resources in one VNET will not be able to communicate to the other VNET internally(using private IP address) without Site to Site/ peering. 

在您的情况下同样的VNET,您需要创建2个子网,然后尝试将每个NIC放在每个子网中。 

In your case in the same VNET, you need to create 2 subnets and then try to put each NIC in each subnets. 

如果您有任何其他问题,请与我们联系。 

If you have any further questions, let me know. 

---------------------------------- -------------------------------------------------- -----------------------

如果您发现这篇文章有帮助,请给它一个"有用的"投票。 

如果有帮助,请记得将回复标记为答案。


这篇关于具有2个NIC的VM连接到不同的VLAN /子网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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