Skip to main content
Version: 2.18.1

Network Manager configuration

note

If your network has a DHCP server, the virtual machine will be assigned an IP address automatically and you can safely skip this guide.

This guide walks through using NMTUI (Network Manager Text User Interface) to assign a static IP to your Single Node VM.

Per your network defined configurations and boundaries

  1. Before configuring the virtual machine's network, you need to know the MAC address of the ethernet the machine is running.

  2. Run nmcli in the console to determine which network the virtual machine is using. Make a note of this.

  3. Once you know which network to edit, run nmtui to launch the Network Manager and select Edit a connection.

NMTUI with the "Edit a connection" option highlighted in the main menu

  1. Based on your configuration requirements:
    • Either Add network adapter or Edit connection.
    • In our example we edit the connection the virtual machine is using.

NMTUI showing a highlighted connection that the example VM is using

  1. Select the option next to IPv4 CONFIGURATION; in our example, it is Automatic. Set this to Manual using the dropdown menu that appears.

NMTUI showing the highlighted option to select. In this example, the option is labeled "Automatic"

NMTUI with the "Manual" option highlighted in the dropdown list

  1. Select Show for the IPv4 configuration. This will provide options to edit IP addresses, gateway and DNS servers.

  2. Enter the required information, then scroll to the bottom and click OK.

NMTUI showing the "Edit Connection" screen with all the necessary options filled out

  1. Navigate back to the Network Manager main screen, then select Activate a connection and ensure your connection is set to Activated.

NMTUI with the "Activate a connection" option highlighted in the main menu

NMTUI showing the connection has been activated

  1. Exit the Network Manager and run the following command:
sudo systemctl restart NetworkManager
  1. Continue following the appropriate Single Node VM deployment page.