[Cloud Computing]Mechanisms: Virtual Switch

本文介绍了虚拟交换机的基本概念及其在网络中的作用。虚拟交换机是一种在虚拟化环境中运行的逻辑网络设备,它通过内部虚拟端口连接虚拟服务器,并可通过物理网络接口卡(NIC)连接到物理网络。文章还讨论了虚拟交换机与物理网络之间的交互方式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Virtual Switch

A virtual switch is a logical network switch that operates at the hypervisor level. Network interface cards (NICs) are emulated into a single virtual switch. Some virtual switches do not have any physical interfaces or connectivity to physical networks. This type of virtual switch is used for virtual servers that do not need to connect to a physical network. Virtual switches connect to the physical network via physical NICs. A physical port that is used to connect a virtual switch to a physical network becomes an uplink port.

A virtual switch is an emulated switch that is used to provide networking to virtual servers. They use their internal virtual ports to connect virtual servers to one another or to the hypervisors. Physical network interface cards (NICs) can be attached to virtual switches. The NICs are used by the virtual switches as uplink ports to connect to other virtual switches or physical switches.

In Figure 1, Virtual Switches A and B each have eight virtual ports and several physical NICs. The virtual servers are connected to the virtual switches via virtual ports. Communication between Virtual Servers A and B occurs at the virtual switch level. No traffic is sent to the physical NICs. If any of the virtual servers need to communicate with Physical Server A or Virtual Server C, the traffic needs to pass through the physical NICs and physical switch.

Figure 1 - An example illustrating virtual switches.

Virtual switches can have varying numbers of attached physical NICs. In Figure 1, Virtual Switch A has 2 physical uplinks. Virtual Switch B has 4 physical uplinks. Some virtual switches have only one physical uplink or none at all.

Related Patterns:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值