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-WAN Routing

This example shows how to configure service chaining for LAN-WAN routing.

Requirements

This example uses the following hardware and software components:

  • NFX150 running Junos OS Release 18.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, exit the device, and enter the WAN network.

Topology

This example uses the topology shown in Figure 1.

Figure 1: Service Chaining Using a Custom BridgeService Chaining Using a Custom Bridge

Configuration

Map the Interfaces

Step-by-Step Procedure

  1. Map the heth-0-0 physical port to the FPC0 interface.

  2. Map the FPC1 interface ge-1/0/2 to the physical port heth-0-4.

Configure the Layer 2 Datapath

Step-by-Step Procedure

  1. Configure VLANs for the LAN-side interfaces.

  2. Configure the LAN-side front panel ports and add them to the LAN-side VLAN.

  3. Configure the internal-facing interfaces as trunk ports and add them 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.

Configure the Layer 3 Datapath

Step-by-Step Procedure

  1. Configure VLAN tagging on ge-1/0/0:

  2. Configure VLAN tagging on ge-1/0/2:

Verification

Verifying the Status of the Interfaces

Purpose

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

Action

To verify the status of the interfaces:

  • Verify the status of the physical ports.

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

    For example: