Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Networks for Session Smart Routers

Networks are sources of the request in your Juniper WAN Assurance design. On the Juniper® Session Smart™ Router, networks create tenants in the background for SVR and the Session Smart Router identifies tenants at the logical interface (network interface). LAN and WAN interface configurations identify your tenant (request source).

Once you have created networks in the Juniper Mist™ cloud portal, you can use networks across the entire organization in the portal. WAN Assurance design uses networks as the source in the application policy.

To configure a Network:

Site Variables

  1. In the Juniper Mist cloud portal, click Organization > WAN > Networks.
    A list of existing networks, if any, appears.
  2. Click Add Networks in the upper right corner.
    The Add Network window appears. Table 1 summarizes the options you can set in a network.
    Table 1: Network Options
    Fields Description
    Name Enter a unique name for the network. The name can contain alphanumeric characters, underscores, and hyphens, and must be less than 32 characters long.
    Subnet IP Address Enter the network IP address. You can either use absolute values (example: 192.0.2.0) or use variables (example:{{SPOKE_LAN1_PFX}}.0 ).
    Prefix Length Enter the length of the address prefix, from 0 through 32. You can also use variables for prefix length. Example: {{PFX1}}
    VLAN ID

    (Optional) Enter the VLAN ID that is associated with the network.

    If your device is using an untagged interface, you should use 1 as the VLAN ID instead of the variable.
    Access to Mist Cloud

    Check the option to allow Session Smart Router services to access the Juniper Mist cloud.

    Advertised via Overlay

    Check the option to advertise the network to the hub devices through the overlay tunnels. This option announces the network via iBGP. The IP Address and Prefix Length fields below the option are filled in automatically.

    Users

    (Optional) Additional networks or users. Example: remote networks or users connected to the main network.

    Click the Add User option and

    enter the Name and IP Prefix of the additional user.

    Destination NAT

    (Optional) Translate the destination IP address of a packet.

  3. Complete the configuration according to the details available in Table 2. Use the variables for both the subnet IP address and prefix length fields to configure three networks: SPOKE-LAN1, HUB1-LAN1, and HUB2-LAN1.
    Table 2: Values for Network Configuration
    Fields Network 1 Network 2 Network 3
    Name SPOKE-LAN1 HUB1-LAN1 HUB2-LAN1
    Subnet IP Address {{SPOKE_LAN1_PFX}}.0 {{HUB1_LAN1_PFX}}.0 {{HUB2_LAN1_PFX}}.0
    Prefix Length 24 24 24
    VLAN ID {{SPOKE_LAN1_VLAN}} {{HUB1_LAN1_VLAN}} {{HUB2_LAN1_VLAN}}
    Access to Mist Cloud Checked Checked Checked
    Advertised via Overlay Checked Checked Checked
    Note:

    The user "All" with IP prefix 10.0.0.0/8 serves as a wildcard for all the future LAN segments in the range. The Session Smart Router in hubs can use the same username (All) and IP prefix (10.0.0.8) to identify all spoke LAN interfaces using a single rule.

    Note:

    When you use variables, do not assume that the system imports all LAN segments on the hub site automatically. Sometimes, the system may apply an Any netmask, which has a wide scope and may generate security issues.

    Note:
  4. Click Add.

    Figure 1 shows the list of newly created networks.

    Figure 1: Networks Summary Networks Summary

Site Variables

You can configure the site variables on a per-site basis. When planning a network holistically, you can configure specific WAN edge devices and WAN edge clusters using templates.

Site variables allow you to use the same network definition with different values for each site without having to define multiple networks. Variables have the format {{variable_name}}.

Tip: When working on configuration screens, look for the VAR indicators. Fields with this indicator allow site variables.

The fields with this label also display the matching variables (if configured) as you start typing a specific variable in it. This field lists variables from all sites within the organization.

The organization-wide list of variables can be viewed using GET /api/v1/orgs/:org_id/vars/search?var=*. This list is populated as variables are added under site settings.

Defining networks with variables is common practice in WAN edge template configuration.

Figure 2 shows two samples of configuration of a network using absolute values and using site variables.

Figure 2: Configuring Networks with Absolute Values and Variables Configuring Networks with Absolute Values and Variables

You can define the site variables in Organization > Admin> Site Configuration pane.

Figure 3: Site Variables Settings Pane Site Variables Settings Pane

This task uses variables for the VLAN ID and subnet IP address. Site variables that contain the first three octets substitute the subnet IP address variable values as shown in Figure 4.

Figure 4: Site Variables Displayed in Site Configuration Page Site Variables Displayed in Site Configuration Page