Re: [問題] IPv6
自問自答
if you want to ping a link-local address which starts with fexx,
you need to specified the interface, ie #ping6 -I eth0 fexx:xxxx:xxx....
if you want to #ping6 localhost, then that phrase "localhost" must be
resolved in /etc/host
here is what I have in my default /etc/host
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback localhost
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
simply add localhost at the end of ::1
※ 引述《sean72 (.)》之銘言:
: 我想試著測試IPv6
: 下面是我的步驟
: 1.
: In VMware Ubuntu
: ping localhost (成功)
: ping6 localhost (Unknown host)
: ifconfig, it shows my IPv6 for my Ubuntu is
: fe80::20c:29ff:fe61:948a/64
: 2.
: so I ping my Ubuntu from Windows
: ping fe80::20c:29ff:fe61:948a%64
: (失敗 PING Transmit Failed General Failure)
: (但我用window7 ping window7自己的IPv6 是可以動作的
: 所以win7 應該是可以成功ping IPv6)
: 3.
: gedit /proc/net/if_inet6
: fe80000000000000020c29fffe61948a 02 40 20 80 eth0
: lsmod | grep ipv6 (什麼都沒有 我本預期會出現找到IPv6)
: 所以請問我是否有正確起動我ubuntu的 IPv6了?
: 謝謝
: ps.
: 我參考下面文章
: http://www.cyberciti.biz/faq/check-for-ipv6-support-in-linux-kernel/
: 執行modprobe ipv6也沒有作用
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 204.96.168.3
討論串 (同標題文章)