Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

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").

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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