The WebService logical switch attached to the virtual machine VM1 must communicate with the hardware gateway on the same subnet.

Note: If you bind multiple logical switches to hardware ports, you must apply these steps for each logical switch.

Prerequisites

  • Verify that the WebService logical switch is available. See Add a Logical Switch.
  • Verify that a physical switch is available.

Procedure

  1. Log in to the vSphere Web Client.
  2. Select Networking & Security > Logical Switches.
  3. Locate the WebService logical switch and right-click to select Manage Harware Bindings from the drop-down menu.
  4. Select the hardware gateway profile.
  5. Click the Add (Add icon.) icon and select the physical switch from the drop-down menu.
    For example, AristaGW.
  6. Click Select to choose a physical port from the Available Objects list.
    For example, Ethernet 18.
  7. Click OK.
  8. Specify the VLAN name.
    Hardware gateway binding to allow the VM attached to the logical switch to communicate to the hardware gateway.
    For example, 160.
  9. Click OK.

Results

The binding is complete.

The NSX Controller synchronizes the physical and logical configuration information with the hardware gateway.