Mac Local how to build IPV6 environment test your app

Source: Internet
Author: User

Transferred from: http://www.cocoachina.com/ios/20160525/16431.html
Please have a cup of coffee with a spoon (Pinterest)

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

1291197-923dd0282bfd084f.jpg

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

1291197-cf03ab33e8789b27.jpg

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

Step 3

1291197-a9126f23ba633f6a.jpg

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

1291197-14aa24dbebef143d.jpg

Label 2, share to PC with the following port options select Wi-Fi here

1291197-e989cca54fafb6a1.jpg

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

1291197-64fc857f1cf3567d.jpg

One final step

1291197-6f34ed4696cfbf0e.jpg

Done

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

1291197-6bdab007b6152770.jpg

Wi-Fi icons are altered

1291197-e6fef98a354a2b6e.png

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

Common hotspot Sharing

1464081755973977.png

IPV6 hotspot Sharing

1464081777145591.png

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

Next, test several popular apps with IPv6 hotspots,

1464081828449468.png

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

1291197-1304a07508025d2b.jpg

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.

Mac Local how to build IPV6 environment test your app

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.