歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu開啟IPv6

Ubuntu開啟IPv6

日期:2017/2/28 14:51:53   编辑:Linux教程

在Ubuntu開啟IPV6。

$sudo apt-get install miredo

$ifconfig

在結果中應該能看見一個叫 teredo 的虛擬網卡。

$ ping6 ipv6.google.com

PING ipv6.google.com(2404:6800:8003::93) 56 data bytes
64 bytes from 2404:6800:8003::93: icmp_seq=2 ttl=57 time=910 ms.......................

現在您的浏覽器應該可以訪問 https://ipv6.google.com 了。

$sudo gedit /etc/hosts

把host列表拷貝進去,hosts列表發布地址:http://docs.google.com/View?id=dfkdmxnt_61d9ck9ffq

現在應該可以正常訪問: http://www.youtube.com/

修改下防火牆設置:

$sudo gedit /etc/default/ufw

把IPV6=no 改成 yes

最後禁用/啟用防火牆來使剛剛的改動生效:

$ sudo ufw disable
$ sudo ufw enable

###############################################################################

另一種方法:

sudo apt-get install gw6c

更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2

Copyright © Linux教程網 All Rights Reserved