May 9, 2010

Bonding-Ubuntu 8.04之後的版本

Installation
------------------------------------------------------
sudo apt-get install ifenslave

.......................................................................

Module Alias Configuration
------------------------------------------------------
create the following file:
sudo vi /etc/modprobe.d/bonding.conf
with the following contents
alias bond0 bonding
options bonding mode=0 miimon=100

........................................................

Interface Configuration
-----------------------------------------------------
now we need to create some entries in our network configuration
sudo vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp

auto bond0
iface bond0 inet static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
slaves eth0 eth1
bond-mode 4
bond-miimon 100

0推薦此文章
Today's Visitors: 0 Total Visitors: 12
Personal Category: Linux Topic: feeling / personal / murmur
Previous in This Category: Ubuntu 9.10 安裝USB網卡   Next in This Category: Webmin - Ubuntu版
[Trackback URL]

No one can comment

誰來收藏
Loading ...
unlog_NVPO 0