I have NFS server(Solaris OS) and NFS client (Solaris OS) machines, both are running Solaris OS.

On NFS server:
/etc/dfs/dfstab file entries:-

share -F nfs -o rw=Blade1-Chassis1,root=Blade1-Chassis1,anon=0 /appdata/NFS
share -F nfs -o rw= 10.195.7.1,root=10.195.7.1, anon=0 /appdata/tej-s5

/etc/hosts file entries:-
#
# Internet host table
#
127.0.0.1 localhost
10.195.7.200 NFS-int
10.195.7.1 Blade1-Chassis1

On NFS client: -

Blade1-Chassis1:~/900132# mount -F nfs -o vers=4 10.195.7.200:/appdata/tej-s5 /appdata/gaurav
nfs mount: mount: /appdata/gaurav: Permission denied

It(mount) started working after removing the entry (10.195.7.1 Blade1-Chassis1) from /etc/hosts of NFS server, and restarting the NFS services on NFS server.

Please let me know if this is an expected behavior of NFS mount. why cannot we use both NFS client hostname and its IP address in /etc/dfs/dfstab?