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


'OS > Linux' 카테고리의 다른 글

tmux - window 관리  (0) 2014.05.28
tmux - 세션 관리  (0) 2014.05.28
Apache 상위 디렉토리 금지  (0) 2014.05.21
[Debian]데비안에 zabbix agent 설치하기  (0) 2014.05.15
본딩과 mode  (0) 2014.05.13
posted by 구닥다리 엔지니어
: