Home > Linux, Networking > Network Link Redundancy

Network Link Redundancy

February 14, 2008 Jabi Leave a comment Go to comments

Folow these steps to create a Link redundancy in a server with two ethernet cards in Debian 4.0Etch.

- 1. apt-get install ifenslave (ifenslave-2.6)

- 2. Create a file called aliases-bond in /etc/modprobe.d/ with the next content:

|alias bond0 bonding|

|options bond0 mode=1 arp_internal=2000 arp_ip_target=”the gateway”|

- 3. load bonding with this command -> modprobe bonding

- 4. add “bonding” to /etc/modules

- 5. Edit /etc/network/interfaces

|auto bond0|

|iface bond0 inet static|

|pre-up modprobe bond0|

|hwaddress ether “the mac address of one of the ethernet card”|

|address “ip address”|

|netmask “subnet mask”|

|gateway “gateway”|

|dns-nameservers X.X.X.X  X.X.X.X|
|up ifenslave bond0 eth0 eth1|

|down ifenslave -d bond0 eth0 eth1|

It Works!!

;)

Categories: Linux, Networking Tags: , ,
  1. February 14, 2008 at 2:09 pm | #1

    nice documentation, dude!
    keep the good works…
    :D

  2. March 24, 2008 at 1:47 pm | #2

    Interesting text!, man

  1. No trackbacks yet.