Ubuntu solves the problem of IPv6 hosts

Source: Internet
Author: User

Just go from Windows to Linux, the first step is of course to modify the hosts. And then the windows on the IPv6 hosts copied over but found not good, and later back to the normal hosts found that so, but the speed is too slow.

Problem Analysis :

Ping6 ipv6.google.com not works, may be Ubuntu IPv6 function has a problem.

~$ ifconfig

Ppp0 Link Encap:point-to-point Protocol
inet addr:172.19.70.85 p-t-p:172.19.64.1 mask:255.255.255.255
Inet6 addr:2001:da8:a807:203:7406:acdb:578:80fb/64 Scope:global
Inet6 ADDR:FE80::3005:53D1:C819:865B/10 Scope:link
Inet6 addr:2001:da8:a807:203:3005:53d1:c819:865b/64 Scope:global
Up Pointopoint RUNNING noarp multicast mtu:1500 metric:1
RX packets:41832 errors:0 dropped:0 overruns:0 frame:0
TX packets:22219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Txqueuelen:3
RX bytes:29185177 (29.1 MB) TX bytes:1900399 (1.9 MB)

This is the only copy of Ppp0 's information.

Found that there are two IPv6 of the global address, from the Internet to look like because Ubuntu default IPv6 use temporary address, then why use temporary address will not be able to access the IPv6 site? My understanding is, on the one hand, the school gives us the dynamic distribution address, each dial-up will get a different new IPv6 address, on the other hand, Ubuntu use temporary address, this temporary address will not change immediately, it may be a day or a week after the change At this time, Ubuntu will not be properly assigned to the school address, then we can not normally use IPv6 Internet. So just change Ubuntu to dynamic IPv6 address.

resolution process : To achieve dynamic change IPv6 address, after verification, only need to change the/etc/sysctl.d/10-ipv6-privacy.conf

File, change net.ipv6.conf.default.use_tempaddr to 0.

~$ sudo vim/etc/sysctl.d/10-ipv6-privacy.conf

Re-dial, Ifconfig again

Ppp0 Link Encap:point-to-point Protocol
inet addr:172.19.86.23 p-t-p:172.19.64.1 mask:255.255.255.255
Inet6 ADDR:2001:DA8:A807:203:F84A:19C6:CA4C:DD38/64 Scope:global
Inet6 ADDR:FE80::F84A:19C6:CA4C:DD38/10 Scope:link
Up Pointopoint RUNNING noarp multicast mtu:1500 metric:1
RX packets:21131 errors:0 dropped:0 overruns:0 frame:0
TX packets:11623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Txqueuelen:3
RX bytes:15323693 (15.3 MB) TX bytes:1315532 (1.3 MB)

Perfect solution, IPv6 's hosts on the wall speed off

Main reference this blog: http://blog.csdn.net/qq_18820397/article/details/51171220

Ubuntu resolves issues with IPv6 hosts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.