Skip to content

Instantly share code, notes, and snippets.

@gnilchee
Created September 13, 2015 06:03
Show Gist options
  • Save gnilchee/67224a8e0572e8153e00 to your computer and use it in GitHub Desktop.
Save gnilchee/67224a8e0572e8153e00 to your computer and use it in GitHub Desktop.
example bonding config
DEVICE=bond0
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
BONDING_MASTER=yes
NM_CONTROLLED=no
ONBOOT=yes
IPADDR=[public ip]
PREFIX=[subnet, i.e. 24]
GATEWAY=[gateway ip]
DOMAIN=[domain]
BONDING_OPTS="mode=1 miimon=100" # this sets polling at 100ms and fault-tolerance
DEVICE=eth0
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
NM_CONTROLLED=no
DEVICE=eth1
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
NM_CONTROLLED=no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment