All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alpt <alpt@freaknet.org>
To: lartc@vger.kernel.org
Subject: [LARTC] About two IFs with the same IP and the multipath
Date: Tue, 07 Feb 2006 03:03:17 +0000	[thread overview]
Message-ID: <20060207030317.GA32701@nihil> (raw)

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

                 reply	other threads:[~2006-02-07  3:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060207030317.GA32701@nihil \
    --to=alpt@freaknet.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.