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=113550638110682&w=2
and here:
http://marc.theaimsgroup.com/?l=linux-net&m=113636640615375&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

Reply via email to