How does personal broadband enable IPv6 network access

IPv6 is the general trend. Just a while ago, Hunan Unicom announced that it will provide IPv6 address for home broadband and no longer provide IPv4 address. This paper introduces how to open IPv6 network access for personal broadband.

Hunan Unicom stopped providing public IPv4 addresses to ordinary home broadband users

Let's first show you the effect of opening IPv6 network access.

This is a IPv6 address query You can see the page to prompt your network IPv6 access priority.

If you use Google Chrome browser, right-click the web page to open the review mode, and you can also see that the network request is an IPv6 address.

As for what good resources IPv6 has, you can search IPv6 resource navigation.

Next, let's introduce how to turn on IPv6 for personal broadband

Two configurations are mainly modified: optical cat (enabling bridging and IPv6) and router (PPPoe dialing and IPv6 network settings).

Next, take Telecom Tianyi optical cat and Xiaomi 4A Gigabit router as examples to introduce how to turn on IPv6 network access.

1. Modify the optical cat: enable bridging and IPv6 settings

Optical cat: in telecom broadband, it is Tianyi broadband home gateway.

Check the IP address of the light cat on the back of the light cat, log in with the administrator account and password, and enter the light cat background.

  • Address: http://192.168.1.1
  • User name: useradmin
  • Password: nE7jA%5 (Note: it's not an ordinary account, but an administrator account. If you don't know, search or ask the customer service)

You can see the following page to prove that the optical cat management end has entered successfully.

Click Network and you will see the network connection page.

The connection name is 3_INTERNET_R_VID_41, the connection mode is bridge, and the IP mode is IPv4 & IPv6. Click Save / apply, and it will take effect after about 10s.

In addition, if you forget the PPPoE dial-up account and password, you can also view it on this page. Select the connection mode as PPPoE to view the saved account and password. If you can't see the password, use the review mode of Chrome, right-click the password input box, and delete the password in the figure below to view the dial-up password.

The PPPoe dial-up account password will be used in the router.

Next, in the status menu, you can see that IPv4 and IPv6 have been turned on successfully.

The optical cat is set up. Next, set up the router.

2. Set the router PPPoE dial-up and enable IPv6 settings

View the management address behind the router and enter the background of the router.

