Step 1: Begin
In this guide, we provide a simple, three-step path, to quickly get you up and running with Juniper Networks® Contrail Networking. First, we’ll show you how to install Contrail Command and set up a Contrail Networking cluster for Release 2005.1. Then, we’ll show you how to set up the underlay network on a greenfield fabric, and create the overlay networks that interconnect the compute endpoints. The compute endpoints are the bare-metal servers or virtual machine (VM) workloads that the compute administrator configures and attaches to the leaf or top-of-rack switches.
Meet Contrail Networking
Contrail Networking is a full-featured software-defined networking (SDN) solution that helps you manage and configure your underlay and overlay networks all from a single user interface, Contrail Command. Contrail Command provides a central dashboard that makes it easy to configure networks, administer network policies, and create service chains for services such as load balancing, firewall, and NAT.
Installation Workflow
To install Contrail Command, first you download and run the Contrail Command deployer. This deploys Contrail Command as a set of Docker containers. Then, you use Contrail Command to set up your Contrail Networking cluster. A Contrail Networking cluster is the set of controllers and supporting applications that manage the underlay and overlay networks.
Here's the example Contrail Networking cluster you'll be setting up:

The installation instructions that we provide assume that you’re sitting at the network administrator’s station. We refer to this station as your local machine.
To minimize the number of servers used in this example, you’ll set up a cluster of collocated servers, which is different from a typical deployment. In a typical deployment, the cluster components are implemented as discrete nodes that can be distributed over multiple leaf switches to provide higher performance and availability.
Here’s a description of the network’s shown:
Network |
Description |
---|---|
Fabric underlay |
The regular IP spine-and-leaf network made up of switches and routers. |
Management |
The out-of-band management network that the Contrail Networking controller uses to discover and configure the switches in the fabric underlay network. |
Intranet |
A general network that provides access for the network administrator to the Contrail Networking cluster, and for the cluster to the Internet. This can be the corporate intranet, or a lab network connected to the corporate intranet, or any other scheme that provides external management connectivity to the cluster. |
The Contrail Networking cluster consists of a number of servers or VMs providing the Contrail Networking and Contrail Insights functionality. You can create a cluster with any number of servers or VMs, depending on your needs.
Here’s an example of a cluster made up of four servers followed by a description of the components running on the servers.

Servers |
Description |
Connectivity |
---|---|---|
Contrail Command |
Contains the Contrail Command application, which provides the UI that translates user intents to internal API calls to the other components. |
Connects to the external network on eth0, reachable from the network administrator’s browser. |
Connects to the fabric management network on eth1 to configure the other Contrail Networking components. |
||
Contrail Cluster |
Contains the collection of containers that provide the main Contrail Networking functionality, including the control, orchestration, service, and compute node roles. In this example, we’re placing most of the functionality into one server to reduce the number of servers you require. |
Connects to the external network on eth0. |
Connects to the fabric management network on eth1 to configure the switches in the fabric. |
||
Connects to the fabric underlay on eth2. This is the main interface to the fabric to exchange routes and to provide and receive services. |
||
Contrail Insights |
Contains the Contrail Insights application, formerly called AppFormix, which is an optional software application that allows you to monitor and troubleshoot VMs, containers, and physical switches and routers. |
Connects to the external network on eth0. |
Connects to the fabric management network on eth1 to communicate with the other Contrail Networking components. |
||
Contrail Insights Flows |
Contains the Contrail Insights Flows application, an optional software application that enables you to view sFlow-derived telemetry for devices in the fabric. |
Connects to the external network on eth0. |
Connects to the fabric management network on eth1 for out-of-band flow monitoring. Note:
If you want to support in-band flow monitoring, then connect the server directly to the fabric underlay. |
||
Note:
All servers in this example have at least four cores, 64-GB memory, 300-GB hard drive with at least 100 GB in the “/” partition, and Internet access for downloading software packages. |
This component breakdown represents just one possible example. You can create a cluster that has a different number of servers and a different distribution of components and roles.
We refer to this network configuration and this component breakdown in various examples later. All IP addresses shown are /24.
Before You Begin
In preparation for installation, look through the Contrail Networking Supported Platforms List for the compatible OS and prerequisite software versions for the Contrail Networking release you want to set up, and the README Access to Contrail Registry 20XX file for the container tag to use.
Here are the software versions and container tag that we use in this example:
Software |
Version |
---|---|
Contrail Networking |
2005.1 |
Container tag |
2005.1.66 |
OpenStack |
Queens |
OS |
CentOS 7.8 with Linux kernel version 3.10.0-1127 |
Docker |
Docker Community Edition 18.03.1 |
Additionally, you’ll need access to the Juniper Networks container registry (hub.juniper.net). If you don’t have access to the registry, send an email to mailto:contrail-registry@juniper.net to get your username and password.
Finally:
Install Contrail Command
To install Contrail Command, first you'll install the prerequisite software packages on the Contrail Command server. Next, you'll create a YAML file containing the Contrail Command server information. Finally, you'll download and run the Contrail Command deployer image.
The server or VM where you run the Contrail Command deployer image can be different from the server or VM where you install Contrail Command. This example runs the Contrail Command deployer on the same server that later runs Contrail Command.
Create the Contrail Networking Cluster
Now that you’ve installed Contrail Command, let’s use it to create the Contrail Networking cluster.