Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

VMware NSX Configuration for Juniper Networks Devices Functioning as Virtual Tunnel Endpoints

When implementing the Open vSwitch Database (OVSDB) management protocol and Virtual Extensible LANs (VXLANs) on a Juniper Networks device, you must perform the following tasks in VMware NSX Manager or in the NSX API:

  • For each Juniper Networks device on which OVSDB-managed VXLANs and physical interfaces are configured, you must create an NSX-equivalent entity, which is known as a gateway.

  • For each OVSDB-managed physical interface that you configure on a Juniper Networks device, you must configure a gateway service—for example, a VTEP Layer 2 gateway service.

  • For each logical interface that you want to implement for a VXLAN, you must configure a logical switch port.

The configurations described in this topic enable connectivity between physical servers in the physical network and virtual machines (VMs) in the virtual network.

This topic provides a high-level summary of the tasks that you must perform to create a gateway, gateway service, and logical switch ports. Although you can create these virtual entities either in NSX Manager or in the NSX API, this topic only describes how to perform the tasks in NSX Manager. Also, this topic does not include a complete procedure for each task. Rather, it includes key NSX Manager configuration details for ensuring the correct configuration of the virtual entities so that they function properly with the physical entities.

For complete information about performing the tasks described in this topic, see the documentation that accompanies NSX Manager.

This topic describes the following tasks:

Creating a Gateway

In NSX Manager, you must create a gateway for each Juniper Networks device on which OVSDB-managed VXLANs and physical interfaces are configured. Table 1 provides a summary of key configuration fields in NSX Manager and how to configure them when creating a gateway.

Table 1: Key Configurations to Create a Gateway in NSX Manager

NSX Manager Configuration Page or Dialog Box

NSX Manager Configuration Field

How to Configure

Type

Transport Node Type

Select Gateway.

Properties

VTEP Enabled

Select VTEP Enabled.

Credential

Type

Select Management Address.

Credential

Management Address

Specify the management IP address of the Juniper Networks device.

Connections/Create Transport Connector

Transport Type

Select VXLAN.

Connections/Create Transport Connector

Transport Zone UUID

Select the UUID of an existing transport zone, or create a new transport zone.

Connections/Create Transport Connector

IP Address

Specify the IP address of the loopback interface (lo0) of the Juniper Networks device.

Creating a Gateway Service

In NSX Manager, you must create a gateway service for each OVSDB-managed physical interface that you configure on a Juniper Networks device. Creating a gateway service essentially does the following for each OVSDB-managed physical interface:

  • Specifies a gateway service—for example, a VTEP Layer 2 gateway service.

  • Binds the interface to a gateway that you created in Creating a Gateway.

Before you start this task, you must complete the following configurations:

Table 2 provides a summary of key configuration fields in NSX Manager and how to configure them when creating a gateway service.

Table 2: Key Configurations to Create a Gateway Service in NSX Manager

NSX Manager Configuration Page or Dialog Box

NSX Manager Configuration Field

How to Configure

Type

Gateway Service Type

Select VTEP L2 Gateway Service.

Transport Nodes/Edit Gateway

Transport Node

Select the gateway that you created for the Juniper Networks device.

Transport Nodes/Edit Gateway

Port ID

Select an OVSDB-managed physical interface configured on the Juniper Networks device.

Creating a Logical Switch Port

In NSX Manager, you must create a logical switch port for each logical interface that you plan to implement for a VXLAN. Creating the logical switch port essentially does the following for each logical interface:

  • Binds the logical switch port to a logical switch that you created in NSX Manager or in the NSX API.

  • Binds the logical interface to a gateway service that you configured in Creating a Gateway Service.

Before you start this task, you must complete the following configurations:

  • A logical switch with which this logical port is associated. For information about configuring a logical switch, see the VMware documentation that accompanies NSX Manager or the NSX API.

  • A gateway service that specifies the OVSDB-managed physical interface with which the logical interface is associated. See Creating a Gateway Service.

Table 3 provides a summary of key configuration fields in NSX Manager and how to configure them when creating a logical switch port.

Table 3: Key Configurations to Create a Logical Switch Port in NSX Manager

NSX Manager Configuration Page or Dialog Box

NSX Manager Configuration Field

How to Configure

Logical Switch

Logical Switch UUID

Select the UUID of a logical switch.

Attachment

Attachment Type

Select VTEP L2 Gateway.

Attachment

VTEP L2 Gateway Service UUID

Select the UUID of a gateway service.

Attachment

VLAN

Select 0 to specify that the port handles untagged packets.

Select 1 through 4000 to specify that the port handles tagged packets.

Note:

VLAN ID 4094 is reserved for a native VLAN in an OVSDB environment. Specifying this VLAN ID results in an error message. Do not specify this VLAN ID or any VLAN ID not in the accepted range.