Translate Language

EnglishFrenchGermanSpain ItalianDutchRussianPortuguese JapaneseKoreanArabicChinese Simplified

Selasa, 05 Januari 2010

Bagaimana membuat jaringan failover

Network Failover Howto
So you have 2 network adapters in your server and you want to configure one of them to fail over if your connection on the other goes down. It's pretty easy:

Code:

sudo pico /etc/modules

##add this at the bottom
bonding mode=active-backup miimon=100

Save and exit

Code:

sudo apt-get install ifenslave-2.6

Edit your /etc/network/interfaces
Code:

sudo pico /etc/network/interfaces



###Adapter bonding for Eth0 and Eth1
auto bond0
iface bond0 inet static
address 10.0.0.104
netmask 255.255.0.0
gateway 10.0.0.1
post-up ifenslave bond0 eth0 eth1
pre-down ifenslave -d bond0 eth0 eth1


And that's it!

Reboot and test.

Related Posts with Thumbnails
Template by : kendhin kus-kas.blogspot.com