VMw are ESX Server 网络设置 时间: 2011-02-14 分类: VMw are, 推荐主题 标签: ESX, VMw are, vSw itch / 4,748 次浏览 0 评论 1. ESX网络基础 ESX server 总共有三种形式的网络: – Service console port: ESX Server 的管理网络,如:vSphere Client 和vCenter 就是使用此网络管理ESX。 – VMkernel port: ESX Server 内核接口,用来 VMotion, iSCSI 和 NFS/NAS netw orks – Virtual machine port group: 虚拟机网络连接。 ESX 界面: 2. ESX 的vSw itch VMWare 的官方解释是这样的: A virtual switch, vSw itch, works much like a physical Ethernet switch. It detects which virtual machines are logically connected to each of its virtual ports and uses that information to forward traffic to the correct virtual machines. A vSwitch can be connected to physical switches using physical Ethernet adapters, also referred to as uplink adapters, to join virtual networks with physical networks. This type of connection is similar to connecting physical switches together to create a larger network. Even though a vSwitch works much like a physical switch, it does not have some of the advanced functionality of a physical switch. For more information on vSwitches, see Virtual Switches. 其实vSwitch 就是上图左边端口的组合,默认端口数为56(最大可以到1016),我们可以为一个ESX server 创建最多248 个vSwitch。在 VM 不断增多的情况下,出于冗余和流量或安全考虑, 可以增加多个vSwitch,并设置相应规则。 3. 增加 vSw itch 1)列出系统的网卡 [root@VM1 ~]# esxcfg-nics -l Name PCI Driver Link Speed Duplex MAC Address MTU Description vmnic0 01:00.00 bnx2 Up 1000Mbps Full a4:ba:db:45:c8:b2 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T vmnic1 01:00.01 bnx2 Up 1000Mbps Full a4:ba:db:45:c8:b4 1500 Broadcom Corporation Broadcom NetXtreme II BCM5709 1000Base-T vmnic2 02:00.00 bnx2 Down 0Mbps...