老版本

把eth1,eth2绑定成一块网卡bond0

新建配置文件如图:

多网卡绑定

多网卡绑定

多网卡绑定

注意:bond0要把硬件地址一行删掉,否则重启network服务会失败

完成。

# cat /proc/net/bonding/bond0          #查看bond0信息
# watch -n 1 "cat /proc/net/bonding/bond0"      #监控此文件

多网卡绑定



新版本(RHEL7)

  1. 首先添加team0,设置模式,添加IP,修改为手动。

  获取模式书写格式:  man teamd.conf   用'{}'引起来

多网卡绑定

多网卡绑定


2.再添加2块物理网卡的配置

多网卡绑定

完成。


teamdctl 命令 查看team0的信息

多网卡绑定







转载于:https://blog.51cto.com/chomper/1687680

相关文章:

  • 2021-09-09
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2021-10-06
猜你喜欢
  • 2021-04-21
  • 2022-12-23
  • 2021-11-09
  • 2021-08-14
  • 2021-10-31
相关资源
相似解决方案