操作示例:将eth01/eth02绑定到一个IP上
(1)在修改内核模块配置文件/etc/modprobe.conf,加入以下内容:
(2)建立bonding网卡文件/etc/sysconfig/network-scripts/ifcfg-bond0,配置如下:
*bonding_opts参数参考:
(3)修改eth01的网卡配置文件:
修改eth02的网卡配置文件:
(4)导入bonding驱动,重启网络服务后生效
操作示例:将eth01/eth02绑定到一个IP上
(1)在修改内核模块配置文件/etc/modprobe.conf,加入以下内容:
(2)建立bonding网卡文件/etc/sysconfig/network-scripts/ifcfg-bond0,配置如下:
*bonding_opts参数参考:
(3)修改eth01的网卡配置文件:
修改eth02的网卡配置文件:
(4)导入bonding驱动,重启网络服务后生效