Setup:
/etc/modules-load.d/bonding.conf:
bonding
/etc/modprobe.d/bonding.conf:
options bonding max_bonds=0
/etc/sysconfig/network-scripts/ifcfg-host0:
NAME="host0"
DEVICE="host0"
NM_CONTROLLED=no
ONBOOT=yes
USERCTL=no
TYPE=Ethernet
BOOTPROTO=none
BONDING_OPTS="mode=802.3ad lacp_rate=slow miimon=250 xmit_hash_policy=layer2+3"
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPADDR=192.168.1.1
PREFIX=31
GATEWAY=192.168.1.0
/etc/sysconfig/network-scripts/ifcfg-eno1:
NAME=eno1
DEVICE=eno1
TYPE=Ethernet
USERCTL=no
SLAVE=yes
MASTER=host0
BOOTPROTO=none
ONBOOT=yes
NM_CONTROLLED=no
/etc/sysconfig/network-scripts/ifcfg-eno2:
NAME=eno2
DEVICE=eno2
TYPE=Ethernet
USERCTL=no
SLAVE=yes
MASTER=host0
BOOTPROTO=none
ONBOOT=yes
NM_CONTROLLED=no
Brak komentarzy:
Prześlij komentarz