Quote:
Originally Posted by kdelover
Hello folks,
On my NFS server if i have a share meant for say 192.168.1.0/23,can i have showmount show me that /23 when i run 'showmount -e <nfshost>. Does any know how to get this info regarding the subnet mask ?
# showmount -e nfshost
/share/NFS 192.168.1.0
How do you determine if 192.168.1.0 is /23 or /24 ?
|
It depends on your network prefix.Most of the time for internal networks we depend on 24 sub-net mask,
Further in your configuration it should be
/share/NFS 192.168.1.0/24(rw,rsync,no_root_squash)
you can omit no_root_squash is you are not going to log with root from client.