In the Internet settings, select PPPoE as the Internet access method and fill in the broadband dial-up account password. (if you don't remember, you can find it in the background of Guangmao or call customer service.)

Turn on IPv6 network settings and select Native for Internet access.

Manually configure DNS, such as 240e:1f:1::1 and 240e:1f:1::33 in Guangdong. See more IPv6 DNS address list , and then click apply.

You can see the current Internet access information at the top of the Internet access setting page. You can see that the WAN port has obtained the IPv6 address and the public network IPv6 prefix.

After the IPv6 network is turned on successfully, we need to verify whether it is really turned on successfully.

3. Verify IPv6 network

Choose one of the following verification methods.

3.1 web page access verification

This is a IPv6 address query On the website, you can see the above prompt that your network IPv6 access is preferred.

You can also configure your own public IPv6 address Online Ping.

3.2 API interface access verification

  • open https://ipv6.ipw.cn/ , if the access is successful, it proves that the IPv6 network is turned on successfully.

The site only supports IPv6 network access, and IPv4 network cannot be accessed.

// https://ipv6.ipw.cn/
{
  "result": true,
  "IP": "240e:3b7:3b7:3b7::3b7",
  "IPVersion": "IPv6",
  "AddressFullText": "China,Guangdong Province,Guangzhou City,Yuexiu District",
  "Address": {
    "Country": "China",
    "Province": "Guangdong Province",
    "City": "Guangzhou City",
    "District": "Yuexiu District"
  },
  "ISP": "China Telecom public broadband"
}
  • open https://test.ipw.cn/ , if the returned IPVersion field is IPv6, the current network IPv6 access takes precedence; if the returned IPVersion field is IPv4, the current network IPv4 access takes precedence.

test.ipw.cn supports IPv4/IPv6 dual stack access.

// https://test.ipw.cn/
{
  "result": true,
  "IP": "240e:3b7:3b7:3b7::3b7",
  "IPVersion": "IPv6",
  "AddressFullText": "China,Guangdong Province,Guangzhou City,Yuexiu District",
  "Address": {
    "Country": "China",
    "Province": "Guangdong Province",
    "City": "Guangzhou City",
    "District": "Yuexiu District"
  },
  "ISP": "China Telecom public broadband"
}

3.3 IPv6 address direct access

Directly visit http://[2402:4e00:1013:e500:0:940e:29d7:3443] /, and the following information will be returned.

// http://[2402:4e00:1013:e500:0:940e:29d7:3443]/
{
  "result": true,
  "IP": "240e:3b7:3b7:3b7::3b7",
  "IPVersion": "IPv6",
  "AddressFullText": "China,Guangdong Province,Guangzhou City,Yuexiu District",
  "Address": {
    "Country": "China",
    "Province": "Guangdong Province",
    "City": "Guangzhou City",
    "District": "Yuexiu District"
  },
  "ISP": "China Telecom public broadband"
}

3.4 command line validation

View native IPv6 address

  • Windows
C:\Users\>ipconfig/all
 WLAN adapter WLAN:

   Connect specific DNS suffix . . . . . . . :
   describe. . . . . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
   Physical address. . . . . . . . . . . . . : 48-45-45-45-45-48
   DHCP Enabled . . . . . . . . . . . : yes
   Auto configuration enabled. . . . . . . . . . : yes
   IPv6 address . . . . . . . . . . . . : 240e:3b7:3b7:3b7::3b7(be the first choice)
   Time to obtain lease  . . . . . . . . . : 2021 October 31, 2007:32:02
   Time when the lease expires  . . . . . . . . . : 2021 October 31, 2009 9:32:02
   IPv6 address . . . . . . . . . . . . : 240e:3b7:3b7:3b7::3b7(be the first choice)
   temporary IPv6 address. . . . . . . . . . : 240e:3b7:3b7:3b7::3b7(be the first choice)
   Local link IPv6 address. . . . . . . . : fe80::c77:4078:c21a:b17e%19(be the first choice)
   IPv4 address . . . . . . . . . . . . : 192.168.31.31(be the first choice)
   Subnet mask  . . . . . . . . . . . . : 255.255.255.0
   Time to obtain lease  . . . . . . . . . : 2021 October 31, 2007:32:01
   Time when the lease expires  . . . . . . . . . : 2021 October 31, 2014:32:01
   Default gateway. . . . . . . . . . . . . : fe80::5648:f6ff:feb3:f1e8%19
                                       192.168.31.1
   DHCP The server . . . . . . . . . . . : 192.168.31.1
   DHCPv6 IAID . . . . . . . . . . . : 155555232
   DHCPv6 client DUID  . . . . . . . : 00-01-00-80-24-D2-80-80-80-80-80-80-80-80
   DNS The server  . . . . . . . . . . . : 240e:1f:1::1
                                       192.168.31.1
   TCPIP Upper NetBIOS  . . . . . . . : Enabled
  • macOS
$ ifconfig  en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=400<CHANNEL_IO>
	ether 88:66:66:66:66:88
	inet 192.168.31.215 netmask 0xffffff00 broadcast 192.168.31.255
	inet6 fe80::181a:8937:988d:ae46%en0 prefixlen 64 secured scopeid 0x6
	inet6 240e:3b7:3b7:3b7::3b7 prefixlen 64 autoconf secured
	inet6 240e:3b7:3b7:3b7::3b7 prefixlen 64 autoconf temporary
	inet6 240e:3b7:3b7:3b7::3b7 prefixlen 64 dynamic
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active

Ping IPv6 website

  • Windows
C:\Users\>ping -6 ipw.cn

Is Ping ipw.cn [2402:4e00:40:40::2:331] Data with 32 bytes:
From 2402:4e00:40:40::2:331 Reply from: time=17ms
 From 2402:4e00:40:40::2:331 Reply from: time=6ms
 From 2402:4e00:40:40::2:331 Reply from: time=7ms
 From 2402:4e00:40:40::2:331 Reply from: time=9ms

2402:4e00:40:40::2:331 of Ping statistical information :
    data packet: has been sent = 4,Received = 4,lose = 0 (0% lose),
Estimated round trip time(In Milliseconds ):
    minimum = 6ms,Longest = 17ms,average = 9ms

C:\Users\>ping ipw.cn

Is Ping ipw.cn [2402:4e00:40:40::2:331] Data with 32 bytes:
From 2402:4e00:40:40::2:331 Reply from: time=8ms
 From 2402:4e00:40:40::2:331 Reply from: time=8ms
 From 2402:4e00:40:40::2:331 Reply from: time=8ms
 From 2402:4e00:40:40::2:331 Reply from: time=8ms

2402:4e00:40:40::2:331 of Ping statistical information :
    data packet: has been sent = 4,Received = 4,lose = 0 (0% lose),
Estimated round trip time(In Milliseconds ):
    minimum = 8ms,Longest = 8ms,average = 8ms

C:\Users>ping -4 ipw.cn

Is Ping ipw.cn [159.75.190.197] Data with 32 bytes:
From 159.75.190.197 Reply from: byte=32 time=8ms TTL=53
 From 159.75.190.197 Reply from: byte=32 time=9ms TTL=53
 From 159.75.190.197 Reply from: byte=32 time=20ms TTL=53
 From 159.75.190.197 Reply from: byte=32 time=17ms TTL=53

159.75.190.197 of Ping statistical information :
    data packet: has been sent = 4,Received = 4,lose = 0 (0% lose),
Estimated round trip time(In Milliseconds ):
    minimum = 8ms,Longest = 20ms,average = 13ms
  • macOS
$ ping ipw.cn
PING ipw.cn (159.75.190.197): 56 data bytes
64 bytes from 159.75.190.197: icmp_seq=0 ttl=53 time=14.769 ms
64 bytes from 159.75.190.197: icmp_seq=1 ttl=53 time=10.403 ms
64 bytes from 159.75.190.197: icmp_seq=2 ttl=53 time=10.125 ms
64 bytes from 159.75.190.197: icmp_seq=3 ttl=53 time=17.507 ms

$ ping6 ipw.cn
PING6(56=40+8+8 bytes)  --> 2402:4e00:40:40::2:331
16 bytes from 2402:4e00:40:40::2:331, icmp_seq=0 hlim=53 time=18.052 ms
16 bytes from 2402:4e00:40:40::2:331, icmp_seq=1 hlim=53 time=16.393 ms
16 bytes from 2402:4e00:40:40::2:331, icmp_seq=2 hlim=53 time=14.736 ms
16 bytes from 2402:4e00:40:40::2:331, icmp_seq=3 hlim=53 time=14.062 ms
 --- ipw.cn ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 14.062/15.811/18.052/1.547 ms

OK, that's it. I wish you success in opening IPv6 network.

reference

Added by mdnghtblue on Sun, 31 Oct 2021 06:26:33 +0200