Skip to main content
NetApp Knowledge Base

Multiple client IP address causes access denied at the export policy for ONTAP 9

Views:
324
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • Clustered Data ONTAP
  • ONTAP 9
  • NFS
  • IPv4 and IPv6

Issue

  • When try to mount the NFS on client, getting below error:
[root@linux ~]# mount -t nfs Ontap_IP:/NFS_IPV6 /mnt
mount.nfs: mount(2): Permission denied
  • Client fails to evaluate an export policy when multiple IP address are assigned.
  • IP "2620:118:8010:1096:250:56ff:fea6:fbb7" is allowed in clientmatch in export policy on Ontap:

cluster::*> export-policy rule show -vserver vs1 -policyname NFS_policy -instance
List of Client Match Hostnames, IP Addresses, Netgroups, or Domains: 2620:118:8010:1096:250:56ff:fea6:fbb7

  • However, there are multiple interfaces on client and has multiple IP addresses assigned:

[root@linux ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 2620:118:8010:1096:250:56ff:fea6:a895  prefixlen 64  scopeid 0x0<global>

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 2620:118:8010:1096:250:56ff:fea6:fbb7  prefixlen 64  scopeid 0x0<global>

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device