标签:prot option 5.0 sla sys gateway 网卡 技术分享 add
添加多网卡
vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
NAME=bond0
TYPE=Bond
BONDING_MASTER=yes
IPADDR=192.168.1.142
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
BONDING_OPTS="mode=6 miimon=100"
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
MASTER=bond0
SLAVE=yes
USERCTL=no
vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
ONBOOT="yes"
MASTER=bond0
SLAVE=yes
USERCTL=no
vi /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 miimon=100 mode=6
标签:prot option 5.0 sla sys gateway 网卡 技术分享 add
原文地址:http://www.cnblogs.com/han1094/p/6500855.html