goback add

ubuntu双网卡bonding配置

2897 点击·0 回帖
灯火互联
楼主



ubuntu双网卡bonding配置

UBUNTU下双网卡绑定非常简单,使用以下步骤:
1.安装软件
apt-get install ifenslave
  www.atcpu.com  
2.修改配置文件
/etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet dhcp
auto bond0
iface bond0 inet static
address 64.0.177.20
netmask 255.255.255.0
gateway 64.0.177.254
up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1
www.atcpu.com  
3.加载模块
vi /etc/modules
bonding

完成!

喜欢0 评分0