"To" IPV4 Network access IPV6 resources in non-educational networks

Source: Internet
Author: User
Tags centos

1. Background knowledge

With the continuous development of personal computers, mobile terminals and even the internet of things, there is a great demand for IP addresses. As the IPV4 protocol was designed without expecting that the network would be so developed in the future, the number of IP in the IPV4 network seemed to be stretched relative to today's demand. Add IPV4 Address resource allocation is uneven, resulting in some countries IP address resources are very tense, will suppress the development of strong demand for the Internet. Although the advent of NAT technology alleviates the problem of IPV4 resource, the IPV6 network with more abundant address resources is still the trend. Because the IPV6 protocol is inconsistent with the packet header of the IPV4 protocol, the original device that can parse the IPV4 packet cannot parse the IPV6 data packet Well, which causes the IPV4 network and the IPV6 network not to be interoperable. IPV6 Network and IPV4 Network is incompatible, to the IPV6 network's advancement, has caused the enormous obstruction. On the one hand, because the IPV6 network is not rich enough network resources and no power to use the IPV6, on the other hand, the network content provider because most users use the IPV4 network, but only in the IPV4 network to provide services. At present, the State, scientific research institutions and network service providers are actively promoting the evolution of IPV4 network to IPV6 network.

2. IPV4 Network access IPV6 Network

Because I am not in the education network, can not use the Education Network IPV6 resources. So the following three ways to access the IPV6 network are tested. The methods in 2.1 and 2.2 were tried under Win7, both access was successful, and the 2.3 method was temporarily unsuccessful, possibly related to network speed and hosts. 2.4 Methods were tried under Ubuntu to access the IPV6 network.

2.1 Access to IPV6 network with ipv4.sixxs.org

This method is very simple. You can access the IPV6 Web site only with the name of the IPV6 website you want to access and the. ipv4.sixxs.org. This method is still valid even on XP systems that do not have the IPV6 protocol installed. For example, Access ipv6.baidu.com. If accessed from the IPV4 network, the Web page returns an error, and if you access http://ipv6.baidu.com.ipv4.sixxs.org/, the page content is displayed correctly.

2.2 Use third-party software to access IPv6 Internet in Windows systems

Because there is no IPV4 address for the public network, it is not possible to use ISATAP, 6to4 access IPv6, and Teredo method cannot access IPv6 because it cannot find the available hosts resource. So, there's only one last way: Use third-party software.

Currently available third-party software are: Six fly, Veno,gogo6 and so on. I tried the above 3 software, found that six flies can still be used, but the access speed is slow. Six fly and Veno are developed by domestic companies, have free use of time, after the time will need to charge. Some netizens mentioned that the six-flight payment after the network can also be accepted. It doesn't seem too expensive to glance at it. I have not tried it at present and have the opportunity to try again. Tried the Gogo6, because it is always not connected to IPV6 gateway, so there is no successful access to the IPV6 network.

How to know that you have successfully visited the IPV6 website. There is an interesting test site: http://www.kame.net/If you visit its IPv6 page, the Turtle on the page will move, and if you visit its IPv4 page, the Little Turtle on the page will not move. Oh, it's kind of interesting.

Three software how to use the specific, but also ask you to find their own.

