Logical Switches are no more different than the physical switches in the network. Similar to physical switches, It allows you to create a broadcast domain and isolate the Virtual Machines in the network. Once you create a logical switch is new distributed port group gets added on a distributed switch. The reason why we say it logical because a unique VNI (VXLAN Network Identifier) get associated to it to overlays the L2 network. Logical switching enables the extension of an L2 segment / IP subnet anywhere in the fabric independent of the physical network design. Endpoints, either virtual and physical, can connect to logical segments and establish connectivity independently from their physical location in the data center network.
The NSX Controller cluster controls logical switches and maintains information about virtual machines, ESXi hosts, logical switches, and VXLANs. All logical switches created within the transport zone inherit VMware NSX transport zone settings.
Logical Switch – Key Points
- Logical Switch in an NSX Environment is a virtual network segment which is a distributed port group tagged with a unique VNI on a distributed switch.
- Logical Switch can span distributed switch by associating with a port group in each distributed switch.
- All hosts that are part of the same vDS supports VMotion.
- A distributed port group is automatically created on all the VTEPs (ESXi hosts) that are part of the same underlying Transport Zone once you add a Logical Switch
- A Virtual Machine vNIC then connects to each Logic Switch as appropriate.
This concludes the demonstration of creating a logical switch and connecting virtual machines vNIC’s to it. Hope this will be informative for you. Please do share if you find worth sharing it. Thanks for Reading !!!.