CN101742561B - Method and device for establishing tunnel connection - Google Patents

Method and device for establishing tunnel connection Download PDF

Info

Publication number
CN101742561B
CN101742561B CN2009102661116A CN200910266111A CN101742561B CN 101742561 B CN101742561 B CN 101742561B CN 2009102661116 A CN2009102661116 A CN 2009102661116A CN 200910266111 A CN200910266111 A CN 200910266111A CN 101742561 B CN101742561 B CN 101742561B
Authority
CN
China
Prior art keywords
version
version number
downstream
mesh
address
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.)
Expired - Fee Related
Application number
CN2009102661116A
Other languages
Chinese (zh)
Other versions
CN101742561A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009102661116A priority Critical patent/CN101742561B/en
Publication of CN101742561A publication Critical patent/CN101742561A/en
Application granted granted Critical
Publication of CN101742561B publication Critical patent/CN101742561B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for establishing tunnel connection, which comprises the following steps that: an access point (AP) acquires a position relationship between the AP and an access controller (AC); when the position relationship between the AP and the AC is that the AP is directly connected with the AC, the AP establishes a light weight access point protocol (LWAPP) connection with the AC to acquire an IP address of the AC; according to the IP address of the AC, an IP version number which is used for establishing the LWAPP connection is determined; and the IP version number is transmitted to the downstream AP. The method solves the problem that the restoration time of a full-link is too long under the condition of a multi-hop MESH connection.

Description

