Re: Can you specify a local IP or Interface to be used on aper NFS mount basis?

From: Trond Myklebust
Date: Wed Jan 18 2006 - 22:23:48 EST


On Wed, 2006-01-18 at 18:21 -0800, Ben Greear wrote:

> > NFS doesn't know anything about ip packet routing. That is a networking
> > issue.
>
> When a socket is created, you can optionally bind to local IP, interface and/or
> IP-Port. Somewhere, NFS is opening a socket I assume? So, is there a way to
> ask it to bind?


As David said, the place to fix it is in xs_bindresvport(), but there is
no support for passing this sort of information through the current NFS
binary mount structure. You would have to hack that up yourself.

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/