Answer the question
In order to leave comments, you need to log in
How to mount an NFS share located on a different subnet?
There is a server with an NFS resource 192.168.1.10:/nfs/
it is connected to a server with 2 network interfaces: 192.168.1.1 and 192.168.0.1 (NFS is connected to 192.168.1.1 naturally)
There is a client with the address 192.168.0.10 which is connected to the server (192.168 .0.1).
Question: how can I access 192.168.1.10/nfs/ on the client ?
Now it is implemented as follows:
192.168.1.10:/nfs/ is mounted on the server at 192.168.1.1:/mnt/ via NFS,
then on the client: sshfs [email protected]:/mnt /mnt
But somehow this is not camelfo.
Answer the question
In order to leave comments, you need to log in
On a server with 2 interfaces, configure routing between 192.168.1.10 and 192.168.0.10 (and write the appropriate route on them) and mount it directly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question