Setup Interfaces

TNSR requires complete control of the network interfaces that it will use. This means that the host operating system must not be attempting to use or control them in any way. The device ID of the interface(s) also must be obtained to inform VPP and TNSR what interfaces to use. The interface link can be tuned through VPP and configured through TNSR.

Warning

The host management interface must remain under the control of the host operating system. It must not be configured as an interface to be controlled by TNSR.

Network interfaces not configured in the installer will be disabled in CentOS during the installation process. The interfaces will need to be re-enabled in TNSR. For a fresh installation of TNSR, skip ahead to Setup NICs in Dataplane.

Interfaces added to the TNSR instance after the initial setup will need to be disabled using the following procedure.

Identify NICs to use with TNSR

To start, locate the network interfaces in use by the host operating system. View a list of network interfaces known to the host OS with this command:

$ ip link

To determine if a network interface is in use by the host OS, run the following command:

$ ip link show up

If an interface shows in that list, and its name does not start with vpp, then it is under control of the host.

Note

The TNSR installer will automatically mark any interface not configured in the installer for use by TNSR.

Make a note of the network interfaces and their purpose. Note which interface will be used for host management, and which interfaces will be used by TNSR. The host management interface will be left under the control of the operating system, while the remaining interfaces may be used by TNSR. In this example, the host contains four network interfaces: enp0s20f0, enp0s20f1, enp0s20f2, and enp0s20f3 and TNSR will use enp0s20f1 and enp0s20f2.