일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 샤샤자
- centos 7
- cockpit
- firewalld
- parted
- WebConsole
- 레펜타
- centos7
- yum
- GDisk
- Windows NTP
- bonding
- 갤럭시
- nmcli
- DELL N Switch
- Local Repository
- OpenStack
- centos8
- VMWare
- eql
- CRS #레드비
- selinux
- 갤럭시 피시본
- packstack
- Today
- Total
딜미의 잡다한 IT 이야기...
Centos 6.x Bonding 본문
1. chkconfig NetworkManager off
2. cat /etc/modprobe.d/bonding.conf 파일생성
[root@localhost ~]# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
3. /etc/sysconfig/network-scripts/ifcfg-bondX 파일 생성
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond1
DEVICE=bond0
BOOTPROTO=none
IPADDR=192.168.100.101
PREFIX=24
#GATEWAY=192.168.100.1
#BROADCAST=192.168.100.255
ONBOOT=yes
USERCTL=no
BONDING_OPTS="mode=1 miimon=50"
NM_CONTROLLED=no
4. slave device 파일 편집
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
#HWADDR=00:1B:78:CD:4A:AE
ONBOOT=yes
USERCTL=no
NM_CONTROLLED=no
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth5
DEVICE=eth5
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
HWADDR=00:1B:78:CD:4A:BA
ONBOOT=yes
USERCTL=no
NM_CONTROLLED=no
5. vi /etc/sysconfig/network
GATEWAYDEV=bond0
6. bonding 모듈 활성화
[root@localhost ~]# modprobe bond0
7. Network Daemon 재시작
[root@localhost ~]# service network restart
8. bonding 동작 확인
[root@localhost ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth3
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:1b:78:cd:4a:ae
Slave Interface: eth5
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:1b:78:cd:4a:ba
9. 재부팅후 정상적인지 확인
'Server > Linux' 카테고리의 다른 글
nmcli 사용방법 (2) | 2019.09.06 |
---|---|
강글리아(Ganglia) 설치 방법 (0) | 2019.09.04 |
리눅스 Log 관련 확인 명령어 모음 (0) | 2017.03.30 |
rsh 구성 방법 CentOS 6.6 (0) | 2017.03.27 |
Linux SWAP 파일로 추가하기 (0) | 2017.03.27 |