Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martin <mylists@itcom.com.ar>
To: netfilter@vger.kernel.org
Subject: load balance [OT?] [Solution]
Date: Thu, 26 Jun 2008 12:05:34 -0300	[thread overview]
Message-ID: <1214492735.4427.6885.camel@kr0sty> (raw)

Hello netfilter list!

About a month ago, I've posted a question about load balance. Finally
it's working and in production environment.

I want to thanks the hole list and specially AcrosCom and Mark Perry,
and a special thanks to Julian Anastasov who takes time to reply my
mails.

This is what I've done.

Start testing Julian's "combinations" patches adding by one to kernel
and testing load balance.

Vanilla kernel 2.6.23
 |
 |____ +arprules = Load balance ok after reboot
  |
  |_____+routes = Load balance ok after reboot
   |
   |_ +jumbo patch hidden & forward_shared= Load balance ok after reboot
    |
    |__ +rp_filter_mask= *

* Here comes the difference. At reboot it goes out only to the first
"nexthop", the second is used only if 1st gateway is down or saturated.


Then added "send-to-self" patch, but nothing changes about load balance,
just the first nexthop is used.


Here is where I contacted Julian Anastasov for some help. He told me the
key was to ping both gateways and keep pinging then each few minutes to
know they where still alive. Then try load balance.


That was it, pinging gateways before load balance script and pinging
them every 10 minutes do the trick.


Thanks again to everyone and ask me if there is something I'm omitting.

See you all in the list!


Cheers,


Martin


             reply	other threads:[~2008-06-26 15:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-26 15:05 Martin [this message]
2008-06-29  2:00 ` load balance [OT?] [Solution] Grant Taylor
2008-06-30 13:32   ` Martin
2008-06-30 14:26     ` Grant Taylor
2008-06-30 15:34       ` Martin
2008-06-30 15:58         ` Grant Taylor
2008-06-30 16:26           ` Martin
2008-06-30 17:51             ` Grant Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1214492735.4427.6885.camel@kr0sty \
    --to=mylists@itcom.com.ar \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox