/etc/exports and IPv6 networks

Sean C. Farley scf at FreeBSD.org
Sat Mar 22 08:25:11 PDT 2008


On Thu, 20 Mar 2008, Doug Barton wrote:

> Sean C. Farley wrote:
>> On Thu, 20 Mar 2008, Doug Barton wrote:
>>
>>> Folks,
>>>
>>> I spent a fair amount of time today reading through the man pages
>>> and source code and could not find any way of specifying an IPv6
>>> network in /etc/exports as you can with v4 and -network/-netmask. Am
>>> I missing something? If not, is this an update that is on someone's
>>> list somewhere?
>>
>> Something like this has worked for me:
>> /usr -maproot=root -network AAAA:BBBB:CCCC:DDDD:EEEE:: -mask ::0
>
> I confess that's one combination I didn't think to try, and it did
> work, thanks! Care to add that to the man page?

You are welcome.  I forgot how I found how to do, but it did take a good
deal of searching before I found it.

Yes, I will write an addition to the man page in a couple of days.  That
way I will not lose it.  :)

>> One thing I have run into was that an install of a kernel over NFS
>> using IPv6 can stall the mount.  I have not had time to look into it,
>> so I do not know what exactly triggers it (number of bytes or
>> files?).  It has always been while copying a kernel module.
>
> Wacky. Is this still true after the recent (before the 7.0 branch)
> work to make v6 stuff "work the same way as" v4 stuff?

As of March 14th, RELENG_7 still exhibited it for me.

Sean
-- 
scf at FreeBSD.org


More information about the freebsd-net mailing list