LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-19-2008, 02:14 AM   #1
please
Member
 
Registered: Apr 2007
Posts: 195

Rep: Reputation: 30
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
 
Old 11-19-2008, 07:25 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
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)?
 
Old 11-19-2008, 11:19 PM   #3
please
Member
 
Registered: Apr 2007
Posts: 195

Original Poster
Rep: Reputation: 30
using ip route from lartc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load balancing HelpMe2877 Linux - Networking 1 06-06-2008 03:24 PM
Load balancing shipon_97 Linux - Newbie 9 11-28-2006 06:36 AM
Load Balancing turbo_acura Linux - Networking 4 01-27-2006 08:44 PM
Load Balancing matux Linux - Networking 0 01-05-2005 10:59 AM
Load balancing ?? Lucsi Linux - Newbie 1 07-16-2002 12:54 PM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration