CN114500258B - Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway - Google Patents

Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway Download PDF

Info

Publication number
CN114500258B
CN114500258B CN202111560937.0A CN202111560937A CN114500258B CN 114500258 B CN114500258 B CN 114500258B CN 202111560937 A CN202111560937 A CN 202111560937A CN 114500258 B CN114500258 B CN 114500258B
Authority
CN
China
Prior art keywords
router
ipv6
home intelligent
address
prefix information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111560937.0A
Other languages
Chinese (zh)
Other versions
CN114500258A (en
Inventor
张兴武
陈曦
朱永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Tianyi Comheart Telecom Co Ltd
Original Assignee
Sichuan Tianyi Comheart Telecom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Tianyi Comheart Telecom Co Ltd filed Critical Sichuan Tianyi Comheart Telecom Co Ltd
Priority to CN202111560937.0A priority Critical patent/CN114500258B/en
Publication of CN114500258A publication Critical patent/CN114500258A/en
Application granted granted Critical
Publication of CN114500258B publication Critical patent/CN114500258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/066Telephone sets adapted for data transmision
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a wifi6 router lower ipv6 automatic internet configuration method under a home intelligent gateway, which comprises a service network server, a home intelligent optical cat and a router, wherein the service network server is communicated with the home intelligent optical cat through a network, the home intelligent optical cat distributes the network to each terminal device through the router, the home intelligent optical cat acquires prefix information through a server, receives the prefix information through a broadcast by the router and generates a stateless ipv6 address, and the router comprises the following steps: step 1: configuring a home intelligent light cat into a double stack mode, and configuring an ipv4 address into pppore or dhcp alternatively; step 2: configuring an ipv6 address into a stateless acquisition address, and automatically generating prefix information by the router when the router requests the home intelligent optical cat that the prefix information is not replied through dhcpv6 client; step 3: and the terminal equipment automatically generates an ipv6 address through the received prefix information, and when the terminal equipment uses the ipv6 to access, the ipv6 is converted into the prefix of the router wan after being subjected to router and nat table conversion.

Description

Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway
Technical Field
The invention relates to the technical field of set top boxes, in particular to an automatic internet surfing configuration method for an ipv6 under a wifi6 router under a home intelligent gateway.
Background
Currently, in the context of the development of prior ipv 4. Most of the user accesses an ipv4 address. How to make the user use the ipv6 plug and play, and the relevant definition specification is already in the relevant rfc.
But in actual home users of the existing network, the user cannot access the network using ipv6 for various reasons. Ipv6 is not fully utilized.
With the rapid development of the internet, 32-bit IPv4 addresses have been exhausted, and IPv6 addresses have appeared in this case. IPv6 has a larger address space with an address length of 128 bits. A total of about 3.4 x 10 38 addresses. Compared with the ipv4, the ipv6 has the advantages of larger address space, high overall throughput of the network, high service quality and security performance, and the like.
Plug and play is a characteristic of ipv6, and is convenient for users to directly use ipv6.
Disclosure of Invention
In view of the technical defects, the invention provides an automatic internet configuration method for the ipv6 under the wifi6 router under the home intelligent gateway.
In order to achieve the above object, the present invention has the following technical scheme:
the method for automatically configuring internet surfing of the ipv6 under the wifi6 router under the home intelligent gateway comprises a service network server, a home intelligent optical cat and a router, wherein the service network server is communicated with the home intelligent optical cat through a network, the home intelligent optical cat distributes the network to each terminal device through the router, the home intelligent optical cat acquires prefix information through a server, receives the prefix information through a broadcast by the router and generates a stateless ipv6 address, and the process of configuring internet surfing of the terminal device by the router comprises the following steps:
step 1: configuring a household intelligent light cat into a double stack mode, configuring an ipv4 address into pppore or dhcp alternatively, and executing the step 2;
step 2: configuring an ipv6 address into a stateless acquisition address, and when the router requests prefix information to the home intelligent optical cat through dhcpv6 client without being replied, automatically generating the prefix information by the router, and executing the step 3;
step 3: and the terminal equipment automatically generates an ipv6 address through the received prefix information, and when the terminal equipment uses the ipv6 to access, the ipv6 is converted into the prefix of the router wan after being subjected to router and nat table conversion.
Preferably, when both the home intelligent optical cat and the router are offline, the terminal device automatically configures the ipv6 static address including the following:
step 21: the terminal equipment sends an adjacent node request message NS information, and after receiving the adjacent node request NS information, the router adds corresponding ipv6 to br0 to reply the DAD request NA information;
step 22: adding routing table information, and continuously adding a nat rule table;
step 23: after the router and nat table of the router are converted, the ipv6 is converted into the prefix of the router wan, and the terminal equipment starts the ipv6 access.
Preferably, in the step 1, after the ipv6 address is configured as the stateless acquisition address, the radial is turned on at the Lan side of the optical cat, and the drop prefix information is allocated.
Preferably, in the step 1, after the ipv6 address is configured as the stateless acquisition address, the light cat Lan side opens the dhcpv6server, and allocates the drop prefix information.
Preferably, router wan is configured in dual stack mode and Ipv4 is configured in dhcp configuration.
Preferably, the router Lan side starts radvd to allocate prefix information to the terminal device.
Preferably, the router Lan side starts dhcpv6server to allocate prefix information to the terminal device.
The beneficial effects of the invention are as follows: and under the actual environment compatible with the existing network, the ipv6 is automatically configured, and a prefix is allocated to the mobile terminal.
Drawings
FIG. 1 is a schematic diagram of a system architecture for an ipv6 auto-networking configuration;
fig. 2 is a flow chart of a wifi6 network configuration under normal conditions
FIG. 3 is a flow chart of a light cat without a prefix assigned;
FIG. 4 is a flow chart of a photo cat no prefix assignment solution;
FIG. 5 is a diagram of a user computer configuration of an ipv6 static address and use of ipv6 to access the Internet.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, when taken in conjunction with the accompanying drawings. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The arrangement is as follows:
1. the optical cat is provided with a dual stack mode,
the ipv4 address is configured as pppore or dhcp.
The ipv6 address is configured as a stateless fetch address. Prefix information, dns, etc. information is obtained by dhcpv 6.
4. The radial is started at the Lan side of the optical modem, and prefix information and the like are broadcast to the down-link router or the equipment.
5. The dhcpv6server is started at the Lan side of the optical cat, and prefix, dns and other information are distributed to the down-hanging router or equipment.
In the 3-5 step, when the address is obtained in a stateless manner, the client gateway needs to carry prefix information when the dhcp6server is broadcast by radvd; when there is a status acquisition, the dhcp6server is required to turn on the address pool of dhcp 6. Regardless of the manner in which the client obtains the address, the dns information is typically obtained in the manner of dhcp6 c. (there are M and O flags inside radvd to indicate how other information, such as dns, is acquired).
6. Router wan configures dual stack mode
Ipv4 configured as dhcp configuration
The ipv6 address is configured as a stateless fetch address. Prefix information, dns and other information obtained through dhcpv6
9. The router Lan side starts radvd, and broadcasts prefix information to the down-hanging device (computer, etc.).
10. And opening a dhcpv6server at the Lan side of the router, and distributing prefix, dns and other information to the down-hanging equipment (such as a computer).
The flow of configuring the wifi6 network under normal conditions is as follows:
1. the home light cat acquires prefix, dns and other information through the server
2. The home modem broadcasts prefix information, and the router receives the prefix information and generates a stateless ipv6 address
3. The router sends information such as dhcpv6c request prefix and dns
4. The light cat replies prefix information, dns and other information
5. The router starts the radvd to send the radvd prefix broadcast to the Lan side according to the received prefix information
6. Computer receives prefix information to generate stateless ipv6 address
7. Computer sends a dhcp6c request dns message
8. Router replies with dns information
9. The computer can normally access the ipv6 external network.
The router does not receive the prefix assigned by the optical cat:
many optical cats do not assign prefixes to routers for practical networking environments and for historical reasons.
1. The router acquires the prefix information through the dhcpv6 client, and the optical cat does not allocate the prefix information.
2. The router does not have a prefix and broadcasts prefix information to the router down-hanging device (computer, etc.).
3. The computer cannot automatically generate the ipv6, so that the user cannot use the ipv6.
The photo cat does not assign prefix solution flow chart:
1. when the router requests the prefix information through the dhcpv6 client, the optical cat does not reply the prefix information.
2. The router itself generates a prefix information.
3. The router broadcasts prefix information to the computer. And the router adds the prefix information to the routing table. And add the nat rule table.
4. The computer will automatically generate the ipv6 address when receiving the prefix information.
5. Thus, when the computer is accessed by using the ipv6, the ipv6 is converted into the prefix of the router wan after being routed by the router and converted by the nat table.
6. The computer can normally access the ipv6.
In some special cases, the user computer configures the ipv6 static address itself. How to use ipv6 to surf the internet:
1. the computer sends the NS information of the neighbor node request message
2. The router receives the neighbor request NS information, adds corresponding ipv6 to br0, and replies the DAD request NA information
3. And adding routing table information and adding a nat rule table.
4. When the computer is accessed by using the ipv6, the ipv6 is converted into the prefix of the router wan after being routed by the router and the nat table is converted.
5. The computer can normally access the ipv6.
The foregoing is merely a preferred embodiment of the invention, and it is to be understood that the invention is not limited to the form disclosed herein but is not to be construed as excluding other embodiments, but is capable of numerous other combinations, modifications and environments and is capable of modifications within the scope of the inventive concept, either as taught or as a matter of routine skill or knowledge in the relevant art. And that modifications and variations which do not depart from the spirit and scope of the invention are intended to be within the scope of the appended claims.

Claims (6)

1. The method for automatically configuring internet surfing of the ipv6 under the wifi6 router under the home intelligent gateway comprises a service network server, a home intelligent optical cat and a router, wherein the service network server is communicated with the home intelligent optical cat through a network, the home intelligent optical cat distributes the network to each terminal device through the router, the home intelligent optical cat acquires prefix information through a server, receives the prefix information through a broadcast by the router and generates a stateless ipv6 address, and the method is characterized in that the internet surfing process of the router configuration terminal device comprises the following steps:
step 1: configuring a household intelligent light cat into a double stack mode, configuring an ipv4 address into pppore or dhcp alternatively, and executing the step 2;
step 2: configuring an ipv6 address into a stateless acquisition address, and when the router requests prefix information to the home intelligent optical cat through dhcpv6 client without being replied, automatically generating the prefix information by the router, and executing the step 3;
step 3: the terminal equipment automatically generates an ipv6 address through the received prefix information, and when the terminal equipment uses the ipv6 for access, the ipv6 is converted into a prefix of a router wan after being subjected to router and nat table conversion;
when both the home intelligent optical cat and the router are offline, the terminal equipment automatically configures the ipv6 static address, which comprises the following contents:
step 21: the terminal equipment sends an adjacent node request message NS information, and after receiving the adjacent node request NS information, the router adds corresponding ipv6 to br0 to reply the DAD request NA information;
step 22: adding routing table information, and continuously adding a nat rule table;
step 23: after the router and nat table of the router are converted, the ipv6 is converted into the prefix of the router wan, and the terminal equipment starts the ipv6 access.
2. The method for automatically configuring the internet surfing of the ipv6 under the wifi6 router according to claim 1, wherein in the step 1, after the ipv6 address is configured to be a stateless acquisition address, the radvd is started on the Lan side of the optical cat, and the downlink prefix information is allocated.
3. The method for automatically configuring the internet surfing of the ipv6 under the wifi6 router according to claim 1, wherein in the step 1, after the ipv6 address is configured to be a stateless acquisition address, the dhcpv6server is turned on at the Lan side of the optical cat, and the downlink prefix information is allocated.
4. A home intelligent gateway wifi6 router down Ipv6 auto-networking configuration method according to claim 3, wherein router wan configures dual stack mode and Ipv4 configures dhcp configuration.
5. The method for automatic internet configuration of wifi6 router under wifi6 according to claim 4, wherein the router Lan opens radvd, and distributes prefix information to the terminal device.
6. The method for automatic internet configuration of the wifi6 router under the home intelligent gateway according to claim 5, wherein the router Lan opens dhcpv6server to allocate prefix information to the terminal device.
CN202111560937.0A 2021-12-14 2021-12-14 Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway Active CN114500258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111560937.0A CN114500258B (en) 2021-12-14 2021-12-14 Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111560937.0A CN114500258B (en) 2021-12-14 2021-12-14 Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway

Publications (2)

Publication Number Publication Date
CN114500258A CN114500258A (en) 2022-05-13
CN114500258B true CN114500258B (en) 2023-08-15

Family

ID=81494776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111560937.0A Active CN114500258B (en) 2021-12-14 2021-12-14 Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway

Country Status (1)

Country Link
CN (1) CN114500258B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376313A (en) * 2022-07-01 2024-01-09 荣耀终端有限公司 Address configuration method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897589A (en) * 2005-07-13 2007-01-17 上海贝尔阿尔卡特股份有限公司 Access apparatus, routing equipment and method for supporting IPv6 stateless address configuration in telecommunication network
WO2010069181A1 (en) * 2008-12-17 2010-06-24 华为技术有限公司 Method and system for configuring ipv6 address
CN102137170A (en) * 2010-01-26 2011-07-27 中兴通讯股份有限公司 Method and device for distributing IPv6 (Internet Protocol version 6) addresses
CN102694884A (en) * 2012-06-25 2012-09-26 常熟理工学院 IPv6 address configuration and management method of wireless sensor network
CN104380694A (en) * 2014-03-04 2015-02-25 华为终端有限公司 IPv6 address allocation method and device
CN107547528A (en) * 2017-08-18 2018-01-05 新华三技术有限公司 IPv6 stateless address distribution method and device
CN107580079A (en) * 2017-08-31 2018-01-12 新华三技术有限公司 A kind of message transmitting method and device
CN109005252A (en) * 2018-08-24 2018-12-14 赛尔网络有限公司 A kind of IPv6 address generating method, equipment, system and the medium of fictitious host computer
WO2020132984A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Ipv6 address configuration method and router device
CN111866212A (en) * 2020-07-17 2020-10-30 芯河半导体科技(无锡)有限公司 Method for automatically distributing IPV6PD prefix for drop-in router by gateway

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100091684A1 (en) * 2008-10-10 2010-04-15 Robert Lee Winter System and Method for Discovery of Dynamically Assigned Information Handling System IP Addresses
CN102833732B (en) * 2012-07-25 2017-03-29 中兴通讯股份有限公司 System, data card and its implementation that a kind of IPv6 addresses stateless is automatically configured

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897589A (en) * 2005-07-13 2007-01-17 上海贝尔阿尔卡特股份有限公司 Access apparatus, routing equipment and method for supporting IPv6 stateless address configuration in telecommunication network
WO2010069181A1 (en) * 2008-12-17 2010-06-24 华为技术有限公司 Method and system for configuring ipv6 address
CN102137170A (en) * 2010-01-26 2011-07-27 中兴通讯股份有限公司 Method and device for distributing IPv6 (Internet Protocol version 6) addresses
CN102694884A (en) * 2012-06-25 2012-09-26 常熟理工学院 IPv6 address configuration and management method of wireless sensor network
CN104380694A (en) * 2014-03-04 2015-02-25 华为终端有限公司 IPv6 address allocation method and device
CN107547528A (en) * 2017-08-18 2018-01-05 新华三技术有限公司 IPv6 stateless address distribution method and device
CN107580079A (en) * 2017-08-31 2018-01-12 新华三技术有限公司 A kind of message transmitting method and device
CN109005252A (en) * 2018-08-24 2018-12-14 赛尔网络有限公司 A kind of IPv6 address generating method, equipment, system and the medium of fictitious host computer
WO2020132984A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Ipv6 address configuration method and router device
CN111866212A (en) * 2020-07-17 2020-10-30 芯河半导体科技(无锡)有限公司 Method for automatically distributing IPV6PD prefix for drop-in router by gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浅析IPv6邻居发现协议中无状态地址自动配置机制;孙戎;《万方数据库》;全文 *

Also Published As

Publication number Publication date
CN114500258A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN1217520C (en) Device for converting internet protocol address and household network system using same
US7046666B1 (en) Method and apparatus for communicating between divergent networks using media access control communications
US7467214B2 (en) Invoking protocol translation in a multicast network
US9479422B2 (en) mDNS-DNS architecture
US20120324063A1 (en) Method, network device, and system for automatically configuring network device in ipv6 network
US20060095585A1 (en) System and method for establishing communication between a client and a server in a heterogenous ip network
EP2267984A1 (en) Address configuring method, apparatus and system
KR20040000633A (en) Apparatus and method for searching DNS server on outer net
CN110995883A (en) Method, system and storage medium for DHCPv6 fixed address configuration based on EUI-64
CN110995886A (en) Network address management method, device, electronic equipment and medium
CN114500258B (en) Automatic internet configuration method for ipv6 under wifi6 router under home intelligent gateway
CN101410817A (en) Usage of automatic configuration name space of automatic protocol proxy
US20080240132A1 (en) Teredo connectivity between clients behind symmetric NATs
US20180054415A1 (en) Internet Protocol Address Allocation Method and Router
US20080307079A1 (en) Apparatus and Method For Managing Addresses of Network Elements
KR100672050B1 (en) Method for translation between IPv4 and IPv6 embedded DNS Proxy module of distributed data processing and apparatus thereof
US9667592B2 (en) Efficient utilization of internet protocol addresses
JP3646936B2 (en) IPv4 management method and management apparatus in IPv6 wireless LAN environment
CN113660357B (en) Method and device for automatically acquiring IP address by IPv6 dual stack system
Chelius et al. No Administration Protocol (NAP) for IPv6 router auto-configuration
KR20090024032A (en) Home network system and method for home networking
Fan IPv6 stateless address autoconfiguration in ad hoc networks
CN101465951A (en) Method and device for dynamically configuring IPv6 of IPv6 set-top box
JP2016515371A (en) Packet transmission method and apparatus, and server
Singh Internet Protocol (IP) Address–Subnetting and Supernetting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant