From Fedora Project Wiki

(Created page with 'IPv6 Testing on NFS should be similar to IPv4 NFS, and when specifying ipv6 address, it needs to be enclosed in square brackets. Link-local and site-local IPv6 addresses must b...')
 
No edit summary
Line 1: Line 1:
IPv6 Testing on NFS should be similar to IPv4 NFS, and when specifying ipv6 address, it needs to be enclosed in square brackets.  Link-local and site-local IPv6  addresses must be accompanied by an interface identifier.  
IPv6 Testing on NFS should be similar to IPv4 NFS, and when specifying ipv6 address, it needs to be enclosed in square brackets.  Link-local and site-local IPv6  addresses must be accompanied by an interface identifier. See the nfs(5) manpage for details:
Please see ipv6(7) manpage for details on specifying raw IPv6 addresses.


* Here's an example /etc/fstab line that shows how to mount an NFS server over IPV6:


* An example of /etc/fstab shows how to mount an NFS server using a raw IPv6 link local address using brackets:
             [2001:470:8:c53:20e:cff]:/export /mnt nfs  defaults  0 0
 
             [fe80::215:c5ff:fb3e:e2b1%eth0]:/export /mnt nfs  defaults  0 0


* An good example to try is to mount a nfs filesystem via an ipv6 address:
* An good example to try is to mount a nfs filesystem via an ipv6 address:


             # mount -t nfs '[2001:470:8:d63:20e:cff:fec6::1]:/export' /mnt/foo
             # mount -t nfs '[2001:470:8:c53:20e:cff:fec6::1]:/export' /mnt/foo


* On the server side, if you're restricting access by subnet you'll also need to explicitly export to your ipv6 subnet as well. Here's an example line in /etc/exports that is exporting to both IPv4 and IPv6 addresses.


Note: NFS Client side IPv6 support is in RHEL6.0; NFS Server side IPv6 support is in RHEL6.1
            /home 192.168.10.0/24(rw,insecure) [2001:470:8:c53::/64](rw,insecure)

Revision as of 20:19, 7 June 2011

IPv6 Testing on NFS should be similar to IPv4 NFS, and when specifying ipv6 address, it needs to be enclosed in square brackets. Link-local and site-local IPv6 addresses must be accompanied by an interface identifier. See the nfs(5) manpage for details:

  • Here's an example /etc/fstab line that shows how to mount an NFS server over IPV6:
           [2001:470:8:c53:20e:cff]:/export /mnt nfs  defaults  0 0
  • An good example to try is to mount a nfs filesystem via an ipv6 address:
           # mount -t nfs '[2001:470:8:c53:20e:cff:fec6::1]:/export' /mnt/foo
  • On the server side, if you're restricting access by subnet you'll also need to explicitly export to your ipv6 subnet as well. Here's an example line in /etc/exports that is exporting to both IPv4 and IPv6 addresses.
            /home 192.168.10.0/24(rw,insecure) [2001:470:8:c53::/64](rw,insecure)