免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1143 | 回复: 0
打印 上一主题 下一主题

[网络管理] 关于linux as 4 u3下网络老是掉 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-19 16:40 |只看该作者 |倒序浏览
我的机子是hpbl25p 四个网口 已经安装过psp包
我将eth0和eth2做了一个绑定,绑定的步骤如下:
To configure two network devices for channel bonding, perform the following:
1.        Create a bonding devices in /etc/modprobe.conf. For example:
alias bond0 bonding
options bonding miimon=100 mode=1

2.        This loads the bonding device with the bond0 interface name, as well as passes options to the bonding driver to configure it as an active-backup master device for the enslaved network interfaces.
3.        Edit the /etc/sysconfig/network-scripts/ifcfg-ethX configuration file for both eth0 and eth1 so that the files show identical contents. For example:
DEVICE=ethX
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

4.        This will enslave ethX (replace X with the assigned number of the Ethernet devices) to the bond0 master device.
5.        Create a network script for the bonding device (for example, /etc/sysconfig/network-scripts/ifcfg-bond0), which would appear like the following example:
DEVICE=bond0
USERCTL=no
ONBOOT=yes
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
IPADDR=192.168.1.10

6.        Reboot the system for the changes to take effect

昨天晚上网络还是好好的,今天早上去网络就ping 不通了
运行一下service network restart 网络也不通了
重起机器有时候网络也会不通
重起机器的时候网络并没报什么错误,bond0也是被激活了的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP