- Code: Select all
apt-get install ifenslave-2.6
Then to start the process you need to shut down both of the network interfaces that you want to bond. (not limited to just 2 interfaces if you are wondering. I have bonded 4-10Gig fibre chanels into a 40Gig pipe. To a sys admin, that is bad a$$ throughput) Neways:
- Code: Select all
ifdown eth0
- Code: Select all
ifdown eth1
- Code: Select all
/etc/init.d/networking stop
Then we need to modify
- Code: Select all
vi /etc/network/interfaces
- Code: Select all
gedit /etc/network/interfaces
To look like below. And of course we use a static address in our homes. Turn of DHCP on router, change IP Pools to something other than basic 192.168.0.100, plus limit IP range to only the amount of devices on our home network. Therefore no other connections can be made. Security in this day and age is paramount
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
slaves eth0 eth1
bond-mode active-backup
bond-miimon 100
bond-downdelay 200
bond-updelay 200
Then to active the bond and start network:
- Code: Select all
ifup bond0
- Code: Select all
/etc/init.d/networking start