서버

CentOS bonding

ruiH 2022. 2. 4. 23:19

랜카드 여러개를 하나로 묶어 사용, 일부 고장에 대처 가능

총 4개중에 하나는 Manage 용, 나머지 3개를 묶어서 사용 할 예정

cd /etc/sysconfig/network-scripts 에서 작업

 

slave interface
bond0 file 생성

cd /etc/modprobe.d 에서 vi bonding.conf

alias bond0 bonding

options bond0 mode=4 miimon=100

 

nmtui 에서 bonding mode를 802.3ad로 해주었다.

실제 스위치에서는 etherchannel group으로 묶어주어 bond0과 통신할 수 있게 했다.

확인

LACP Active로 사용

확인