Hi experts,
I saw the below description in vSphere document.
i get a little cufusion regards the network lable/VLAN in VMware world.
lets simply say, in cisco/network world, the VLAN is used for split broadcast domain/subnet. it is work under OSI layler 2. if you want to communicate with different vlan, then we need a default gateway for across it, either a router for routing fuction or a l3 switch for inter-vlan switching.
but in VM, what is the proposel for network label? i know it could be used by vmkernel such as iscsi. but except for vmkernel why we have to use it?
in cisco world, the switch port will tagging a vlan id at entry time remove it by out of switch. it doesn't matter with hosts.
here is my questions.
1). in the vSphere standard switch, the port is configured as access port or trunk port?
2). when and how the vSwitch will tagging VLAN ID to frame? it is same with actual switch?
3). if host A and host B reside in same ESXi, and host's IP were under same subnet but connected to a vSwitch and relevent ports under the different VLAN ID/ports group. then the host A are able to talk to with host B?
4). in the one ESXi, how to connect two vSwtiches? for example, in case of 3). if host A/host B is connected to different two vSwitches and the ports has same ports group/VLAN ID, then host A/B is able to talk to each other?
5). if set VLAN ID to 4095, then the traffic can pass through port which is in different VLAN by without external ROUTER OR L3 SWITCH?
Each port group is identified by a network label, which is unique to the current host. Network labels are used to make virtual machine configuration portable across hosts. All port groups in a datacenter that are physically connected to the same network (in the sense that each can receive broadcasts from the others) are given the same label. Conversely, if two port groups cannot receive broadcasts from each other, they have distinct labels.
A VLAN ID, which restricts port group traffic to a logical Ethernet segment within the physical network, is optional. For a port group to reach port groups located on other VLANs, the VLAN ID must be set to 4095. If you use VLAN IDs, you must change the port group labels and VLAN IDs together so that the labels properly represent connectivity.