All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] About two IFs with the same IP and the multipath
@ 2006-02-07  3:03 Alpt
  0 siblings, 0 replies; only message in thread
From: Alpt @ 2006-02-07  3:03 UTC (permalink / raw)
  To: lartc

Hi there,

I'm trying to achieve the classic load balancing using the multipath.

The gateways are:
	A (tunl0)  and   B (tunl1)

This is the classical situation covered by the HOWTO: one computer with two
Internet connections.

The problems come when I try to use the same IPs for both A and B.
So A is 10.229.25.8 and B 10.229.25.8.
I cannot do otherwise, I'm forced to use the same IPs.

For the rules which select the sources I've tried to use the `iif' option
instead of the `from' one.

32764:  from all iif tunl1 lookup main 202
32765:  from all iif tunl0 lookup main 201

These rules don't work and this means that the packets choose a different gw
each time and the TCP connections are killed.

I've tried also with:

32764:  from 10.229.25.0/24 iif tunl1 lookup 202 
32765:  from 10.229.25.0/24 iif tunl0 lookup 201 

and 

32764:  from 10.229.25.8 iif tunl1 lookup 202 
32765:  from 10.229.25.8 iif tunl0 lookup 201 

but with no results.

Is there a way to solve this problem? A netfilter hack?

You can understand better the the whole situation here:
http://marc.theaimsgroup.com/?l=linux-net&m\x113550638110682&w=2
and here:
http://marc.theaimsgroup.com/?l=linux-net&m\x113636640615375&w=2


Best regards
-- 
:wq!
"I don't know nothing" The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-07  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07  3:03 [LARTC] About two IFs with the same IP and the multipath Alpt

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.