Trond Myklebust wrote:
On Wed, 2006-01-18 at 15:10 -0800, Ben Greear wrote:
Hello!
Is there any way to specify what local IP address an NFS
client uses to mount an NFS server?
For instance, if I have eth0 with IP 192.168.1.6 and eth1
with IP 192.168.1.7, how can I make sure that a particular
mount point is accessed via 192.168.1.7?
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?
You can then use this source-IP to convince the routing logic to use a
particular interface (ie, the interface with that IP on it).
Thanks,
Ben
--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]