Skip to contentSkip to conversation

load balancing wo nat

LARTC Kertész Viktor 2 participants 2 messages Feb 18, 2003 – Feb 19, 2003

lore
Share & tools
lore
#0 lore raw

Dear All,

I've read the message with the similar subject but I have a different problem. I've got this network:
INTERNET

      |
+------------+
|firewall/nat|
+------------+
   |  \
   .    .
   .1     .2
   |      \
+------+ +------+
|router| |router|
+------+ +------+
10.0.2.1   10.0.2.3
    \      /
    +------+
    |switch|
    +------+
        |10.0.2.2
  +------------+
  |linux router|
  +------------+
        |10.1.0.1
	|
	|10.1.0.0/16
  +--------------+
  |client network|
  +--------------+

My question is that how can I balance upward traffic on linux router. This box doesn't do nat. Is it possible to put every second packets onto the second router(10.0.2.3)? Now default gw is 10.0.2.1 so every packets going upward is on link1. Downlink is balanced by IP routing on firewall but uplink is not balanced. Thank you in advance!

Vitya

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

On 18-02-2003 at 06:40:23PM +0100, Kertész Viktor wrote:
KV> Dear All,
KV>
KV> I've read the message with the similar subject but I have a different KV> problem. I've got this network:
KV> INTERNET
KV> |
KV> +------------+
KV> |firewall/nat|
KV> +------------+

KV>    |  \
KV>    .    .
KV>    .1     .2
KV>    |      \

KV> +------+ +------+
KV> |router| |router|
KV> +------+ +------+
KV> 10.0.2.1 10.0.2.3

KV>     \      /
KV>     +------+
KV>     |switch|
KV>     +------+
KV>         |10.0.2.2
KV>   +------------+
KV>   |linux router|
KV>   +------------+
KV>         |10.1.0.1
KV> 	|
KV> 	|10.1.0.0/16
KV>   +--------------+
KV>   |client network|
KV>   +--------------+

KV> My question is that how can I balance upward traffic on linux router. KV> This box doesn't do nat. Is it possible to put every second packets onto KV> the second router(10.0.2.3)? Now default gw is 10.0.2.1 so every packets KV> going upward is on link1. Downlink is balanced by IP routing on firewall KV> but uplink is not balanced. Thank you in advance!
KV>
KV> Vitya
KV>
http://lartc.org/lartc.pdf
Chapter 4.2

Martin A. Brown wrote in some message:
http://mailman.ds9a.nl/pipermail/lartc/2003q1/006781.html
http://trash.net/~kaber/
http://trash.net/~kaber/equalize_2.4.18.patch

Rgds,
Bartek.
--

GPG-key-ID:  0x948DE45D -- visit http://www.keyserver.net
Fingerprint: 95E9 8E2D 1801 7864 2244  6EAA 03E5 764D 948D E45D

The great baby you see there is not yet out of his swaddling-clouts.
Shakespeare, Hamlet.