Local how to build IPV6 environment test your app (GO)

Source: Internet
Author: User

IPV6 's introduction

The difference between IPV4 and IPV6 is that the IP address is. (dot) split, which is split by: (Colon) (more details are self-searching).

PS: In the use of IPv6 hot spots, remember the mobile phone flight mode Oh, to ensure that the phone only in Wi-Fi internet, so as not to connect the phone in the network when connected, will default to use cellular network (that is 2G, 3G, 4G traffic) Internet.

Local MAC build IPV6 test environment

To test if your APP is working in a IPV6 environment, all you need is a non-Wi-Fi-enabled Mac computer. If you use a Mac all-in-one network wired, then you do not have to prepare anything, if you use the Mac, do not Air or Pro, as long as the wireless internet, you need a RJ-45 to the USB conversion tool (because Mac ben does not directly plug into the Wired interface), to a dog, a cat Amoy bar, It's not too expensive to 100来 the ocean.

Setting up the IPV6 test environment it's easy to use a Mac to make a hot spot, and then connect to the Wi-Fi with the IPhone, and it sounds like a lot easier, follow my steps.

And the normal way to open the Mac hotspot is the difference between this time we have a local IPv6 Dns64/nat64 network, this feature is OS X 10.11 new features (if your MAC system version is not necessary to upgrade Oh, to generate IPV6 hot na).

Unlike the way we used to open hotspots, we have to press and hold the Option key while sharing (sharing) is selected in the System Preferences interface. See figure:

Step 1

Then in the "sharing" interface, we will see the same place as before, is the red box marked the place, more than a "Create NAT64 network" box, select it.

Step 2

Next, in the shared window, click the label shown in the figure,

Step 3

Then click the drop-down list of connections that share the following sources and select the network interface that we want to share. I am currently trying to share a USB/LAN (because I am using a wired RJ-45 connector to the USB Output Network conversion tool).

PS: If your MAC is wired dial-up, please select the Ppoe option as the shared source. If your MAC is wired (without dialing), select the Thunderbolt Ethernet cable network option as a shared source.

Label 1

Label 2 , use the following port to share to PC option here to select Wi-Fi

Label 3 , click Wi-Fi Options ... Options to personalize your own hotspot Oh

One final step

Done

A change proves that you've succeeded in creating a IPv6 hot spot.

Wi-Fi icons are altered

See the changes in the phone's connection sharing Wi-Fi

Common hotspot Sharing

IPV6 hotspot Sharing

Compare DNS addresses in 2 images see the difference, one. Split, one: Split.

Next, test several popular apps with IPv6 hotspots,

Tip Unable to connect to the server. But QQ is possible.

Indicates that the network connection is not available. This may also be the case with older versions of the demo. The solution is to go to the official website to check the SDK documentation, here is only to detect the IPV6 environment of the app connectivity.

Local how to build IPV6 environment test your app (GO)

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.