Subject: Re: NFS over IPv6
To: Kim Kyung-hwan <redjade@ada.snu.ac.kr>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-net
Date: 02/18/2001 17:02:33
On Sun, 18 Feb 2001, Kim Kyung-hwan wrote:
> Did you write a walkthrough or such document describing what you've done?
> I would like to try it.
Um, I don't have such a document. The migration path I took was:
* I had NFS over IPv4 for a long time. I used hostnames only in fstab and
/etc/exports, as there was no problem with search order.
* I enabled IPv6 on both client and server, setup DNS to have foo.domain
point to the v4 address (A record), and foo.ipv6.domain to the IPv6
address (AAAA record). I also had a "search ipv6.domain domain" in
/etc/resolv.conf of both machines.
I'm now aware that this makes resolving of hostnames in fstab and
exports (etc. :-) dependent on information in /etc/resolv.conf, which
may not be wanted as an extra thing that needs changing. I've then
changed both files to contain FQDNs (foo.domain, for IPv4) to make
things clear and not be dependent on resolv.conf.
* To switch to NFS over IPv6 then, I changed the server's /etc/exports
and client's /etc/fstab to use foo.ipv6.domain, restarted the necessary
processes, and that's it. It just works. :-)
- Hubert
--
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>