CN110891325B - Tunnel establishment method and device - Google Patents

Tunnel establishment method and device Download PDF

Info

Publication number
CN110891325B
CN110891325B CN201911260861.2A CN201911260861A CN110891325B CN 110891325 B CN110891325 B CN 110891325B CN 201911260861 A CN201911260861 A CN 201911260861A CN 110891325 B CN110891325 B CN 110891325B
Authority
CN
China
Prior art keywords
fat
address
tunnel
common
vlan
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
CN201911260861.2A
Other languages
Chinese (zh)
Other versions
CN110891325A (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 Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN201911260861.2A priority Critical patent/CN110891325B/en
Publication of CN110891325A publication Critical patent/CN110891325A/en
Application granted granted Critical
Publication of CN110891325B publication Critical patent/CN110891325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2592Translation of Internet protocol [IP] addresses using tunnelling or encapsulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a tunnel establishment method, which comprises the following steps: when the gateway fat AP receives the IP address of the common fat AP broadcasted by the common fat AP in any one VLAN of the plurality of VLANs, the IP address and the common fat AP are utilized to establish a tunnel, so that the gateway fat AP synchronizes the online information of the wireless terminal accessed to the gateway fat AP to the common fat AP through the tunnel; broadcasting the IP address of the ordinary fat AP to other VLANs except the any VLAN so that the ordinary fat AP in the other VLANs establishes a tunnel with the ordinary fat AP by using the IP address, and synchronizing the online information of the wireless terminal accessed to the ordinary fat AP through the tunnel. The invention can reduce the configuration operation of the IP address, and can automatically realize the establishment of the tunnel and reduce the maintenance cost of the WLAN when the IP address of the fat AP changes.

Description

Tunnel establishment method and device
Technical Field
The invention relates to the technical field of communication, in particular to a tunnel establishment method and a tunnel establishment device.
Background
With the increasing maturity of Wireless Local Area Network (WLAN) technology, in many scenarios, a small-medium Network is built by using a plurality of independent fat Access Points (APs) to belong to different VLANs (Virtual Local Area networks).
At present, through IP (Internet Protocol) address of other fat APs in the configuration WLAN in every fat AP, make all fat APs can two liang establish the tunnel in the WLAN, thereby wireless terminal is after some fat AP is online, fat AP can give other fat APs through the tunnel synchronization that establishes with other fat AP with wireless terminal's information of getting online, so, when wireless terminal roamed on other fat APs, other fat APs can use the information of getting online of synchronization to realize that wireless terminal gets online fast, guarantee that wireless terminal's IP address is unchangeable, reach the purpose of insensible roaming.
However, as the fat AP increases in size or the IP address of the fat AP changes, the IP address configuration in the fat AP needs to be continuously modified, which results in high WLAN maintenance cost and is prone to errors.
Disclosure of Invention
The present invention provides a tunnel establishment method and apparatus for overcoming the above-mentioned deficiencies in the prior art, and the object is achieved by the following technical solutions.
A first aspect of the present invention provides a tunnel establishment method, where the method is applied to a gateway fat AP in a wireless local area network, where the gateway fat AP supports multiple VLANs, the wireless local area network further includes multiple ordinary fat APs, and each ordinary fat AP supports one VLAN, and the method includes:
when receiving the IP address of the common fat AP broadcasted by the common fat AP in any one of the VLANs, establishing a tunnel by using the IP address and the common fat AP so that the gateway fat AP synchronizes the online information of the wireless terminal accessed to the gateway fat AP to the common fat AP through the tunnel;
and broadcasting the IP address of the common fat AP to other VLANs except any one VLAN so that the common fat AP in the other VLANs establishes a tunnel with the common fat AP by using the IP address, and synchronizing the online information of the wireless terminal accessed to the common fat AP through the tunnel.
A second aspect of the present invention provides a tunnel establishment method, where the method is applied to any one of a plurality of normal fat APs in a wireless local area network, each normal fat AP supports one VLAN, the wireless local area network further includes a gateway fat AP, and the gateway fat AP supports a plurality of VLANs, and the method includes:
receiving IP addresses broadcast by other fat APs in the VLAN where the common fat AP is located;
establishing a tunnel by using the IP address and the fat AP corresponding to the IP address so that the common fat AP synchronizes the online information of the wireless terminal accessed to the common fat AP to the fat AP corresponding to the IP address through the tunnel;
when the other fat APs are other common fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the other common fat APs; and when the other fat APs are the gateway fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the gateway fat AP or the IP address of the common fat AP in the other VLANs except the VLAN where the common fat AP is located, which is received by the gateway fat AP.
A third aspect of the present invention provides a tunnel establishment apparatus, which is applied to a gateway fat AP in a wireless local area network, wherein the gateway fat AP supports multiple VLANs, the wireless local area network further includes multiple normal fat APs, and each normal fat AP supports one VLAN, the apparatus includes:
a tunnel establishing module, configured to establish a tunnel with a normal fat AP in any one of the VLANs by using the IP address when receiving the IP address of the normal fat AP broadcasted by the normal fat AP in the VLAN, so that the gateway fat AP synchronizes online information of a wireless terminal accessing itself to the normal fat AP through the tunnel;
a first broadcasting module, configured to broadcast the IP address of the ordinary fat AP to another VLAN except for the any VLAN, so that the ordinary fat AP in the other VLAN establishes a tunnel with the ordinary fat AP by using the IP address, and synchronizes online information of the wireless terminal accessing itself to the ordinary fat AP through the tunnel.
A fourth aspect of the present invention provides a tunnel establishment apparatus, which is applied to any one of a plurality of normal fat APs in a wireless local area network, each normal fat AP supporting one VLAN, the wireless local area network further including a gateway fat AP, and the gateway fat AP supporting a plurality of VLANs, the apparatus comprising:
the receiving module is used for receiving IP addresses broadcasted by other fat APs in the VLAN where the common fat AP is located;
the tunnel establishing module is used for establishing a tunnel by using the IP address and the fat AP corresponding to the IP address so that the common fat AP synchronizes the online information of the wireless terminal accessed to the common fat AP to the fat AP corresponding to the IP address through the tunnel;
when the other fat APs are other common fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the other common fat APs; and when the other fat APs are the gateway fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the gateway fat AP or the IP address of the common fat AP in the other VLANs except the VLAN where the common fat AP is located, which is received by the gateway fat AP.
In the embodiment of the invention, the gateway fat AP supporting a plurality of VLANs and the common fat AP in the WLAN broadcast respective IP addresses in the respective supported VLANs, and the gateway fat AP also broadcasts the IP address of the common fat AP received in any VLAN to other VLANs, so that tunnels are established between every two fat APs in the WLAN, online information of a wireless client can be synchronized in time, and the non-perception roaming of the wireless client is realized. The tunnel establishment mode reduces the configuration operation of the IP address, and can automatically realize the establishment of the tunnel when the IP address of the fat AP changes, thereby reducing the maintenance cost of the WLAN.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic structural diagram of a small and medium-sized WLAN shown in the related art;
fig. 2 is a schematic diagram of a WLAN according to an exemplary embodiment of the present invention;
fig. 3A is a flowchart illustrating an embodiment of a tunnel establishment method according to an exemplary embodiment of the present invention;
fig. 3B is a schematic structural diagram of a broadcast message according to the embodiment shown in fig. 3A;
fig. 4 is a flowchart illustrating another method for establishing a tunnel according to an exemplary embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a tunnel establishment procedure according to an exemplary embodiment of the present invention;
fig. 6 is a schematic structural diagram illustrating a tunnel establishment apparatus according to an exemplary embodiment of the present invention;
fig. 7 is a schematic structural diagram of another tunnel establishment apparatus according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
As shown in FIG. 1, the small and medium WLAN includes a switch, fat AP 1-fat AP 4. The fat APs 1-2 belong to VLAN2, the APs 3-4 belong to VLAN3, each fat AP is configured with the IP addresses of other fat APs, and any two fat APs can communicate through a tunnel established according to the respective IP addresses.
However, when a fat AP is added to the WLAN or the IP address of an existing fat AP changes, the IP address configuration of all fat APs needs to be modified, resulting in higher WLAN maintenance cost.
In order to solve the technical problem, the invention provides a tunnel establishment scheme, wherein the purpose of flexibly establishing tunnels between two fat APs is achieved by adding gateway fat APs in the WLANs with a plurality of fat APs belonging to different VLANs.
As shown in fig. 2, the WLAN includes a switch, fat AP 1-fat AP 4. Wherein the fat AP2 is configured to allow receiving information for VLAN2 and VLAN3 as a gateway fat AP in the WLAN, i.e., fat AP2 supports VLAN2 and VLAN 3; the fat AP1 is configured to allow receipt of VLAN2 information as a normal fat AP supporting VLAN 2; the fat AP 3-fat AP4 is configured to allow receipt of VLAN3 information as a normal fat AP supporting VLAN 3.
Based on this, each ordinary fat AP can broadcast the IP address of the ordinary fat AP in the VLAN where the ordinary fat AP is located, and other fat APs (the other fat APs are the ordinary fat APs or gateway fat APs) in the VLAN can receive the IP address of the ordinary fat AP, so that tunnels are established pairwise; for the gateway fat APs, the IP addresses broadcasted by the normal fat APs in each VLAN can be received, so that the gateway fat APs can broadcast the IP addresses of the normal fat APs received in any VLAN to other VLANs except the VLAN, for example, the gateway fat AP2 broadcasts the IP addresses of the fat AP3 and the fat AP4 in the VLAN3 to the VLAN2 and broadcasts the IP address of the fat AP1 in the VLAN2 to the VLAN3, and then each fat AP can establish a tunnel by using the IP address of the fat AP of the other party, synchronize the online information of the wireless client in time, and finally realize the non-perception roaming of the wireless client. .
Those skilled in the art will appreciate that the gateway fat AP may receive information broadcast by normal fat APs within all VLANs in the WLAN, only VLAN2 and VLAN3 being shown in fig. 2 by way of example, and the gateway fat AP may receive information for VLAN2 and information for VLAN 3. The ordinary fat AP can only receive the broadcast information in the VLAN to which it belongs.
As can be seen from the above description, the gateway fat APs and the ordinary fat APs in the WLAN, which support multiple VLANs, broadcast their respective IP addresses in the respective supported VLANs, and the gateway fat APs also broadcast the IP address of the ordinary fat AP received in any one VLAN to other VLANs, so that two fat APs in the same VLAN establish a tunnel, and can synchronize online information of the wireless client in time, thereby implementing the unaware roaming of the wireless client. The tunnel establishment mode reduces the configuration operation of the IP address, and can automatically realize the establishment of the tunnel when the IP address of the fat AP changes, thereby reducing the maintenance cost of the WLAN.
The tunnel establishment scheme proposed by the present invention is explained in detail with specific embodiments below.
Fig. 3A is a flowchart illustrating an embodiment of a tunnel establishment method according to an exemplary embodiment of the present invention, which may be applied to the gateway fat AP as illustrated in fig. 2, where the gateway fat AP supports multiple VLANs.
As shown in fig. 3A, the tunnel establishment method includes the following steps 301 to 302:
step 301: when receiving the IP address of the common fat AP broadcasted by the common fat AP in any one of the VLANs, establishing a tunnel by using the IP address and the common fat AP so that the gateway fat AP synchronizes the online information of the wireless terminal accessed to the gateway fat AP to the common fat AP through the tunnel.
Step 302: and broadcasting the IP address of the common fat AP to other VLANs except any one VLAN so that the common fat AP in the other VLANs establishes a tunnel with the common fat AP by using the IP address, and synchronizing the online information of the wireless terminal accessed to the common fat AP through the tunnel.
In an example, the tunnel established in step 301 and step 302 may be a UDP (User Datagram Protocol) tunnel or a TCP (Transmission Control Protocol) tunnel, which is not limited in the present invention.
In the invention, the gateway fat AP can receive the broadcast message of the common fat AP in any VLAN, and as long as the broadcast message of the common fat AP is received, the IP address of the common fat AP carried by the message can be used for establishing a tunnel with the common fat AP.
Illustratively, the broadcast message may carry, in addition to the IP address of the fat AP, description information of the fat AP and VLAN information supported by the fat AP. When receiving a broadcast message, the ordinary fat AP or the gateway fat AP may locally store the IP address carried in the broadcast message, the description information of the fat AP, and the VLAN information supported by the fat AP.
The following introduces the broadcast messages involved in the present invention:
as shown in fig. 3B, the broadcast packet format diagram, "Destination MAC" indicates a broadcast address, "Source MAC" indicates a MAC address of a fat AP, "VLAN Tag" indicates VLAN information where the broadcast packet is located, "Type" indicates a private ethernet protocol number, "Length" indicates a total Length of the broadcast packet, "IP-Len" indicates an IP address Length, "IP-Value" indicates IP address information, "Name-Len" indicates a Length of the description information of the fat AP, and "Name-Value" indicates the description information of the fat AP.
In an embodiment, the gateway fat AP may further broadcast the IP address of the gateway fat AP in each VLAN of the plurality of VLANs, so that the ordinary fat AP in each VLAN establishes a tunnel with the gateway fat AP by using the IP address of the gateway fat AP, and synchronizes the online information of the wireless terminal accessing itself to the gateway fat AP through the tunnel.
It should be noted that, in order to avoid the problem of tunnel failure caused by the change of the IP address of the fat AP, the ordinary fat AP in each VLAN may periodically broadcast its own IP address, and the gateway fat AP also periodically broadcasts its own IP address in each VLAN, and periodically broadcasts the IP address of the ordinary fat AP received in any VLAN to other VLANs except for the any VLAN, so that the tunnel between any two fat APs is always valid.
By the tunnel establishment procedure shown in fig. 3A, the tunnel establishment procedure shown in fig. 3A is completed, so that the configuration operation of the IP address is reduced, and when the IP address of the fat AP changes, the establishment of the tunnel can be automatically achieved, thereby reducing the maintenance cost of the WLAN.
Fig. 4 is a flowchart illustrating another tunnel establishment method according to an exemplary embodiment of the present invention, which may be applied to any one of a plurality of normal fat APs in a wireless lan based on the embodiments illustrated in fig. 2 and fig. 3A. As shown in fig. 4, the tunnel establishment method includes the following steps:
step 401: and receiving the IP addresses broadcast by other fat APs in the VLAN where the common fat AP is located.
In step 401, when the other fat APs are other normal fat APs in the VLAN where the normal fat AP is located, the IP address is the IP address of the other normal fat APs; and when the other fat APs are the gateway fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the gateway fat AP or the IP address of the common fat AP in the other VLANs except the VLAN where the common fat AP is located, which is received by the gateway fat AP.
Step 402: and establishing a tunnel by using the IP address and the fat AP corresponding to the IP address so that the common fat AP synchronizes the online information of the wireless terminal accessed to the common fat AP to the fat AP corresponding to the IP address through the tunnel.
For the processes of step 401 to step 402, reference may be made to the description related to the embodiment shown in fig. 3A, and details will not be described.
It should be noted that the ordinary fat AP may also broadcast the IP address of the ordinary fat AP in the VLAN where the ordinary fat AP is located, so that other fat APs in the VLAN where the ordinary fat AP is located may establish a tunnel with the ordinary fat AP by using the IP address of the ordinary fat AP, and synchronize the online information of the wireless terminal accessing itself to the ordinary fat AP through the tunnel.
By the tunnel establishment procedure shown in fig. 4, the purpose of establishing tunnels for two fat APs can be achieved without adding any hardware through the tunnel establishment procedure shown in fig. 4, so that network configuration operations are reduced, and network expandability is enhanced.
Taking the network scenario shown in fig. 2 as an example, the tunnel establishment procedure of the fat AP 1-fat AP4 is described as follows:
as shown in fig. 5, the fat AP1 can only broadcast its own IP address within the VLAN2, the fat AP3 and the fat AP4 can only broadcast its own IP address within the VLAN3, the fat AP2 can broadcast its own IP address within the VLANs 2 and 3, respectively, and can broadcast the IP address of the fat AP1 into the VLAN3 upon receiving the IP address of the fat AP1 broadcast by the fat AP1 within the VLAN2, and can broadcast the IP addresses broadcast by the fat AP3 and the fat AP4 into the VLAN2 upon receiving the IP addresses broadcast by the fat AP3 and the fat AP4 within the VLAN 3. For each fat AP, a tunnel can be established with the fat AP of the opposite end as long as the IP address of the fat AP of the opposite end is received, so that the online information of the wireless client can be synchronized in time, and the non-perception roaming of the wireless client is realized.
Corresponding to the embodiment of the tunnel establishment method, the invention also provides an embodiment of a tunnel establishment device.
Fig. 6 is a flowchart illustrating an embodiment of a tunnel establishment apparatus according to an exemplary embodiment of the present invention, where the tunnel establishment apparatus is applied to a gateway fat AP in a wireless local area network, the gateway fat AP supports multiple VLANs, the wireless local area network further includes multiple normal fat APs, and each of the normal fat APs supports one VLAN, and the apparatus includes:
a tunnel establishing module 610, configured to, when receiving an IP address of a normal fat AP broadcast by the normal fat AP in any one of the VLANs, establish a tunnel with the normal fat AP by using the IP address, so that the gateway fat AP synchronizes online information of a wireless terminal accessing itself to the normal fat AP through the tunnel;
a first broadcasting module 620, configured to broadcast the IP address of the ordinary fat AP to another VLAN except for the any VLAN, so that the ordinary fat AP in the other VLAN establishes a tunnel with the ordinary fat AP by using the IP address, and synchronizes the online information of the wireless terminal accessing itself to the ordinary fat AP through the tunnel.
In an alternative implementation, the apparatus further comprises (not shown in fig. 6):
and the second broadcasting module is used for broadcasting the IP address of the gateway fat AP in each VLAN in the plurality of VLANs respectively so that the common fat AP in each VLAN utilizes the IP address of the gateway fat AP to establish a tunnel with the gateway fat AP and synchronizes the online information of the wireless terminal accessed to the gateway fat AP through the tunnel.
Fig. 7 is a flowchart illustrating another tunnel establishment apparatus according to an exemplary embodiment of the present invention, which is applied to any one of a plurality of normal fat APs in a wireless local area network, each of the normal fat APs supporting one VLAN, the wireless local area network further including a gateway fat AP, and the gateway fat AP supporting a plurality of VLANs, the apparatus including:
a receiving module 710, configured to receive IP addresses broadcasted by other fat APs in the VLAN where the ordinary fat AP is located;
a tunnel establishing module 720, configured to establish a tunnel by using the IP address and the fat AP corresponding to the IP address, so that the ordinary fat AP synchronizes the online information of the wireless terminal accessing the ordinary fat AP to the fat AP corresponding to the IP address through the tunnel;
when the other fat APs are other common fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the other common fat APs; and when the other fat APs are the gateway fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the gateway fat AP or the IP address of the common fat AP in the other VLANs except the VLAN where the common fat AP is located, which is received by the gateway fat AP.
In an alternative implementation, the apparatus further comprises (not shown in fig. 7):
the broadcast module is used for broadcasting the IP address of the common fat AP in the VLAN where the common fat AP is located, so that other fat APs in the VLAN where the common fat AP is located utilize the IP address of the common fat AP and the common fat AP to establish a tunnel, and the on-line information of the wireless terminal accessed to the common fat AP is synchronized through the tunnel.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A tunnel establishment method applied to a gateway fat AP in a wireless local area network, wherein the gateway fat AP supports multiple VLANs, the wireless local area network further comprises multiple normal fat APs, and each normal fat AP supports one VLAN, the method comprising:
when receiving the IP address of the common fat AP broadcasted by the common fat AP in any one of the VLANs, establishing a tunnel by using the IP address and the common fat AP so that the gateway fat AP synchronizes the online information of the wireless terminal accessed to the gateway fat AP to the common fat AP through the tunnel;
and broadcasting the IP address of the common fat AP to other VLANs except any one VLAN so that the common fat AP in the other VLANs establishes a tunnel with the common fat AP by using the IP address, and synchronizing the online information of the wireless terminal accessed to the common fat AP through the tunnel.
2. The method of claim 1, further comprising:
and broadcasting the IP address of the gateway fat AP in each VLAN in the plurality of VLANs respectively so that the common fat AP in each VLAN utilizes the IP address of the gateway fat AP to establish a tunnel with the gateway fat AP, and synchronizes the online information of the wireless terminal accessed to the gateway fat AP through the tunnel.
3. A tunnel establishment method applied to any one of a plurality of normal fat APs in a wireless local area network, each normal fat AP supporting one VLAN, the wireless local area network further comprising a gateway fat AP, and the gateway fat AP supporting a plurality of VLANs, the method comprising:
receiving IP addresses broadcast by other fat APs in the VLAN where the common fat AP is located;
establishing a tunnel by using the IP address and the fat AP corresponding to the IP address so that the common fat AP synchronizes the online information of the wireless terminal accessed to the common fat AP to the fat AP corresponding to the IP address through the tunnel;
when the other fat APs are other common fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the other common fat APs; when the other fat APs are gateway fat APs in the VLAN where the ordinary fat AP is located, the IP addresses include the IP address of the gateway fat AP and the IP addresses of the ordinary fat APs in the other VLANs, except the VLAN where the ordinary fat AP is located, received by the gateway fat AP.
4. The method of claim 3, further comprising:
broadcasting the IP address of the common fat AP in the VLAN where the common fat AP is located so as to enable other fat APs in the VLAN where the common fat AP is located to utilize the IP address of the common fat AP to establish a tunnel with the common fat AP and enable the on-line information of the wireless terminal accessed to the tunnel to be synchronous to the common fat AP.
5. A tunnel establishment apparatus, wherein the apparatus is applied to a gateway fat AP in a wireless local area network, the gateway fat AP supporting multiple VLANs, the wireless local area network further comprising multiple normal fat APs, and each normal fat AP supporting one VLAN, the apparatus comprising:
a tunnel establishing module, configured to establish a tunnel with a normal fat AP in any one of the VLANs by using the IP address when receiving the IP address of the normal fat AP broadcasted by the normal fat AP in the VLAN, so that the gateway fat AP synchronizes online information of a wireless terminal accessing itself to the normal fat AP through the tunnel;
a first broadcasting module, configured to broadcast the IP address of the ordinary fat AP to another VLAN except for the any VLAN, so that the ordinary fat AP in the other VLAN establishes a tunnel with the ordinary fat AP by using the IP address, and synchronizes online information of the wireless terminal accessing itself to the ordinary fat AP through the tunnel.
6. The apparatus of claim 5, further comprising:
and the second broadcasting module is used for broadcasting the IP address of the gateway fat AP in each VLAN in the plurality of VLANs respectively so that the common fat AP in each VLAN utilizes the IP address of the gateway fat AP to establish a tunnel with the gateway fat AP and synchronizes the online information of the wireless terminal accessed to the gateway fat AP through the tunnel.
7. An apparatus for tunnel establishment, the apparatus being applied to any one of a plurality of generally fat APs in a wireless local area network, each generally fat AP supporting a VLAN, the wireless local area network further comprising a gateway fat AP, and the gateway fat AP supporting a plurality of VLANs, the apparatus comprising:
the receiving module is used for receiving IP addresses broadcasted by other fat APs in the VLAN where the common fat AP is located;
the tunnel establishing module is used for establishing a tunnel by using the IP address and the fat AP corresponding to the IP address so that the common fat AP synchronizes the online information of the wireless terminal accessed to the common fat AP to the fat AP corresponding to the IP address through the tunnel;
when the other fat APs are other common fat APs in the VLAN where the common fat AP is located, the IP address is the IP address of the other common fat APs; when the other fat APs are gateway fat APs in the VLAN where the ordinary fat AP is located, the IP addresses include the IP address of the gateway fat AP and the IP addresses of the ordinary fat APs in the other VLANs, except the VLAN where the ordinary fat AP is located, received by the gateway fat AP.
8. The apparatus of claim 7, further comprising:
the broadcast module is used for broadcasting the IP address of the common fat AP in the VLAN where the common fat AP is located, so that other fat APs in the VLAN where the common fat AP is located utilize the IP address of the common fat AP and the common fat AP to establish a tunnel, and the on-line information of the wireless terminal accessed to the common fat AP is synchronized through the tunnel.
CN201911260861.2A 2019-12-10 2019-12-10 Tunnel establishment method and device Active CN110891325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911260861.2A CN110891325B (en) 2019-12-10 2019-12-10 Tunnel establishment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911260861.2A CN110891325B (en) 2019-12-10 2019-12-10 Tunnel establishment method and device

Publications (2)

Publication Number Publication Date
CN110891325A CN110891325A (en) 2020-03-17
CN110891325B true CN110891325B (en) 2021-11-23

Family

ID=69751298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911260861.2A Active CN110891325B (en) 2019-12-10 2019-12-10 Tunnel establishment method and device

Country Status (1)

Country Link
CN (1) CN110891325B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378297A (en) * 2013-08-15 2015-02-25 杭州华三通信技术有限公司 Message forwarding method and device
CN104660527A (en) * 2015-03-20 2015-05-27 上海斐讯数据通信技术有限公司 Service switch, virtual local area network (VLAN)-spanning point-to-point protocol over Ethernet (PPPoE) network system and VLAN-spanning PPPoE network method
CN105188052A (en) * 2015-09-02 2015-12-23 深信服网络科技(深圳)有限公司 Method and system for accessing to network, and wireless access point
CN105915427A (en) * 2016-03-31 2016-08-31 华为技术有限公司 Message sending and receiving method and message sending and receiving equipment
CN106411607A (en) * 2016-11-04 2017-02-15 锐捷网络股份有限公司 Flow forwarding control method and device based on VXLAN network
CN106921610A (en) * 2015-12-25 2017-07-04 华为技术有限公司 Access control method and the network equipment
CN109257268A (en) * 2018-10-29 2019-01-22 广东电网有限责任公司 A kind of network attack test system and method across vlan
CN109327375A (en) * 2017-08-01 2019-02-12 中国电信股份有限公司 For establishing the methods, devices and systems in the tunnel VXLAN
CN109639557A (en) * 2019-02-11 2019-04-16 北京百度网讯科技有限公司 Methods, devices and systems for network communication
CN109842903A (en) * 2017-11-27 2019-06-04 华为技术有限公司 A kind of the determination method, apparatus and system of link information
CN109981462A (en) * 2019-03-28 2019-07-05 新华三技术有限公司 A kind of message processing method and device
CN110351772A (en) * 2018-04-08 2019-10-18 慧与发展有限责任合伙企业 Mapping between Radio Link and virtual LAN
CN110475131A (en) * 2018-05-09 2019-11-19 视联动力信息技术股份有限公司 A kind of terminal connection method, server and terminal
CN110572812A (en) * 2019-09-20 2019-12-13 新华三信息安全技术有限公司 roaming method and device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130121321A1 (en) * 2009-01-26 2013-05-16 Floyd Backes Vlan tagging in wlans
US8687609B2 (en) * 2009-11-04 2014-04-01 Cisco Technology, Inc. Managing router advertisement messages to support roaming of wireless mobile client devices
CN103973658A (en) * 2013-02-04 2014-08-06 中兴通讯股份有限公司 Static user terminal authentication processing method and device
CN105722055B (en) * 2014-12-01 2019-05-28 华为技术有限公司 A kind of WLAN WLAN user loaming method, device and system
EP3261406B1 (en) * 2015-02-20 2022-05-25 Fujitsu Limited Wireless communication system, base station, and mobile station
US10200267B2 (en) * 2016-04-18 2019-02-05 Nyansa, Inc. System and method for client network congestion detection, analysis, and management
CN105897724A (en) * 2016-05-05 2016-08-24 张胜利 Method for wireless terminal networking based on fat APs and method for wandering among fat APs
US11088988B2 (en) * 2016-08-30 2021-08-10 Arris Enterprises Llc Virtual-machine dataplane with DHCP-server functionality
CN106899475B (en) * 2016-12-07 2020-09-25 新华三技术有限公司 Method and device for integrating tunnel resources and method for processing message
CN109218158B (en) * 2017-07-05 2021-05-11 中国电信股份有限公司 VxLAN-based data transmission method, control method, controller, gateway, intermediate network element and system
CN107770066B (en) * 2017-10-20 2020-06-02 成都精灵云科技有限公司 Cross-host, cross-VLAN and cross-cluster Docker container diversion method
CN108990170B (en) * 2018-07-20 2020-08-28 新华三技术有限公司 Mesh link establishment method and device, fat AP and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378297A (en) * 2013-08-15 2015-02-25 杭州华三通信技术有限公司 Message forwarding method and device
CN104660527A (en) * 2015-03-20 2015-05-27 上海斐讯数据通信技术有限公司 Service switch, virtual local area network (VLAN)-spanning point-to-point protocol over Ethernet (PPPoE) network system and VLAN-spanning PPPoE network method
CN105188052A (en) * 2015-09-02 2015-12-23 深信服网络科技(深圳)有限公司 Method and system for accessing to network, and wireless access point
CN106921610A (en) * 2015-12-25 2017-07-04 华为技术有限公司 Access control method and the network equipment
CN105915427A (en) * 2016-03-31 2016-08-31 华为技术有限公司 Message sending and receiving method and message sending and receiving equipment
CN106411607A (en) * 2016-11-04 2017-02-15 锐捷网络股份有限公司 Flow forwarding control method and device based on VXLAN network
CN109327375A (en) * 2017-08-01 2019-02-12 中国电信股份有限公司 For establishing the methods, devices and systems in the tunnel VXLAN
CN109842903A (en) * 2017-11-27 2019-06-04 华为技术有限公司 A kind of the determination method, apparatus and system of link information
CN110351772A (en) * 2018-04-08 2019-10-18 慧与发展有限责任合伙企业 Mapping between Radio Link and virtual LAN
CN110475131A (en) * 2018-05-09 2019-11-19 视联动力信息技术股份有限公司 A kind of terminal connection method, server and terminal
CN109257268A (en) * 2018-10-29 2019-01-22 广东电网有限责任公司 A kind of network attack test system and method across vlan
CN109639557A (en) * 2019-02-11 2019-04-16 北京百度网讯科技有限公司 Methods, devices and systems for network communication
CN109981462A (en) * 2019-03-28 2019-07-05 新华三技术有限公司 A kind of message processing method and device
CN110572812A (en) * 2019-09-20 2019-12-13 新华三信息安全技术有限公司 roaming method and device

Also Published As

Publication number Publication date
CN110891325A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
US10225180B2 (en) Wireless mesh network including resilient backhaul links and WLAN traffic local switching
RU2643480C1 (en) Method of retranslation of wireless retranslation device and wireless retranslation device
CN108075969B (en) Message forwarding method and device
US20080225806A1 (en) System and method for enabling mobility in internet protocol networks
US11677586B1 (en) Fast convergence for MAC mobility
CN105812259A (en) Packet forwarding method and device
CN101511117B (en) Two-layer cross-network segment communicating method, system and equipment
US9866522B2 (en) Method to control dynamic host configuration protocol pool exhaustion in dynamic network environments
CN102594943B (en) Method and device for realizing address resolution protocol (ARP) interception
CN104620636A (en) Bridge learning in multi-hop wireless mesh networks
US11088869B2 (en) Virtual private network interworking
JP2007194763A (en) Network system
JP2015122665A (en) Relay system and switch device
CN100591075C (en) Method and apparatus for providing address management in a flat structure mobile network
EP3496431A1 (en) Message transmission method and apparatus
CN111953607B (en) Method and device for updating route
CN105072605B (en) Terminal roaming method under AP stand-alone modes and AP
CN108540386B (en) Method and device for preventing service flow interruption
US20090248841A1 (en) Unique prefix assignment with automatic address configuration
CN112867086A (en) Message processing method and device
CN102355402B (en) Method, system and router for establishing LSP (Label Switched Path) based on VPN (Virtual Private Network) route
CN110351772B (en) Mapping between wireless links and virtual local area networks
CN110891325B (en) Tunnel establishment method and device
CN113472913A (en) Communication method and device
CN103036648A (en) Control and provisioning of wireless access point (CAPWAP) message processing method and processing device

Legal Events

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