Creating the bridge network files

Deploying an HCP VM System on KVM

Version
9.6.x
Audience
anonymous
Part Number
MK-94HCP009-07
You must create two interface configuration bridge files, one for the front end and one for the back end, to connect the virtual HCP VM network to the KVM host network. In this example, the front-end bridge network file is named ifcfg-front-end, and the back-end bridge network file is named ifcfg-back-end.
  1. Enter the following command to open the network-scripts folder:
    cd /etc/sysconfig/network-scripts/
  2. Enter the following command to create the front-end bond network file:
    vi ifcfg-front-end
  3. Press I to edit the file.
  4. Enter the following text:
    DEVICE="Device-Name"
    ONBOOT="yes"
    TYPE="Bridge"
    BOOTPROTO="none"
    IPADDR="Node-IP-Address"
    NETMASK="Netmask-IP-Address"
    GATEWAY="Gateway-IP-Address"
    IPV6INIT="yes"
    IPV6_AUTOCONF="no"
    DHCPV6C="no"
    STP="on"
    DELAY="0.0"
    Here is an example of the completed file:
    DEVICE="front-end"
    ONBOOT="yes"
    TYPE="Bridge"
    BOOTPROTO="none"
    IPADDR="192.168.210.16"
    NETMASK="255.255.254.0"
    GATEWAY="192.168.210.254"
    IPV6INIT="yes"
    IPV6_AUTOCONF="no"
    DHCPV6C="no"
    STP="on"
    DELAY="0.0"
    
  5. Press Esc.
  6. Enter the following command to save and exit the file:
    :wq
  7. Enter the following command to create the back-end bond network file:
    vi ifcfg-bond1
  8. Press I to edit the file.
  9. Enter the following text:
    DEVICE="Device-Name"
    STP="on"
    TYPE="Bridge"
    BOOTPROTO="none"
    IPV4_FAILURE_FATAL="no"
    NAME="Bridge-Name"
    ONBOOT="yes"
    DELAY="0.0"
    Here is an example of the completed file:
    DEVICE="Back-End"
    STP="on"
    TYPE="Bridge"
    BOOTPROTO="none"
    IPV4_FAILURE_FATAL="no"
    NAME="back-end"
    ONBOOT="yes"
    DELAY="0.0"
  10. Press Esc.
  11. Enter the following command to save and exit the file:
    :wq