A kind of method and device of setting up the tunnel connection
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device that the tunnel connects of setting up.
Background technology
Wireless network has FAT (fat) AP (Access Point at present; Access point) and AC (AccessController, access controller)+two kinds of patterns of FIT (thin) AP, wherein AC+FIT AP because manageability is strong; Be suitable for large scale deployment, obtained application more and more widely.
In the networking of AC+FIT ap mode; Be connected through proprietary protocol tunnel between AC and the FIT AP; Wherein, relevant specialized protocol is CAPWAP (Controlling and Provisioning ofWireless Access Point, wireless access point control and supply); The CAPWAP protocol definition how to communicate by letter between AP and the AC, and for realizing that the interoperability between AP and the AC provides a general encapsulation and transmission mechanism.
A kind of CAPWAP sketch map as shown in Figure 1, wherein, CAPWAP need operate on AP and the AC simultaneously, and between the AC of WLAN (Wireless Local Area Network, WLAN) system and AP, safe communication is provided.
Communicating by letter and to set up according to UDP (User Datagram Protocol, UDP) client end/server end model between AP and the AC.In IP network, CAPWAP uses udp protocol as bearing protocol, and supports IPv4 agreement and IPv6 agreement.
The packet (the for example packet of 802.11 agreements) that CAPWAP provides data tunnel to encapsulate AP to mail to AC.In addition, CAPWAP also supports long-range AP configuration, WLAN management and the roaming management of AC, and for example, AC can dynamically dispose AP according to the information that the keeper provides.
In concrete realization, CAPWAP can use LWAPP (Light Weight Access PointProtocol, Lightweight Access Point Protocol) to realize that the state machine of this LWAPP agreement is as shown in Figure 2.
In the networking of AC+FIT ap mode; The groundwork flow process comprises: AP powers up; AP is at first through DHCP (Dynamic Host Configuration Protocol after the system start-up; Dynamic host allocation protocol) obtain the IP address, if stride three layers tunnel with AC and is connected, AP also needs simultaneously through using perhaps DNS (Domain NameSystem of DHCP Option (option) 43 in this process; Domain name system) address list of acquisition AC can comprise active and standby AC in the address list of this AC.Pass through Idle (free time) subsequently-->Discovery (discovery)-->Join (adding)-->Join Confirm (confirmation)-->Configure-(configuration)->Run states such as (operations), finally set up the tunnel and be connected with main AC.
When FIT AP runs in MESH (wireless mesh) network; After FIT AP powers up, can monitor and search for available channel, in case get access to the association message of MESH; Then can set up MESH LINK (link) with the related side, FIT AP as shown in Figure 3 forms the sketch map of MESH network.
In Fig. 3, AP1 is the inlet that AP2 provides backbone network, AP1 is referred to as MAP (Mesh Access Point, mesh network access point), and AP2 is referred to as MPP (Mesh PortalPoint, mesh portals point).
In above-mentioned networking, after AP2 and AP1 set up MESH LINK, AP2 can set up completion simultaneously to the logical links of AC; This moment, AP2 can set up the LWAPP tunnel with AC; And IPv4 agreement and IPv6 agreement can be supported in this tunnel, and in this case, AP can carry out the operation of local state machine.
Concrete, MESH technology major part is to use FAT AP to set up the MESH node, thereby makes the state of MESH self to be safeguarded by each FAT AP.And when using the AC+FIT ap mode to set up the MESH network,, thereby can increase the time overhead that the MESH network is set up and recovered because FIT AP need obtain configuration and safeguard the MESH state from AC, especially when AC when FIT AP has used 3 layers of LWAPP tunnel.At present, in the networking of AC+FIT AP, FIT AP can be used as MPP and uses, AP2 as shown in Figure 3, and FIT AP can also use as MAP, AP1 as shown in Figure 3.
In the prior art, because MAP is connected to before the AC after powering on, MAP this locality does not have the configuration information of MPP, and after MPP and MAP have set up MESH LINK, the MESH LINK that MPP is corresponding will be overtime at certain hour, and the disconnected row process of connection again that falls into.And, need make the process independence mutually of setting up process that the LWAPP tunnel connects and MESH LINK for the operation of local other protocol state machine of MPP.
Yet MPP and AC set up in the LWAPP tunnel connection procedure, because IPv4 agreement and IPv6 agreement can be supported in the LWAPP tunnel, at this moment, the LWAPP state machine can be provided with according to this locality and carry out the trial that the IPv4 connection is connected with IPv6.And if the state machine of LWAPP state machine and MESH can't be worked on the time by chance simultaneously, will cause MPP can't connect with AC for a long time, can't obtain stable configuration from AC, thereby can not guarantee the normal operation of MESH network.This phenomenon exists under the situation of multi-hop especially outstanding, as shown in Figure 4 in the MESH network.For example, when AC goes up operation IPv4 agreement, then also need move the IPv4 agreement on the MPP and can set up the LWAPP tunnel; And in the reality, MPP does not know that AC goes up what agreement of operation, at this moment; This MPP needs the periodic IPv4 of trial to connect to be connected with IPv6, if current MPP upward moves the IPv6 agreement, and MESH LINK is when having connected; Owing to can't set up the LWAPP tunnel, when arriving MESH LINK during the cycle, then MESHLINK will break; And after MESH LINK broke, MPP was last when just moving the IPv4 agreement, can not guarantee the normal operation of MESH network.Have only when MESH LINK connect and MPP on when moving the IPv4 agreement simultaneously, could guarantee the normal operation of MESH network.
Can find out, under above-mentioned situation, need to recover, when promptly rebuliding the LWAPP tunnel and being connected, then can cause the whole network very long recovery time, influence key application such as monitoring business then with MESH LINK if network runs into fault.
Summary of the invention
The invention provides a kind of method and device that the tunnel connects of setting up, MPP/MAP can in time connect with AC, from the stable configuration of AC acquisition, thus the normal operation of assurance MESH network.
The invention provides a kind of method that the tunnel connects of setting up, be applied to comprise in the network of access controller AC and at least two access point AP, constitute the upstream and downstream relation at least between two AP, said method comprising the steps of:
Said AP obtains the position relation of self and said AC;
When said AP directly was connected with said AC for said AP with the position relation of said AC, said AP set up Lightweight Access Point Protocol LWAPP with said AC and is connected, and obtains the IP address of said AC; Confirm to set up LWAPP according to the IP address of said AC and connect the IP version that uses number; And said IP version number sent to downstream AP;
When said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC; Said AP obtains said IP version number from said upper reaches AP; And, number set up LWAPP according to said IP version and be connected with said AC when said upper reaches AP sets up MESH and is connected.
Said IP version number is sent to downstream AP specifically to be comprised: said AP number sends to said downstream AP through beacon frame with said IP version; Perhaps, said AP through with said downstream AP exchange neighbor list, said IP version number is sent to said downstream AP; Wherein, the information that comprises said IP version number in the said neighbor list;
Said AP obtains said IP version from said upper reaches AP and number specifically comprises: said AP obtains said IP version number from the beacon frame from said upper reaches AP; Perhaps, said AP obtains said IP version number from the neighbor list from said upper reaches AP.
Said AP number sends to said downstream AP through beacon frame with said IP version, specifically comprises:
Said AP sends general format MESH message to said downstream AP, carries MESH field in the said general format MESH message, and the reservation position in the said MESH field is a beacon frame, and said reservation position is used to identify IP version number.
Said reservation position is used to identify IP version number, is specially:
When the IP address of said AC is the IPv4 address, then with said retention position first sign, when the IP address of AC is the IPv6 address, then with said retention position second sign.
Said method also comprises:
Said downstream AP number stores said IP version into local neighbor list, and when setting up MESH and connect next time, from said local neighbor list, selects said IP version number to set up LWAPP with said AC and is connected.
The invention provides a kind of AP, be applied to comprise in the network of access controller AC and at least two access point AP, constitute the upstream and downstream relation at least between two AP, comprising:
Acquisition module is used to obtain the position relation of AP and said AC;
First processing module is connected with said acquisition module, is used for when said AP directly is connected with said AC for said AP with the position relation of said AC, setting up LWAPP with said AC to be connected, and obtains the IP address of said AC; Confirm to set up LWAPP according to the IP address of said AC and connect the IP version that uses number, and said IP version number is sent to downstream AP;
Second processing module; Be connected with said acquisition module; Be used for when said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC; Obtain said IP version number from said upper reaches AP, and when said upper reaches AP sets up MESH and is connected, number set up LWAPP according to said IP version and be connected with said AC.
Said first processing module also is used for, and through beacon frame said IP version number is sent to said downstream AP; Perhaps, through with said downstream AP exchange neighbor list, said IP version number is sent to said downstream AP; Wherein, the information that comprises said IP version number in the said neighbor list;
Said second processing module also is used for, and from the beacon frame from said upper reaches AP, obtains said IP version number; Perhaps, from neighbor list, obtain said IP version number from said upper reaches AP.
Said first processing module also is used for, and sends general format MESH message to said downstream AP, carries MESH field in the said general format MESH message, and the reservation position in the said MESH field is a beacon frame, and said reservation position is used to identify IP version number.
Said reservation position is used to identify IP version number, is specially:
When the IP address of said AC is the IPv4 address, then with said retention position first sign, when the IP address of AC is the IPv6 address, then with said retention position second sign.
Said second processing module also is used for, and number stores said IP version into local neighbor list, and when setting up MESH and connect next time, from said local neighbor list, selects said IP version number to set up LWAPP with said AC and is connected.
Compared with prior art, the present invention has the following advantages:
Among the present invention; Improve the problem of the complete used overlong time of link-recovery under the multi-hop MESH connection situation; Through providing a kind of information transmission mechanism that LWAPP state machine and MESH state machine are carried out synchronously; The course of work of LWAPP state machine under the IP agreement of rapid triggering correspondence is set up thereby MPP is connected rapidly with the LWAPP tunnel of AC in the time that MESH LINK enlivens, and is stable to keep MESH LINK.
Description of drawings
Fig. 1 is a CAPWAP system schematic in the prior art;
Fig. 2 is a LWAPP state machine diagram in the prior art;
Fig. 3 is that FIT AP forms the MESH network diagram in the prior art;
Fig. 4 is a multi-hop FIT AP MESH networking diagram in the prior art;
Fig. 5 is a kind of method flow diagram of setting up the tunnel connection among the present invention;
Fig. 6 is a MESH message general format sketch map among the present invention;
Fig. 7 is MESH form sketch map among the present invention;
Fig. 8 is a Mesh Flags form sketch map among the present invention;
Fig. 9 is a kind of AP structure chart among the present invention.
Embodiment
The present invention proposes a kind of method that the tunnel connects of setting up; Be applied to comprise in the network of access controller AC and at least two access point AP; This AP is two stack equipment, can adopt IPv4 agreement and AC to set up LWAPP and be connected, and also can adopt IPv6 agreement and AC to set up LWAPP and be connected.Wherein, constituting the upstream and downstream relation at least between two AP, is that example describes with two AP among the present invention; Wherein, an AP directly is connected with AC, in the upstream and downstream relation, is upper reaches AP; The 2nd AP is connected with said AC through a said AP, in the upstream and downstream relation, is downstream AP.For the processing mode of a plurality of AP scenes, identical with the processing mode of two AP, give unnecessary details no longer in detail among the present invention.Said method is as shown in Figure 5, may further comprise the steps:
Step 501, said AP obtains the position relation of self and said AC.When said AP directly is connected with said AC for said AP with the position relation of said AC, forward step 502 to; When said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC, forward step 503 to.
Concrete, for the AP in the network, can know that all self and the position of AC concern, know that promptly self directly is connected with said AC, perhaps, know that self passing through upper reaches AP is connected with said AC.Because have only an AP and the 2nd AP among the present invention, when promptly said AP directly was connected with said AC, said AP was an AP, and said AP is when passing through upper reaches AP and being connected with said AC, and said AP is the 2nd AP.
Step 502, said AP sets up LWAPP with said AC and is connected, and obtains the IP address of said AC; Confirm to set up LWAPP according to the IP address of said AC and connect the IP version that uses number; And said IP version number sent to downstream AP.
Concrete, because said AP directly is connected with said AC, then said AP is an AP, and said downstream AP is the 2nd AP, and the processing procedure in this step comprises:
(1) a said AP sets up LWAPP with said AC and is connected, and obtains the IP address of said AC;
(2) a said AP confirms to set up LWAPP according to the IP address of said AC and connects the IP version that uses number; If the AC address is the IPv4 address, confirm that then an AP and AC use IPv4 to set up LWAPP and be connected, promptly set up IP version that the LWAPP connection uses and number be IPv4; If the AC address is the IPv6 address, confirm that then an AP and AC use IPv6 to set up LWAPP and be connected, promptly set up IP version that the LWAPP connection uses and number be IPv6.
(3) a said AP number sends to said the 2nd AP with said IP version.
Concrete, a said AP number sends to said the 2nd AP through beacon frame with said IP version; Perhaps, a said AP through with said the 2nd AP exchange neighbor list, said IP version number is sent to said the 2nd AP; Wherein, the information that comprises said IP version number in the said neighbor list.Wherein, Be not limited to above-mentioned send mode among the present invention; A said AP can also number send to said the 2nd AP with said IP version through other modes; For example, a said AP number sends to said the 2nd AP through message A with said IP version, gives unnecessary details no longer in detail among the present invention of this send mode.
Among the present invention; Said IP version number is sent under the situation of said the 2nd AP through beacon frame at a said AP; Be specially: a said AP sends general format MESH message (as shown in Figure 6) to said the 2nd AP, carried MESH field (as shown in Figure 7) in the MESH message of said general format, and Mesh Flags (sign) length among the Mesh Header (being MESH field) is a byte; 6 of backs are untapped position, and are as shown in Figure 8.Wherein, Reservation position in the said MESH field is a beacon frame, and said reservation position can be used to identify IP version number, for example; When said AC address is the IPv4 address; With last (perhaps keeping other reservation positions in the position) retention position 0, if this address of AC is the IPv6 address, then with last retention position 1.Certainly, can be held consultation by an AP and the 2nd AP in this reservation position, and promptly 0 representes the IPv4 address, 1 expression IPv6 address, and in the practical application, can also be by 1 expression IPv4 address, repeat no more among the present invention in 0 expression IPv6 address.
In addition; A said AP through with said the 2nd AP exchange neighbor list; Said IP version number is sent under the situation of said the 2nd AP, be specially: in the process that MESH LINK sets up, the equipment of MESH LINK both sides is the exchange neighbor list each other; Promptly an AP and the 2nd AP set up in the process of MESH LINK, each other the exchange neighbor list.And in the neighbor list of an AP; Include neighbor device type (i.e. the device type of an AP); Can use the neighbor list of an AP that the device type of the one AP is notified to the 2nd AP then through using this device type mark the one AP for being IPv4 type or IPv6 type equipment.
Concrete, when an AP and AC set up LWAPP and be connected, need the employed IP version of assurance the one AP number corresponding with AC, if promptly the AC address is the IPv4 address, then sets up IP version that the LWAPP connection uses and number be IPv4; If the AC address is the IPv6 address, then sets up LWAPP and connect the IP version use and number be IPv6.
To sum up can find out; When the device type of an AP was the IPv4 type, then corresponding IP version number was IPv4, at this moment; The AC address is the IPv4 address; When the 2nd AP is known the device type of an AP, can know that promptly the AC address is the IPv4 address, just can know that also setting up LWAPP connects the IP version use and number be IPv4.Same, situation was identical when the device type of an AP was the IPv6 type.Promptly at a said AP through with said the 2nd AP exchange neighbor list the time, an AP can number send to said the 2nd AP with said IP version.
Step 503; When said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC; Said AP obtains said IP version number from said upper reaches AP, and when said upper reaches AP sets up MESH and is connected, and number sets up LWAPP with said AC according to said IP version and is connected.
Concrete, because said AP is connected with said AC through upper reaches AP, then said AP is the 2nd AP, and said upper reaches AP is an AP, and the processing procedure in this step comprises:
(1) the 2nd AP obtains said IP version number from an AP.Wherein, when an AP has confirmed IP version, need IP version number be sent to the 2nd AP, then this moment, the 2nd AP can get access to IP version number.
Concrete, said the 2nd AP obtains said IP version from an AP and number specifically comprises: said the 2nd AP obtains said IP version number from the beacon frame from a said AP; Perhaps, said the 2nd AP obtains said IP version number from the neighbor list from a said AP.
(2) said the 2nd AP sets up MESH with a said AP and is connected, and number sets up LWAPP with said AC according to said IP version and be connected.
When said the 2nd AP gets access to IP version, can set up MESH LINK with an AP, in case and corresponding M ESH LINK state is UP, then the 2nd AP number sets up LWAPP with said AC according to this IP version at once and is connected.For example, when MESH LINK state is UP, and IP version is when number being IPv4, and then the 2nd AP sets up LWAPP through IPv4 with said AC and is connected; And when MESH LINK state is UP, and IP version is when number being IPv6, then the 2nd AP sets up LWAPP through IPv6 with said AC and is connected.
Concrete, said the 2nd AP can set up MESH LINK with an AP behind the wireless message of receiving from a said AP that has set; In case corresponding M ESH LINK state is UP, then the 2nd AP selects the employed IP protocol version of LWAPP agreement and starts the LWAPP state machine according to the set situation of this wireless message at once, when being the IPv4 address with said AC address; With last retention position 0, if this address of AC is the IPv6 address, then the situation with last retention position 1 is an example; If this set is 0; Then LWAPP uses IPv4 to come to connect with AC, if this set is 1, then LWAPP uses IPv6 to come to connect with AC.
In sum; When MESH LINK state is UP; When the 2nd AP sets up LWAPP and is connected according to IP version number and said AC; Avoided the local two kinds of LWAPP state machines of MPP (the 2nd AP) (being corresponding LWAPP state machine of IPv4 and the corresponding LWAPP state machine of IPv6) thereby made repeated attempts missing enlivening the time of MESH LINK, thereby the time that makes MESH LINK foundation back MPP and AC connect is controlled, has improved the speed of link establishment; In the process of after network breaks down, recovering, can significantly improve recovery time.
In addition; When said the 2nd AP is known IP version; Said the 2nd AP also need number store said IP version into local neighbor list, and after setting up MESH and connect next time, from said local neighbor list, selects said IP version number to set up LWAPP with said AC and is connected.Can find out that because the type of the IP address of AC is constant relatively, the IP version that the 2nd AP is known number can continue use in subsequent process.
Need to prove, in network, have many AC, and the IP version of many AC is when inconsistent; Then the 2nd AP may find that the IP version that two neighbor AP send is inconsistent; At this moment, according to the needs of reality, the 2nd AP will select the strong IP version that AP sended over of signal.Certainly, other selection is arranged also in the practical application, give unnecessary details no longer in detail among the present invention.
The present invention proposes a kind of AP, be applied to comprise in the network of access controller AC and at least two access point AP, constitute the upstream and downstream relation at least between two AP, as shown in Figure 9, comprising:
Acquisition module 910 is used to obtain the position relation of AP and said AC;
First processing module 920 is connected with acquisition module 910, is used for when said AP directly is connected with said AC for said AP with the position relation of said AC, setting up LWAPP with said AC to be connected, and obtains the IP address of said AC; Confirm to set up LWAPP according to the IP address of said AC and connect the IP version that uses number, and said IP version number is sent to downstream AP;
Among the present invention, said first processing module 920 also is used for, and through beacon frame said IP version number is sent to said downstream AP; Perhaps, through with said downstream AP exchange neighbor list, said IP version number is sent to said downstream AP; Wherein, the information that comprises said IP version number in the said neighbor list;
Said first processing module 920 also is used for, and sends general format MESH message to said downstream AP, carries MESH field in the said general format MESH message, and the reservation position in the said MESH field is a beacon frame, and said reservation position is used to identify IP version number.Said reservation position is used to identify IP version number, is specially: when said AC address is the IPv4 address, then with said retention position first sign, when the AC address is the IPv6 address, then with said retention position second sign.
Second processing module 930; Be connected with acquisition module 910; Be used for when said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC; Obtain said IP version number from said upper reaches AP, and when said upper reaches AP sets up MESH and is connected, number set up LWAPP according to said IP version and be connected with said AC.
Said second processing module 930 also is used for, and from the beacon frame from said upper reaches AP, obtains said IP version number; Perhaps, from neighbor list, obtain said IP version number from said upper reaches AP.
Said second processing module 930 also is used for, and number stores said IP version into local neighbor list, and when setting up MESH and connect next time, from said local neighbor list, selects said IP version number to set up LWAPP with said AC and is connected.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. set up the method that the tunnel connects for one kind, be applied to comprise in the network of access controller AC and at least two access point AP, constitute the upstream and downstream relation at least between two AP, it is characterized in that, said method comprising the steps of:
Said AP obtains the position relation of self and said AC;
When said AP directly was connected with said AC for said AP with the position relation of said AC, said AP set up Lightweight Access Point Protocol LWAPP with said AC and is connected, and obtains the IP address of said AC; Confirm to set up LWAPP according to the IP address of said AC and connect the IP version that uses number; And said IP version number sent to downstream AP;
When said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC; Said AP obtains said IP version number from said upper reaches AP; And, number set up LWAPP according to said IP version and be connected with said AC when said upper reaches AP sets up MESH and is connected.
2. the method for claim 1 is characterized in that, said IP version number is sent to downstream AP specifically comprise: said AP number sends to said downstream AP through beacon frame with said IP version; Perhaps, said AP through with said downstream AP exchange neighbor list, said IP version number is sent to said downstream AP; Wherein, the information that comprises said IP version number in the said neighbor list;
Said AP obtains said IP version from said upper reaches AP and number specifically comprises: said AP obtains said IP version number from the beacon frame from said upper reaches AP; Perhaps, said AP obtains said IP version number from the neighbor list from said upper reaches AP.
3. method as claimed in claim 2 is characterized in that, said AP number sends to said downstream AP through beacon frame with said IP version, specifically comprises:
Said AP sends general format MESH message to said downstream AP, carries MESH field in the said general format MESH message, and the reservation position in the said MESH field is a beacon frame, and said reservation position is used to identify IP version number.
4. method as claimed in claim 3 is characterized in that, said reservation position is used to identify IP version number, is specially:
When the IP address of said AC is the IPv4 address, then with said retention position first sign, when the IP address of AC is the IPv6 address, then with said retention position second sign.
5. like each described method of claim 1-4, it is characterized in that said method also comprises:
Said downstream AP number stores said IP version into local neighbor list, and when setting up MESH and connect next time, from said local neighbor list, selects said IP version number to set up LWAPP with said AC and is connected.
6. an AP is applied to comprise in the network of access controller AC and at least two access point AP, constitutes the upstream and downstream relation at least between two AP, it is characterized in that, comprising:
Acquisition module is used to obtain the position relation of AP and said AC;
First processing module is connected with said acquisition module, is used for when said AP directly is connected with said AC for said AP with the position relation of said AC, setting up LWAPP with said AC to be connected, and obtains the IP address of said AC; Confirm to set up LWAPP according to the IP address of said AC and connect the IP version that uses number, and said IP version number is sent to downstream AP;
Second processing module; Be connected with said acquisition module; Be used for when said AP is connected with said AC through upper reaches AP for said AP with the position relation of said AC; Obtain said IP version number from said upper reaches AP, and when said upper reaches AP sets up MESH and is connected, number set up LWAPP according to said IP version and be connected with said AC.
7. AP as claimed in claim 6 is characterized in that,
Said first processing module also is used for, and through beacon frame said IP version number is sent to said downstream AP; Perhaps, through with said downstream AP exchange neighbor list, said IP version number is sent to said downstream AP; Wherein, the information that comprises said IP version number in the said neighbor list;
Said second processing module also is used for, and from the beacon frame from said upper reaches AP, obtains said IP version number; Perhaps, from neighbor list, obtain said IP version number from said upper reaches AP.
8. AP as claimed in claim 7 is characterized in that,
Said first processing module also is used for, and sends general format MESH message to said downstream AP, carries MESH field in the said general format MESH message, and the reservation position in the said MESH field is a beacon frame, and said reservation position is used to identify IP version number.
9. AP as claimed in claim 8 is characterized in that, said reservation position is used to identify IP version number, is specially:
When the IP address of said AC is the IPv4 address, then with said retention position first sign, when the IP address of AC is the IPv6 address, then with said retention position second sign.
10. AP as claimed in claim 6 is characterized in that,
Said second processing module also is used for, and number stores said IP version into local neighbor list, and when setting up MESH and connect next time, from said local neighbor list, selects said IP version number to set up LWAPP with said AC and is connected.
CN2009102661116A 2009-12-30 2009-12-30 Method and device for establishing tunnel connection Expired - Fee Related CN101742561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102661116A CN101742561B (en) 2009-12-30 2009-12-30 Method and device for establishing tunnel connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102661116A CN101742561B (en) 2009-12-30 2009-12-30 Method and device for establishing tunnel connection

Publications (2)

Publication Number Publication Date
CN101742561A CN101742561A (en) 2010-06-16
CN101742561B true CN101742561B (en) 2012-07-11

Family

ID=42465268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102661116A Expired - Fee Related CN101742561B (en) 2009-12-30 2009-12-30 Method and device for establishing tunnel connection

Country Status (1)

Country Link
CN (1) CN101742561B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5952433B2 (en) * 2012-03-02 2016-07-13 インターデイジタル パテント ホールディングス インコーポレイテッド Method and system for providing beacon information
TWI624189B (en) * 2012-07-03 2018-05-11 內數位專利控股公司 A station and a method for use therein
CN102905294B (en) * 2012-09-28 2015-07-22 杭州华三通信技术有限公司 LWAPP (Light Weight Access Point Protocol) link backup method and device
TWI514822B (en) * 2013-01-23 2015-12-21 Accton Technology Corp Wireless access point device, network system and network auto-establishing method of the same
CN104780231B (en) * 2014-01-10 2019-02-26 中国电信股份有限公司 Double stack application access method and apparatus
CN104363158A (en) * 2014-11-17 2015-02-18 京信通信***(中国)有限公司 Method, device and system for transmitting data by CAPWAP tunnel
US10291524B2 (en) * 2017-08-17 2019-05-14 Abb Schweiz Ag Dynamic tunnel establishment in a mesh network
CN108769984A (en) * 2018-06-22 2018-11-06 新华三技术有限公司 A kind of connection method for building up and device
CN109831832B (en) * 2019-02-01 2020-11-06 新华三技术有限公司 Method and device for preventing service interruption

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1398090A (en) * 2001-07-18 2003-02-19 华为技术有限公司 Tunnel encapsulation method for wireless VPN

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1398090A (en) * 2001-07-18 2003-02-19 华为技术有限公司 Tunnel encapsulation method for wireless VPN

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
向望,王志伟,高传善.集中式WLAN体系结构通信协议.《计算机工程》.2008,全文. *
徐民,王镭,杨春泽.无线城市城域网组网方式探讨.《电信技术》.2008,全文. *

