Configuring the front-end interface configuration files for bonding

Deploying an HCP VM System on KVM

Version
9.6.x
Audience
anonymous
Part Number
MK-94HCP009-07

To bridge the front-end network, configure the host operating system to specify the physical network interfaces that will constitute the bond in the front-end interface configuration. In this example, the first front-end network configuration file is named ifcfg-eno1, and the second front-end network configuration file is named ifcfg-eno3.

Note: Do not delete information that is specific to your system network configuration.
  1. Enter the following command to open the network-scripts folder:
    cd /etc/sysconfig/network-scripts/
  2. Enter the following command to access the first front-end network configuration file:
    vi ifcfg-eno1
  3. Press I to edit the file.
  4. Replace the existing contents with the following text:
    NAME=Bond-device-name
    DEVICE=Device-Name
    ONBOOT=yes
    MASTER=Front-End-Bond-File
    SLAVE=yes
    
    Note: Do not delete information that is particular to your system network configuration.
    Here is an example of the completed file:
    NAME=bond0-en01
    DEVICE=eno1
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes 
  5. Press Esc.
  6. Enter the following command to save and exit the file:
    :wq
  7. Enter the following command to access the second front-end network configuration file:
    vi ifcfg-eno3
  8. Press I to edit the file.
  9. Replace the existing contents with the following text:
    NAME=Bond-device-name
    DEVICE=Device-Name
    ONBOOT=yes
    MASTER=Front-End-Bond-File
    SLAVE=yes 
    Note: Do not delete information that is particular to your system network configuration.
    Here is an example of the completed file:
    NAME=bond0-en03
    DEVICE=eno3
    ONBOOT=yes
    MASTER=bond0
    SLAVE=yes
  10. Press Esc.
  11. Enter the following command to save and exit the file:
    :wq