灯火互联
管理员
管理员
  • 注册日期2011-07-27
  • 发帖数41778
  • QQ
  • 火币41290枚
  • 粉丝1086
  • 关注100
  • 终身成就奖
  • 最爱沙发
  • 忠实会员
  • 灌水天才奖
  • 贴图大师奖
  • 原创先锋奖
  • 特殊贡献奖
  • 宣传大使奖
  • 优秀斑竹奖
  • 社区明星
阅读:2392回复:0

ubuntu双网卡bonding配置

楼主#
更多 发布于:2012-09-25 14:47



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
游客

返回顶部