From: Fabrice MARIE <fabrice@netfilter.org>
To: Ian Douglas <ian@icreditvision.com>, netfilter@lists.netfilter.org
Subject: Re: using iptables for poor-man's load balancing?
Date: Fri, 21 Feb 2003 16:48:16 +0800 [thread overview]
Message-ID: <200302211648.16894.fabrice@netfilter.org> (raw)
In-Reply-To: <HMEBKOCKLOOEJGIOMFAPAEGOFJAA.ian@icreditvision.com>
Hello Ian,
On Wednesday 19 February 2003 05:53, Ian Douglas wrote:
> We currently have two machines (soon to be 4) that we'd like to balance our
> web traffic to. Say for argument's sake that our public IP is 1.2.3.4 and
> our internal LAN machines are:
> 192.168.1.1
> 192.168.1.12
> 192.168.1.16
> 192.168.1.17
> Just curious if the following rules would work to round-robin the
> connections:
> [...]
> Thanks for any feedback or suggestions.
I believe you can do that with the nth patch:
http://www.netfilter.org/documentation/HOWTO/netfilter-extensions-HOWTO-3.html#ss3.9
Even though I wrote the original patch, it's been greatly improved by Richard Wagner
<rwagner AT cloudnet.com> who added support for multiple counters and support for
matching on individual packets. [That's why I say "I believe" the match can do it].
It should work. Let us know of the outcome.
Have a nice day,
Fabrice.
--
Fabrice MARIE
"Silly hacker, root is for administrators"
-Unknown
next prev parent reply other threads:[~2003-02-21 8:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-18 21:53 using iptables for poor-man's load balancing? Ian Douglas
2003-02-18 22:02 ` Ian Douglas
2003-02-19 23:17 ` Ian Douglas
2003-02-20 0:12 ` Joel Newkirk
2003-02-20 0:30 ` Joel Newkirk
2003-02-20 0:55 ` Ian Douglas
2003-02-20 4:24 ` Joel Newkirk
2003-02-21 8:48 ` Fabrice MARIE [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-02-18 22:10 Andrej Ricnik
2003-02-19 18:47 ` Ian Douglas
[not found] <20030219232644.14732.18331.Mailman@kashyyyk>
2003-02-20 3:00 ` mpboden
2003-02-20 3:39 ` SBlaze
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=200302211648.16894.fabrice@netfilter.org \
--to=fabrice@netfilter.org \
--cc=ian@icreditvision.com \
--cc=netfilter@lists.netfilter.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