CN114785755B - IPV6 Internet surfing IAPD self-adaption method and system - Google Patents

IPV6 Internet surfing IAPD self-adaption method and system Download PDF

Info

Publication number
CN114785755B
CN114785755B CN202210412167.3A CN202210412167A CN114785755B CN 114785755 B CN114785755 B CN 114785755B CN 202210412167 A CN202210412167 A CN 202210412167A CN 114785755 B CN114785755 B CN 114785755B
Authority
CN
China
Prior art keywords
prefix
iapd
ipv6
dhcpv6
proxy
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
CN202210412167.3A
Other languages
Chinese (zh)
Other versions
CN114785755A (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.)
Shenzhen Heweishun Network Technology Co ltd
Original Assignee
Shenzhen Heweishun Network Technology 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 Shenzhen Heweishun Network Technology Co ltd filed Critical Shenzhen Heweishun Network Technology Co ltd
Priority to CN202210412167.3A priority Critical patent/CN114785755B/en
Publication of CN114785755A publication Critical patent/CN114785755A/en
Application granted granted Critical
Publication of CN114785755B publication Critical patent/CN114785755B/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
    • H04L41/0886Fully automatic configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an IPV6 Internet surfing IAPD self-adaption method, which comprises the steps of requesting a default option with a prefix proxy by using a DHCPV 6-Solitit in a DHCPV6 dialing process, automatically judging whether a current environment supports the prefix proxy according to a DHCPV6 advertisement response of a server, and completing an IPV6 networking process by using preset configuration. The invention also provides an IPV6 Internet surfing IAPD self-adaption system. The beneficial effects of the invention are as follows: the user can complete the whole internet surfing operation of the ipv6 by only configuring one networking mode, and the router can automatically identify whether the current environment supports IAPD and select proper configuration to complete the whole dialing process, so that the usability of the product is greatly improved.

Description

IPV6 Internet surfing IAPD self-adaption method and system
Technical Field
The invention relates to a communication technology, in particular to an IPV6 Internet surfing IAPD self-adaption method and system.
Background
Current network environments are evolving gradually from IPV4 to IPV 6. In the existing routing product, in the process of surfing the internet with IPV6, a user is required to manually select whether a prefix agent is supported by an upper stage or not, and then dialing is performed. This brings about the following obvious problems:
1. the user needs to know whether the current network environment supports prefix brokering.
2. The user needs to complete prefix agent related configuration according to the network environment on the product page so as to normally network.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides an IPV6 Internet surfing IAPD self-adaption method and system.
The invention provides an IPV6 Internet surfing IAPD self-adaption method, which comprises the steps of requesting a default option with a prefix proxy by using a DHCPV 6-Solitit in a DHCPV6 dialing process, automatically judging whether a current environment supports the prefix proxy according to a DHCPV6 advertisement response of a server, and completing an IPV6 networking process by using preset configuration.
As a further improvement of the invention, the method comprises the following steps:
s1, a router starts IPV 6-DHCPV 6 dialing;
s2, actively sending a router advertisement RS (Router Solicitation), and after receiving a router request RA (Router Advertisemen), sending a DHCPV 6-Solict request, wherein the request carries a prefix agent option;
s3, the router receives the DHCPV6 advertisement response, judges whether the server supports the prefix proxy according to whether the response carries the prefix proxy option, if so, extracts and stores the prefix in the prefix proxy option, continues to complete the DHCPV6 process, starts the DHCP6S process by using the stored prefix, and if not, restarts the IPV 6-DHCPV 6 dialing process in a mode of not supporting the prefix proxy;
s4, distributing addresses for the clients through the DHCP 6S.
As a further improvement of the present invention, restarting the IPV 6-DHCPV 6 dialing process in a manner that does not support prefix brokering in step S3 includes: and sending the DHCPV 6-Solitit request again, wherein the request does not carry a prefix agent option, finishing the DHCPV6 process, and starting the DHCP6S process by using a default prefix preset by the system.
As a further improvement of the present invention, in step S3, if the server does not support a prefix proxy, the DHCP6C informs the application program through a message mechanism.
As a further improvement of the invention, the method also comprises the step S0, configuring the contact way of the router by the user, completing the networking process by adopting default lan side configuration and ending if the user is configured to be statically accessed, and entering the step S1 if the user is configured not to be statically accessed before the step S1.
As a further improvement of the present invention, in step S4, if the server supports prefix proxy, the client is assigned an address via DHCP6S and the NAT66 function is not started at this time.
As a further improvement of the present invention, in step S4, if the server does not support the prefix proxy, the address is allocated to the client through DHCP6S, and the normal surfing of the client is ensured by combining address conflict detection and NAT66 functions.
As a further improvement of the present invention, in step S3, when the router receives the DHCPV6 advertisement response, if the response times out, the current environment is considered to not support the prefix proxy.
The invention also provides an IPV6 Internet surfing IAPD self-adapting system, which comprises a readable storage medium, wherein the readable storage medium is stored with execution instructions, and the execution instructions are used for realizing the method according to any one of the above when being executed by a processor.
The beneficial effects of the invention are as follows: the user can complete the whole internet surfing operation of the ipv6 by only configuring one networking mode, and the router can automatically identify whether the current environment supports IAPD and select proper configuration to complete the whole dialing process, so that the usability of the product is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other solutions may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a process interaction diagram of an IPV6 online IAPD adaptation method of the present invention.
Fig. 2 is a flow chart of a method of IPV6 internet IAPD adaptation in accordance with the present invention.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positional relationships based on the drawings, are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the scope of the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art in a specific case.
The invention is further described with reference to the following description of the drawings and detailed description.
As shown in fig. 1 to 2, a method for adapting IPV6 internet surfing IAPD automatically identifies whether an IPV6 (Internet Protocol Version, internet protocol version 6) network supports a prefix proxy when a routing product uses IPV6 for surfing, and automatically selects an appropriate mode for networking.
The invention only needs to make minimum change on the basis of the original IPV6 internet surfing flow to achieve the IAPD self-adapting effect. The user uses more conveniently, and the networking mode is more nimble, and the commonality is stronger.
The core idea of the invention is that: in the dialing process of DHCPV6 and pppore+dhcpv 6, the first DHCPV6 Solicit requests a default with prefix proxy (Identity Association for Prefix Delegation, IAPD) option, then automatically judges whether the current environment supports prefix proxy or not according to the DHCPV6 advertisement response of the server, and completes the IPV6 networking process by using proper preset configuration.
DHCPv6 is a network protocol used to configure IP addresses, IP prefixes, and/or other configurations required by IPv6 hosts operating on an IPv6 network.
The self-adaptive method for IPV6 Internet surfing IAPD provided by the invention can automatically detect and judge whether the network supports the prefix agent and automatically select a proper mode for networking in order to facilitate the user to surf the Internet on the basis of the existing network without configuring other options when the IPV6 surfs the Internet.
The specific operation is shown in fig. 2 (taking DHCPV6 stateful scenario as an example):
1. simplifying the user configuration interface into: only networking modes such as 'IAPD adaptive supporting router configuration diagram' need to be configured;
2. after user configuration, if static access, the networking process is completed using the default lan side configuration. In addition to static access, the router automatically starts the dialing process with default support IAPD, with Identity Association for Prefix Delegation options in DHCPV6 solution.
3. When the DHCP6c process receives the DHCPV6 advertisement response, it will check if the response carries IAPD option, if so, extract and save the prefix, and then use this prefix to start DHCP6S to assign an address to the client, and at this time, the NAT66 function need not be started.
4. If the IAPD option is not included in the response, or the option replies that no prefix exists, or the response times out, the current environment is not considered to support the prefix agent. The dhcp6c will inform the application program via a messaging mechanism to redial in a manner that does not support IAPD. During the new dialing procedure, the dhcp6c request will not carry the IAPD option. After dhcpv6 interaction is completed, the router starts the DHCP6S using a default configuration preset by the system, and assigns an address to the client. And the normal surfing of the client is ensured by combining address conflict detection and NAT66 functions.
The self-adaptive method and system for IPV6 Internet surfing IAPD provided by the invention have the following advantages:
1. the user can complete the whole internet surfing operation of the ipv6 by only configuring one networking mode, and the router can automatically identify whether the current environment supports IAPD and select proper configuration to complete the whole dialing process, so that the usability of the product is greatly improved.
2. Under the condition that the networking mode is unchanged, the user does not need to care whether the IPV6 network environment is changed, and the router can automatically adapt to the network environment change. The router can be plug and play even if the network operator is replaced, so that the network maintenance cost is reduced.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (5)

