'2014/09'에 해당되는 글 1건

  1. 2014.09.01 CentOS(RHEL) 네트워크 본딩(Bonding)

CentOS 5 / Centos 6 기준


[root@linux]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE="bond0"
BOOTPROTO="static"
BROADCAST="XXX.XXX.XXX.XXX"
GATEWAY="XXX.XXX.XXX.XXX"
IPADDR="XXX.XXX.XXX.XXX"
NETMASK="XXX.XXX.XXX.XXX"
ONBOOT="yes"
TYPE="BOND"


[root@linux]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
HWADDR="XX:XX:XX:XX:XX:XX"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="no"
MASTER="bond0"
SLAVE="yes"


[root@linux]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="none"
HWADDR="XX:XX:XX:XX:XX:XX"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="no"
MASTER="bond0"
SLAVE="yes"


[root@linux]# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 mode=1 miimon=100

본딩옵션


[root@linux]# cat /etc/sysconfig/network
~~~~기존설정~~~~
GATEWAYDEV=bond0


#modprobe bonding

#service network restart








Posted by 호랭이~