[Bug 286260] NFS: sharing only for IPv6 subnet fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Apr 2025 18:29:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286260

Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |net@FreeBSD.org

--- Comment #2 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
How to reproduce? 
1. Export the directory only for the IPv6 subnet, for example:
/usr/amd64obj14stablev6only -network 2a02:xxxx:xx00:100::/56 -mapall=root

2. Try to mount this directory from the client using IPv6. (It will respond:
mount_nfs: nmount: /usr/obj: Stale NFS file handle).

3. Add a new entry to the exports file and export the same directory over IPv4:
/usr/amd64obj14stablev6only -network x.y.z.0 -mask 255.255.255.0   -mapall=root

4. Repeat the 2nd step. Now you will succeed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.