From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: Source IP not corresponding to interface
Date: Tue, 25 May 2010 17:11:38 +0000 [thread overview]
Message-ID: <4BFC04CA.7070207@hp.com> (raw)
In-Reply-To: <4BFBFB26.6050209@kth.se>
Georgios Cheimonidis wrote:
> Hi!
>
> I have observed a problem while doing some tests with dynamic address
> reconfiguration. Let me first describe my setup and application.
>
> Setup: I have two hosts, one that acts as a client and another that acts
> as a server. The client has two IPv4 addresses (one on wlan, let's call
> it X, and another on a 3G p-to-p connection, let's call it Y). There are
> two default routes on the client, and the wlan default has a smaller
> metric than the 3G default. The server is single homed. All addresses
> belong to different subnets.
> Both hosts are running the net-next kernel, downloaded from David
> Miller's net-next source tree on 12-May-2010). I have also applied two
> extra patches found in: (a)
> http://www.spinics.net/lists/linux-sctp/msg00881.html and
> (b)http://www.spinics.net/lists/linux-sctp/msg00882.html. I have also
> enabled SCTP debugging messages.
>
Hi George
Thanks for this report. I am setting up a reproduction environment now.
Will let you know what I find.
It sounds like the routing might get kind-of funky after you add the
address back. Does the default route get recreated with the right
metric?
Kernel logs are always nice to have. You can even look through them
and try finding references to sctp_v4_get_dst() call to see what
it shows you. Thats where routing and source address selection
is done.
I am also assuming that this is all v4, right? I've got v6 patch
ready finally. Passed all the tests I could throw at it.
-vlad
next prev parent reply other threads:[~2010-05-25 17:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 16:30 Source IP not corresponding to interface Georgios Cheimonidis
2010-05-25 17:11 ` Vlad Yasevich [this message]
2010-05-25 19:12 ` Vlad Yasevich
2010-05-25 19:53 ` Georgios Cheimonidis
2010-05-26 13:49 ` Georgios Cheimonidis
2010-05-26 13:57 ` Vlad Yasevich
2010-05-26 15:50 ` Vlad Yasevich
2010-05-26 20:21 ` Georgios Cheimonidis
2010-05-26 20:31 ` Vlad Yasevich
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=4BFC04CA.7070207@hp.com \
--to=vladislav.yasevich@hp.com \
--cc=linux-sctp@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.