IPv6 - Linux
By Barb Cronin
at 2013-06-21T01:26
at 2013-06-21T01:26
Table of Contents
自問自答
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也沒有作用
--
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也沒有作用
--
Tags:
Linux
All Comments
Related Posts
XRDP如何把DISPLAY 丟到別的工作站
By Olive
at 2013-06-20T20:17
at 2013-06-20T20:17
支援雙字幕顯示功能的多媒體撥放程式
By Blanche
at 2013-06-20T13:24
at 2013-06-20T13:24
想請問ubuntu是否有這種套件
By Delia
at 2013-06-20T00:16
at 2013-06-20T00:16
想組linux kernel讀書會
By Hazel
at 2013-06-19T19:40
at 2013-06-19T19:40
passwd 的使用方式
By Callum
at 2013-06-19T17:50
at 2013-06-19T17:50