[MIP-391] λ„€νŠΈμ› 케이블 λ½‘μ•˜μ„λ•Œ 인식 μ•ˆλ¨

Subject
λ„€νŠΈμ› 케이블 λ½‘μ•˜μ„λ•Œ 인식 μ•ˆλ¨ο…‚

APPLIES TO:
3.6




SYMPTOMS
test ip μ•ˆλ„£μ€ μƒνƒœμ—μ„œ 케이블 λ½‘μ•˜μ„λ•Œ μž₯μ•  인식 μ•ˆλ¨.
ν˜„μž¬ λ³Έλ”© κ΅¬μ„±μž…λ‹ˆλ‹€.
bonding ꡬ성 ν‘œμ€€ : RHEL 6.2 x64 κΈ°μ€€μž…λ‹ˆλ‹€.

1. bonding.conf 파일 생성
root@b1 ~# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding

2. ifcfg-bond0 파일 생성
root@b1 ~# cd /etc/sysconfig/network-scripts/
root@b1 network-scripts# cat ifcfg-bond0
DEVICE=""bond0""
NAME=""bond0""
#HWADDR=""00:1E:C9:AB:09:A7""
NM_CONTROLLED=""no""
ONBOOT=""yes""
BOOTPROTO=none
IPADDR=10.20.3.31
NETMASK=255.255.0.0
BONDING_OPTS=""miimon=1000 mode=active-backup""

3. bonding의 slaveκ°€ λ˜λŠ” interface μ„ΈνŒ…

root@b1 network-scripts# cat ifcfg-eth0
DEVICE=""eth0""
HWADDR=""00:1E:C9:AB:09:A7""
NM_CONTROLLED=""no""
ONBOOT=""yes""
BOOTPROTO=static
MASTER=bond0
SLAVE=yes

root@b1 network-scripts# cat ifcfg-eth1
DEVICE=""eth1""
HWADDR=""00:1E:C9:AB:09:A9""
NM_CONTROLLED=""no""
ONBOOT=""yes""
BOOTPROTO=static
MASTER=bond0
SLAVE=yes

4. network restart



CAUSE
bond0 ꡬ성 였λ₯˜λ‘œ 판λͺ….
μˆ˜μ • λ‚΄μš©μ΄ μ—†μœΌλ―€λ‘œ Won't Fix 둜 μ’…κ²°ν•©λ‹ˆλ‹€.Β 



SOLUTION
원인은 bond0 λ₯Ό κ΅¬μ„±ν•˜λŠ” Slave μΈν„°νŽ˜μ΄μŠ€μ˜ MAC Address κ°€ 잘λͺ» μ„€μ •λ˜μ–΄ μžˆμ—ˆλ˜ 것이 μ›μΈμž…λ‹ˆλ‹€.
이럴 경우 bond0 λ₯Ό κ΅¬μ„±ν•˜λŠ” eth0, eth1 λŠ” unplug λ“±μ˜ μƒνƒœκ°€ κ°±μ‹ λ˜μ§€λ§Œ bond0 의 μƒνƒœλŠ” κ°±μ‹ λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€ (μ»€λ„μ˜ μž₯치 μƒνƒœλ„ μ—…λ°μ΄νŠΈ λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.)

Β