From: Visham Ramsurrun <vishamr2000@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Load balancing
Date: Mon, 4 Apr 2005 13:46:20 +0400 [thread overview]
Message-ID: <9927912d05040402467fd411c7@mail.gmail.com> (raw)
Hi to all,
I have this rule:
iptables -t nat -A PREROUTING -i eth0 -o eth1 -d 192.0.34.72 -j dnat
--to-destination 192.168.1.3-192.168.1.4
It is supposed to be load balancing by taking the traffic from the
host (192.168.1.2)on which this rule is used and balancing between the
PCs with the ip addrs specified by the ip addr range
192.168.1.3-192.168.1.4.
What I would like to know what will happen if I apply this rule on the
PCs doing the load balancing (192.168.1.3-192.168.1.4). The two PCs
are connected back to back with a cross-over cable. The interfaces
used for this connection are both eth1.
__________
<MY NET>----> -------- PC2 (192.168.1.3)------->| |
192.168.1.2/24 | | ROUTER |
-------- PC1 (192.168.1.4)------->|__________|
If I apply the above rule on PC (192.168.1.3 instead of MY NET, will
it still load balance the traffic on the two PCs.
Regards,
Visham
next reply other threads:[~2005-04-04 9:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-04 9:46 Visham Ramsurrun [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-03 19:17 Load balancing szpak
2005-04-03 20:49 ` Pablo Neira
2005-04-04 3:23 ` Grant Taylor
[not found] <41BDA86F.8070108@rocsys.com>
2004-12-13 14:19 ` Load Balancing Trent Lloyd
2003-07-12 19:05 LOAD BALANCING Javier Govea
2003-04-03 7:40 Load Balancing Allan de Borde
2003-04-02 15:24 Carlos Ble
2003-04-02 11:16 Allan de Borde
2003-04-02 16:43 ` Matthew G. Marsh
2003-04-02 10:59 Allan de Borde
2003-03-17 21:29 Load balancing Walsh, Ed
2003-03-17 21:44 ` Nathan
2003-03-18 7:48 ` Jamie Harris
2003-02-03 13:49 load balancing Sander Sneekes
2003-02-03 14:35 ` Sander Sneekes
2003-02-03 16:30 ` Daniel F. Chief Security Engineer -
2003-02-04 15:35 ` Sander Sneekes
2001-01-04 10:43 WOOHOO!!!!!! IDEDMA Timeouts!! Andre Hedrick
2001-01-04 11:31 ` Load balancing John Brosnan
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=9927912d05040402467fd411c7@mail.gmail.com \
--to=vishamr2000@gmail.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 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.