1 bond0
vim ifcfg-bond0
DEVICE=bond0
BOOTPROTO=static
BROADCAST=
IPADDR=
NETMASK=
GATEWAY=
NETWORK=
ONBOOT=yes
TYPE=Ethernet
2. eth0, eth1
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
3. vim /etc/modeprobe.conf
alias bond0 bonding miimon=100 mode=1
4. vim /etc/rc.d/rc.local
ifenslave bond0 eth0
ifenslave bond0 eth1
modprobe bonding
vim ifcfg-bond0
DEVICE=bond0
BOOTPROTO=static
BROADCAST=
IPADDR=
NETMASK=
GATEWAY=
NETWORK=
ONBOOT=yes
TYPE=Ethernet
2. eth0, eth1
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
3. vim /etc/modeprobe.conf
alias bond0 bonding miimon=100 mode=1
4. vim /etc/rc.d/rc.local
ifenslave bond0 eth0
ifenslave bond0 eth1
modprobe bonding
本文介绍如何在Linux系统中配置Bonding网络接口以实现负载均衡和故障转移。具体步骤包括设置bond0接口为静态IP地址,配置eth0和eth1加入到bond0组,并通过modprobe加载Bonding模块。
739

被折叠的 条评论
为什么被折叠?



