bond 구성(eth0, eth1 -> bond0)
/etc/sysconfig/network/script
- ifcfg-bond0)
DEVICE=bond0
BOOTPROTO=none
onBOOT=yes
BOOTPROTO=static
IPADDR=10.10.10.11
NETMASK=255.255.255.0
GATEWAY=10.10.10.1
- ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
onBOOT=yes
MASTER=bond0
SLAVE=yes
- ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
onBOOT=yes
MASTER=bond0
SLAVE=yes
/etc/modprobe.d/
- bonding.conf
alias bond0 bonding
options bond0 mode=4 miimon=100
modprobe bonding # 모듈 적재
본드 인터페이스를 게이트웨이로 설정
/etc/sysconfig/
- network
# ...
GATEDEV=bond0
네트워크 다시 시작 필요
++++ 본드 확인 |
USER
cat /proc/net/bonding/bond0