VMware NSX

 View Only
  • 1.  Logical Switch vs Distributed Switch

    Posted Aug 10, 2016 04:55 PM

    I guess I am confused OR maybe I did not read enough of NSX. Why do I use logical switch over distributed switch? Assuming I only have 200-VLAN, 10-host and one vCenter. The 10-host are located in two different datacenters.

    Do I use Logical switch with NSX or VDS?

    BTW, even with NSX, VDS is still required, right?



  • 2.  RE: Logical Switch vs Distributed Switch
    Best Answer

    Posted Aug 10, 2016 05:38 PM

    Hi,

    Short answer is: you use both with NSX.

    The Distributed Switch is the construct where NSX builds its Logical Switches. The Logical Switches are basically separate port groups on the VDS and the VDS translates the traffic on those port groups to VXLAN traffic.

    I know it's a long read, but have a look at the design guide (http://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/nsx/vmw-nsx-network-virtualization-design-guid…), which explains the components of NSX.



  • 3.  RE: Logical Switch vs Distributed Switch

    Posted Aug 10, 2016 06:05 PM

    Thanks, I guess maybe I am just terminology confusing now...

    So do I put VM onto logical switch OR onto PG of VDS?



  • 4.  RE: Logical Switch vs Distributed Switch

    Posted Aug 10, 2016 06:08 PM

    You should put the VM on the Logical Switch (vCenter -> Networking & Security -> Logical Switches -> Select Logical Switch -> Add VMs).

    Keep in mind that in the background the VM will be attached to a port group (related to the LS) on the VDS.



  • 5.  RE: Logical Switch vs Distributed Switch

    Posted Aug 10, 2016 06:16 PM

    Okey. So do I create the PG on the VDS first before creating logical switch OR creating logical switch will auto create the PG?



  • 6.  RE: Logical Switch vs Distributed Switch

    Posted Aug 10, 2016 06:19 PM

    After doing the initial installation, do all networking tasks inside the Networking & Security tab. Creating a Logical Switch will automatically create a port group and attaching a VM to a Logical Switch will automatically attach it to the right port group.



  • 7.  RE: Logical Switch vs Distributed Switch

    Posted Aug 10, 2016 06:29 PM

    Now I am not confused anymore :smileyhappy:



  • 8.  RE: Logical Switch vs Distributed Switch

    Posted Aug 15, 2016 09:43 PM

    In the NSX world, you can think of a logical switch as a separate VLAN within your virtual environment ONLY. When you deploy a new logical switch, a corresponding PG is created on the vDS with the name "virtualwire" and a VNI (Virtual Network Identifier) number ranging from 5000-16777216. If you don't need your VMs to communicate outside of the virtual environment then just forget about manually created port groups on the vDS all together so as not to confuse you. If you do however need to communicate outside of the virtual environment then you will need some type of VLAN backed PG created on the vDS. Your NSX edge will connect to this port group to enable routing in and out of the virtual environment.



  • 9.  RE: Logical Switch vs Distributed Switch

    Posted Dec 20, 2023 02:43 PM

    Sorry for this question, but is it possible to implement a NSX-T solution, not using Distributed Switches?