According to the FAQ, I think 192.168.1 represents the network 192.168.1.0.
http://www.openbsd.org/faq/faq6.html#NFS <http://www.openbsd.org/faq/faq6.html#NFS> The IP of Mac is 192.168.1.36. And the IP of server is 192.168.1.1. If I run showmount on Mac, I get these: $ showmount -e 192.168.1.1 Exports list on 192.168.1.1: /nfs 192.168.1.0 Here is what I found in manual of mount_nfs on Mac: nfsvers=<num> Set the NFS protocol version number - 2 for NFSv2, 3 for NFSv3 and 4 for NFSv4. The default is to try version 3 first, and fall back to ver- sion 2 if the mount fails. Best regards, Zhi-Qiang Lei > On Mar 6, 2015, at 1:26 PM, Philip Guenther <[email protected]> wrote: > > On Thu, Mar 5, 2015 at 6:52 PM, Zhi-Qiang Lei <[email protected]> wrote: >> I simply started a NFS on my OpenBSD 5.6 server as flow: >> >> # cat /etc/exports >> /nfs -alldirs -network=192.168.1 -mask=255.255.255.0 > > You sure about that "192.168.1", with only three components? I > believe that'll be interpreted as 192.168.0.1, which may not be what > you mean...and doesn't match your loopback mount below. > > >> Iâm able to mount it on the OpenBSD server: >> >> # mount -t nfs 192.168.1.1:/nfs /mnt >> # df -h >> Filesystem Size Used Avail Capacity Mounted on >> /dev/wd0a 3.9G 52.3M 3.7G 1% / >> /dev/wd0k 9.9G 4.0K 9.4G 0% /home >> /dev/wd0l 1.7T 8.0K 1.6T 0% /nfs > ... >> 192.168.1.1:/nfs 1.7T 8.0K 1.6T 0% /mnt >> >> However, I cannot mount it on my Mac: >> >> $ mount -t nfs 192.168.1.1:/nfs mnt >> mount_nfs: can't mount /nfs from 192.168.1.1 onto /Users/siegfried/mnt: >> Permission denied >> >> $ sudo mount -t nfs 192.168.1.1:/nfs mnt >> Password: >> mount_nfs: can't mount /nfs from 192.168.1.1 onto /Users/siegfried/mnt: >> Permission denied > > What IP will that Mac be using as its source address? > From that Mac, what's "showmount -e 192.168.1.1" show? > > What version of NFS does the Mac documentation say it'll use in this case? > > > Philip Guenther

