{{tag>[linux RHEL bond bonding team teaming]}}
====== bond ======
===== Example =====
++++ bond 구성(eth0, eth1 -> bond0) |
''/etc/sysconfig/network/script''
DEVICE=bond0
BOOTPROTO=none
onBOOT=yes
BOOTPROTO=static
IPADDR=10.10.10.11
NETMASK=255.255.255.0
GATEWAY=10.10.10.1
* ''BONDING_OPTS="mode=1 miimon=100 primary=eht0'': Active-Standby 설정시 Active 인터페이스 설정
DEVICE=eth0
BOOTPROTO=none
onBOOT=yes
MASTER=bond0
SLAVE=yes
DEVICE=eth1
BOOTPROTO=none
onBOOT=yes
MASTER=bond0
SLAVE=yes
''/etc/modprobe.d/''
alias bond0 bonding
options bond0 mode=4 miimon=100
* ''mode=0'': (default) Round Robin 방식
* ''miimon=100'': 링크 확인 시간(ms) 0은 인터페이스 상태 체크 안함. -> fail over 발생
modprobe bonding # 모듈 적재
++++
++++ 본드 인터페이스를 게이트웨이로 설정 |
''/etc/sysconfig/''
# ...
GATEDEV=bond0
네트워크 다시 시작 필요
++++
++++ 본드 확인 |
cat /proc/net/bonding/bond0