LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   load balancing failed (https://www.linuxquestions.org/questions/linux-networking-3/load-balancing-failed-684511/)

please 11-19-2008 02:14 AM

load balancing failed
 
Hi sirs
Following are my load balance server result
10.243.49.0/29 dev eth1 proto kernel scope link src 10.243.49.3
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.254
10.160.64.0/21 dev eth2 proto kernel scope link src 10.160.65.234
169.254.0.0/16 dev eth2 scope link
default equalize
nexthop via 10.243.49.1 dev eth1 weight 1
nexthop via 10.160.64.1 dev eth2 weight 1

Chain PREROUTING (policy ACCEPT)
num target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
1 MASQUERADE 0 -- 192.168.0.0/24 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
num target prot opt source destinat


bwm-ng v0.6 (probing every 0.500s), press 'h' for help
input: libstatnet type: rate
/ iface Rx Tx Total
==============================================================================
lo: 0.00 KB/s 0.00 KB/s 0.00 KB/s
eth0: 4.40 KB/s 10.86 KB/s 15.26 KB/s
eth1: 6.24 KB/s 4.49 KB/s 10.72 KB/s
eth2: 4.18 KB/s 0.41 KB/s 4.59 KB/s
------------------------------------------------------------------------------
total: 14.82 KB/s 15.76 KB/s 30.58 KB/s


worked for me but net very slow when 1 link failed



How can I fix that?

Please help me

Thanks
Please

estabroo 11-19-2008 07:25 PM

what about something (daemon) that monitors the connections and changes the route when they go up and down? Or using a full routing daemon one that handles bgp or ospf (though that seems like overkill)?

please 11-19-2008 11:19 PM

using ip route from lartc


All times are GMT -5. The time now is 03:18 AM.