Skip to contentSkip to conversation

IP Masquerade Issues

LARTC Mario 2 participants 2 messages Mar 29, 2004

lore
Share & tools
lore

Mario

author
#0 lore raw
Quoted 2 lines

teql can only be used if you control both sides of the link. There is a chapter in the lartc howto on load balancing that can help you.

I think you are referring to 4.2.2 where they refer to load balancing - however that seems to be route based. The setup I have - all three machines actually use the same gateway, but the gateway will only allow a certain amount of traffic over any given interface, so several interfaces are used.

Thus every interface will give the same route - so won't I run into issues by doing it this way?

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

#1 lore raw

This is a multipart message in MIME format.
--=_alternative 0070DC7286256E66_Content-Type: text/plain; charset="US-ASCII"

<snip>

Quoted 1 line

teql can only be used if you control both sides of the link. There is

a

Quoted 1 line

chapter in the lartc howto on load balancing that can help you.

I think you are referring to 4.2.2 where they refer to load balancing - however that seems to be route based. The setup I have - all three machines
actually use the same gateway, but the gateway will only allow a certain amount of traffic over any given interface, so several interfaces are used.

Thus every interface will give the same route - so won't I run into issues by doing it this way?
</snip>

My understading of this (I'm load balancing across DSL and cable) is that what distinguishes a route is the interface on the linux box that is chosen. The route (via what interface) is cached based on destination ip. For each interface you can define the gateway that it uses. I don't see this causing any problems for you at all. In fact, in the load balancing configuration, when you create a weight of 2 for a given interface, it actually creates 2 routes out that interface to include in the mix to choose from, so having multiple routes with similar information should not cause any confusion.

HTH
-Ron

--=_alternative 0070DC7286256E66_Content-Type: text/html; charset="US-ASCII"

<br><font size=1 face="Courier New">&lt;snip&gt;</font>
<br><font size=1 face="Courier New">&gt;teql can only be used if you control both sides of the link. &nbsp;There is a <br>
&gt;chapter in the lartc howto on load balancing that can help you.<br> <br>
I think you are referring to 4.2.2 where they refer to load balancing -<br> however that seems to be route based. &nbsp;The setup I have - all three machines<br>
actually use the same gateway, &nbsp;but the gateway will only allow a certain<br>
amount of traffic over any given interface, so several interfaces are used.<br> <br>
Thus every interface will give the same route - so won't I run into issues<br> by doing it this way?</font>
<br><font size=1 face="Courier New">&lt;/snip&gt;</font>
<br>
<br><font size=1 face="Courier New">My understading of this (I'm load balancing across DSL and cable) is that what distinguishes a route is the interface on the linux box that is chosen. The route (via what interface) is cached based on destination ip. For each interface you can define the gateway that it uses. I don't see this causing any problems for you at all. In fact, in the load balancing configuration, when you create a weight of 2 for a given interface, it actually creates 2 routes out that interface to include in the mix to choose from, so having multiple routes with similar information should not cause any confusion.</font>
<br>
<br><font size=1 face="Courier New">HTH</font>
<br><font size=1 face="Courier New">-Ron</font>
<br>
--=_alternative 0070DC7286256E66_=--
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/