From: Peter Surda <shurdeek@panorama.sth.ac.at>
To: netfilter-devel@lists.netfilter.org
Subject: Weight in SAME and SNAT targets?
Date: Thu, 19 Dec 2002 23:17:10 +0100 [thread overview]
Message-ID: <20021219221710.GL8159@noir.cb.ac.at> (raw)
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
Hello dear developers!
According to the documentation, when doing SNAT to multiple IPs, it chooses
the IP with the lowest number of active connections. I assume SAME uses a
similar method as well.
I tried very hard to find the place in the code responsible for this, but
apparently I am blind or my grep is fscked. Could you please kindly direct me
to the file with the code and perhaps even some docs?
I currently use SNAT and SAME to loadbalance over several lines (don't explain
to me it shouldn't be done this way, our provider can't manage to persuade
their cisco to do "normal" loadbalancing so this is the only way that works).
However, soon we'll have lines with different bandwidth, and the current
method would cause suboptimal results (well, I can theoretically use more IPs
per line to do this, this possibility is being investigated). But this
wouldn't be necessary if it was possible to give the IPs different weight. I
don't think coding this is that difficult, but not being able to find the
responsible lines in code is a big showstopper.
Anyway, netfilter rocks, you can do a lot of cool stuff with it.
Bye,
Peter Surda (Shurdeek) <shurdeek@panorama.sth.ac.at>, ICQ 10236103, +436505122023
--
Press every key to continue.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
reply other threads:[~2002-12-19 22:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20021219221710.GL8159@noir.cb.ac.at \
--to=shurdeek@panorama.sth.ac.at \
--cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.