1. An IPV6 internet access IAPD self-adapting method is characterized in that: in the DHCPV6 dialing process, a default option with a prefix agent is requested by the DHCPV 6-solution for the first time, whether the current environment supports the prefix agent is automatically judged according to the DHCPV6 advertisement response of the server, and the IPV6 networking process is completed by using preset configuration;
the method comprises the following steps:
s1, a router starts IPV 6-DHCPV 6 dialing;
s2, actively sending a router advertisement RS, and after receiving a router request RA, sending a DHCPV6-Solicit request, wherein the request carries a prefix agent option;
s3, the router receives the DHCPV6 advertisement response, judges whether the server supports the prefix proxy according to whether the response carries the prefix proxy option, if so, extracts and stores the prefix in the prefix proxy option, continues to complete the DHCPV6 process, starts the DHCP6S process by using the stored prefix, and if not, restarts the IPV 6-DHCPV 6 dialing process in a mode of not supporting the prefix proxy;
s4, distributing addresses for the clients through the DHCP 6S;
in step S3, restarting the IPV 6-DHCPV 6 dialing process in a manner that does not support prefix brokering includes: re-sending a DHCPV 6-Solitit request, wherein the request does not carry a prefix agent option, the DHCPV6 process is completed, and a DHCP6S process is started by using a default prefix preset by a system;
in step S3, if the server does not support the prefix proxy, the DHCP6C notifies the application program through a message mechanism;
before the step S1, the method further comprises a step S0, wherein the user configures the contact way of the router, if the user configures static access, the networking process is completed by adopting default lan side configuration and is finished, and if the user configures not static access, the step S1 is entered.
2. The method of IPV6 online IAPD adaptation according to claim 1, wherein: in step S4, if the server supports prefix proxy, the client is assigned an address through DHCP6S, and the NAT66 function is not started at this time.
3. The method of IPV6 online IAPD adaptation according to claim 1, wherein: in step S4, if the server does not support the prefix proxy, the address is allocated to the client through DHCP6S, and the normal surfing of the client is ensured by combining address conflict detection and NAT66 functions.
4. The method of IPV6 online IAPD adaptation according to claim 1, wherein: in step S3, when the router receives the DHCPV6 advertisement response, if the response times out, the current environment is considered not to support the prefix proxy.
5. An IPV6 internet access IAPD adaptive system, characterized in that: comprising a readable storage medium having stored therein execution instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 4.
CN202210412167.3A 2022-04-19 2022-04-19 IPV6 Internet surfing IAPD self-adaption method and system Active CN114785755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210412167.3A CN114785755B (en) 2022-04-19 2022-04-19 IPV6 Internet surfing IAPD self-adaption method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210412167.3A CN114785755B (en) 2022-04-19 2022-04-19 IPV6 Internet surfing IAPD self-adaption method and system

Publications (2)

Publication Number Publication Date
CN114785755A CN114785755A (en) 2022-07-22
CN114785755B true CN114785755B (en) 2024-03-29

Family

ID=82431775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210412167.3A Active CN114785755B (en) 2022-04-19 2022-04-19 IPV6 Internet surfing IAPD self-adaption method and system

Country Status (1)

Country Link
CN (1) CN114785755B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594940A (en) * 2012-02-20 2012-07-18 烽火通信科技股份有限公司 Method for dynamically configuring IPv6 (internet protocol version 6) for home gateway
CN102957759A (en) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 Distribution method and system for IPv6 (internet protocol version 6) address prefixes
CN103384282A (en) * 2013-07-31 2013-11-06 北京华为数字技术有限公司 Method for obtaining IPV6ND address and broadband remote access server (BARS)
CN104380694A (en) * 2014-03-04 2015-02-25 华为终端有限公司 IPv6 address allocation method and device
CN105847464A (en) * 2016-05-30 2016-08-10 上海斐讯数据通信技术有限公司 IP address management method under multi-DHCP server network environment and DHCP client
CN107454199A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 The method, apparatus and system of communication protocol access
WO2020108541A1 (en) * 2018-11-30 2020-06-04 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for protocol prefix management
CN112272244A (en) * 2020-10-22 2021-01-26 北京自如信息科技有限公司 Router WAN end IPv6 internet mode configuration method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4071136B2 (en) * 2003-03-14 2008-04-02 株式会社日立製作所 COMMUNICATION SYSTEM, CONNECTION DEVICE, AND COMMUNICATION METHOD
US8493910B2 (en) * 2008-03-05 2013-07-23 Futurewei Technologies, Inc. Prefix delegation support for mobile networks
US8751614B2 (en) * 2011-10-11 2014-06-10 Telefonaktiebolaget L M Ericsson (Publ) Providing virtualized visibility through routers

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957759A (en) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 Distribution method and system for IPv6 (internet protocol version 6) address prefixes
CN102594940A (en) * 2012-02-20 2012-07-18 烽火通信科技股份有限公司 Method for dynamically configuring IPv6 (internet protocol version 6) for home gateway
CN103384282A (en) * 2013-07-31 2013-11-06 北京华为数字技术有限公司 Method for obtaining IPV6ND address and broadband remote access server (BARS)
CN104380694A (en) * 2014-03-04 2015-02-25 华为终端有限公司 IPv6 address allocation method and device
CN105847464A (en) * 2016-05-30 2016-08-10 上海斐讯数据通信技术有限公司 IP address management method under multi-DHCP server network environment and DHCP client
CN107454199A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 The method, apparatus and system of communication protocol access
WO2020108541A1 (en) * 2018-11-30 2020-06-04 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for protocol prefix management
CN112272244A (en) * 2020-10-22 2021-01-26 北京自如信息科技有限公司 Router WAN end IPv6 internet mode configuration method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DHCP协议在IPv6环境中的实现技术研究;石晶;中国优秀硕士学位论文全文数据库 (信息科技辑);全文 *

Also Published As

Publication number Publication date
CN114785755A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
RU2602971C2 (en) Dynamic ipv6 configuration method for home gateway
US9847967B2 (en) DHCP proxy in a subscriber environment
EP2919444B1 (en) Method, relay device, and system for acquiring internet protocol address in network
US8090828B2 (en) Method and apparatus for reusing DHCP addresses in home addresses of mobile IP clients
EP2608491B1 (en) Method, apparatus and system for allocating public IP address
US7010585B2 (en) DNS server, DHCP server, terminal and communication system
EP2852111B1 (en) Method, mobile device, and system for automatically selecting ipv6 address transmission mode
CN111935335B (en) DHCP address allocation method and device
US20090307338A1 (en) Network Element Having a DHCP Lease Timer
US11343224B2 (en) Method for renewing IP address and apparatus
US7318101B2 (en) Methods and apparatus supporting configuration in a network
JP2008028914A (en) Device and method for reducing communication load, and program
US8909787B2 (en) Method, device, and system for allocating address in IP network
EP2888863B1 (en) Method and apparatus for configuring dhcp client
CN110365557B (en) Network interconnection method and device
EP1385295A1 (en) Process and apparatus for distributing network configuration settings
US8291111B1 (en) Responding to a DHCPLEASEQUERY message
CN114785755B (en) IPV6 Internet surfing IAPD self-adaption method and system
CN107360095B (en) Method for realizing port forwarding in router based on client host name
EP3048756B1 (en) Management method and apparatus for dynamic host configuration protocol server and relay
JP5845964B2 (en) Communication apparatus and program
CN112543386B (en) Address acquisition method and related equipment
WO2020153133A1 (en) Communication management system, management server, vpn server, terminal, communication management method, and program
KR100487296B1 (en) a system for supporting movement of host computer and method therefor
CN117014404A (en) Internet surfing control method, router, electronic equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20240303

Address after: 518000 Room 101, Unit A, 1st Floor, Building E3, TCL Hi tech Park, No. 1001, Xili Zhongshan Garden Road, Nanshan District, Shenzhen, Guangdong

Applicant after: SHENZHEN HEWEISHUN NETWORK TECHNOLOGY CO.,LTD.

Country or region after: China

Address before: 6-8 / F, building E3, TCL hi tech park, 1001 Zhongshan Garden Road, Xili, Nanshan District, Shenzhen, Guangdong 518000

Applicant before: SHENZHEN TENDA TECHNOLOGY Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant