linux配置网卡绑定

1.确定好要绑定的那两个网口

我这边要绑定的是两个业务口  em2、em3

2.配置ifcfg-bond0、em2、em3

3.修改配置文件/etc/modprcode.d/disk.conf

底部添加   slias bond0 bonding

       options bonding mode=0 miimon=100

vi /etc/rc.d/rc.local

底部添加  

     ifenslave bond0 em1 em2  

     route add default gw 10.10.10.1

4.重启网络 service network restart

原文地址:https://www.cnblogs.com/ccylovehs/p/6221187.html