- 论坛徽章:
- 0
|
[root@Mother_FLASH ~]# vi /etc/module.conf
alias bond0 bonding
options bond0 miimon=100 mode=1 primary=eth1
~
~
~
~
~
~
~
~
~
~
~
~
~
"/fsusb/etc/module.conf" [New] 2L, 65C written
[root@Mother_FLASH ~]# cd /etc/sysconfig/network-scripts/
[root@Mother_FLASH network-scripts]# vi ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
BROADCAST=172.100.0.191
IPADDR=172.100.0.138
NETMASK=255.255.255.192
NETWORK=172.100.0.128
ONBOOT=yes
USERCTL=no
[root@Mother_FLASH network-scripts]# vi ifcfg-eth0
DEVICE=eth0
DEVICE=eth0
ONBOOT=yes
MASTER=bond1
SLAVE=yes
BOOTPROTO=none
USERCTL=no
[root@Mother_FLASH network-scripts]# vi ifcfg-eth1
DEVICE=eth1
DEVICE=eth1
ONBOOT=yes
MASTER=bond1
SLAVE=yes
BOOTPROTO=none
USERCTL=no
~
[root@Mother_FLASH network-scripts]# service network restart
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface bond0: Device bond0 does not seem to be present, delaying initialization.
[FAILED] |
|