From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [PATCH] [DLM] Bind connections from known local address when using TCP
Date: Mon, 29 Oct 2007 09:22:25 +0000 [thread overview]
Message-ID: <1193649745.1068.469.camel@quoit> (raw)
In-Reply-To: <1193352544.20482.72.camel@ayanami.boston.devel.redhat.com>
Hi,
On Thu, 2007-10-25 at 18:49 -0400, Lon Hohberger wrote:
> A common problem occurs when multiple IP addresses within the same
> subnet are assigned to the same NIC. If we make a connection attempt to
> another address on the same subnet as one of those addresses, the
> connection attempt will not necessarily be routed from the address we
> want.
>
> In the case of the DLM, the other nodes will quickly drop the connection
> attempt, causing problems.
>
> This patch makes the DLM bind to the local address it acquired from the
> cluster manager when using TCP prior to making a connection, obviating
> the need for administrators to "fix" their systems or use clever routing
> tricks.
>
I'm happy to apply the patch, but I wonder why not just set the prefsrc
for the route? That will fix it for all applications not just the DLM.
Also if there are multiple NICs in the system with the same IP address
set assigned to them, then this solution may fail whereas the prefsrc
solution will continue to work as that allows specification of a device
too (amoung other things),
Steve.
next prev parent reply other threads:[~2007-10-29 9:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 22:49 [Cluster-devel] [PATCH] [DLM] Bind connections from known local address when using TCP Lon Hohberger
2007-10-25 22:51 ` Lon Hohberger
2007-10-25 22:51 ` Lon Hohberger
2007-10-29 9:22 ` Steven Whitehouse [this message]
2007-10-30 14:02 ` [Cluster-devel] " Patrick Caulfield
2007-10-31 13:33 ` Steven Whitehouse
2007-10-31 13:54 ` Patrick Caulfield
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=1193649745.1068.469.camel@quoit \
--to=swhiteho@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).