linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IPv6 and NFS4
@ 2010-05-03 14:45 Jack Byer
  2010-05-03 15:13 ` Chuck Lever
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Byer @ 2010-05-03 14:45 UTC (permalink / raw)
  To: linux-nfs

If I have an NFS4 server successfully sharing a directory with a client and
both machines have valid IPv4 and IPv6 addresses should it be possible to
mount the directory using either IPv4 or IPv6?

Both machines are running 2.6.34-rc6 kernels, nfs-utils-1.2.2,
libtirpc-0.2.0 and rpcbind-0.2.0. Mounting over IPv4 works perfectly, but
IPv6 just times out while trying to mount the share. Using tcpdump I see
that the two machines exchange 40 packets before the client finally gives
up. There are no messages generated in the system log or dmesg of either
machine.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IPv6 and NFS4
  2010-05-03 14:45 IPv6 and NFS4 Jack Byer
@ 2010-05-03 15:13 ` Chuck Lever
  0 siblings, 0 replies; 2+ messages in thread
From: Chuck Lever @ 2010-05-03 15:13 UTC (permalink / raw)
  To: ftn768; +Cc: Jack Byer, linux-nfs

On 05/03/2010 10:45 AM, Jack Byer wrote:
> If I have an NFS4 server successfully sharing a directory with a client and
> both machines have valid IPv4 and IPv6 addresses should it be possible to
> mount the directory using either IPv4 or IPv6?

Yes, that should work if nfs-utils-1.2.2 is built with --enable-tirpc 
and --enable-ipv6.

> Both machines are running 2.6.34-rc6 kernels, nfs-utils-1.2.2,
> libtirpc-0.2.0 and rpcbind-0.2.0. Mounting over IPv4 works perfectly, but
> IPv6 just times out while trying to mount the share. Using tcpdump I see
> that the two machines exchange 40 packets before the client finally gives
> up. There are no messages generated in the system log or dmesg of either
> machine.

Are the IPv6 addresses correctly registered with DNS?  Have you tried 
"mount.nfs4 ... -v" ?  Or:

$ sudo rpcdebug -m nfs -s mount

will produce more syslogging.

-- 
chuck[dot]lever[at]oracle[dot]com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-03 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03 14:45 IPv6 and NFS4 Jack Byer
2010-05-03 15:13 ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).