리눅스 본딩 확인

Jmnote (토론 | 기여)님의 2015년 10월 21일 (수) 14:18 판
리눅스 이더넷 bond 확인
리눅스 bonding 확인
리눅스 bonding 정보 수집

1 방법 1: bondN 파일

[root@zetawiki ~]# grep -H ^'Slave Interface'  /proc/net/bonding/bond*
/proc/net/bonding/bond0:Slave Interface: eth0
/proc/net/bonding/bond0:Slave Interface: eth1
/proc/net/bonding/bond1:Slave Interface: eth2
/proc/net/bonding/bond1:Slave Interface: eth3
→ eth0 + eth1 = bond0
→ eth2 + eth3 = bond1

2 방법 2: ifcfg-ethN 파일

[root@zetawiki ~]# grep -H MASTER= /etc/sysconfig/network-scripts/ifcfg-eth*
/etc/sysconfig/network-scripts/ifcfg-eth0:MASTER=bond0
/etc/sysconfig/network-scripts/ifcfg-eth1:MASTER=bond0
/etc/sysconfig/network-scripts/ifcfg-eth2:MASTER=bond1
/etc/sysconfig/network-scripts/ifcfg-eth3:MASTER=bond1
→ eth0 + eth1 = bond0
→ eth2 + eth3 = bond1

3 방법 3: ip link

[root@zetawiki ~]# ip link | grep bond0
4: eth2: <BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 100
  link/ether 00:80:c8:e7:ab:5c brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,NOARP,SLAVE,DEBUG,AUTOMEDIA,PORTSEL,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 100
  link/ether 00:80:c8:e7:ab:5c brd ff:ff:ff:ff:ff:ff
58: bond0: <BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue
  link/ether 00:80:c8:e7:ab:5c brd ff:ff:ff:ff:ff:ff

4 같이 보기

5 참고 자료