So, the issue here appears to be that you're clients are showing up as IPv6 addresses (specifically as IPv4 compatibility addresses) and the CIDR network support in 2.5 doesn't work with IPv6 at all, so it's not matching. This is fixed in 2.6, by transitioning to using libcidr for client handling, so it should work properly there.

For 2.5, you likely will have to do a workaround. One possibility is to have a client section for each client, if the number of clients is small. Or, if you only use IPv4 in your network, disabling IPv6 on the host running Ganesha should probably work.

The best solution is probably to upgrade to 2.6.

Daniel

On 03/28/2018 02:05 PM, Satish Chandra Kilaru wrote:
EXPORT {
         Export_Id = 26541;
         Path = "/cloud_client3";
         CLIENT {
                 Clients = 172.19.109.0/22 <http://172.19.109.0/22>;
                 Access_type = RW;
         }
         CLIENT {
                 Clients = 2.2.2.2;
                 Access_type = RW;
         }
         CLIENT {
                 Clients = 172.19.19.23;
                 Access_type = RW;
         }
         Disable_ACL = TRUE;
         Anonymous_uid = 4294967294;
         Anonymous_gid = 4294967294;
         Squash = no_root_squash;
         Pseudo = "/cloud_client3";
         SecType = "sys";
         Protocols = 4;
}

I am not able to mount the share from NFS client with IP address 172.19.109.44.

[root@express ~]#  mount 172.24.25.245:/cloud_client3 /mnt/cloud3
mount.nfs: access denied by server while mounting 172.24.25.245:/cloud_client3
[root@express ~]# ifconfig
em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 172.19.109.44  netmask 255.255.252.0  broadcast 172.19.111.255

ganesha.log
----------------
28/03/2018 14:04:41 : epoch 5aba57da : vmclient10 : ganesha.nfsd-31628[work-13] nfs4_export_check_access :NFS4 :INFO :NFS4: INFO: Access not allowed on Export_Id 26541 /cloud_client3 for client ::ffff:172.19.

Am I configuring the share correctly?
--
Please Donate to www.wikipedia.org <http://www.wikipedia.org>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to