本配置为主备模式!

1. 配置bound0 文件

DEVICE=bond0
IPADDR=10.11.11.231
NETMASK=255.255.255.0
GATEWAY=10.11.11.1
DNS1=10.11.11.11
DNS2=10.10.11.11
DOMAIN=lab.com
ONBOOT=yes
BOOTPROTO=static
USERCTL=no
HOTPLUG=NO
NM_CONTROLLED=no
BONDING_OPTS="mode=1 miimon=100"

  

2. 网卡绑定到bound0中

#eth0配置文件
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
#eth4配置文件
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
MASTER=bond0
SLAVE=yes

  

  

 

相关文章:

  • 2022-12-23
  • 2021-04-10
  • 2021-11-12
  • 2021-06-10
  • 2022-01-08
  • 2022-12-23
  • 2022-02-11
  • 2021-10-18
猜你喜欢
  • 2022-02-14
  • 2021-06-01
  • 2021-09-24
  • 2021-04-02
  • 2021-05-05
  • 2021-07-09
  • 2021-10-20
相关资源
相似解决方案