Originally Posted by linuxmantra
I would like to give access to NFS share to host 192.168.1.11 only and I made following entries
# vi /etc/exports
# service nfs restart
# exportfs -av
# showmount -e
I have a test box with IP address of 192.168.1.5, This box can access the share. I want only 192.168.1.11 to access the content of share. ANY thoughts?
So, why did you put /24?
192.168.1.11/24 = 192.168.1.0 through 192.168.1.255.
To limit it to 192.168.1.11, simply use 192.168.1.11 which is equivalent to 192.168.1.11/32.
This is called CIDR notation, you may find a quick explanation here