DEVICE=eth0
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
1 개요
- 리눅스 본딩 구성
- eth0, eth1 → bond0
- eht2, eth3 → bond1
- /etc/sysconfig/network-scripts/ 폴더에 설정
2 ifcfg-eth0
Copy
3 ifcfg-eth1
Copy
DEVICE=eth1
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
4 ifcfg-eth2
Copy
DEVICE=eth2
MASTER=bond1
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
5 ifcfg-eth3
Copy
DEVICE=eth3
MASTER=bond1
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
6 ifcfg-bond0
Copy
DEVICE=bond0
IPADDR=192.168.0.101
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=8.8.8.8
DNS2=8.8.4.4
BONDING_OPTS="mode=1 miimon=100"
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
7 ifcfg-bond1
Copy
DEVICE=bond1
IPADDR=10.10.0.101
NETMASK=255.255.255.0
BONDING_OPTS="mode=1 miimon=100"
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
8 route-bond1
Copy
10.10.0.0/16 via 10.10.0.1 dev bond1
9 같이 보기
10 참고 자료
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.