I’m recycling one of my old post regarding creating a channel bonding from multiple network interfaces with some updated instructions to make it work on modern linux distros.
..In a video format. Have look:
As for the config files’ templates:
/etc/sysconfig/modules/bonding.modules
#!/bin/sh if [ ! -c /dev/input/uinput ] ; then exec /sbin/modprobe bonding >/dev/null 2>&1 fi
/etc/sysconfig/network-scripts/ifcfg-bondN:
DEVICE=bondN IPADDR=aaa.bbb.ccc.ddd NETMASK=ooo.ppp.qqq.rrr ONBOOT=yes BOOTPROTO=none USERCTL=no NM_CONTROLLED=no BONDING_OPTS="mode=1 miimon=100 fail_over_mac=1"
Replace N with your bonding interface id (ie: bond0)
Replace aaa.bbb.ccc.ddd with the IP for the bonding interface
Replace ooo.ppp.qqq.rrr with the netmask for the network
/etc/sysconfig/network-scripts/ifcfg-ifx
DEVICE=ifx BOOTPROTO=none ONBOOT=yes MASTER=bondN SLAVE=yes USERCTL=no NM_CONTROLLED=no
Replace ifx with your network interfaces’ ids (ie: eth0, enp0s3, etc)
Make sure that you put the name of your bonding interface for the value of “MASTER”