Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.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 7.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 7.2. The NetworkManager Text User Interface Configuring a Bond Connection menu

  3. At this point port 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 7.3. The NetworkManager Text User Interface Configuring a New Bond Slave Connection menu

  4. The port's Edit Connection display appears; enter the required port'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 port.

    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 7.4. The NetworkManager Text User Interface Configuring a Bond Slave Connection menu

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

    Figure 7.5. The NetworkManager Text User Interface Completed Bond

See Section 7.8.1.1, “Configuring the Bond Tab” for definitions of the bond terms.
See Section 3.2, “Configuring IP Networking with nmtui” for information on installing nmtui.