VMware Networking Community
miladx16
Enthusiast
Enthusiast

How to define default uplink (to physical network) for logical switch

Hi all

I have 2 LAGs, 1.Services 2.Management

when i created a logical switch within nsx, it automatically select one of my uplink witch doesnt have any link

i just want to configure the default setting that nsx automatically select one of my lag as default uplink in teaming and failover section

does it have any solution?

Tags (2)
0 Kudos
1 Reply
bayupw
Leadership
Leadership

Could you explain more about:

1. How is your VDS for VXLAN is setup?

2. What is the teaming policy on the VDS?

3. Which VTEP/VXLAN load balancing are you using?

NSX will use all the uplinks in the selected VDS and use load balancing policy based on VXLAN configuration.

Here's an example

pastedImage_1.png

Above configuration will use VDS RegionA01-vDS-COMP and use Fail Over for the teaming policy.

There are numbers of option to configure VTEP Teaming Policy, see below table based on the VMware® NSX for vSphere Network Virtualization Design Guide ver 3.0

pastedImage_5.png

For non-Multi-VTEP teaming, NSX will create only single VTEP but for non-multiple VTEP VDS will create VTEPs according to the number of dvUplinks

The VTEP number is set to match the number of dvUplinks on the vSphere distributed switch being prepared. see this doc: Configure VXLAN Transport Parameters

For example if you have VDS with 4 uplinks and using Route based on originating port ID, it will create 4 VTEPs and use all 4 uplinks.

You cannot override this in the VTEP/logical switch level.

If there are any uplinks that are not tagged with the assigned VLAN for VTEP/VXLAN traffic or should not be used by VXLAN, you would need to separate them onto another vDS.

The vDS configuration such as teaming policy must be consistent on all hosts that are a part of that vDS.

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos