Ubuntu system two ways to enable IPV6

Source: Internet
Author: User

IPV6 is what we commonly call Internet Protocol, is the core protocol of TCP/IP, then how to open IPv6 under Linux? The following is an example of Ubuntu, to introduce you to Ubuntu enable IPv6 method.

Method:

$sudo Apt-get Install Miredo

$ifconfig

A virtual network card called Teredo should be visible in the results.

$ ping6 ipv6.google.com

PING ipv6.google.com (2404:6800:8003::93) data bytes

Bytes from 2404:6800:8003::93:icmp_seq=2 ttl=57 time=910 ms ...............

Your browser should now have access to the https://ipv6.google.com.

$sudo gedit/etc/hosts

Copy the host list to the hosts list. Address: Http://docs.google.com/View? Id=dfkdmxnt_61d9ck9ffq

You should now be able to access it normally: http://www.youtube.com/

Modify the following firewall settings:

$sudo GEDIT/ETC/DEFAULT/UFW

Change Ipv6=no to Yes

Finally disable/enable the firewall for the changes to take effect:

$ sudo ufw disable

$ sudo ufw enable

Another way:

sudo apt-get install gw6c

Above is Ubuntu open IPv6 method introduced, this article introduces two methods, if you want to use IPV6, then you have to open the IPV6 service before the line.

Http://www.xitongzhijia.net/xtjc/20150402/43848.html

Http://blog.sina.com.cn/s/blog_77f5a65c0101cjk9.html

http://forum.ubuntu.org.cn/viewtopic.php?t=374344

Native IPV6 After upgrading 12.04 everything is OK.
You can first check the local routing table, route-a Inet6 Look in the routing table::/0 of the corresponding flag contains g (g is the meaning of the gateway).
Then you can open the system's own "network Tool", select the corresponding network card (you should be eth0), using the "traceroute" tool to track ipv6.google.com routing.
Theoretically, the first jump should be 2001:250:2800:346::1 second jump should be 2001:250:2800::1 third jump should be cernet2.net
If the first jump fails, it's your own machine. The second hop is the school router, you can find the network management Https://www.cyberciti.biz/faq/ubuntu-ipv6-networking-configuration/Ubuntu Linux ADD Static IPv6 Address Network Configuration by Vivek gite on June, updated July 5 In Iptables, IPv6, Linux, Networking, Security, Ubuntu Linux

How does I configure static IPV6 networking under Ubuntu Linux server operating systems? How to enable IPV6 for Ubuntu Linux version 14.04 or 16.04 LTS server? You need to simply edit /etc/network/interfaces file and add the IPV6 networking configuration. Here's our sample setup:

    • Ipv6 Address IP:2607:F0D0:2001:000A:0000:0000:0000:0010/64
    • Ipv6 Gateway ip:2607:f0d0:2001:000a:0000:0000:0000:0001
    • Interface Name:eth0
    • IPv6 type:static

Ubuntu system two ways to enable IPV6

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.