Re: [cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-27 Thread Steve French
On Fri, Aug 27, 2010 at 11:52 AM, Jeff Layton jlay...@redhat.com wrote: On Fri, 27 Aug 2010 08:29:49 -0700 Ben Greear gree...@candelatech.com wrote: On 08/27/2010 06:54 AM, Jeff Layton wrote: Also, I think bindaddr might not be the best name for the option. How about sourceaddr or

Re: [cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-27 Thread Ben Greear
On 08/27/2010 10:08 AM, Steve French wrote: On Fri, Aug 27, 2010 at 11:52 AM, Jeff Laytonjlay...@redhat.com wrote: On Fri, 27 Aug 2010 08:29:49 -0700 Ben Greeargree...@candelatech.com wrote: On 08/27/2010 06:54 AM, Jeff Layton wrote: Also, I think bindaddr might not be the best name for

Re: [cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-27 Thread Jeff Layton
On Fri, 27 Aug 2010 10:12:16 -0700 Ben Greear gree...@candelatech.com wrote: On 08/27/2010 10:08 AM, Steve French wrote: On Fri, Aug 27, 2010 at 11:52 AM, Jeff Laytonjlay...@redhat.com wrote: On Fri, 27 Aug 2010 08:29:49 -0700 Ben Greeargree...@candelatech.com wrote: On 08/27/2010

Re: [cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-27 Thread Steve French
On Fri, Aug 27, 2010 at 12:34 PM, Jeff Layton jlay...@redhat.com wrote: On Fri, 27 Aug 2010 10:12:16 -0700 Ben Greear gree...@candelatech.com wrote: On 08/27/2010 10:08 AM, Steve French wrote: On Fri, Aug 27, 2010 at 11:52 AM, Jeff Laytonjlay...@redhat.com  wrote: On Fri, 27 Aug 2010

[cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-26 Thread Ben Greear
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, ... Signed-off-by: Ben Greear gree...@candelatech.com ---

Re: [cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-26 Thread Steve French
There are clearly valid reasons for being able to select outgoing interface - I wouldn't mind doing this using IPv6 address format if that is more natural (since that can include ipv4 addresses) - or distinct ipv4/ipv6 On Thu, Aug 26, 2010 at 2:57 PM, Jeff Layton jlay...@samba.org wrote: On Thu,

Re: [cifs bindaddr v2] cifs: Allow binding to local IP address.

2010-08-26 Thread Jeff Layton
On Thu, 26 Aug 2010 18:36:54 -0500 Steve French smfre...@gmail.com wrote: There are clearly valid reasons for being able to select outgoing interface - I wouldn't mind doing this using IPv6 address format if that is more natural (since that can include ipv4 addresses) - or distinct ipv4/ipv6