4.2. Configure Bonding Using the Text User Interface, nmtui

The text user interface tool nmtui can be used to configure bonding in a terminal window. Issue the following command to start the tool:
~]$ nmtui
The text user interface appears. Any invalid command prints a usage message.
To navigate, use the arrow keys or press Tab to step forwards and press Shift+Tab to step back through the options. Press Enter to select an option. The Space bar toggles the status of a check box.
  1. From the starting menu, select Edit a connection. Select Add, the New Connection screen opens.
    The NetworkManager Text User Interface Add a Bond Connection menu

    Figure 4.1. The NetworkManager Text User Interface Add a Bond Connection menu

  2. Select Bond and then Create; the Edit connection screen for the bond will open.
    The NetworkManager Text User Interface Configuring a Bond Connection menu

    Figure 4.2. The NetworkManager Text User Interface Configuring a Bond Connection menu

  3. At this point slave interfaces will need to be added to the bond; to add these select Add, the New Connection screen opens. Once the type of Connection has been chosen select the Create button.
    The NetworkManager Text User Interface Configuring a New Bond Slave Connection menu

    Figure 4.3. The NetworkManager Text User Interface Configuring a New Bond Slave Connection menu

  4. The slave's Edit Connection display appears; enter the desired slave's device name or MAC address in the Device section. If required, enter a clone MAC address to be used as the bond's MAC address by selecting Show to the right of the Ethernet label. Select the OK button to save the slave.

    Note

    If the device is specified without a MAC address the Device section will be automatically populated once the Edit Connection window is reloaded, but only if it successfully finds the device.
    The NetworkManager Text User Interface Configuring a Bond Slave Connection menu

    Figure 4.4. The NetworkManager Text User Interface Configuring a Bond Slave Connection menu

  5. The name of the bond slave appears in the Slaves section. Repeat the above steps to add further slave connections.
  6. Review and confirm the settings before selecting the OK button.
    The NetworkManager Text User Interface Completed Bond

    Figure 4.5. The NetworkManager Text User Interface Completed Bond

See Section 4.6.1.1, “Configuring the Bond Tab” for definitions of the bond terms.