From: Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: sfrench-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [cifs] cifs: Allow binding to local IP address.
Date: Wed, 25 Aug 2010 20:17:56 -0700 [thread overview]
Message-ID: <4C75DCE4.2090100@candelatech.com> (raw)
In-Reply-To: <AANLkTi=m800LPdE47tiPGPT3qfQG7YXC0Q6nh+EXhnx=@mail.gmail.com>
On 08/25/2010 05:35 PM, Steve French wrote:
> On Wed, Aug 25, 2010 at 6:00 PM, Ben Greear<greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> wrote:
>> When using multi-homed machines, it's nice to be able to specify
>> the local IP to use for outbound connections. This patch gives
>> cifs the ability to bind to a particular IP address.
>>
>> Usage: mount -t cifs -o bindaddr=192.168.1.50,user=foo, ...
>
> Seems like a reasonable idea, but I have a few questions.
> Is there a similar named mount option for other network
> file systems on other operating systems?
I have patches for NFS as well, but they are a bit more complex,
so I was going to start with cifs.
It *seems* that bindaddr is sort of half way expected to work,
for nfs, (but does not on linux, last I checked, without my additional patches).
I've never tried this on any other platform.
> Also don't IPv6 address strings already allow you to specify the local
> interface to use?
I think you still have to do the bind() call somewhere, and I don't
think that is happening in the current cifs code.
If/when I can get the ipv4 stuff in acceptable shape for inclusion,
I'll work on ipv6 (it shouldn't be much additional work).
Thanks,
Ben
--
Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2010-08-26 3:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 23:00 [cifs] cifs: Allow binding to local IP address Ben Greear
[not found] ` <1282777235-20218-1-git-send-email-greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-08-26 0:35 ` Steve French
2010-08-26 3:17 ` Ben Greear [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-08-31 5:40 Ben Greear
[not found] ` <1283233222-8702-1-git-send-email-greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-08-31 5:42 ` Ben Greear
2010-08-31 14:06 ` Jeff Layton
[not found] ` <20100831100649.3c9121df-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-08-31 16:44 ` Ben Greear
[not found] ` <4C7D3177.7070906-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-08-31 18:50 ` Jeff Layton
[not found] ` <20100831145023.09253a26-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-08-31 19:21 ` Ben Greear
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=4C75DCE4.2090100@candelatech.com \
--to=greearb-my8/4n5vti7c+919tysfda@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sfrench-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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.