NFS export to multiple subnets

Back in the day, you could easily export a file system and restrict it to a collection of subnets in the /etc/exports or /etc/dfs/dfstab files.

Unfortunately, the Workgroup Manager GUI seems to think that one subnet is enough. The only options are one client host, one subnet or world.

Is there a practical way to setup permissions for three subnets? World is never an option.

Xserve GS, Mac OS X (10.4.11)

Posted on Jun 20, 2008 2:42 PM

Reply
1 reply

Jul 21, 2008 11:31 AM in response to sakshale

While the Mac OS X GUI admin tools don't support specifying multiple subnets, this can be done if you simply define your own exports in /etc/exports. The exports(5) man page has the details. You'll basically want to have a separate export entry for each subnet. For example, something like:

/Volumes/data -network 10.0.1.0 -mask 255.255.255.0
/Volumes/data -network 10.0.2.0 -mask 255.255.255.0
/Volumes/data -network 10.0.3.0 -mask 255.255.255.0

HTH
--macko

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

NFS export to multiple subnets

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.