When you configure edge-based bridging, after creating an edge brige profile for an edge cluster, some additonal configurations are required.
Note that bridging a logical switch twice on the same Edge node is not supported. However, you can bridge two VLANs to the same logical switch on two different Edge nodes.
There are three configuration options.
Option 1: Configure Promiscuous Mode
- Set promiscuous mode on the portgroup.
- Allow forged transmit on the portgroup.
- Run the following command to enable reverse filter on the ESXi host where the Edge VM is running:
esxcli system settings advanced set -o /Net/ReversePathFwdCheckPromisc -i 1
Then disable and enable promiscuous mode on the portgroup with the following steps:- Edit the portgroup's settings.
- Disable promiscuous mode and save the settings.
- Edit the portgroup's settings again.
- Enable promiscuous mode and save the settings.
- Do not have other port groups in promiscuous mode on the same host sharing the same set of VLANs.
- The active and standby Edge VMs should be on different hosts. If they are on the same host the throughput might be reduced because VLAN traffic needs to be forwarded to both VMs in promiscuous mode.
Option 2: Configure MAC Learning
If the Edge is deployed on a host with NSX-T installed, it can connect to a VLAN logical switch or segment. The logical switch must have a MAC Management profile with MAC Learning enabled. Similarly, the segment must have a MAC Discovery profile with MAC Learning enabled.
Option 3: Configure a Sink Port
- Retrieve the port number for the trunk vNIC that you want to configure as a sink port.
- Log in to the vSphere Web Client, and navigate to .
- Click the distributed port group to which the NSX Edge trunk interface is connected, and click Ports to view the ports and connected VMs. Note the port number associated with the trunk interface. Use this port number when fetching and updating opaque data.
- Retrieve the dvsUuid value for the vSphere Distributed Switch.
- Log in to the vCenter Mob UI at
https://<vc-ip>/mob
. - Click content.
- Click the link associated with the rootFolder (for example: group-d1 (Datacenters)).
- Click the link associated with the childEntity (for example: datacenter-1).
- Click the link associated with the networkFolder (for example: group-n6).
- Click the DVS name link for the vSphere distributed switch associated with the NSX Edges (for example: dvs-1 (Mgmt_VDS)).
- Copy the value of the uuid string. Use this value for dvsUuid when fetching and updating opaque data.
- Log in to the vCenter Mob UI at
- Verify if opaque data exists for the specified port.
- Go to
https://<vc-ip>/mob/?moid=DVSManager&vmodl=1
. - Click fetchOpaqueDataEx.
- In the selectionSet value box paste the following XML input:
<selectionSet xsi:type="DVPortSelection"> <dvsUuid>c2 1d 11 50 6a 7c 77 68-e6 ba ce 6a 1d 96 2a 15</dvsUuid> <!-- example dvsUuid --> <portKey>393</portKey> <!-- example port number --> </selectionSet>
Use the port number and dvsUuid value that you retrieved for the NSX Edge trunk interface.
- Set
isRuntime
tofalse
. - Click Invoke Method. If the result shows values for
vim.dvs.OpaqueData.ConfigInfo
, then there is already opaque data set, use theedit
operation when you set the sink port. If the value forvim.dvs.OpaqueData.ConfigInfo
is empty, use theadd
operation when you set the sink port.
- Go to
- Configure the sink port in the vCenter managed object browser (MOB).
- Go to
https://<vc-ip>/mob/?moid=DVSManager&vmodl=1
. - Click updateOpaqueDataEx.
- In the selectionSet value box paste the following XML input. For example,
<selectionSet xsi:type="DVPortSelection"> <dvsUuid>c2 1d 11 50 6a 7c 77 68-e6 ba ce 6a 1d 96 2a 15</dvsUuid> <!-- example dvsUuid --> <portKey>393</portKey> <!-- example port number --> </selectionSet>
Use the dvsUuid value that you retrieved from the vCenter MOB.
- On the opaqueDataSpec value box paste one of the following XML inputs.
Use this input to enable a SINK port if opaque data is not set (
operation
is set toadd
):<opaqueDataSpec> <operation>add</operation> <opaqueData> <key>com.vmware.etherswitch.port.extraEthFRP</key> <opaqueData xsi:type="vmodl.Binary">AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</opaqueData> </opaqueData> </opaqueDataSpec>
Use this input to enable a SINK port if opaque data is already set (operation
is set toedit
):<opaqueDataSpec> <operation>edit</operation> <opaqueData> <key>com.vmware.etherswitch.port.extraEthFRP</key> <opaqueData xsi:type="vmodl.Binary">AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</opaqueData> </opaqueData> </opaqueDataSpec>
Use this input to disable a SINK port:
<opaqueDataSpec> <operation>edit</operation> <opaqueData> <key>com.vmware.etherswitch.port.extraEthFRP</key> <opaqueData xsi:type="vmodl.Binary">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</opaqueData> </opaqueData> </opaqueDataSpec>
- Set
isRuntime
tofalse
. - Click Invoke Method.
- Go to
What to do next
Associate a logical switch with the bridge profile. See Create a Layer 2 Bridge-Backed Logical Switch in Manager Mode.