CN106330605A - Message processing method and device - Google Patents
Message processing method and device Download PDFInfo
- Publication number
- CN106330605A CN106330605A CN201610716713.7A CN201610716713A CN106330605A CN 106330605 A CN106330605 A CN 106330605A CN 201610716713 A CN201610716713 A CN 201610716713A CN 106330605 A CN106330605 A CN 106330605A
- Authority
- CN
- China
- Prior art keywords
- icmp
- vxlan
- gateway
- address
- reply message
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- 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
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- 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
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a message processing method and a message processing device. The method comprises the steps of acquiring an outer-layer target address of an Internet control message protocol (ICMP) reply message encapsulated by a virtual extensible local area network (VXLAN) when the ICMP reply message encapsulated by the VXLAN is received; and if the outer-layer target address is an address for establishing a VXLAN channel by itself, decapsulating the ICMP reply message encapsulated by the VXLAN and then being subjected to ICMP protocol processing, and respectively modifying the outer-layer target address of the ICMP reply message encapsulated by the VXLAN to be preset addresses of other gateways in a network and sending the preset addresses to the corresponding other gateways, thus allowing the ICMP replay message to be subjected to ICMP protocol processing after being decapsulated when the other gateways receive the ICMP replay message, of which the outer-layer target address is the own preset address, encapsulated by the VXLAN. With the application of the method and the device provided by the embodiment of the invention, effective detection of connection of a link in the concentrated gateway network of the VXLAN can be achieved.
Description
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of message processing method and device.
Background technology
VXLAN (Virtual eXtensible Local Area Network, expansible Virtual Local Area Network) be based on
IP (Internet Protocol, Internet protocol) network, employing " MAC (Media Access Control, media interviews control
System) in UDP (User Datagram Protocol, UDP) " two-layer VPN (Virtual of packing forms
Private Network, Virtual Private Network) technology.VXLAN can based on existing service provider or enterprise IP network, for
Scattered physical site provides two layers of interconnection, and business can be provided to isolate for different tenants.
In actual applications, the centralized gateway of VXLAN is a kind of application.VXLAN centralized gateway group
Net has the multiple stage network equipment as floating gateway, Overlay (a kind of stateless network technology) IP of this multiple stage floating gateway
Address is identical with MAC Address, is an equipment on Overlay cellular logic, ensures table by controller or additive method
The synchronization of item, every table flotation moves gateway and the friendship as VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) equipment
Changing planes all to set up and have VXLAN Tunnel (tunnel), switch carries out VXLAN encapsulation to message after receiving message, and
Overlay network completes to forward.
But practice finds, in existing VXLAN centralized gateway networking, owing to switch to each gateway is (the most above-mentioned floating
Dynamic gateway) between all set up and have equative route, thus, a certain gateway is by initiating ICMP (Internet Control
Message Protocol, Internet Control Message agreement) request (request) is when carrying out link detecting, and receiving terminal is responded
ICM reply (response) may be sent to other gateway by switch, causes the gateway initiating link detecting not receive
ICMP reply, thus link whether fault cannot be judged.
Summary of the invention
The present invention provides a kind of message processing method and device, to solve gateway in existing VXLAN centralized gateway networking
Initiate other gateway that ICMP reply corresponding for ICMP request may be sent in networking, and cause judging
The problem of link whether fault.
First aspect according to embodiments of the present invention, it is provided that a kind of message processing method, is applied to expansible virtual local area
Gateway in network VXLAN centralized gateway networking, the method includes:
When receiving the Internet Control Message agreement ICMP response reply message of VXLAN encapsulation, obtain this VXLAN
The outer layer destination address of the ICMP reply message of encapsulation;
If described outer layer destination address is the address self setting up VXLAN tunnel, then the ICMP encapsulated by described VXLAN
Reply message carries out ICMP protocol processes, and the outer layer of the ICMP reply message encapsulated by described VXLAN after decapsulating
Destination address is sent to other gateway of correspondence after being respectively modified as in networking the preset address of other gateway each so that described its
Its gateway receive outer layer destination address be self preset address VXLAN encapsulation ICMP reply message time, solve
ICMP protocol processes is carried out after encapsulation.
Second aspect according to embodiments of the present invention, it is provided that a kind of message process device, is applied to expansible virtual local area
Gateway in network VXLAN centralized gateway networking, this device includes:
Receive unit, for receiving the Internet Control Message agreement ICMP response reply message of VXLAN encapsulation;
Acquiring unit, for obtaining the ICMP reply message of the described VXLAN encapsulation that described reception unit receives
Outer layer destination address;
Processing unit, if being the address self setting up VXLAN tunnel for described outer layer destination address, then by described
The ICMP reply message of VXLAN encapsulation carries out ICMP protocol processes after decapsulating;
Transmitting element, the outer layer destination address of the ICMP reply message for being encapsulated by described VXLAN is respectively modified as
Networking is sent to other gateway of correspondence, so that other gateway described receives outer layer mesh after the preset address of other gateway each
Address be self preset address VXLAN encapsulation ICMP reply message time, carry out ICMP agreement after decapsulating
Process.
The application embodiment of the present invention, by when receiving the ICMP reply message of VXLAN encapsulation, obtaining this VXLAN
The outer layer destination address of the ICMP reply message of encapsulation, and when this outer layer destination address is the ground self setting up VXLAN tunnel
During location, the ICMP reply message encapsulated by this VXLAN carries out ICMP protocol processes after decapsulating, and is sealed by this VXLAN
The outer layer destination address of ICMP reply message of dress is sent to after being respectively modified as in networking the preset address of other gateway each
Other corresponding gateway, so that other gateway receives the VXLAN encapsulation that outer layer destination address is the preset address of self
During ICMP reply message, carry out ICMP protocol processes after decapsulating, it is ensured that return ICMP reply at receiving terminal
In the case of message, in networking, each gateway all can receive ICMP reply message, it is achieved thereby that VXLAN centralized gateway group
Net link the most effectively detects.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of message processing method that the embodiment of the present invention provides;
Fig. 2 is the configuration diagram of a kind of concrete application scenarios that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of message process device that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of message process device that the embodiment of the present invention provides.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make the present invention real
Execute the above-mentioned purpose of example, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention
Case is described in further detail.
Refer to Fig. 1, the schematic flow sheet of a kind of message processing method provided for the embodiment of the present invention, as it is shown in figure 1,
The method may comprise steps of:
It should be noted that in embodiments of the present invention, the executive agent of step 101~step 102 can be VXLAN collection
Arbitrary floating gateway (also referred to herein simply as gateway) in Chinese style gateway networking or the processor of gateway, such as CPU (Center
Process Unit, central processing unit), for ease of describing, with the executive agent of step 101~step 102 for gateway it is below
Example.
Step 101, when receive VXLAN encapsulation ICMP reply message time, obtain this VXLAN encapsulation ICMP
The outer layer destination address of reply message.
In the embodiment of the present invention, when gateway carries out link detecting by ping (a kind of network diagnostic tool), gateway can
With by sending ICMP request message, and judge whether to receive in Preset Time the ICMP reply that receiving terminal returns
The mode of message determines that connectivity of link is the most normal.
In the embodiment of the present invention, when gateway receives the ICMP reply message of VXLAN encapsulation, gateway can obtain this
The outer layer destination address of the ICMP reply message of VXLAN encapsulation, i.e. the VXLAN of the ICMP reply message of this VXLAN encapsulation
Destination address in heading.
If this outer layer destination address of step 102 is the address self setting up VXLAN tunnel, then ICMP VXLAN encapsulated
Reply message carries out ICMP protocol processes, and the outer layer mesh of the ICMP reply message encapsulated by this VXLAN after decapsulating
Address be respectively modified as in networking the preset address of other gateway each after be sent to other gateway of correspondence, so that other gateway
Receive outer layer destination address be self preset address VXLAN encapsulation ICMP reply message time, after decapsulating
Carry out ICMP protocol processes.
In the embodiment of the present invention, it is contemplated that in VXLAN centralized gateway networking, after gateway initiates ICMP request,
Other gateway in same networking may be given owing to ICMP reply that receiving terminal is returned by switch sends and cannot connect
Receive the ICMP reply message that receiving terminal returns, cause link detecting result mistake, thus, in order to ensure to return at receiving terminal
In the case of ICMP reply, the gateway initiating ICMP request is able to receive that ICMP reply message, can be in advance
One specific address (referred to herein as preset address) is set for gateway each in networking, sends out when arbitrary gateway receives switch
When giving the ICMP reply message of oneself, all according to this preset address, this ICMP reply message can be transmitted to same group
Other gateway in net.Wherein, in same networking, the preset address of each gateway is different, and the preset address of each gateway and each gateway
The address setting up VXLAN tunnel is different.
Correspondingly, in embodiments of the present invention, gateway gets the ICMP reply message of the VXLAN encapsulation received
After outer layer destination address, if this outer layer destination address is address (i.e. this ICMP reply message self setting up VXLAN tunnel
It is destined to self), then the ICMP reply message that on the one hand this VXLAN can be encapsulated by gateway carries out decapsulation process,
And by the ICMP reply message up sending ICMP protocol stack after decapsulation, carry out ICMP protocol processes;On the other hand, gateway needs
The outer layer destination address of the ICMP reply message respectively this VXLAN encapsulated be revised as in networking other gateway each defaultly
Location, and the ICMP reply message that amended for outer layer destination address VXLAN encapsulates is sent to other gateway of correspondence.
As an example it is assumed that VXLAN centralized gateway networking includes 4 gateways altogether, it is gateway 211, gateway respectively
212, gateway 213 and gateway 214), its preset address is respectively IP1, IP2, IP3 and IP4, then receive VXLAN when gateway 211
The ICMP reply message of encapsulation, and determine that the outer layer destination address of ICMP reply message that this VXLAN encapsulates is that self builds
When standing the address in VXLAN tunnel, on the one hand, the ICMP reply message that this VXLAN can be encapsulated by gateway 211 decapsulates
Process, and the ICMP reply message up sending ICMP protocol stack after decapsulation process is carried out ICMP protocol processes;On the other hand,
Gateway 211 need the outer layer destination address of the ICMP reply message respectively this VXLAN encapsulated be revised as IP2 (or IP3 or
IP4), and by the ICMP reply message that amended for outer layer destination address VXLAN encapsulates it is sent to gateway 212 (or gateway 213
Or gateway 214).
In the embodiment of the present invention, can be according to the preset address of other gateway each in networking by outer layer mesh in order to realize gateway
The amended VXLAN in address encapsulation ICMP reply message, in networking, each gateway is after being configured with preset address, need
The preset address of self is sent to other gateway in same networking by Routing Protocol, to ensure arbitrary gateway in same networking
In networking other gateway each preset address route up to.
In the embodiment of the present invention, when gateway receives the ICMP reply message of VXLAN encapsulation, and determine that this VXLAN seals
When the outer layer destination address of the ICMP reply message of dress is self preset address, the ICMP that this VXLAN can be encapsulated by gateway
Reply message carries out decapsulation process, and by the ICMP reply message up sending ICMP protocol stack after decapsulation, carries out ICMP association
View processes.
In the embodiment of the present invention, carry out at ICMP agreement after the ICMP reply message that VXLAN encapsulates is decapsulated
Reason, may comprise steps of:
11) whether the ICMP reply message after, judging decapsulation responds the ICMP request that self initiates;
12) if, it is determined that link detecting is passed through;
13) the ICMP reply message after this decapsulation, otherwise, is abandoned.
Specifically, in embodiments of the present invention, the ICMP reply message of the gateway VXLAN encapsulation to receiving solves
After encapsulation, (the ICMP reply message of this VLXNA encapsulation includes that the switch as VTEP equipment is sent to by VXLAN tunnel
Gateway or be sent to this gateway by other gateway in networking), ICMP can be carried out by giving ICMP protocol stack on this gateway
Protocol processes;After ICMP protocol stack receives the ICMP reply message after decapsulation, it can be determined that this ICMP reply reports
Whether literary composition is the ICMP reply message corresponding for ICMP request self initiated, the most i.e. ICMP after this decapsulation
The source IP address of reply message and purpose IP address are respectively the purpose IP ground of a certain ICMP request message self sent
Location and source IP address, then ICMP protocol stack is it is believed that link detecting is passed through, i.e. connectivity of link is normal;Otherwise, ICMP agreement
Stack can need not respond this ICMP reply message, for example, it is possible to directly abandon this ICMP reply message.
What deserves to be explained is, in embodiments of the present invention, after gateway initiates ICMP request, if gateway is not being preset
In time, (such as default time-out time) receives ICMP reply message, then gateway is it is believed that connectivity of link is abnormal.
Visible, in the method flow shown in Fig. 1, by presetting for each gateway configuration in VXLAN centralized gateway networking
Address, when gateway arbitrary in networking receives the VXLAN encapsulation that outer layer destination address is the address self setting up VXLAN tunnel
During ICMP reply message, this gateway processes also except needing the ICMP reply message encapsulating this VXLAN to carry out decapsulation
Carry out outside ICMP protocol processes, in addition it is also necessary to the outer layer destination address of the ICMP reply message encapsulated by this VXLAN respectively is repaiied
Change networking is sent to after the preset address of other gateway each other gateway of correspondence into, thus ensure that initiation ICMP in networking
The gateway of request is able to receive that the ICMP reply message that receiving terminal returns, it is to avoid the generation of link detecting mistake, improves
The accuracy of link detecting.
Further, in embodiments of the present invention, it is contemplated that if above-mentioned preset address directly uses the centralized gateway of VXLAN
In networking, the IP address of the functional area of each gateway, then may require that the functional area taking each gateway, affects the Business Processing of each gateway,
Thus, in networking each gateway configure above-mentioned preset address time, can in networking on each gateway the most virtual loopback connect
Mouth (loopback), increases (referred to herein as loopback ground, a specific loopback interface IP address newly respectively for each gateway
Location), and using this specific loopback address as the preset address of each gateway;Wherein, different gateways in same networking
Loopback address is different.
In order to make those skilled in the art be more fully understood that the technical scheme that the embodiment of the present invention provides, below in conjunction with specifically
Application scenarios, to the embodiment of the present invention provide technical scheme be described.
Refer to Fig. 2, the configuration diagram of a kind of concrete application scenarios provided for the embodiment of the present invention, as in figure 2 it is shown,
In this application scenarios, the gateway in the centralized gateway network of VXLAN gateway 211, gateway 212 and gateway 213, each gateway respectively
There is VXLAN tunnel respectively and as setting up between the switch 201,202 and 203 of VTEP equipment, based on this application scenarios,
The message forwarding method handling process that the embodiment of the present invention provides is as follows:
1, gateway 211, gateway 212 and the respective loopback interface of gateway 213 (loopback) be provided with specific IP ground
Location.The IP address of the loopback interface of each gateway is different, it is assumed that be respectively loopback IP1, loopback IP2 and loopback
IP3;
2, the loopback interface IP address of self is sent to group by Routing Protocol by gateway 211, gateway 212 and gateway 213
Other gateway in net, i.e. gateway 211 and gateway 212 to the route of the loopback IP3 of gateway 213 up to, gateway 211 He
Gateway 213 to the route of the loopback IP2 of gateway 212 up to the loopback of, gateway 212 and gateway 213 to gateway 211
IP1 route up to;
3, receive the ICMP reply message of VXLAN encapsulation when gateway 211, and determine the ICMP that this VXLAN encapsulates
When reply message is the address self setting up VXLAN tunnel, the ICMP that this VXLAN can be encapsulated by gateway 211 1 aspect
Reply message carries out decapsulation process, and the ICMP reply message up sending ICMP protocol stack after decapsulation is carried out ICMP association
View processes;The outer layer destination address of the ICMP reply message that on the other hand can be encapsulated by this VXLAN respectively is revised as
Loopback IP2 (or loopback IP3), and it is sent to gateway 212 (or gateway 213);
Visible, in this embodiment, by increasing specific loopback address newly for gateway each in networking, gateway receives
When outer layer destination address is the ICMP reply message of VXLAN encapsulation of the address self setting up VXLAN tunnel, according to other nets
The ICMP reply message that this VXLAN is encapsulated by the loopback address closed is sent in networking other gateways, thus, it is ensured that
In networking, each gateway all can receive ICMP reply message;
4, when gateway 212 (or gateway 213) receives the ICMP reply message that VXLAN encapsulates, find that this VXLAN encapsulates
The loopback address that outer layer destination address is self loopback interface of ICMP reply message, i.e. this equipment VXLAN tunnel
IP address, the ICMP reply message that this VXLAN is encapsulated by gateway 212 (or gateway 213) carries out decapsulation process, and will solve
ICMP reply message up sending ICMP protocol stack after encapsulation carries out ICMP protocol processes;
5, gateway 211 (or gateway 212 or gateway 213) ICMP protocol stack is according to existing ICMP protocol processes flow processing
ICMP reply message, if being the discovery that the ICMP reply message corresponding for ICMP request self initiated, determines that link is even
The general character is normal;Otherwise, dropping packets.
By above description it can be seen that the embodiment of the present invention provide technical scheme in, by receiving VXLAN
During the ICMP reply message encapsulated, obtain the outer layer destination address of the ICMP reply message of this VXLAN encapsulation, and outer when this
When layer destination address is the address self setting up VXLAN tunnel, the ICMP reply message encapsulated by this VXLAN decapsulates
After carry out ICMP protocol processes, and the outer layer destination address of the ICMP reply message encapsulated by this VXLAN is respectively modified as group
Net is sent to other gateway of correspondence, so that other gateway receives outer layer destination address after the preset address of other gateway each
For self preset address VXLAN encapsulation ICMP reply message time, carry out ICMP protocol processes after decapsulating, protect
Having demonstrate,proved in the case of receiving terminal returns ICMP reply message, in networking, each gateway all can receive ICMP reply report
Literary composition, it is achieved thereby that VXLAN centralized gateway networking link the most effectively detects.
Refer to Fig. 3, for the structural representation of a kind of message process device that the embodiment of the present invention provides, wherein, this dress
Put the gateway that can apply in said method embodiment, as it is shown on figure 3, this device may include that
Receive unit 310, for receiving the Internet Control Message agreement ICMP response reply message of VXLAN encapsulation;
Acquiring unit 320, for obtaining the ICMP reply message of the described VXLAN encapsulation that described reception unit receives
Outer layer destination address;
Processing unit 330, if being the address self setting up VXLAN tunnel for described outer layer destination address, then by described
The ICMP reply message of VXLAN encapsulation carries out ICMP protocol processes after decapsulating;
Transmitting element 340, the outer layer destination address of the ICMP reply message for being encapsulated by described VXLAN is respectively modified
Other gateway of correspondence it is sent to, so that other gateway described receives outer layer after preset address for other gateway each in networking
When destination address is the ICMP reply message of VXLAN encapsulation of the preset address of self, after decapsulating, carry out ICMP association
View processes.
In an alternative embodiment, described processing unit 330, if be additionally operable to described outer layer destination address be self defaultly
Location, then the ICMP reply message encapsulated by described VXLAN carries out ICMP protocol processes after decapsulating.
In an alternative embodiment, described transmitting element 340, it is additionally operable to be sent by the preset address of self by Routing Protocol
To each gateway of other in networking.
Please also refer to Fig. 4, for the structural representation of the another kind of message process device that the embodiment of the present invention provides, such as figure
Shown in 4, on the basis of message process device shown in Fig. 3, in the message process device shown in Fig. 4, described processing unit 330,
May include that
Judgment sub-unit 331, whether the ICMP reply message after judging decapsulation responds the ICMP that self initiates
Request request;
Determine subelement 332, if being yes for described judgment sub-unit judged result, it is determined that link detecting is passed through;
Abandon subelement 333, if being no for described judgment sub-unit judged result, then after abandoning described decapsulation
ICMP reply message.
In an alternative embodiment, described preset address is loopback interface IP address, and in same networking, the loopback of each gateway connects
Mouth IP address is different
In said apparatus, the function of unit and the process that realizes of effect specifically refer to corresponding step in said method
Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact
The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component
The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also
It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality
Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying
In the case of going out creative work, i.e. it is appreciated that and implements.
As seen from the above-described embodiment, by when receiving the ICMP reply message of VXLAN encapsulation, obtaining this VXLAN
The outer layer destination address of the ICMP reply message of encapsulation, and when this outer layer destination address is the ground self setting up VXLAN tunnel
During location, the ICMP reply message encapsulated by this VXLAN carries out ICMP protocol processes after decapsulating, and is sealed by this VXLAN
The outer layer destination address of ICMP reply message of dress is sent to after being respectively modified as in networking the preset address of other gateway each
Other corresponding gateway, so that other gateway receives the VXLAN encapsulation that outer layer destination address is the preset address of self
During ICMP reply message, carry out ICMP protocol processes after decapsulating, it is ensured that return ICMP reply at receiving terminal
In the case of message, in networking, each gateway all can receive ICMP reply message, it is achieved thereby that VXLAN centralized gateway group
Net link the most effectively detects.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention
Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or
Person's adaptations is followed the general principle of the present invention and includes the undocumented common knowledge in the art of the present invention
Or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. a message processing method, is applied to the gateway in expansible Virtual Local Area Network VXLAN centralized gateway networking, its
Being characterised by, the method includes:
When receiving the Internet Control Message agreement ICMP response reply message of VXLAN encapsulation, obtain this VXLAN encapsulation
The outer layer destination address of ICMP reply message;
If described outer layer destination address is the address self setting up VXLAN tunnel, then the ICMP reply described VXLAN encapsulated
Message carries out ICMP protocol processes, and the outer layer purpose of the ICMP reply message encapsulated by described VXLAN after decapsulating
Address is sent to other gateway of correspondence after being respectively modified as in networking the preset address of other gateway each, so that other net described
Close receive outer layer destination address be self preset address VXLAN encapsulation ICMP reply message time, decapsulate
After carry out ICMP protocol processes.
Method the most according to claim 1, it is characterised in that the ICMP reply message of this VXLAN of described acquisition encapsulation
Outer layer destination address after, also include:
If described outer layer destination address is the preset address of self, then the ICMPreply message that described VXLAN encapsulates is solved
ICMP protocol processes is carried out after encapsulation.
Method the most according to claim 1, it is characterised in that described method also includes:
Other each gateway preset address of self being sent in networking by Routing Protocol.
Method the most according to claim 1, it is characterised in that the described ICMP reply message that described VXLAN is encapsulated
ICMP protocol processes is carried out after decapsulating, including:
Judge whether the ICMP reply message after decapsulation responds the ICMP self initiated and ask request;
If, it is determined that link detecting is passed through;
Otherwise, the ICMP reply message after described decapsulation is abandoned.
5. according to the method described in any one of claim 1-4, it is characterised in that described preset address is loopback interface IP ground
Location, in same networking, the loopback interface IP address of different gateways is different.
6. a message process device, is applied to the gateway in expansible Virtual Local Area Network VXLAN centralized gateway networking, its
Being characterised by, this device includes:
Receive unit, for receiving the Internet Control Message agreement ICMP response reply message of VXLAN encapsulation;
Acquiring unit, for obtaining the outer layer mesh of the ICMPreply message of the described VXLAN encapsulation that described reception unit receives
Address;
Processing unit, if being the address self setting up VXLAN tunnel for described outer layer destination address, then seals described VXLAN
The ICMP reply message of dress carries out ICMP protocol processes after decapsulating;
Transmitting element, the outer layer destination address of the ICMP reply message for being encapsulated by described VXLAN is respectively modified as networking
In other gateway each preset address after be sent to other gateway of correspondence, so that other gateway described receives outer layer destination
When location is the ICMPreply message of VXLAN encapsulation of the preset address of self, after decapsulating, carry out ICMP protocol processes.
Device the most according to claim 6, it is characterised in that
Described processing unit, if being additionally operable to described outer layer destination address is the preset address of self, then encapsulates described VXLAN
ICMP reply message carries out ICMP protocol processes after decapsulating.
Device the most according to claim 6, it is characterised in that
Described transmitting element, is additionally operable to other each gateway being sent in networking by the preset address of self by Routing Protocol.
Device the most according to claim 6, it is characterised in that described processing unit, including:
Judgment sub-unit, whether the ICMP reply message after judging decapsulation responds the ICMP request self initiated
request;
Determine subelement, if being yes for described judgment sub-unit judged result, it is determined that link detecting is passed through;
Abandoning subelement, if being no for described judgment sub-unit judged result, then abandoning the ICMP after described decapsulation
Reply message.
10. according to the device described in any one of claim 6-9, it is characterised in that described preset address is loopback interface IP ground
Location, in same networking, the loopback interface IP address of different gateways is different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610716713.7A CN106330605B (en) | 2016-08-23 | 2016-08-23 | Message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610716713.7A CN106330605B (en) | 2016-08-23 | 2016-08-23 | Message processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106330605A true CN106330605A (en) | 2017-01-11 |
CN106330605B CN106330605B (en) | 2020-01-03 |
Family
ID=57790511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610716713.7A Active CN106330605B (en) | 2016-08-23 | 2016-08-23 | Message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106330605B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110912997A (en) * | 2019-11-26 | 2020-03-24 | 杭州迪普科技股份有限公司 | Method and device for checking Loopback interface of triangular networking |
CN111049741A (en) * | 2019-12-16 | 2020-04-21 | 珠海格力电器股份有限公司 | Method for improving communication reliability, communication system and terminal equipment |
CN111130982A (en) * | 2019-12-31 | 2020-05-08 | 迈普通信技术股份有限公司 | Message forwarding method and device, gateway equipment and readable storage medium |
CN112702251A (en) * | 2019-10-22 | 2021-04-23 | 华为技术有限公司 | Message detection method, connectivity negotiation relationship establishment method and related equipment |
WO2022041851A1 (en) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | Communication method and apparatus, and device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634217A (en) * | 2013-11-13 | 2014-03-12 | 华为技术有限公司 | Method for issuing route information, method and device for transmitting massage |
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
CN104601432A (en) * | 2014-12-31 | 2015-05-06 | 杭州华三通信技术有限公司 | Method and device for transmitting message |
US20160134513A1 (en) * | 2014-11-07 | 2016-05-12 | Cisco Technology, Inc. | Concerted Multi-Destination Forwarding in a Joint TRILL Fabric and VXLAN/IP Fabric Data Center |
CN105591841A (en) * | 2015-12-31 | 2016-05-18 | 盛科网络(苏州)有限公司 | Connectivity detection method of VXLAN tunnel |
-
2016
- 2016-08-23 CN CN201610716713.7A patent/CN106330605B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634217A (en) * | 2013-11-13 | 2014-03-12 | 华为技术有限公司 | Method for issuing route information, method and device for transmitting massage |
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
US20160134513A1 (en) * | 2014-11-07 | 2016-05-12 | Cisco Technology, Inc. | Concerted Multi-Destination Forwarding in a Joint TRILL Fabric and VXLAN/IP Fabric Data Center |
CN104601432A (en) * | 2014-12-31 | 2015-05-06 | 杭州华三通信技术有限公司 | Method and device for transmitting message |
CN105591841A (en) * | 2015-12-31 | 2016-05-18 | 盛科网络(苏州)有限公司 | Connectivity detection method of VXLAN tunnel |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702251A (en) * | 2019-10-22 | 2021-04-23 | 华为技术有限公司 | Message detection method, connectivity negotiation relationship establishment method and related equipment |
CN112702251B (en) * | 2019-10-22 | 2022-09-23 | 华为技术有限公司 | Message detection method, connectivity negotiation relationship establishment method and related equipment |
CN110912997A (en) * | 2019-11-26 | 2020-03-24 | 杭州迪普科技股份有限公司 | Method and device for checking Loopback interface of triangular networking |
CN110912997B (en) * | 2019-11-26 | 2022-07-29 | 杭州迪普科技股份有限公司 | Method and device for checking Loopback interface of triangular networking |
CN111049741A (en) * | 2019-12-16 | 2020-04-21 | 珠海格力电器股份有限公司 | Method for improving communication reliability, communication system and terminal equipment |
CN111049741B (en) * | 2019-12-16 | 2021-03-26 | 珠海格力电器股份有限公司 | Method for improving communication reliability, communication system and terminal equipment |
CN111130982A (en) * | 2019-12-31 | 2020-05-08 | 迈普通信技术股份有限公司 | Message forwarding method and device, gateway equipment and readable storage medium |
CN111130982B (en) * | 2019-12-31 | 2022-02-01 | 迈普通信技术股份有限公司 | Message forwarding method and device, gateway equipment and readable storage medium |
WO2022041851A1 (en) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | Communication method and apparatus, and device and system |
Also Published As
Publication number | Publication date |
---|---|
CN106330605B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10938627B2 (en) | Packet processing method, device, and network system | |
CN106330605A (en) | Message processing method and device | |
US10296370B2 (en) | Port mirroring in a virtualized computing environment | |
US10110490B2 (en) | Method and apparatus for forwarding packet | |
US9137334B2 (en) | Interconnection method, apparatus, and system based on socket remote invocation | |
CN104092595B (en) | Message processing method and device in virtualization system based on 802.1BR | |
US10110556B2 (en) | Methods, systems, and computer readable media for initiating and executing performance tests of a private network and/or components thereof | |
KR101258015B1 (en) | Neighbour discovery protocol mediation | |
CN106330649A (en) | Data packet forwarding method and apparatus of cross software-defined network | |
CN103986638B (en) | The method and apparatus of many public network links of ADVPN tunnel binding | |
CN105577416B (en) | Service function chain operation, management and maintenance method and node equipment | |
CN106059923A (en) | Message forwarding method and device | |
CN104683210A (en) | Automatic tunnel establishing method and device | |
CN106656615B (en) | Message processing method and device based on TRACERT command | |
CN105917617A (en) | Single hop overlay architecture for line rate performance in campus networks | |
CN111130982B (en) | Message forwarding method and device, gateway equipment and readable storage medium | |
WO2019238002A1 (en) | Message transmitting method, network edge device, and message transmission system | |
CN109246016B (en) | Cross-VXLAN message processing method and device | |
CN106789540B (en) | A kind of gateway deployment method and apparatus | |
JP4282648B2 (en) | Communication apparatus and access method | |
CN106878066A (en) | Fault detection method and device | |
CN110391984B (en) | Message forwarding method and device | |
JP7152665B2 (en) | Information processing device, information processing system, and setting program | |
CN108282404B (en) | Route generation method, device and system | |
CN104079463B (en) | Gateway access method and apparatus in Ethernet virtualization interconnection (EVI) networking |
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 | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |