CN106330651A - 4in6 tunnel mode selection method and device - Google Patents
4in6 tunnel mode selection method and device Download PDFInfo
- Publication number
- CN106330651A CN106330651A CN201510372048.XA CN201510372048A CN106330651A CN 106330651 A CN106330651 A CN 106330651A CN 201510372048 A CN201510372048 A CN 201510372048A CN 106330651 A CN106330651 A CN 106330651A
- Authority
- CN
- China
- Prior art keywords
- message
- cpe
- dhcpv6
- server
- tunnel
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a 4in6 tunnel mode selection method and device. The method comprises the steps that customer premise equipment CPE sends a dynamic host configuration protocol DHCPv6 request message to a server; the CPE receives a response message of the server for the DHCPv6 request message, wherein the response message comprises an IPv6 address and appointed 4in6 configuration parameters; and the CPE selects a 4in6 tunnel mode according to the response message. Through application of the method and the device, the problem in related art that the 4in6 tunnel mode cannot be deployed rapidly is solved, the configuration process is simplified, the 4in6 deployment efficiency is improved, and the operation and maintenance costs of the a device manufacturer and operator are reduced.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of 4in6 tunnel mode system of selection and device.
Background technology
Along with the development of network technology, IPv4 is constantly to IPv6 e-learning quality.In this evolution process, also exist
Two principal contradiction, one is the contradiction that IPv4 Address Run Short is flourish with IPv4 business, and two is that IPv6 magnanimity address is empty
Between the contradiction deficient with IPv6 application.In other words, IPv4 business is enriched, and IPv6 driving force is little, in a very long time
In, huge IPv4 customer group still exists, but device IP v6 tenability is strong, and the most current state is that " IPv4 is
Main-IPv6Ready-IPv4 is main ".This Determines in IPv6 transient process, 4in6 scene will be one important
Research field, Fig. 1 show classics 4in6 networking scene figure.Meanwhile, IETF also create numerous for
The transitional technology of 4in6 scene, such as DS-lite, lightweight 4over6 tunnel (Lightweight 4voer6), based on turning over
Translate technology (MAP-T), based on message encapsulation (MAP-E) etc..
Different operators may need different 4in6 tunnel modes, and same operator is in different network design areas
Also may need different 4in6 tunnel modes, AD HOC is supported in the area individually customization different for different operators
The subscriber terminal equipment (Customer Premise Equipment, referred to as CPE) of 4in6 tunnel transition technology is clearly
Inappropriate.CPE typically can support multiple 4in6 tunnel transition technology, and operator also needs basis in this case
The network environment of self selects a kind of 4in6 tunnel mode by modes such as default configuration, Remote configuration or user's configurations.
It is obvious that this processing mode needs to be pre-configured with, the most passively there is also the risk made mistakes.
For in correlation technique, it is impossible to the problem of rapid deployment 4in6 tunnel mode, effective solution is not also proposed.
Summary of the invention
The invention provides a kind of 4in6 tunnel mode system of selection and device, so that at least solve cannot be fast in correlation technique
The problem that speed disposes 4in6 tunnel mode.
According to an aspect of the invention, it is provided a kind of 4in6 tunnel mode system of selection, including: user terminal sets
Standby CPE sends dynamic host configuration protocol DHCP v6 to server and asks message;Described CPE receives described server
For the response message of described DHCPv6 request message, wherein, described response message includes IPv6 address and appointment
4in6 configuration parameter;Described CPE selects 4in6 tunnel mode according to described response message.
Alternatively, described CPE wraps after receiving the described server response message for described DHCPv6 request message
Include: described CPE sends DHCPv6 to described server and confirms message, and wherein, described DHCPv6 confirms that message is used
Described IPv6 address and described appointment 4in6 configuration parameter is confirmed in indicating described server.
Alternatively, described 4in6 tunnel mode includes at least one of: light level double-stack technology (Dual-Stack Lite,
Referred to as DS-lite), lightweight Lightweight 4voer6 tunnel, based on translation encapsulating MAP-T, seal based on message
Dress MAP-E.
According to another aspect of the present invention, additionally provide another kind of 4in6 tunnel mode system of selection, including: service
Device receives dynamic host configuration protocol DHCP v6 from subscriber terminal equipment CPE and asks message;Described server is to described
CPE sends the response message for described DHCPv6 request message, and wherein, described response message includes IPv6 ground
Location and appointment 4in6 configuration parameter;Described response message is the foundation that described CPE selects 4in6 tunnel mode.
Alternatively, described server is after the response message that described CPE sends for described DHCPv6 request message
Including: described server receives DHCPv6 from described CPE and confirms message, and wherein, described DHCPv6 confirms message
For indicating described server to confirm described IPv6 address and described appointment 4in6 configuration parameter.
Alternatively, described 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight 4voer6
Tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
According to an aspect of the invention, it is provided a kind of 4in6 tunnel mode selects device, this device is applied to user
Terminal unit CPE, described device includes: the first sending module, for sending DHCP to server
DHCPv6 asks message;Receiver module, for receiving the response for described DHCPv6 request message of the described server
Message, wherein, described response message includes IPv6 address and specifies 4in6 configuration parameter;Select module, for root
4in6 tunnel mode is selected according to described response message.
Alternatively, described device also includes: the second sending module, confirms to disappear for sending DHCPv6 to described server
Breath, wherein, described DHCPv6 confirms that message is used for indicating described server to confirm described IPv6 address and described appointment
4in6 configuration parameter.
Alternatively, described 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight 4voer6
Tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
According to another aspect of the present invention, additionally provide another kind of 4in6 tunnel mode and select device, be applied to service
Device, described device includes: the first receiver module, for receiving DHCP from subscriber terminal equipment CPE
DHCPv6 asks message;Sending module, for sending the sound for described DHCPv6 request message to described CPE
Answering message, wherein, described response message includes IPv6 address and specifies 4in6 configuration parameter;Described response message is
Described CPE selects the foundation of 4in6 tunnel mode.
Alternatively, described device also includes: the second receiver module, confirms to disappear for receiving DHCPv6 from described CPE
Breath, wherein, described DHCPv6 confirms that message is used for indicating described server to confirm described IPv6 address and described appointment
4in6 configuration parameter.
Alternatively, described 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight 4voer6
Tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
By the present invention, using subscriber terminal equipment CPE to send dynamic host configuration protocol DHCP v6 to server please
Seek message;CPE receives the server response message for DHCPv6 request message, wherein, wraps in this response message
Include IPv6 address and specify 4in6 configuration parameter;CPE selects 4in6 tunnel mode according to this response message.Solve
In correlation technique cannot the problem of rapid deployment 4in6 tunnel mode, simplify configuration flow, improve 4in6 and dispose effect
Rate, reduces the operation and maintenance cost of equipment manufacturers and operator.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention
Schematic description and description be used for explaining the present invention, be not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the network scenarios networking schematic diagram that the present invention is suitable for;
Fig. 2 is the flow chart of 4in6 tunnel mode system of selection according to embodiments of the present invention;
Fig. 3 is the structured flowchart that 4in6 tunnel mode according to embodiments of the present invention selects device;
Fig. 4 is the structured flowchart () that 4in6 tunnel mode according to embodiments of the present invention selects device;
Fig. 5 is the flow chart () of 4in6 tunnel mode system of selection according to embodiments of the present invention;
Fig. 6 is the structured flowchart (two) that 4in6 tunnel mode according to embodiments of the present invention selects device;
Fig. 7 is the structured flowchart (three) that 4in6 tunnel mode according to embodiments of the present invention selects device;
Fig. 8 is the DHCPv6 message option structural representation of new definition according to embodiments of the present invention;
Fig. 9 is being shown by the flow process that DHCPv6 interacting message is CPE configuration of IP v6 parameter according to embodiments of the present invention
It is intended to;
Figure 10 is DHCP6c Yu 4in6 tunnel structure schematic diagram in CPE according to embodiments of the present invention.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that in the feelings do not conflicted
Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second "
Etc. being for distinguishing similar object, without being used for describing specific order or precedence.
Providing a kind of 4in6 tunnel mode system of selection in the present embodiment, Fig. 2 is 4in6 according to embodiments of the present invention
The flow chart of tunnel mode system of selection, as in figure 2 it is shown, this flow process comprises the steps:
Step S202, subscriber terminal equipment CPE sends dynamic host configuration protocol DHCP v6 to server and asks message;
Step S204, CPE receives the server response message for DHCPv6 request message, and wherein, this response disappears
Breath includes IPv6 address and specifies 4in6 configuration parameter;
Step S206, CPE selects 4in6 tunnel mode according to this response message.
By above-mentioned steps, CPE is according to the IPv6 address obtained from server and specifies 4in6 Selection parameter configuration 4in6
Tunnel mode, compared in correlation technique, different operators may need different 4in6 tunnel modes, same fortune
Doing business and also may need different 4in6 tunnel modes in different network design areas, operator also needs according to self
Network environment select a kind of 4in6 tunnel mode by modes such as default configuration, Remote configuration or user's configurations, above-mentioned
Step solve in correlation technique cannot the problem of rapid deployment 4in6 tunnel mode, simplify configuration flow, improve
4in6 disposes efficiency, reduces the operation and maintenance cost of equipment manufacturers and operator.
The IPv6 address received in order to ensure CPE and the correctness of appointment 4in6 configuration parameter, an alternative embodiment
In, after CPE receives the server response message for DHCPv6 request message, CPE sends to server
DHCPv6 confirms message, wherein, this DHCPv6 confirm message be used for indicating this server confirm this IPv6 address and
This appointment 4in6 configuration parameter.
In one alternate embodiment, 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight
4voer6 tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive according to above-described embodiment
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot
In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is the most in other words to existing
The part having technology to contribute can embody with the form of software product, and this computer software product is stored in one
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can
To be mobile phone, computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
Additionally providing a kind of 4in6 tunnel mode in the present embodiment and select device, this device is used for realizing above-described embodiment
And preferred implementation, carried out repeating no more of explanation.As used below, term " module " can be real
The software of existing predetermined function and/or the combination of hardware.Although the device described by following example preferably comes real with software
Existing, but hardware, or the realization of the combination of software and hardware also may and be contemplated.
Fig. 3 is the structured flowchart that 4in6 tunnel mode according to embodiments of the present invention selects device, and this device is applied to use
Family terminal unit CPE, as it is shown on figure 3, this device includes: the first sending module 32, dynamic for sending to server
State host configuration DHCPv6 request message;Receiver module 34, is used for receiving this server for this DHCPv6
The response message of request message, wherein, this response message includes IPv6 address and specifies 4in6 configuration parameter;Select
Module 36, for selecting 4in6 tunnel mode according to this response message.
Fig. 4 is the structured flowchart () that 4in6 tunnel mode according to embodiments of the present invention selects device, as shown in Figure 4,
This device also includes: the second sending module 44, confirms message for sending DHCPv6 to this server, wherein, is somebody's turn to do
DHCPv6 confirms that message is used for indicating this server to confirm this IPv6 address and this appointment 4in6 configuration parameter.
Alternatively, this 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight 4voer6
Tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
Providing a kind of 4in6 tunnel mode system of selection in the present embodiment, Fig. 5 is 4in6 according to embodiments of the present invention
The flow chart (one) of tunnel mode system of selection, as it is shown in figure 5, this flow process comprises the steps:
Step S502, server receives dynamic host configuration protocol DHCP v6 from subscriber terminal equipment CPE and asks message;
Step S504, server sends the response message for this DHCPv6 request message to CPE, and wherein, this rings
Message is answered to include IPv6 address and specify 4in6 configuration parameter;Response message is that this CPE selects 4in6 tunnel mode
Foundation.
By above-mentioned steps, CPE is according to the IPv6 address obtained from server and specifies 4in6 configuration parameter to select 4in6
Tunnel mode, compared in correlation technique, different operators may need different 4in6 tunnel modes, same fortune
Doing business and also may need different 4in6 tunnel modes in different network design areas, operator also needs according to self
Network environment select a kind of 4in6 tunnel mode by modes such as default configuration, Remote configuration or user's configurations, above-mentioned
Step solve in correlation technique cannot the problem of rapid deployment 4in6 tunnel mode, simplify configuration flow, improve
4in6 disposes efficiency, reduces the operation and maintenance cost of equipment manufacturers and operator.
The IPv6 address received in order to ensure CPE and the correctness of appointment 4in6 configuration parameter, an alternative embodiment
In, server is after CPE sends the response message for this DHCPv6 request message, and server receives from CPE
DHCPv6 confirms message, wherein, this DHCPv6 confirm message be used for indicating this server confirm this IPv6 address and
This appointment 4in6 configuration parameter.
In one alternate embodiment, 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight
4voer6 tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive according to above-described embodiment
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot
In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is the most in other words to existing
The part having technology to contribute can embody with the form of software product, and this computer software product is stored in one
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can
To be mobile phone, computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
Additionally providing a kind of 4in6 tunnel mode in the present embodiment and select device, this device is used for realizing above-described embodiment
And preferred implementation, carried out repeating no more of explanation.As used below, term " module " can be real
The software of existing predetermined function and/or the combination of hardware.Although the device described by following example preferably comes real with software
Existing, but hardware, or the realization of the combination of software and hardware also may and be contemplated.
Fig. 6 is the structured flowchart (two) that 4in6 tunnel mode according to embodiments of the present invention selects device, is applied to service
Device, as shown in Figure 6, this device includes: the first receiver module 62, for receiving dynamically from subscriber terminal equipment CPE
Host configuration DHCPv6 request message;Sending module 64, asks for this DHCPv6 for sending to CPE
The response message of message, wherein, response message includes IPv6 address and specifies 4in6 configuration parameter;Response message is
This CPE selects the foundation of 4in6 tunnel mode.
Fig. 7 is the structured flowchart (three) that 4in6 tunnel mode according to embodiments of the present invention selects device, as it is shown in fig. 7,
This device also includes: the second receiver module 72, confirms message, wherein, DHCPv6 for receiving DHCPv6 from CPE
Confirm that message is used for indicating this server to confirm this IPv6 address and this appointment 4in6 configuration parameter.
Alternatively, this 4in6 tunnel mode includes at least one of: DS-lite, lightweight Lightweight 4voer6
Tunnel, based on translation encapsulating MAP-T, based on message encapsulating MAP-E.
It should be noted that above-mentioned modules can be by software or hardware realizes, for the latter, Ke Yitong
Cross in the following manner to realize, but be not limited to this: above-mentioned module is respectively positioned in same processor;Or, above-mentioned module position respectively
In multiple processors.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
To be arranged to storage for the program code performing following steps:
S1, subscriber terminal equipment CPE send dynamic host configuration protocol DHCP v6 to server and ask message;
S2, CPE receive the server response message for DHCPv6 request message, wherein, wrap in this response message
Include IPv6 address and specify 4in6 configuration parameter;
S3, CPE select 4in6 tunnel mode according to this response message.
Alternatively, storage medium is also configured to storage for the program code performing following steps:
S4, server receives dynamic host configuration protocol DHCP v6 from subscriber terminal equipment CPE and asks message;
S5, server sends the response message for this DHCPv6 request message, wherein, this response message to CPE
Include IPv6 address and specify 4in6 configuration parameter;Response message is the foundation that this CPE selects 4in6 tunnel mode.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive,
The various medium that can store program code such as magnetic disc or CD.
Alternatively, in the present embodiment, processor according to the program code that stored in storage medium perform S1, S2 with
And S3.
Alternatively, in the present embodiment, processor performs S4 and S5 according to the program code stored in storage medium.
Alternatively, the concrete example in the present embodiment is referred to showing described in above-described embodiment and optional embodiment
Example, the present embodiment does not repeats them here.
The purpose of this alternative embodiment is, it is provided that a kind of method of CPE rapid deployment 4in6 tunnel mode, the method
Without any operation, concurrently deployed result can meet the requirement of operator well, disposes quick and precisely, flexibly and easily.
Alternative embodiment of the present invention proposes a kind of CPE according to external web environment adaptively selected selection 4in6 tunnel mould
The method of formula, the method specifically includes that
CPE sends DHCPv6 to server and asks message, newly defines specific in this DHCPv6 request message
Container option (OPTION_S46_CONT) and be packaged with some sub-option (include OPTION_S46_RULE,
OPTION_S46_DMR, OPTION_S46_V4V6BIND, OPTION_S46_BR etc., it is also possible to according to tool
Body situation newly defines), with reference to Fig. 8;
CPE receives the response message that server returns, and this response message carries some or several 4in6 tunnel configuration
By the value resolving these option, parameter specific option option, determines CPE answers which kind of pattern of option and installment
4in6 tunnel;
CPE obtains the configuration parameter in 4in6 tunnel from described response message, completes tunnel configuration and communicates.
This alternative embodiment also proposes a kind of cpe device system, and this cpe device feature includes:
DHCP6c Yu 4in6 Tunnel Design is independent two parts, wherein DHCP6c be responsible for DHCPv6 message be correlated with
All process, 4in6 tunnel segment is merely responsible for configuration and the communication in various tunnel;
DHCP6c part comprise the assembling of DHCPv6 message, the reception/transmission of DHCPv6 message, DHCPv6 packet parsing,
Several parts such as DHCP6c state machine, with reference to Figure 10;
Various 4in6 tunneling techniques are the most separate for respective module, such as lw4o6, MAP-E, MAP-T in Figure 10
Deng.
Alternative embodiment of the present invention provides a kind of CPE side according to external web environment rapid deployment 4in6 tunnel mode
Method and system, in order to simplify 4in6 tunnel configuration flow process, improve 4in6 tunnel and dispose efficiency.Attached below in conjunction with description
The inventive method is described in further detail by figure and specific embodiment.
Fig. 1 is the network scenarios networking schematic diagram that the present invention is suitable for, and is needing to dispose the IPv4-IPv6-IPv4 in 4in6 tunnel
Under network environment the most applicable.
The embodiment of the present invention provides a kind of method that CPE adaptive network environment automatically selects configuration 4in6 tunnel, passes through
In DHCPv6 message, newly define option option and encapsulate some sub-option, making in DHCPv6 message interaction process
In issue the configuration parameter of specific 4in6 tunnel mode to CPE with the form of option, thus indicate CPE option and installment
The 4in6 tunnel of this kind of pattern.
Fig. 8 is the DHCPv6 message option structural representation of new definition according to embodiments of the present invention, looks into for convenience
Seeing, this new definition container option option is referred to as the option option of OPTION_S46_CONT type, should
Option option can encapsulate each seed option, and concrete form includes:
1) option-code:OPTION_S46_CONT, will be defined by IANA;
2) option option: option-length, is determined by the sub-option encapsulated;
3) the sub-option:encapsulated-options encapsulated, for encapsulating all options relevant with 4in6 tunnel,
As OPTION_S46_DMR, OPTION_S46_BR, OPTION_S46_RULE,
OPTION_S46_PORTPARAMS, OPTION_S46_V4V6BIND etc., can also define according to practical situation
New option is packaged.Particularly point out, if desired support that the mode of DHCPv4over DHCPv6 obtains lw4o6
The configuration parameter in tunnel, can be encapsulated in the Message type of DHCPv4 in this little option.
Fig. 9 is being shown by the flow process that DHCPv6 interacting message is CPE configuration of IP v6 parameter according to embodiments of the present invention
Being intended to, CPE obtains the process of 4in6 configuration parameter, these DHCPv6 messages by DHCPv6 protocol interaction message
Carry the container option option OPTION_S46_CONT that this alternative embodiment newly defines, and encapsulate
There is the option that some 4in6 tunnels are relevant.The present embodiment simply considers, only depicts address and issues flow process, does not consider
Problem is re-rented in address.
Figure 10 is DHCP6c Yu 4in6 tunnel structure schematic diagram in CPE according to embodiments of the present invention, and CPE relates to
The primary structure arrived and handling process, including:
1) DHCPv6 message encapsulation, structure carries the DHCPv6 request report of new definition container option option
Literary composition, and be packaged with each sub-option, present embodiment assumes that external web environment may support lw4o6, MAP-E or
MAP-T, then encapsulate tri-sons of OPTION_S46_RULE, OPTION_S46_BR, OPTION_S46_DMR
option.The present embodiment only encapsulates essential option, can encapsulate other option depending on requiring.
2) DHCPv6 message sends/receives, and carries out message interaction, complete IPv6 between CPE and DHCPv6 server
Issuing of address and configuration parameter.
3) DHCPv6 packet parsing, CPE resolves the DHCPv6 response message that receives, extract encapsulation option and
Its value value, thus analyze the 4in6 tunnel of CPE which kind of pattern of this selection, and preserve configuration parameter.
4) tunnel configuration, packet parsing completes, and triggers CPE and configures corresponding 4in6 tunnel.
Table 1 is the foundation of which kind of 4in6 tunnel mode of CPE option and installment in the present embodiment.This table enumerate lw4o6,
All option that tri-kinds of 4in6 tunnels of MAP-E, MAP-T relate to, certain tunnel corresponding, M represent essential option,
O represents that optional option, N/A represent and is not employed, i.e. for MAP-E, OPTION_S46_RULE with
OPTION_S46_BR is essential, can select to issue OPTION_S46_PORTPARAMS, but be not necessary to
's.
Table 1
Option | MAP-E | MAP-T | Lw4o6 |
OPTION_S46_RULE | M | M | N/A |
OPTION_S46_BR | M | N/A | M |
OPTION_S46_PORTPARAMS | O | O | O |
OPTION_S46_DMR | N/A | M | N/A |
OPTION_S46_V4V6BIND | N/A | N/A | O |
M–Mandatory;
O–Optional;
N/A-Not Applicable
The following detailed description of the collocation method of the present embodiment, i.e. describe in detail and utilize DHCPv6 protocol message to divide for CPE
Join the process of IPv6 address and configuration parameter, and CPE obtain its 4in6 tunnel configuration parameter and creates the flow process in tunnel,
This flow process comprises the following steps:
Step 1, with reference to Fig. 9, CPE broadcast transmission DHCPv6-Solicit message, to ask the DHCPv6 in network
Server is its distribution IPv6 address and other configuration parameters, and wherein, other configuration parameters can include mainly distributing
Parameter required for 4in6 tunnel creation, as created IPv6 address, opposite end needed for lw4o6, distributing to the IPv4 of lwB4
Address and PSID, IPv6binding prefix;Create the BMR/FMR parameter of regularity needed for MAP-E, the IPv6 of BR
Address;Create the BMR/FMR parameter of regularity needed for MAP-T, DMR parameter etc.;
Wherein, encapsulate, in this request message, the container option that alternative embodiment of the present invention newly defines
(OPTION_S46_CONT), and being packaged with some sub-option, wherein, the effect of some sub-option is please
Ask and in message, select each sub-option of encapsulation, if option corresponding in response message has value, then judge choosing with this
Select which kind of 4in6 tunnel mode.As supposed, the networking existed may support tri-kinds of moulds of lw4o6, MAP-E, MAP-T
The tunnel of formula, then can encapsulate OPTION_S46_RULE, OPTION_S46_BR, OPTION_S46_DMR
Three sub-option, if two sub-option of OPTION_S46_RULE Yu OPTION_S46_BR in response message
Carry value, then we should select MAP-E tunnel mode;If in response message OPTION_S46_RULE with
Two sub-option of OPTION_S46_DMR carry value, then should select MAP-T tunnel mode;If only having
This option of OPTION_S46_BR has value, then we should select lw4o6 tunnel mode.Concrete selection gist
With reference to table 1, it is of course possible to according to other patterns of 4in6 tunnel, the sub-option of new extensions, as environment can support DS-Lite,
We can extend sub-option64.Concrete form is as shown in Figure 8.
Step 2, DHCPv6 server, according to this DHCPv6-Solicit message, sends DHCPv6-Advertise to CPE
Message, in order to be advertised as the network configuration parameters such as the IPv6 address of CPE distribution, IPv6 address lease;
If this network environment is supported certain 4in6 tunnel, then specific 4in6 configuration parameter to be carried on corresponding option
In option, as network environment supports MAP-E, then option OPTION_S46_RULE and option
OPTION_S46_BR will carry specific vlaue.
Step 3, CPE sends DHCPv6-Request message to DHCPv6 server, confirms it with request server
The IPv6 address of distribution and other configuration parameter;
It should be noted that the option option of this request message is asked in message with the DHCPv6-Solicit in step 1
Option option consistent.
Step 4, after DHCPv6 server receives the DHCPv6-Request message that CPE sends, if confirming IPv6
Address and relevant configured parameter are distributed to this CPE and are used, then return DHCPv6-Reply message, should
DHCPv6-Reply message is packaged with option option, is used for carrying IPv6 address and other configuration parameters;
Step 5, CPE resolves the DHCPv6-Reply message received, and extracts the option value of its carrying, according to this
A little option values and the parameter carried thereof, determine that CPE should configure the 4in6 tunnel of which kind of pattern.For what is selected
Planting 4in6 tunnel can be referring briefly to table 1, if carrying OPTION_S46_DMR Yu OPTION_S46_RULE two
Individual option, then selecting MAP-T pattern, if carrying option OPTION_S46_BR, then selecting lw4o6
Tunnel mode.
In sum, by the method and system of a kind of CPE rapid deployment 4in6 tunnel traffic that the present invention provides, this
The DHCPv6 that invention CPE is packaged with specific option option by transmission asks message, and external network server is carried out
Response, this response message carries the configuration parameter information required for certain 4in6 tunnel, and CPE receives sound by analysis
Answer the option of message to determine the 4in6 tunnel of which kind of pattern of concrete configuration.The present invention solves equipment for 4in6 tunnel
The select permeability of road pattern, equipment manufacturers are no longer necessary to for different operators, different network area customization difference
Configuration, difference and user that operator also disposes without having to worry about each LAN revise tunnel configuration and cause communication abnormality
Problem, i.e. 4in6 tunnel mode on CPE will adjust automatically according to external web environment.By CPE self adaptation net
Network environment completes selection and the configuration of 4in6 tunnel mode, simple and convenient, it is not necessary to operator or user carry out any configuration
It is ensured that the accuracy of 4in6 tunnel type selecting.Simultaneously CPE be utilize existing IPv6 address configuration parametric distribution during
Interacting message complete the configuration of 4in6 parameters for tunnel, increase interacting message extra between CPE and server,
Save bandwidth resources, improve network resource utilization.This invention simplifies configuration flow, not only increase 4in6 and dispose
Efficiency, also reduces the operation and maintenance cost of equipment manufacturers and operator.The present invention is easy to implement, not only eliminates
The operation that pre-configured or replacing configures, also improves the motility of network design, and implementing also will more simply with maintenance, more warp
Ji.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Calculating device to realize, they can concentrate on single calculating device, or be distributed in multiple calculating device and formed
Network on, alternatively, they can realize, it is thus possible to by them with calculating the executable program code of device
Storage is performed by calculating device in the storage device, and in some cases, can hold with the order being different from herein
Step shown or described by row, or they are fabricated to respectively each integrated circuit modules, or by many in them
Individual module or step are fabricated to single integrated circuit module and realize.So, the present invention is not restricted to any specific hardware
Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area
For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made is any
Amendment, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (12)
1. a 4in6 tunnel mode system of selection, it is characterised in that including:
Subscriber terminal equipment CPE sends dynamic host configuration protocol DHCP v6 to server and asks message;
Described CPE receives the described server response message for described DHCPv6 request message, wherein, described
Response message includes IPv6 address and specifies 4in6 configuration parameter;
Described CPE selects 4in6 tunnel mode according to described response message.
Method the most according to claim 1, it is characterised in that described CPE receives described server for described
Include after the response message of DHCPv6 request message:
Described CPE sends DHCPv6 to described server and confirms message, and wherein, described DHCPv6 confirms message
For indicating described server to confirm described IPv6 address and described appointment 4in6 configuration parameter.
Method the most according to any one of claim 1 to 2, it is characterised in that described 4in6 tunnel mode includes
At least one of:
Light level double-stack technology DS-lite, lightweight Lightweight 4voer6 tunnel, based on translation encapsulating MAP-T,
Based on message encapsulating MAP-E.
4. a 4in6 tunnel mode system of selection, it is characterised in that including:
Server receives dynamic host configuration protocol DHCP v6 from subscriber terminal equipment CPE and asks message;
Described server sends the response message for described DHCPv6 request message, wherein, institute to described CPE
State response message include IPv6 address and specify 4in6 configuration parameter;Described response message is that described CPE selects
The foundation of 4in6 tunnel mode.
Method the most according to claim 4, it is characterised in that described server sends for described to described CPE
Include after the response message of DHCPv6 request message:
Described server receives DHCPv6 from described CPE and confirms message, and wherein, described DHCPv6 confirms message
For indicating described server to confirm described IPv6 address and described appointment 4in6 configuration parameter.
6. according to the method according to any one of claim 4 to 5, it is characterised in that described 4in6 tunnel mode includes
At least one of:
DS-lite, lightweight Lightweight 4voer6 tunnel, based on translation encapsulating MAP-T, based on message encapsulate
MAP-E。
7. 4in6 tunnel mode selects a device, and this device is applied to subscriber terminal equipment CPE, it is characterised in that institute
State device to include:
First sending module, asks message for sending dynamic host configuration protocol DHCP v6 to server;
Receiver module, for receiving the described server response message for described DHCPv6 request message, wherein,
Described response message includes IPv6 address and specifies 4in6 configuration parameter;
Select module, for configuring 4in6 tunnel mode according to described response message.
Device the most according to claim 7, it is characterised in that described device also includes:
Second sending module, confirms message, wherein, described DHCPv6 for sending DHCPv6 to described server
Confirm that message is used for indicating described server to confirm described IPv6 address and described appointment 4in6 configuration parameter.
9. according to the device according to any one of claim 7 to 8, it is characterised in that described 4in6 tunnel mode includes
At least one of:
DS-lite, lightweight Lightweight 4voer6 tunnel, based on translation encapsulating MAP-T, based on message encapsulate
MAP-E。
10. 4in6 tunnel mode selects a device, is applied to server, it is characterised in that described device includes:
First receiver module, for receiving dynamic host configuration protocol DHCP v6 request from subscriber terminal equipment CPE
Message;
Sending module, for sending the response message for described DHCPv6 request message to described CPE, wherein,
Described response message includes IPv6 address and specifies 4in6 configuration parameter;Described response message is described CPE choosing
Select the foundation of 4in6 tunnel mode.
11. devices according to claim 10, it is characterised in that described device also includes:
Second receiver module, confirms message, wherein, described DHCPv6 for receiving DHCPv6 from described CPE
Confirm that message is used for indicating described server to confirm described IPv6 address and described appointment 4in6 configuration parameter.
12. according to the device according to any one of claim 10 to 11, it is characterised in that described 4in6 tunnel mode bag
Include at least one of:
DS-lite, lightweight Lightweight 4voer6 tunnel, based on translation encapsulating MAP-T, based on message encapsulate
MAP-E。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510372048.XA CN106330651A (en) | 2015-06-29 | 2015-06-29 | 4in6 tunnel mode selection method and device |
PCT/CN2016/081601 WO2017000674A1 (en) | 2015-06-29 | 2016-05-10 | 4in6 tunnel mode selection method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510372048.XA CN106330651A (en) | 2015-06-29 | 2015-06-29 | 4in6 tunnel mode selection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106330651A true CN106330651A (en) | 2017-01-11 |
Family
ID=57607739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510372048.XA Withdrawn CN106330651A (en) | 2015-06-29 | 2015-06-29 | 4in6 tunnel mode selection method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106330651A (en) |
WO (1) | WO2017000674A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131047A (en) * | 2019-12-30 | 2020-05-08 | 江苏有线数据网络有限责任公司 | Transition control system and method for realizing transition of home broadband from IPv4 to IPv6 |
CN111224854A (en) * | 2018-11-27 | 2020-06-02 | 北京华为数字技术有限公司 | Working mode selection method, client front-end equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100202321A1 (en) * | 2009-02-11 | 2010-08-12 | Cisco Technology, Inc. | IPv6 ADDRESSING OVER NON-IPv6 SYSTEMS |
CN102158563A (en) * | 2010-02-12 | 2011-08-17 | 华为技术有限公司 | Method, system and device for acquiring IPv6 (Internet Protocol Version 6) configuration information from IPv6 transition network |
CN103731394A (en) * | 2012-10-10 | 2014-04-16 | 中国移动通信集团公司 | Method and equipment for configuring IPv6 transitional technologies on CPE |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102130884A (en) * | 2010-01-19 | 2011-07-20 | 中兴通讯股份有限公司 | System and method for negotiating configuration of Internet protocol version 6 (IPv6) network parameters |
-
2015
- 2015-06-29 CN CN201510372048.XA patent/CN106330651A/en not_active Withdrawn
-
2016
- 2016-05-10 WO PCT/CN2016/081601 patent/WO2017000674A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100202321A1 (en) * | 2009-02-11 | 2010-08-12 | Cisco Technology, Inc. | IPv6 ADDRESSING OVER NON-IPv6 SYSTEMS |
CN102158563A (en) * | 2010-02-12 | 2011-08-17 | 华为技术有限公司 | Method, system and device for acquiring IPv6 (Internet Protocol Version 6) configuration information from IPv6 transition network |
CN103731394A (en) * | 2012-10-10 | 2014-04-16 | 中国移动通信集团公司 | Method and equipment for configuring IPv6 transitional technologies on CPE |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111224854A (en) * | 2018-11-27 | 2020-06-02 | 北京华为数字技术有限公司 | Working mode selection method, client front-end equipment and storage medium |
WO2020107871A1 (en) * | 2018-11-27 | 2020-06-04 | 华为技术有限公司 | Working mode selection method, customer premise equipment and storage medium |
CN111224854B (en) * | 2018-11-27 | 2021-09-07 | 北京华为数字技术有限公司 | Working mode selection method, client front-end equipment and storage medium |
CN111131047A (en) * | 2019-12-30 | 2020-05-08 | 江苏有线数据网络有限责任公司 | Transition control system and method for realizing transition of home broadband from IPv4 to IPv6 |
Also Published As
Publication number | Publication date |
---|---|
WO2017000674A1 (en) | 2017-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103731394B (en) | Method and equipment for configuring IPv6 transitional technologies on CPE | |
CN102340546B (en) | IPv6 address distribution method and system | |
CN106797377A (en) | The infrastructure access in networking data path is perceived via neighbours | |
CN105122777B (en) | The address WTRU of network-control/anchor point selection method | |
US20160360340A1 (en) | Extending connectivity in a machine to machine communication system | |
RU2691083C1 (en) | Device, method and system for processing user data | |
CN108737127B (en) | Information notification method and device | |
CN101674606A (en) | Data transmission method and device | |
CN108737585A (en) | The distribution method and device of IP address | |
CN103561122B (en) | IPv6 address collocation method, IPv6 client and server | |
CN104883407A (en) | IPv6 address handling method and apparatus and DHCPv6 relay | |
EP3758307A1 (en) | Method for implementing gre tunnel, access point and gateway | |
CN109417575A (en) | A kind of IP address distribution method and device | |
CN105453658A (en) | Network element selection entity and user equipment registration method | |
CN102651862B (en) | IP (Internet Protocol) address configuration method of WAP (Wireless Application Protocol) gateway and equipment thereof | |
CN113543152B (en) | 5G communication system, data communication method, and nonvolatile storage medium | |
CN106330651A (en) | 4in6 tunnel mode selection method and device | |
CN102724333A (en) | Method, device and system for setting up IPv6 (internet protocol version 6) rapid deployment tunnel | |
JP6138136B2 (en) | A method, system, computer program, and software image originated by an online provider are dynamically present on the edge network of the cellular network to provide online services from the service provider to the user through the wireless cellular network How to enable | |
CN102480476A (en) | Multi-service access method based on DHCP protocol extension | |
CN107231704A (en) | Method for connecting network and device | |
CN105338528B (en) | Method, system and the wireless access node that packet redirects | |
WO2022089503A1 (en) | Method, apparatus, and system for allowing application to access network | |
CN104486752B (en) | Interaction of multimedia information system between mobile station | |
CN103516825A (en) | Method, device and system for deploying 6RD network cell devices |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170111 |