달력

52024  이전 다음

  • 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

- Bond 교체 작업 -

 

1. 기본 Bond1(eth1+eth5) 제거

# ifdown bond1

# rmmod bond1

# vi /etc/sysconfig/network-scripts/ifcfg-eth1

# vi /etc/sysconfig/network-scripts/ifcfg-eth5

<중략>

#MASTER=bond1

#SLAVE=yes

▶ 파일을 열어 해당 라인 주석처리

 

2. Bond1(eth2+eth6) 본딩 추가

# vi /etc/sysconfig/network-scripts/ifcfg-eth2

# vi /etc/sysconfig/network-scripts/ifcfg-eth6

ONBOOT=yes

<중략>

MASTER=bond1

SLAVE=yes

USERCTL=no

▶ ONBOOT옵션을 “no”에서 ‘yes”변경

▶ 위의 설정 추가

 

3. 변경한 bond1 인터페이스 활성화 및 속도 체크

# ifup bond1

# ethtool eth2

# ethtool eth6

# cat /proc/net/bonding/bond1

 

 

- Bond 원복 작업 -

1. 변경한 Bond1(eth2+eth6) 제거

# ifdown bond1

# rmmod bond1

# vi /etc/sysconfig/network-scripts/ifcfg-eth2

# vi /etc/sysconfig/network-scripts/ifcfg-eth6

<중략>

#MASTER=bond1

#SLAVE=yes

▶ 파일을 열어 해당 라인 주석처리

 

2. 기존 Bond1(eth1+eth5) 복구

# vi /etc/sysconfig/network-scripts/ifcfg-eth1

# vi /etc/sysconfig/network-scripts/ifcfg-eth5

<중략>

MASTER=bond1

SLAVE=yes

▶ 주석처리 했던 라인의 주석 해제

 

3. 변경한 bond1 인터페이스 활성화 및 속도 체크

# ifup bond1

# ethtool eth1

# ethtool eth5

# cat /proc/net/bonding/bond1

 

Posted by 짜꾸미의골골몽
|