전산쟁이의 기억노트

centos bonding Active 인터페이스 변경 본문

Centos기술노트

centos bonding Active 인터페이스 변경

잘나가는전산쟁이 2022. 8. 12. 13:46
728x90
반응형
SMALL

Bonding이 설정된 환경에서 Active 인터페이스 변경방법

  1. eth0으로 통신이 되어야 하는데 eth1로 통신되고 있어서 eth0으로 원복하기를 원함 
  2. [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
  3. 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

 

centos bonding Active ... | igoni.kr

Bonding이 설정된 환경에서 Active 인터페이스 변경방법 eth0으로 통신이 되어야 하는데 eth1로 통신되고...

igoni.kr

 

728x90
반응형
LIST
Comments