TransWikia.com

NFS access from multiple networks

Server Fault Asked on January 7, 2021

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?

One Answer

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

Correct answer by Stefan Lasiewski on January 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP