DELL 서버 듀얼 NIC 바인딩 방법
첫 번째 단계: bond0 파일 편집
[root@db ~]# vim /etc/sysconfig/network-scripts/bond0
DEVICE=bond0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=no
IPADDR=172.16.1.2
NETMASK=255.255.0.0
GATEWAY=172.16.1.1 2단계: ifcfg-em1 파일 편집
[root@db ~]# vim /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
HWADDR=14:18:77:27:2A:A2
TYPE=Ethernet
UUID=9f9df849-873a-44ea-ac41-62410b88079
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=no
MASTER=bond0
SLAVE=yes 3단계: ifcfg-em2 파일 편집
[root@db ~]# vim /etc/sysconfig/network-scripts/ifcfg-em2
DEVICE=em2
TYPE=Ethernet
UUID=9f9df849-873a-44ea-ac41-62410b88079
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=no
MASTER=bond0
SLAVE=yes 4단계: 편집 bonding.conf 파일
[root@db ~]# vim /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 miimon=100 mode=1 use_carrier=0 5단계: 네트워크 서비스 재시작
[root@db ~]#service network restart 6단계: 네트워크 카드 바인딩 정보 보기
[root@db ~]# cat /proc/net/bonding/bond0