Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring Service Chaining for LAN to WAN Routing through Third-party VNFs on NFX250 NextGen Devices

This example shows how to configure service chaining for LAN to WAN routing through third-party VNFs on NFX250 NextGen devices.

Requirements

This example uses an NFX250 NextGen device running Junos OS Release 19.1R1.

Overview

This example explains how to configure the various layers of the device to enable traffic from the LAN network to enter the device, flow through the OVS bridge and third-party VNFs, exit the device, and enter the WAN network.

Topology

This example uses the topology shown in Figure 1.

Figure 1: Service Chaining for LAN to WAN Routing through Third-party VNFsService Chaining for LAN to WAN Routing through Third-party VNFs

Configuration

Configuring the Layer 2 Datapath (JCP LAN Interfaces)

Step-by-Step Procedure

  1. Connect to the JCP.

  2. Configure VLANs for the LAN-side interfaces.

  3. Configure the LAN-side front panel ports and add them to the LAN-side VLANs. The LAN-side port is typically an access port, and can be a trunk port if required

  4. Configure the internal-facing interface, sxe-0/0/0, as a trunk port and add it to the LAN-side VLAN. The internal-facing interfaces are typically trunk ports as they must support traffic from multiple front panel ports and VLANs.

Configuring the VNF Interfaces for Creating the Service Chain

Step-by-Step Procedure

  1. Configure the vmhost instance with the vlans for connecting to the OVS bridge for service chaining:

  2. Instantiate the VNF (vnf-name1) with one virtio interface mapped to the VLAN vlan1 and the other virtio interface mapped to the VLAN glue-vlan1:

  3. Instantiate the second VNF (vnf-name2) with one interface mapped to the VLAN glue-vlan1 and and the second interface mapped to VLAN vlan2:

Configuring the Layer 3 Datapath

Step-by-Step Procedure

  1. Configure the internal-facing L3 Dataplane interface as a VLAN-tagged interface and assign an IP address to it:

  2. Map the Layer 3 interface to the Open vSwitch (OVS) and commit the configuration:

  3. Configure the external-facing L3 Dataplane interface as a VLAN-tagged interface and assign an IP address to it:

Configuring the Layer 2 Datapath (JCP WAN Interfaces)

Step-by-Step Procedure

  1. Configure a VLAN for the WAN-side JCP interfaces:

  2. Configure the WAN-side internal-facing interface as a trunk port and add it to the WAN-side VLAN:

  3. Configure the WAN-side front panel port and add it to the WAN-side VLAN:

  4. Commit the configuration:

Verification

Verifying the Status of the Interfaces

Purpose

Verify the status of the Layer 2 and Layer 3 interfaces.

Action

  • Verify the status of the Layer 2 (ge-0/0/x) and Layer 3 (ge-1/0/x) interfaces.

    For example: