8

On my NFS server (Ubuntu) I have in /etc/exports the following:

/share 192.168.89.1/24(rw,no_root_squash,async)

However, I have a new machine which is not in 192.168.89.* IP range, it's in 192.168.92.* instead. How can I make this machine access my NFS server?

17

You can specify multiple IP ranges on a line, separated by spaces:

/share 192.168.89.1/24(rw,no_root_squash,async)  192.168.92.0/24(rw,no_root_squash,async)

See the exports man page for some more examples (Scroll down to "Examples").

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.