Also Published As

Publication number Publication date
CN101742561A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101742561B (en) Method and device for establishing tunnel connection
CN101557616B (en) Method for accessing AP (access point) to switch backup access controller and AP (access point) and AC (access controller)
JP4558454B2 (en) Communications system
CN101765228B (en) Recovery method of CAPWAP tunnel and device thereof
CN102710777B (en) Advertisement push-delivery method and system, as well as advertisement pusher
CN103188766B (en) A kind of method and access controller unifying configuration WAP (wireless access point)
EP2568675B1 (en) Message forwarding method,acces point,and system
US20100080206A1 (en) Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network
CN106856609A (en) A kind of network collocating method and device
EP2750452B1 (en) Wireless local area network access method, station and access point
WO2008091725A1 (en) Path optimization for mesh access points in a wireless mesh network
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN102739541A (en) Method, device and system for starting routing function and transmitting data
CN102104893A (en) Method, device and wireless access point equipment for realizing hot backup of wireless controller
CN105848168A (en) Method and device for managing wireless access point AP
CN103746881A (en) Neighbor state detection method and neighbor state detection device in EVI (Ethernet Virtualization Interconnection) network
CN104540180B (en) A kind of Android multihop routing implementation method without root authority
CN107872853A (en) A kind of method and apparatus of data transfer
JP7400814B2 (en) How it is done by intermediate nodes
CN105072605A (en) Terminal roaming method in independent AP (Access Point) mode and AP
CN101296145B (en) Embedded wireless mesh network router
CN108777712A (en) block chain node communication method, device and block chain node
JP6385401B2 (en) Method, apparatus and device for managing authentication data of STA
CN101771597A (en) Multi-message convergence transmission method for field level industrial wireless network
CN103763676A (en) Communication method and equipment between AP and AC

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120711

Termination date: 20191230

CF01 Termination of patent right due to non-payment of annual fee