OS/Linux
본딩 구성
구닥다리 엔지니어
2014. 5. 21. 22:01
네트워크 설정 파일을 수정해서 본딩을 구성한다.
다음은 eth0, eth1을 본딩했을 경우다.
1. ifcfg-bond0 파일 생성
cd /etc/sysconfig/network-script
touch ifcfg-bond0
2. ifcfg-bond0 파일에 내용 추가
DEVICE="bond0"
BOOTPROTO="none"
ONBOOT="yes"
IPADDR=111.111.111.111
NETMASK=255.255.255.0
GATEWAY=111.111.111.1
3. ifcfg-eth0 수정
DEVICE="eth0"
BOOTPROTO="none"
ONBOOT=yes
MASTER=bond0
SLAVE=yes
4. ifcfg-eth1 수정
DEVICE="eth1"
BOOTPROTO="none"
ONBOOT=yes
MASTER=bond0
SLAVE=yes
5. /etc/modprobe.conf 파일 수정
alias bond0 bonding
options bonding mode=0
options bond0 miimon=100