* [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
* Re: [LARTC] Odd question about load balancing
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
1 sibling, 0 replies; 3+ messages in thread
From: Damion de Soto @ 2004-05-31 0:34 UTC (permalink / raw)
To: lartc
Hello GoMi,
> Hello there, i have a very special case about load balancing...
---snip----
> And I have the next problem:
> Both routers will have the same IP ADDRESS, and hence they will both be on
> the same network.
I didn't really understand what you were writing about there.... but don't you just
want to put your DSL routers into some type of 'bridging' mode, and then configure
the IP addresses on your linux router ?
(you may have to run PPPoE or something on the linux interfaces).
> 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??
Unless your ISP(s) is doing incredibly tricky things with routing, you can't have 2
devices on the Internet with the same real IP address.
> Can I set up my dsl routers the way I want them to work??
> Has any body done that???
I still don't really understand what's different between your setup and all the other
people who have 2 DSL connections to the internet.
Regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
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
* RE: [LARTC] Odd question about load balancing
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
1 sibling, 0 replies; 3+ messages in thread
From: GoMi @ 2004-05-31 9:40 UTC (permalink / raw)
To: lartc
I am sorry about my previous email, it was a bit off a mess...
Let me explain my self, I have my dsl routers working doing nat, and I want
to set them up as a bridge but doing load balancing.
My public ip addresses are :
XXX.XXX.XXX.1 for dsl 1 and the same ending in .2 for dsl 2
Since I have to put the ip public address on the linux Ethernet cards, and
they both have the same netmask address, will loadbalancing work?
I red somewhere they have to be in different subnets in order to work
Am I right? Can I set them as bridge mode?
-----Mensaje original-----
De: Damion de Soto [mailto:damion@snapgear.com]
Enviado el: lunes, 31 de mayo de 2004 2:34
Para: GoMi
CC: lartc@mailman.ds9a.nl
Asunto: Re: [LARTC] Odd question about load balancing
Hello GoMi,
> Hello there, i have a very special case about load balancing...
---snip----
> And I have the next problem:
> Both routers will have the same IP ADDRESS, and hence they will both be
on
> the same network.
I didn't really understand what you were writing about there.... but don't
you just
want to put your DSL routers into some type of 'bridging' mode, and then
configure
the IP addresses on your linux router ?
(you may have to run PPPoE or something on the linux interfaces).
> 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??
Unless your ISP(s) is doing incredibly tricky things with routing, you can't
have 2
devices on the Internet with the same real IP address.
> Can I set up my dsl routers the way I want them to work??
> Has any body done that???
I still don't really understand what's different between your setup and all
the other
people who have 2 DSL connections to the internet.
Regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
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.