CentOS 7 Teamed Interface on Virtual Box

I wanted to have a look at the NetworkManager utilities in CentOS 7 so I thought I’d test out a teamed (aka bonded) interface. So here’s my setup.

  • Virtual Box Version 5.0.14 r105127
  • CentOS Linux release 7.2.1511 (Core)
  • Network 1 – NAT
  • Network 2 & 3 – Host Only

  • Setup looks like the following.

    CentOS 7 Setup

    So now on to the config. I’ll be using the nmcli command line utility to configure it in an active-backup setup. First create the teamed interface.

    One thing I found out early was that I needed to set the fail_over_mac parameter to 1 as Virtual Box does not like the bond to get the same MAC address for all nics. Setting this parameter means the bond will get the MAC of the active nic.

    Now I can add the slaves.

    Startup up all the components.

    We can check our setup and it looks good for now.

    And now we can down some interfaces and see the bonding in action.

    Our network connectivity survived and we can see from the above the MAC address for the bond changed to the active nic.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    CAPTCHA * Time limit is exhausted. Please reload CAPTCHA.