[CentOS] NFS exports network mask
James Pearson
james-p at moving-picture.com
Tue Jun 22 16:29:22 UTC 2010
Carlos S wrote:
> Hi,
>
> I need to export NFS shares to all clients in a subnetwork, except
> that one client will have different NFS options. I am not sure how to
> write subnest mask for this in exports file. For all clients it was
> easy as all I had to do was 10.0.0.0/16 or 10.0.0.0/255.255.0.0. How
> do I modify exports file to have special rule/entry for this
> particular IP? Any pointers on how to do this?
Something like:
/some/disk 10.0.0.0/16(ro) 10.0.0.2(rw)
This will export /some/disk read-write to 10.0.0.2 and read-only to the
rest of the hosts on the 10.0.0.0/16 network
James Pearson
More information about the CentOS
mailing list