Child pages
  • Configure Pair Bonding, VLANs, and Bridges for KVM Hypervisor

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Make ifconfig commands more consistent

...

  • Edit /etc/sysconfig/network-scripts/ifcfg-eth0.
    • Ensure that HWADDR matches the actual MAC address of the physical port.
      • Run "/sbin/ifconfig eth0" to report this if necessary.
    • Notice the necessary bonding settings for MASTER and SLAVE.
    • Notice the MTU, for jumbo frames.
    • Notice the NM_CONTROLLED=no, to block NetworkManager from touching this port.
      Code Block
      BOOTPROTO=none
      DEVICE=eth0
      HWADDR=aa:bb:cc:dd:ee:ff
      MASTER=bond0
      ## Optional, use for jumbo frames if needed
      #MTU=9000
      NM_CONTROLLED=no
      NOZEROCONF=yes
      ONBOOT=yes
      SLAVE=yes
      TYPE=Ethernet
      
      
  • Edit /etc/sysconfig/network-scripts/ifcfg-eth1.
    • Adjust the HWADDR to match the actual MAC address of the port.
      • Run "/sbin/ifconfig -aeth1" to report this.
    • Notice the bonding settings for MASTER and SLAVE.
    • Notice the MTU, for jumbo frames.
    • Notice the NM_CONTROLLED=no, to block NetworkManager from touching this port.
      Code Block
      BOOTPROTO=none
      DEVICE=eth1
      HWADDR=aa:bb:cc:dd:ee:ff
      MASTER=bond0
      ## Optional, use for jumbo frames if needed
      #MTU=9000
      NM_CONTROLLED=no
      NOZEROCONF=yes
      ONBOOT=yes
      SLAVE=yes
      TYPE=Ethernet
      
      

...