LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multiple Link Load Balancing question

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Multiple Link Load Balancing question
From: "Alexandre CASSEN" <alexandre.cassen@xxxxxxxxxxxxxx>
Date: Tue, 22 Jan 2002 09:22:44 +0100
Hi Tin,

> The ip and netmask make me very confuse can you describe for me ?

http://www.netfilter.org/documentation/HOWTO//networking-concepts-HOWTO-4.html#ss4.1

> ip addr add dev teql0 11.22.33.33/28
> ip route add 0.0.0.0/0 via 11.22.33.34 dev teql0 table main
> why the default gateway 11.22.33.34 not 11.22.33.33 dev teql0?

Oops, yes mistake :) => teql0 ip add must be 11.22.33.34

> how can i do if i have this two net 192.168.1.32/27 gateway 192.168.1.33
on
> eth0 and 192.168.1.64/27 gateway 192.168.1.65 on eth1

Add ip route to your next hop.

ip route add 192.168.1.32/27 via 192.168.1.33 dev eth0
ip route add 192.168.1.64/27 via 192.168.1.65 dev eth1

I recommand you to test the equalized interface (teql0) with one interface
(eth0 for example) to test the setup. Then add both.


Best regards,
Alexandre

PS: If your are running 2.2 Julian Dead Gateway Detection is a great
solution.



<Prev in Thread] Current Thread [Next in Thread>
  • Re: Multiple Link Load Balancing question, Alexandre CASSEN <=