|
我的是FC2,用的是2.6内核,相信ipv6已经打开了,但有个问题,我的情况如下,在打ifconfig时结果显示为
=================================
eth1 Link encap:Ethernet HWaddr 00:05:5D:06:69:AE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::205:5dff:fe06:69ae/64 Scopeink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:9
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:618 (618.0 b)
Interrupt:11 Base address:0xdc00
lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:93 errors:0 dropped:0 overruns:0 frame:0
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6061 (5.9 Kb) TX bytes:6061 (5.9 Kb)
=========================
这说明我的已经有ipv6了,我打ping6 ::1
[root@Gaolinfeng root]# ping6 ::1 -c 2
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=0 ttl=64 time=0.132 ms
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.122 ms
--- ::1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.122/0.127/0.132/0.005 ms, pipe 2
已经通了,说明ipv6已经启用了,可为什么打ping6 fe80::205:5dff:fe06:69ae就不行?我打相对应的ping 192.168.1.1都通了呀?
==================
这是用ping6的结果如下:
[root@Gaolinfeng root]# ping6 fe80::205:5dff:fe06:69ae
connect: Invalid argument
这个ipv6地址是从ifconfig中查到的。\ |
|