From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: autofs no_local_binds option (nfs <-> bind mounts) Date: Tue, 13 Jan 2004 12:25:48 -0800 Sender: autofs-bounces@linux.kernel.org Message-ID: <4004544C.7030904@zytor.com> References: <200401131958.i0DJwlV0001078000@anw.zk3.dec.com> <40044F2A.9080305@zytor.com> <200401132023.49657.autofs@dylan.me.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200401132023.49657.autofs@dylan.me.uk> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii" To: Dylan Cc: autofs@linux.kernel.org, Eric Werme USG Dylan wrote: > On Tuesday 13 January 2004 20:03 pm, H. Peter Anvin wrote: > > >>However, this doesn't address the issue of the client being *the same >>system*, in which case you can't just move the IP address away from >>it, since local == remote; you can no longer send packets to the >>server and get a response back. You can do it if you can get the >>client and the server sides to bind to *different* IP addresses, in >>which case the current autofs behaviour will correctly see them as >>being separate and mount NFS. > > Would binding an alias address to the interface be sufficient? > No, you have to force the local port to not be bound to the same address. I think this can be done with iptables rules, but I'm not sure... I'm not a networking wizard. -hpa