我正在尝试从具有IPv6和IPv4地址的Ubuntu系统中挂载文件夹。
我可以从不同的Linux系统上ping通IPv6地址:
root@:/home# ifconfig
br0 Link encap:Ethernet HWaddr 16:37:81:2e:ce:e9
inet addr:10.0.3.24 Bcast:10.0.7.255 Mask:255.255.248.0
inet6 addr: 2001:db8::60fe:5bff:febc:912/64 Scope:Global
inet6 addr: 2001:db8::e8a6:7d68:16b8:3d86/64 Scope:Global
我可以从不同的Linux系统上ping通IPv6地址:
[root@Abhitesh home]# ping6 2001:db8::60fe:5bff:febc:912
PING 2001:db8::60fe:5bff:febc:912(2001:db8::60fe:5bff:febc:912) 56 data bytes
64 bytes from 2001:db8::60fe:5bff:febc:912: icmp_seq=1 ttl=64 time=0.968 ms
64 bytes from 2001:db8::60fe:5bff:febc:912: icmp_seq=2 ttl=64 time=1.07 ms
当我尝试使用ipv6
进行挂载时,出现了错误。
[root@Abhitesh home]# mount -t nfs 2001:db8::60fe:5bff:febc:912:/home/abhitesh /home/mount/
mount.nfs: mount system call failed
[root@Abhitesh home]#
使用ipv4
挂载命令可以正常工作。
这是因为我的命令有误还是需要配置一些东西才能使用ipv6
进行挂载?
在我的系统中已启用了ipv6
。
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0