- 論壇徽章:
- 0
|
我的機子是hpbl25p 四個網(wǎng)口 已經(jīng)安裝過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
昨天晚上網(wǎng)絡(luò)還是好好的,今天早上去網(wǎng)絡(luò)就ping 不通了
運行一下service network restart 網(wǎng)絡(luò)也不通了
重起機器有時候網(wǎng)絡(luò)也會不通
重起機器的時候網(wǎng)絡(luò)并沒報什么錯誤,bond0也是被激活了的 |
|