리눅스 본딩 구성

1 개요[ | ]

리눅스 본딩 구성
  • eth0 + eth1 → bond0
  • 아래 파일들 참고하여 설정

2 /etc/modprobe.d/bonding.conf[ | ]

  • 다음 내용으로 파일 생성[1]
alias bond0 bonding

3 /etc/sysconfig/network-scripts/ifcfg-eth0[ | ]

DEVICE=eth0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no

4 /etc/sysconfig/network-scripts/ifcfg-eth1[ | ]

DEVICE=eth1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no

5 /etc/sysconfig/network-scripts/ifcfg-bond0[ | ]

DEVICE=bond0
IPADDR=192.168.0.101
NETMASK=255.255.255.0
BONDING_OPTS="mode=1 miimon=100"
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no

6 같이 보기[ | ]

7 주석[ | ]

  1. bonding.conf 파일 생성하지 않고 /etc/modprobe.conf 하단에 기입해도 되지만 권장되지 않음
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}