(the following are mainly from: http://kms.lenovots.com/kb/article.php?id=13397)

Access IPV6 resources on 2.3 Win7 using Teredo Tunneling Protocol

The principle of Teredo see: Http://www.ipv6bbs.cn/thread-144-1-1.html. In theory, a host using a private IPV4 address can access IPV6 resources through the Teredo Tunneling protocol, but in my practice there is no success, possibly due to a bad speed. The Teredo Tunneling protocol may be used to access IPv6 resources as long as the Windows system is not too old. The IPV6 protocol is not installed by default in WinXP, and the network says you can install IPV6 using commands. Unfortunately, my WinXP failed to install successfully, I do not know why ... The following is only a detailed description of how the Teredo Tunneling protocol is used on Win7.

2.3.1 confirm that the operating system has the IPV6 protocol installed

Use the Ipconfig/all command to see if the system has the IPV6 protocol installed. Windows Vista and Windows 7, 2008 already have the IPV6 protocol installed by default and do not need to be installed again. The WinXP system requires the installation of the IPV6 protocol. Windows XP and the Windows 2003 operating system are not installed by default with the IPV6 protocol and require manual installation of the IPV6 protocol family. You can install it by using the following command: netsh interface ipv6 install

2.3.2 confirm that a global unicast IPV6 address is assigned to the available

You can use the command ipconfig/all or netsh interface ipv6 show address to view your IPV6 addresses. If the IPV6 address is 2001::, then this IPv6 address can be used to access the IPV6 Internet. If only FE80:: The beginning of the address, it only means that the IPV6 network is connected, but this is only the system installed IPV6 protocol automatically generated after the link-local address, unable to access the IPV6 Internet.

The local network card cannot automatically get to the available 2001:: Start of the global unicast IPV6 address, only through the tunnel or third-party software to access the IPV6, please refer to other posts on this site. General Education network users can be directly through the DHCPV6 protocol or IPV6 stateless address automatic configuration, ISATAP, tunnels and other ways to access, to automatically get 2001:: The beginning of the IPV6 address.

Users through Teredo tunnel access in the Ipconfig/all information is not the default gateway, is through the IPV4 network to transfer IPV6 data, need to modify the Hosts file.

2.3.3 Confirm that you can ping IPv6 website

Use the command:

Ping-6 ipv6.google.com ping-6 www.kame.net ping-6 www.6rank.edu.cn

To test if you can connect to these pure IPv6 sites. If at least one row of the returned results shows reply from 200xxx::xxx ... Information, you can access the IPV6 network. If all requests are time out, the request times out, which means that the IPV6 network is not available and there may be other failures.

2.3.4 Access IPv6 via tunnel mode

Please first specify which tunnel to access the IPV6 network, only need to open a tunnel service.

Second, make sure that a variety of tunnel services do not open at the same time, confirm that the Ipconfig/all information in the different network card (or tunnel interface) only one network card exists in the global unicast IPV6 address exists, if more than one network card exists 2001:: The beginning of the address (such as the local network card directly get IPV6 address, Teredo, ISATAP, 6to4, and other tunnels are all at the same time) or multiple network cards exist at the same time 2001:: The beginning of the address and 2002:: The beginning of the address, at this time please close the unnecessary tunnel service, or directly disable all three tunnels, reconfigure.

In addition, only the Teredo tunnel can use the private network IP address across the NAT (router shared Internet) device, ISATAP, 6to4 and other tunnels must use the world's only public network IPV4 address, such as tunnel access is not successful please try to clear all IPv6 and tunnel-related configuration, And again refer to the station in the various tunnel access specific tutorials.

Run the following command to clear all IPv6 and tunnel-related configurations, restore the system defaults, and recommend that you use this command to restore the default values IPV6 network failure, and then reconfigure the IPV6 access again. You can use the command: netsh interface ipv6 reset to restore the default values. Win 7 and Vista users need administrator privileges to execute this command.

When multiple tunnels or multiple IPV6 addresses exist, the unused tunnel service is disabled separately using the following command:

1. netsh interface [IPv6] 6to4 set state Disable 2. netsh interface [IPv6] ISATAP set state Disable 3. netsh interface [IPv6] Teredo set state disable

2.3.5 Access IPv6 Internet using Teredo tunnel access

When using the Teredo method, you must modify the native Hosts file to add the usual IPV6 Web address to the native Hosts file before you can access the Web site specified in the class hosts directly through the browser. IPV6 sites without hosts will not be accessible, so be sure to note them. Hosts file address: C:\Windows\System32\drivers\etc\hosts.

I searched the internet for many host files with IPV6 network addresses, but after the trial I found that most of them were still not connected. The specific reasons are unclear, but the possible reasons are: 1. The network is too slow to connect. 2. The website cannot be connected by a wall.

2.4 Use Teredo Tunneling protocol to access IPV6 resources on Ubuntu (practice has proved that using Miredo cannot access the IPv6 network of China Education Network in IPv6 network, but can access the education network of non-China in IPv6 network)

Transferred from: http://blog.felixc.at/2010/04/install-teredo-ipv6/

Install Miredo using the following command:

sudo apt-get install Miredo

Once installed, use the Ifconfig command to see one more network interface in the Ubuntu system: Teredo. One of the Inet6 addr starts with 2001, indicating that the system has an IP that can access IPV6 network resources. At this point, you can use the following command to test access to the IPV6 resource:

Ping6 ipv6.google.com ping6 2001:470:20::2

If the returned result shows an IP address of IPv6 address, then the IPV6 resource can be accessed. If you can only ping6 the IPV6 network address, the DNS setting cannot resolve the IPV6 domain name. Because I am using the ubuntu12.10, so I see the DNS address is 127.0.0.1, can not be sure to determine which DNS server to use when parsing.

2.5 CentOS uses Teredo Tunneling protocol to access IPV6 resources (practice proves that the IPv6 network of China Education Network in IPv6 network can not be accessed using Miredo, but access to the education network of non-China in IPv6 network)

I'm using the centos5.5 system. Using the command: Yum install Miredo, the system tells me that there is no possible installation package ... I downloaded a miredo rpm installer myself, and when it was installed, I was prompted to have Libjudy.so.1/libcap.so.2/rpmlib (filedigests)/rpmlib (PAYLOADISXZ) without these basic packages, So I used Yum to install the packages, and I was prompted to not find the available installation packages. Very helpless ... So I went on to find out how to install Miredo on centos5.5. I finally found out: using Epel. (The following is from: http://blog.51yip.com/linux/1337.html) what is Epel. EPEL (Extra Packages for Enterprise Linux) from Fedora Project is right for you if you want to get RHEL's high-quality, high-performance, high-reliability, and easy-to-use (key to free) package update functionality. EPEL (Http://fedoraproject.org/wiki/EPEL) is a project built by the Fedora community to deliver high-quality software packages for RHEL and derivative distributions such as CentOS, scientific Linux, and more.

First, install Epel.

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.