본딩(Bonding) 구성 후 설정 확인 방법(RHEL,CentOS)
본딩(Bonding) 구성 후 설정 확인 방법
소개
리눅스 초기 구축시 본딩을(Bonding) Active-Backup으로 구성하는데
시간이 지나면 이더넷0번에서 통신하는지 이더넷 1번에서 통신하는지 알 수가 없다.
아래의 내용은 구축한 본딩의 이더넷 포트중 어느 포트가 Active 인지 확인하는 방법을 정리한다.
기본적으로 확인하는 명령어는 RHEL, Centos 동일하며 간단히 볼드체만 봐도 이해가 갈것 같다.
Redhat Enterprise Linux 4.4
sh-3.00$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
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 Link Failure Count: 0 Permanent HW addr: 00:12:34:56:78:90
Slave Interface: eth1 MII Status: up Link Failure Count: 0 Permanent HW addr: 00:12:34:56:79:91 sh-3.00$ |
CentOS 6.2
$ cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
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:12:34:56:78:90 Slave queue ID: 0
Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:12:34:56:79:91 Slave queue ID: 0 |
'시스템운영 > CentOS_Ubuntu_Redhat' 카테고리의 다른 글
리눅스 에러코드 정리 (0) | 2015.04.16 |
---|---|
centos7 rc.local 사용하기 (0) | 2015.04.16 |
Centos : 라이브러리가 포함된 페키지 찾기 (1) | 2015.01.29 |
리눅스 타임존 변경 (1) | 2013.11.07 |
본딩(Bonding) 구성 후 설정 확인 방법(RHEL,CentOS) (0) | 2013.10.29 |
리눅스 바이오스 시간 확인 및 설정 (0) | 2013.09.04 |
리눅스 민트(LinuxMint) 다운로드 경로 (1) | 2013.07.04 |
Linux 명령어 창에서 인터넷 하기 (0) | 2013.07.04 |
CentOS setup 명령어를 찾지 못했을때 조치사항 (0) | 2013.06.24 |