Skip to contentSkip to conversation

support of IPv6 by NFSv4

DISCUSSION Trond Myklebust 1 participant 1 message Mar 23, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

P=E5 ty , 23/03/2004 klokka 10:52, skreiv Gilles Quillard:

Quoted 3 lines

Hi,
=20
I'm new in this mailing list. We are interesting by having NFSv4 working =

over IPv6.

Quoted 1 line

One year ago, Bruce Allan from IBM submitted a patch to add the support o=

f IPv6 in the SUNRPC and in the NFS client/server

Quoted 1 line

kernel part. This patch has not been adopted. Trond, did you remember why=

this patch has not been taken into account ?

There was (and still is) no userland support for RPC on IPv6, so NFSv2/v3 cannot as of yet make use of it... At the time, NFSv4 was not merged.

Quoted 1 line

Since this date, there has been no new message on the mailing list about =

the support of IPv6. Is there some people working on

Quoted 1 line

this subject or interested by it ?

Yes: Chuck Lever ([email protected]) has recently taken it up. He is also trying to extend Bruce's work in order to allow for non-TCP/IP based transport mechanisms (for an internal project).

Quoted 1 line

I have begun to look how the support of IPv6 could be integrated in NFS a=

nd SUNRPC. The most efficient way seems to be using the

Quoted 1 line

IPv4-mapped IPv6 address format (as described in the sections 3.7 and 6 o=

f RFC2133). With this method, IPv4 addresses are

Quoted 1 line

converted into IPv6 addresses the first time they are used by the user pa=

rt applications, and then all the address processing is

Quoted 1 line

done using INET6 addresses (simple change of in_addr/sockaddr_in by in6_a=

ddr/sockaddr_in6). This method avoids the multiple

Quoted 1 line

tests of the INET family and the corresponding castings. A set of macros/=

functions (IN6_IS_ADDR_V4MAPPED(), inet_pton(),

Quoted 1 line

inet_ntop(), gethostbyname2(), ...) is available to identify the format o=

f the addresses, to convert and display the addresses

Quoted 1 line

according to their format and to use the name server.

Please make sure you coordinate any work with Chuck...

Cheers,
Trond

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs