老版本

把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

相关文章: