[:DebianWiki/EditorGuide#translation:Translation(s)]: none

(!) [:/Discussion:Discussion]


This artical will show how to "bond" two Ethernet connections together to create an auto failover interface.

Bonding

Install packages

First we will need to install 2 packages.

#apt-get install ifenslave-2.6 ifenslave

Config files

We need to edit /etc/network/interfaces to look like this. Change the interfaces (ie: eth0; eth1) to match your needs as well as the IP address information

auto bond0

iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
network 10.31.1.0
gateway 10.31.1.254
up /sbin/ifenslave bond0 eth0 eth1
down /sbin/ifenslave -d bond0 eth0 eth1

Add the following lines to /etc/modprobe.d/arch/i386

alias bond0 bonding
options bonding mode=1 miimon=100 downdelay=200 updelay=200

Last add this line to /etc/modules

bonding

and run

#update-modules

After this you will need to restart the network service or reboot the system.



CategoryNetwork