All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Odd question about load balancing
@ 2004-05-28  9:28 GoMi
  2004-05-31  0:34 ` Damion de Soto
  2004-05-31  9:40 ` GoMi
  0 siblings, 2 replies; 3+ messages in thread
From: GoMi @ 2004-05-28  9:28 UTC (permalink / raw)
  To: lartc

Hello there, i have a very special case about load balancing...

Here is my setup:

                                                                 ________
                                          +------------+        /
                                          |            |       |
                            +-------------+ ADSL ROUTER+-------
        __                  |             |            |     /
    ___/  \_         +------+-------+     +------------+    |
  _/        \__      |     if1      |                      /
 /             \     |              |                      |
| Local network -----+ Linux router |                      |     Internet
 \_           __/    |              |                      |
   \__     __/       |     if2      |                      \
      \___/          +------+-------+     +------------+    |
                            |             |            |     \
                            +-------------+ADSL ROUTER +-------
                                          |            |       |
                                          +------------+        \________


My load balancing is working great right now, but I have my dsl routers
acting as multiple-users access, and hence doing NAT. Since my Linux is also
doing NAT I want to connect the DSL routers acting as single-users and hence
avoid doing NAT two times per connection.

What I have to do, is change the public address on my dsl router as a mix of
the mask and the actual public address, and assign the public ip to IF1 ( or
IF2 in each case)

The problem comes when, my public address is:
	IP1: XXX.XXX.XXX.1
	IP2: same but ending in .2
 	MASK 255.255.255.0

To get the new local address for the router, y have to do the following:
	 (1 AND 0) +1 for router1
	 and (2 AND 0) +1 for router2. 

And I have the next problem:
  Both routers will have the same IP ADDRESS, and hence they will both be on
the same network.

When y set up my load balancing a year ago, I red somewhere both connections
have to be under different networks, is that right? 

Will load balancing know which interface has to use for each connection?? 

Can I set up my dsl routers the way I want them to work??

Has any body done that???

Thank you!!


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-31  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28  9:28 [LARTC] Odd question about load balancing GoMi
2004-05-31  0:34 ` Damion de Soto
2004-05-31  9:40 ` GoMi

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.