250x250
반응형
Notice
Recent Posts
Recent Comments
전산쟁이의 기억노트
centos bonding Active 인터페이스 변경 본문
728x90
반응형
SMALL
Bonding이 설정된 환경에서 Active 인터페이스 변경방법
- eth0으로 통신이 되어야 하는데 eth1로 통신되고 있어서 eth0으로 원복하기를 원함
[root@localhost ~]# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth1 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Slave Interface: eth0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:00:00:00:00:00 Slave queue ID: 0 Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:00:00:00:00:01 Slave queue ID: 0
- bond0활성화된 인터페이스 바꾸기 eth1 -> eth0
[root@localhost ~]# ifenslave -c bond0 eth0 [root@localhost ~]# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Slave Interface: eth0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:00:00:00:00:00 Slave queue ID: 0 Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:00:00:00:00:01 Slave queue ID: 0
출처 - http://igoni.kr/books/linux/page/centos-bonding-active
728x90
반응형
LIST
'Centos기술노트' 카테고리의 다른 글
리눅스에서 사용자 관리하기-1 (0) | 2022.08.12 |
---|---|
Centos UUID확인방법 (0) | 2022.08.12 |
Centos 4.x 리포지터리 변경 방법 (0) | 2022.08.12 |
Bash 임의코드 실행 취약점 보안업데이트 (0) | 2022.08.12 |
리눅스 메모리 반환 (0) | 2022.08.12 |
Comments