Configure a static IP address

To avoid issues in a High Availability (HA) enviroment, configure a static IP address on each CipherTrust Manager node.

This procedure is for an IPv4 network. If you have an IPv6 network, refer to the help to get the required commands.

The commands are case-sensitive so ensure that you type the commands as provided as part of the steps.

Before you begin 

Configure the host name

Procedure 

  1. Connect to the CipherTrust Manager Console and log in using the ksadmin user account.

  2. List the IP addresses of the network interface cards (NICs), run:

    $ nmcli c show

  3. View the details about a specific NIC:

    nmcli c show <connection-id> | less

    Replace <connection-id> with the exact name of the NIC you want to configure. NIC names are are case-sensitive.

    To prevent the CLI from entering a deadlock, make sure you enter the NIC name exactly as configured.

    If the CLI does deadlock, restarting the CLI, and restart this procedure.

    To exit from | less command, you must type q.

    Example: nmcli c show "Wired connection 1" | less

  4. Set IPv4 to static:

    nmcli c modify <connection-id> ipv4.method manual ipv4.addresses 10.156.44.44/16 ipv4.gateway 10.156.0.254 ipv4.dns 10.156.2.8,10.156.2.10

    Example: nmcli c modify "Wired connection 1" ipv4.method manual ipv4.addresses 10.156.44.44/16 ipv4.gateway 10.156.0.254 ipv4.dns 10.156.2.8,10.156.2.10

  5. Confirm that the properties are correct and that the ipv4.method is manual:

    nmcli c show <connection-id> | less

    Example : nmcli c show "Wired connection 1" | less

  6. Disable automatic DNS assignment from DHCP:

    $ nmcli c modify <connection-id> ipv4.ignore-auto-dns yes

    Example: nmcli c modify "Wired connection 1" ipv4.ignore-auto-dns yes

  7. Activate the newly set parameters:

    $ nmcli c up <connection-id>

    Example: nmcli c up "Wired connection 1"

A message confirms that the connection is successfully activated.

What to do next 

Create a user