Configuring NAM Probe communication interface

This procedure describes how to configure the communication interface on a NAM Probe.

To create a complete NAM Probe installation, you need to:

  1. Set up a suitable server (physical or virtual).
  2. Install a supported version of Linux
  3. Configure the NAM Probe communication interface
     You Are Here
  4. Install the NAM Probe software

Use the Network Manager Command Line (nmcli) and NetworkManager Text User Interface (nmtui) tools to set up the network interface destined to operate as a communication interface for this NAM Probe.

Configure ONLY  the communication interface. Any other interfaces found by the system will be considered sniffing interfaces and should be administered by the monitoring software. No system configuration is necessary for these interfaces.

Get the following information:

  • Hostname
  • IP address for the communication interface.
    • The network interface settings include an option to use the IP address provided by DHCP. We recommend that you provide a static IP address for the planned communication interface.
  • Gateway IP address (optional if you plan to use the <Automatic> setting)
  • IP addresses of DNS servers

Then follow the instructions in one of the sections below:

Adding new communication interface when no connections are listed

To set up the communication interface:

Log in to the Linux system as user root .

Review the network devices installed on your system.
At the command prompt, execute the nmcli dev show command.

Note GENERAL.DEVICE and GENERAL.TYPE information for the interface that you wish to use as a communication interface for this NAM Probe.

GENERAL.DEVICE:                         enp0s3
GENERAL.TYPE:                           ethernet

The GENERAL.DEVICE information is the device name.
The GENERAL.TYPE information is the device type.

At the system prompt, run the nmtui command.

[root@AMD ~]# nmtui

Select Edit a connection.

Navigating the network manager

Use [TAB] or the arrow keys to move and press [ENTER] to select an option.

Select <Add>.

Select connection type Ethernet (based on the device type obtained in step 3).

On the Edit Connection screen, enter the Profile name and the Device (the device name obtained in step 3).

Highlight the <Automatic> value for the IPv4 CONFIGURATION option.

Change the <Automatic> option to Manual.
Expand the configuration view by selecting <Show>.

Provide the Address, Gateway and DNS servers.
Select <Add...> and enter the values for this Ethernet device.

Note

Make sure that you indicate the network class when entering the IP address.
For example: 192.168.1.125/24

Using the [SPACEBAR], mark the Automatically connect and Available to all users options.

Select <OK> to save the connection.

Select Activate a connection.

For all newly created connections, highlight the connection and select <Activate>.

Navigate <Back> to the main menu and select <Set system hostname>.

Enter the host name and select <OK> to accept changes.

Select Quit or <OK> to exit the Network Manager.

Confirm that all created connections are activated.
Execute the nmcli connection show command.

[root@AMD ~]# nmcli connection show
NAME    UUID                                  TYPE            DEVICE
enp0s3  a5653fb0-f54f-4707-b8cb-ad579a0ce569  802-3-ethernet  enp0s3
Editing shortcut

Instead of going through the main menu of the Network Manager, you can call the edit screen for any existing connection using the nmtui tool and specifying the connection. For example:

[root@AMD ~]# nmtui edit enp0s3

Selecting and configuring communication interface from existing list of connections

Log in to the Linux system as user root .

At the system prompt, run the nmtui command.

[root@AMD ~]# nmtui

Select Edit a connection.

Navigating the network manager

Use [TAB] or the arrow keys to move and press [ENTER] to select an option.

For each of the connections that you plan to use as a sniffing interface, disable the IPv4 CONFIGURATION.

Highlight the existing connection for sniffing interface and select <Edit...>.

Navigate to IPv4 CONFIGURATION, press [ENTER] and change the option from <Automatic> to <Disabled>.

Select <OK> to save the connection for the sniffing interface.

For the connection that you plan to use as a communication interface highlight the connection and select <Edit...>.

Highlight the <Automatic> value for the IPv4 CONFIGURATION option.

Change the <Automatic> option to Manual.
Expand the configuration view by selecting <Show>.

Provide the Address, Gateway and DNS servers.
Select <Add...> and enter the values for this Ethernet device.

Note

Make sure that you indicate the network class when entering the IP address.
For example: 192.168.1.125/24

Using the [SPACEBAR], mark the Automatically connect and Available to all users options.

Select <OK> to save the connection.

Select Activate a connection.

Highlight the connection for the communication interface and select <Activate>.

Navigate <Back> to the main menu and select <Set system hostname>.

Enter the host name and select <OK> to accept changes.

Select Quit or <OK> to exit the Network Manager.

Confirm that the connection for the communication interface is activated.
Execute the nmcli connection show command.

[root@AMD ~]# nmcli connection show
NAME    UUID                                  TYPE            DEVICE
enp0s3  a5653fb0-f54f-4707-b8cb-ad579a0ce569  802-3-ethernet  enp0s3