RHEL 5.x/6.x Bonding
페이지 정보
작성자
본문
chkconfig *6.x NetworkManager 미지원
service NetworkManager stop
chkconfig NetworkManager off
vi /etc/modprobe.conf
alias 본딩명 bonding
vi /etc/sysconfig/network-scripts/ifcfg-본딩명
DEVICE=본딩명
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.2
USERCTL=no
BONDING_OPTS="mode=1 miimon=100"
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
MASTER=본딩명
SLAVE=yes
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
MASTER=본딩명
SLAVE=yes
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
modprobe bonding
lsmod
service network restart
cat /proc/net/bonding/본딩명
참고) 멀티 ip
vi /etc/sysconfig/network-scripts/ifcfg-본딩명:1
DEVICE=본딩명:1
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.3
USERCTL=no
BONDING_OPTS="mode=1 miimon=100"
vi /etc/sysconfig/network-scripts/ifcfg-본딩명:2
DEVICE=본딩명:2
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.4
USERCTL=no
BONDING_OPTS="mode=1 miimon=100"
service network restart
댓글목록
등록된 댓글이 없습니다.