CN107547366A - A kind of message forwarding method and device - Google Patents
A kind of message forwarding method and device Download PDFInfo
- Publication number
- CN107547366A CN107547366A CN201710338709.6A CN201710338709A CN107547366A CN 107547366 A CN107547366 A CN 107547366A CN 201710338709 A CN201710338709 A CN 201710338709A CN 107547366 A CN107547366 A CN 107547366A
- Authority
- CN
- China
- Prior art keywords
- vtep equipment
- distal end
- equipment
- tunnel
- 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.)
- Granted
Links
Abstract
This application discloses a kind of message forwarding method and device, method includes:When the virtual public network tunnel failure between expansible LAN endpoint of a tunnel VTEP equipment and distal end VTEP equipment of first in distributed aggregated link group, the first virtual expansible LAN VXLAN tunnels are established according to the address of the distal end VTEP equipment of acquisition;Wherein, the next-hop in the first VXLAN tunnels is the address of the 2nd VTEP equipment in distributed aggregated link group;By the first business in the first VTEP equipment and the first VXLAN tunnel-associateds;The message of the first business received is sent to by distal end VTEP equipment by the first VXLAN tunnels.In the case of public network tunnel failure of the embodiment of the present application between the first VTEP equipment and distal end VTEP equipment, new VXLAN tunnels are established, ensure that the normal forwarding of service message, there is provided the reliability of network.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of message forwarding method and device.
Background technology
VXLAN (Virtual eXtensible LAN, virtual expansible LAN) is IP based network, using " matchmaker
Two-layer virtual private network VPN (the Virtual of body access control MAC in UDP UDP " packing forms
Private Network) technology.VXLAN technologies are built using existing three layer physical network as Underlay networks thereon
Go out virtual double layer network, i.e. Overlay stacks network.Overlay networks are carried by encapsulation technology, using Underlay networks
The three layers of forward-path supplied, realize that two layer message transmits across three-layer network between different websites.
VXLAN networks are divided into public network and private network, and the equipment in VXLAN private networks is accessed by network access equipment
Public network, data transfer is then completed by public network.At present, the service message forwarding of public network side is protected by setting equal-cost link
Demonstrate,prove high reliability.For example, after service traffics are sent to above C equipment by A equipment, C equipment can be according to synchronous from D equipment
The forward table to come over carries out the forwarding of service traffics to D equipment, backup link be present between C equipment and D equipment in the prior art,
So if some link breaks down, the forwarding of service traffics can also be carried out by other backup links.But this
The drawbacks of kind mode, is, if (for example, all backup links also all occur during public network link failure between C equipment and D equipment
Failure), it can cause the C equipment can not to be sent to service traffics in D equipment, and then traffic affecting normal operation.
The content of the invention
A kind of message forwarding method and device that the application provides, to solve public affairs between the equipment in existing VXLAN networks
During net link failure, can not forwarding service flow, the problem of influenceing business normal operation.
According to the one side of the application, there is provided a kind of message forwarding method, including:
When the first virtual expansible LAN endpoint of a tunnel VTEP equipment in distributed aggregated link group and distal end VTEP
During public network tunnel failure between equipment, the first virtual expansible LAN is established according to the address of the distal end VTEP equipment of acquisition
VXLAN tunnels;
Wherein, the next-hop in the first VXLAN tunnels is the ground of the 2nd VTEP equipment in the distributed aggregated link group
Location;
By the first business in the first VTEP equipment and the first VXLAN tunnel-associateds;
The message of the first business received is sent to by the distal end VTEP equipment by the first VXLAN tunnels.
According to further aspect of the application, there is provided a kind of apparatus for forwarding message, applied to virtual expansible LAN
In endpoint of a tunnel VTEP equipment, including:
First tunnel building module, suitable for when the first virtual expansible LAN tunnel end in distributed aggregated link group
During public network tunnel failure between point VTEP equipment and distal end VTEP equipment, established according to the address of the distal end VTEP equipment of acquisition
First virtual expansible LAN VXLAN tunnels;Wherein, the next-hop in the first VXLAN tunnels is the distributed aggregated link
The address of the 2nd VTEP equipment in group;
Tunnel-associated module, suitable for the first business in the first VTEP equipment and the first VXLAN tunnels are closed
Connection;
Packet forwarding module, suitable for being sent to the message of the first business received by the first VXLAN tunnels
The distal end VTEP equipment.
The beneficial effect of the embodiment of the present application is:The technical scheme of the embodiment of the present application uses across distributed aggregated link system
VXLAN tunnels are found in construction in a systematic way, the public network between the first VTEP equipment and distal end VTEP equipment in distributed aggregated link system
During tunnel failure, then the first virtual expansible LAN VXLAN tunnels are established according to the address of the distal end VTEP equipment of acquisition, protected
The forwarding of across distributed aggregated link carry out service traffics is demonstrate,proved, when realizing the public network tunnel interruption between equipment, business is not
The beneficial effect of interruption, improve the reliability of business forwarding.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the message forwarding method of the application one embodiment;
Fig. 2 is the schematic diagram of distributed polymerization;
Fig. 3 is the application scenarios schematic diagram of the message forwarding method of the application one embodiment;
Fig. 4 is the hardware structure diagram of the VTEP equipment of the application one embodiment;
Fig. 5 is the functional block diagram of the apparatus for forwarding message of the application one embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with accompanying drawing to the application embodiment party
Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Because the basis that technical scheme is realized is VXLAN networks, here first to the correlation technique in VXLAN networks
Noun illustrates.
VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) equipment:It is VXLAN edge device.
VXLAN relevant treatment is carried out all on VTEP, for example, identifying the VXLAN networks belonging to ethernet data frame, based on VXLAN
Two layers of forwarding, encapsulation/decapsulation message etc. are carried out to data frame.VTEP can be software, hardware server or the network equipment, its
Way of realization is very flexible.
VXLAN tunnels:Point-to-point logical tunnel between two VTEP equipment.VTEP equipment is data frame packaging V XLAN
After head, UDP heads and IP heads, the message after encapsulation is transmitted to by distal end VTEP equipment, distal end VTEP equipment pair by VXLAN tunnels
It is decapsulated.
Referring to Fig. 1, for the schematic flow sheet of the message forwarding method of the application one embodiment, the message of the present embodiment turns
Forwarding method comprises the following steps:
Step S101:When the first virtual expansible LAN endpoint of a tunnel VTEP equipment in distributed aggregated link group with
During public network tunnel failure between the VTEP equipment of distal end, establishing first according to the address of the distal end VTEP equipment of acquisition can virtually expand
Open up LAN VXLAN tunnels;Wherein, the next-hop in the first VXLAN tunnels is second in the distributed aggregated link group
The address of VTEP equipment;
Step S102:By the first business in the first VTEP equipment and the first VXLAN tunnel-associateds;
Step S103:The message of the first business received is sent to by the distal end by the first VXLAN tunnels
VTEP equipment.
Understand as shown in Figure 1, the method for the present embodiment can the first VTEP equipment in distributed aggregated link group with
During public network tunnel failure between the VTEP equipment of distal end, by it is other in distributed aggregated link group, set with distal end VTEP
The equipment in normal public network tunnel between standby be present, establish new VXLAN tunnels, ensure in the tunnel failure of VTEP equipment rooms,
The forwarding of service message remains to be normally carried out in VTEP equipment rooms, so as to improve the reliability of VXLAN networks.
Step, which is described in detail, to be realized to the message forwarding method of the present embodiment below in conjunction with Fig. 2 and Fig. 3.
The realization of the message forwarding method of the present embodiment make use of distributed aggregated link technology, here to distributed link
Polymerization technique is briefly described.
Link aggregation (Link Aggregation), refers to bundle multiple physical ports, turns into a logic
Port, to realize load sharing of the in/out flow in each member port.Link aggregation technology is frequently used on interchanger,
Interchanger is sent to the exchange of opposite end according to the port load-sharing strategy decision message of user configuration from which member port
Machine.When interchanger detects that the link of one of member port breaks down, just stop sending message on this port, and
The member port of message can be sent by being recalculated according to load-sharing strategy, by port transmission of the message through newly calculating, treat event
The port of barrier calculates the member port that can send message again after recovering, and ensure that each member of the service traffics in link aggregation
Shared between port.From the foregoing, it will be observed that link aggregation technology is an increase link bandwidth, realizes that link transmission elasticity and redundancy are very heavy
The technology wanted.
Distributed aggregated link technology refers to that wherein one end of link aggregation is not unit, but two or more
Equipment.As shown in Fig. 2 one end of link aggregation, device A has two physical ports to add link aggregation, forms a polymerization end
Mouthful.The other end of the other end of link aggregation, i.e. device A is two physical equipments, is equipment B and equipment C respectively, and set
Standby B and equipment C has a physical link to add aggregation port, and in device A, they are an equipment, still, in fact,
It is understood that this is two independent equipment, in this way can with during an equipment fault wherein by the stream in device A
Amount is forwarded by another normal equipment, improves equipment B and equipment C overall service reliability.
Figure it is seen that can to pass through distributed aggregated link (or distributed for CE A to CE E flow forwarding
Link aggregation group) any one equipment, as VTEP B or VTEP C are forwarded.Before VTEP B in Fig. 2, VTEP C are
The edge device of VXLAN described in face.After an equipment fault in distributed aggregated link, business is not being interfered with just
Often operation, but work is taken over by an other equipment, so as to be advantageous to the data transfer of stack equipment.
CE (Customer Edge) equipment in Fig. 2 is user network boundary device, e.g., user network boundary device CE
A, user network boundary device CE E.This equipment has interface to be directly connected with service provider, and the form of equipment can be road
By device or interchanger etc..
From the foregoing, it will be observed that the reliability of data forwarding can be ensured to a certain extent by distributed aggregated link technology.But
It is that referring to Fig. 2, after the even whole link failures of the link failure between the equipment C and equipment D in Fig. 2, device A is to setting
If the service traffics of standby D forwardings have been sent to after Hash calculation on equipment C, equipment C will be unable to be turned to equipment D
Hair, cause equipment C to equipment D flow to forward and interrupt, and then traffic affecting normal operation.
For this problem, the present embodiment proposes a kind of method that message forwarding is carried out based on distributed aggregated link.When
The first equipment in distributed paradigmatic system and after the public network tunnel fails of connected remote equipment, can pass through
Enter in the first equipment of the distributed aggregated link system of failure with establishing new VXLAN tunnels between the remote equipment of public network
Row flow is forwarded, and the business of ensure that can be normally carried out, and improve the reliability of network.
With reference to Fig. 2 and Fig. 3, equipment C and equipment D belongs to the first VXLAN networks in the present embodiment, and first on equipment C
The message of business is forwarded to equipment D by the 2nd VXLAN tunnels (tunnel).The destination address in the 2nd VXLAN tunnels here
For 4.4.4.4 (i.e. equipment D IP address), the next-hop in the 2nd VXLAN tunnels is also 4.4.4.4 direct-connected next-hop.Equipment C
When public network tunnel is normal between equipment D, the message of the first business on equipment C is forwarded on equipment D by public network tunnel.
According to the method for the present embodiment, judge public network tunnel between equipment C and equipment D whether failure, when judging to set
After standby public network tunnel failure (e.g., down falls) between C and equipment D, the is established according to the address of the distal end VTEP equipment of acquisition
One virtual expansible LAN VXLAN tunnels, carry out across the foundation in the VXLAN tunnels of distributed paradigmatic system and message forwarding.
In the present embodiment, the first virtual expansible LAN is established in the address of the distal end VTEP equipment according to acquisition
Before the VXLAN tunnels of VXLAN tunnel buildings the first, the method for the present embodiment judges the 2nd VTEP in distributed aggregated link group
It whether there is normal public network tunnel between equipment and distal end VTEP equipment;It is that then, the next-hop in the first VXLAN tunnels is configured to
The address of 2nd VTEP equipment.If also without normal public network tunnel between the 2nd VTEP equipment and distal end VTEP equipment
Words, the method for the present embodiment, which is found between others and distal end VTEP equipment in distributed aggregated link group, normal public network tunnel
The VTEP equipment in road so ensures that newly-built VXLAN tunnels can normally E-Packet as the 2nd VTEP equipment.
In addition, it is necessary to how explanation, judge whether failure can use in the public network tunnel between equipment C and equipment D
Prior art realizes that specific implementation means repeat no more here referring to explanation of the prior art.
The tunnel establishment procedure of the present embodiment particularly may be divided into following steps:
One of step includes, and obtains the address of distal end VTEP equipment;
Acquisition modes can be the ground of the 2nd VTEP equipment acquisition distal end VTEP equipment into distributed aggregated link group
Location, or, the address of the distal end VTEP equipment cached in advance in the first VTEP equipment in acquisition distributed aggregated link group.
Fig. 3 is participated in, wherein, the address for obtaining distal end VTEP equipment can be obtained at slave unit B, specifically, by setting
The tunnel that standby MLAG (Multi-Chassis Link Aggregation) protocol extension between B and equipment C will preserve on equipment B
Road destination address 4.4.4.4 (i.e. equipment D IP address) is synchronized to C.As shown in figure 3, equipment B and equipment C are same links
The member of aggregation group, message can be transmitted according to striding equipment link aggregation protocols MLAG between the two equipment.
The address of the acquisition distal end VTEP equipment of the foregoing first step can also be obtained on slave unit C, i.e. slave unit C sheets
Ground obtains the tunnel destination address 4.4.4.4 cached in advance.It is to have public affairs between equipment C and equipment D it can be seen from description above
Net tunnel, thus, when business forwarding is carried out before public network tunnel does not have failure, between equipment C and equipment D, equipment C will be set
Standby D address caching gets off, even if the public network tunnel failure between equipment C and equipment D, conversation, still delays above equipment C
Deposit equipment D address 4.4.4.4.Equipment D address can be also got in this way, and then according to equipment D address
Establish new VXLAN tunnels.
Here the address of VTEP equipment can be the physical address of VTEP equipment, e.g., media access control MAC (Media
Access Control) address, such as IP address, is to obtain in the present embodiment at or the Internet protocol address of VTEP equipment
Taking equipment D IP address (i.e. 4.4.4.4) illustrates, but not limited to this.
Another step includes, and establishes the first VXLAN tunnels;
Specifically, the destination address in the first VXLAN tunnels of configuration is 4.4.4.4, as equipment D address, the first VXLAN
Tunnel next-hop is 2.2.2.2, as equipment B address;
After the first VXLAN tunnels are established, the first business original on the first VXLAN tunnels and equipment C is associated.
That is, the first VXLAN tunnels and the first business are associated, the message of the first business is forwarded into distal end by the first VXLAN tunnels sets
It is standby upper.
In practical application, after device A has service traffics to reach equipment C, equipment C is according to the mark of the message received
Information is judged, when it is determined that the message received is the message of the first business, the message of the first business received is led to
The first VXLAN tunnels are crossed to be sent in distal end VTEP equipment (such as equipment D).
In this way, equipment B of the service message into distributed aggregated link group is sent out by the first newly-built VXLAN tunnels
Send, then forwarded from equipment B to equipment D, be ensure that in equipment C and equipment D public network tunnel failures, the message of the first business
Forwarding is not interrupted, and improves network reliability.
Preferably, the method for the present embodiment also judges to whether there is second between the first VTEP equipment and distal end VTEP equipment
VXLAN tunnels, it is then to release the binding in the first business and the first VXLAN tunnels and by the first business in the first VTEP equipment
With the 2nd VXLAN tunnel-associateds, wherein, the next-hop in the 2nd VXLAN tunnels is the address of distal end VTEP equipment;Pass through second
The message of the first business received is sent to distal end VTEP equipment by VXLAN tunnels.
Due to the address that the next-hop in the 2nd VXLAN tunnels is distal end VTEP equipment, the next-hop in the first VXLAN tunnels is
The address of the 2nd VTEP equipment in distributed aggregated link group, it is evident that service message is carried out by the 2nd VXLAN tunnels and turned
The path of hair is short with respect to the forward-path in the first VXLAN tunnels, so, after equipment C and equipment D fault recoveries,
First VXLAN tunnels and the first business solution are bound, the 2nd VXLAN tunnels that will recover again in the business on equipment C and equipment C
Road is associated so that the flow of the first business walks the 2nd VXLAN tunnels again, reduces service message Forwarding Delay.
From the foregoing, it will be observed that the method for the present embodiment works as the first VTEP equipment (setting in such as Fig. 3 in distributed aggregated link group
Standby C) public network tunnel failure between distal end VTEP equipment (the equipment D in such as Fig. 3) when, according to the distal end VTEP equipment of acquisition
Address dynamic establish the first VXLAN tunnels;First VXLAN tunnels destination address be distal end VTEP equipment IP address, first
The next-hop in VXLAN tunnels is the IP address of the 2nd VTEP equipment (the equipment B in such as Fig. 3) in distributed aggregated link group;
Here, the public network tunnel between the 2nd VTEP equipment and distal end VTEP equipment is normal.Then, by the first VTEP equipment
One business and the first VXLAN tunnel-associateds;The message of the first business received is sent to by distal end by the first VXLAN tunnels
In VTEP equipment.During so as to public network tunnel failure between devices, it ensure that business is not interrupted, improve the reliability of network.
Corresponding with preceding method, the embodiment of the present application provides a kind of apparatus for forwarding message, and the device is applied to virtual
In expansible LAN endpoint of a tunnel VTEP equipment.
The apparatus for forwarding message that the application provides can be realized by software, can also pass through hardware or software and hardware combining
Mode realize.
, can will be corresponding with apparatus for forwarding message 60 in nonvolatile memory 50 by processor 10 exemplified by implemented in software
Machine-executable instruction read in internal memory 40 and run.
For hardware view, as shown in figure 4, being the hardware structure diagram of the application VTEP equipment, except the place shown in Fig. 4
Manage outside device 10, internal bus 20, network interface 30, internal memory 40 and nonvolatile memory 50, according to the VTEP equipment
Actual functional capability, other hardware can also be included, this is repeated no more.
In various embodiments, the nonvolatile memory 50 can be:Memory driver (such as hard disk drive),
Solid state hard disc, any kind of storage dish (such as CD, DVD), either similar storage medium or combinations thereof.Institute
Stating internal memory 40 can be:The volatile memory such as RAM (Radom Access Memory, random access memory).
Further, nonvolatile memory 50 and internal memory 40 are used as machinable medium, can store by handling thereon
Machine-executable instruction corresponding to the apparatus for forwarding message 60 that device 10 performs.
Fig. 5 is refer to, is functionally divided, apparatus for forwarding message 60 may include:First tunnel building module 601, tunnel
Relating module 602 and packet forwarding module 603.First tunnel building module 601, suitable for when in distributed aggregated link group
During one virtual public network tunnel failure between expansible LAN endpoint of a tunnel VTEP equipment and distal end VTEP equipment, according to acquisition
The address of distal end VTEP equipment establish the first virtual expansible LAN VXLAN tunnels;Wherein, under the first VXLAN tunnels
One jumps as the address of the 2nd VTEP equipment in the distributed aggregated link group;
Tunnel-associated module 602, suitable for by the first business in the first VTEP equipment and the first VXLAN tunnels
Association;
Packet forwarding module 603, suitable for being sent the message of the first business received by the first VXLAN tunnels
To the distal end VTEP equipment.
First tunnel building module 601 includes:First address acquisition module, it is remote suitable for being obtained to the 2nd VTEP equipment
Hold the address of VTEP equipment;Second address acquisition module, suitable for obtaining the address of the distal end VTEP equipment cached in advance.
In the present embodiment, the first tunnel building module 601 includes:
Judge module, suitable for establishing the first virtual expansible LAN in the address of the distal end VTEP equipment according to acquisition
Before the VXLAN tunnels of VXLAN tunnel buildings the first, judge the 2nd VTEP equipment in the distributed aggregated link group with it is described
It whether there is normal public network tunnel between the VTEP equipment of distal end;It is then, the next-hop in the first VXLAN tunnels to be configured to described
The address of two VTEP equipment.
In the present embodiment, apparatus for forwarding message 60 also includes:
Second tunnel determining module, suitable for judging to whether there is second between the first VTEP equipment and distal end VTEP equipment
VXLAN tunnels;
Tunnel-associated module 602, it is further adapted for whether there is second between the first VTEP equipment and distal end VTEP equipment
During VXLAN tunnels, the binding in the first business and the first VXLAN tunnels is released and by the first business in the first VTEP equipment
With the 2nd VXLAN tunnel-associateds, wherein, the next-hop in the 2nd VXLAN tunnels is the address of the distal end VTEP equipment;
Packet forwarding module 603, it is further adapted for sending out the message of the first business received by the 2nd VXLAN tunnels
It is sent to the distal end VTEP equipment.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not
In the case of paying creative work, you can to understand and implement.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute
State in process, method, article or the equipment of key element and other identical element also be present.
The preferred embodiment of the application is the foregoing is only, is not intended to limit the protection domain of the application.It is all
Any modification, equivalent substitution and improvements made within spirit herein and principle etc., it is all contained in the protection domain of the application
It is interior.
Claims (10)
- A kind of 1. message forwarding method, it is characterised in that including:When the first virtual expansible LAN endpoint of a tunnel VTEP equipment in distributed aggregated link group and distal end VTEP equipment Between public network tunnel failure when, the first virtual expansible LAN is established according to the address of the distal end VTEP equipment of acquisition VXLAN tunnels;Wherein, the next-hop in the first VXLAN tunnels is the address of the 2nd VTEP equipment in the distributed aggregated link group;By the first business in the first VTEP equipment and the first VXLAN tunnel-associateds;The message of the first business received is sent to by the distal end VTEP equipment by the first VXLAN tunnels.
- 2. according to the method for claim 1, it is characterised in that obtaining the address of distal end VTEP equipment includes:The address of distal end VTEP equipment is obtained to the 2nd VTEP equipment, or, obtain the distal end VTEP equipment cached in advance Address.
- 3. according to the method for claim 1, it is characterised in that this method also includes:Established in the address of the distal end VTEP equipment according to acquisition before the first virtual expansible LAN VXLAN tunnels,Judge to whether there is just between the 2nd VTEP equipment and the distal end VTEP equipment in the distributed aggregated link group Normal public network tunnel;It is the address that the next-hop in the first VXLAN tunnels is then configured to the 2nd VTEP equipment.
- 4. according to the method for claim 1, it is characterised in that this method also includes:Judge to whether there is the 2nd VXLAN tunnels between the first VTEP equipment and distal end VTEP equipment, be then, to release the first business Binding with the first VXLAN tunnels and by first business and the 2nd VXLAN tunnel-associateds, wherein, described second The next-hop in VXLAN tunnels is the address of the distal end VTEP equipment;The message of the first business received is sent to by the distal end VTEP equipment by the 2nd VXLAN tunnels.
- 5. according to the method described in claim any one of 1-4, it is characterised in that will be received by the first VXLAN tunnels To the message of the first business be sent to the distal end VTEP equipment and include:Judged according to the identification information of the message received, when it is determined that the message received is the message of the first business, The message of the first business received is sent to the distal end VTEP equipment by the first VXLAN tunnels.
- 6. a kind of apparatus for forwarding message, it is characterised in that applied in virtual expansible LAN endpoint of a tunnel VTEP equipment, wrap Include:First tunnel building module, suitable for when the first virtual expansible LAN endpoint of a tunnel in distributed aggregated link group During public network tunnel failure between VTEP equipment and distal end VTEP equipment, is established according to the address of the distal end VTEP equipment of acquisition One virtual expansible LAN VXLAN tunnels;Wherein, the next-hop in the first VXLAN tunnels is the distributed aggregated link group In the 2nd VTEP equipment address;Tunnel-associated module, suitable for by the first business in the first VTEP equipment and the first VXLAN tunnel-associateds;Packet forwarding module, it is described suitable for being sent to the message of the first business received by the first VXLAN tunnels Distal end VTEP equipment.
- 7. device according to claim 6, it is characterised in that the first tunnel building module includes:First address acquisition module, suitable for obtaining the address of the distal end VTEP equipment to the 2nd VTEP equipment;Second address acquisition module, suitable for obtaining the address of the distal end VTEP equipment cached in advance.
- 8. device according to claim 6, it is characterised in that the first tunnel building module includes:Judge module, suitable for establishing the first virtual expansible LAN VXLAN in the address of the distal end VTEP equipment according to acquisition Before tunnel, judge whether deposited between the 2nd VTEP equipment in the distributed aggregated link group and the distal end VTEP equipment In normal public network tunnel;It is the address that the next-hop in the first VXLAN tunnels is then configured to the 2nd VTEP equipment.
- 9. device according to claim 6, it is characterised in that the device also includes:Second tunnel determining module, suitable for judging to whether there is the 2nd VXLAN between the first VTEP equipment and distal end VTEP equipment Tunnel;The tunnel-associated module, it is further adapted for the 2nd VXLAN tunnels between the first VTEP equipment and distal end VTEP equipment being present When, release the binding of the first business and the first VXLAN tunnels and by first business and the 2nd VXLAN tunnel-associateds, wherein, The next-hop in the 2nd VXLAN tunnels is the address of the distal end VTEP equipment;The packet forwarding module, it is further adapted for sending the message of the first business received by the 2nd VXLAN tunnels To the distal end VTEP equipment.
- 10. according to the device described in claim any one of 6-9, it is characterised in thatPacket forwarding module, it is particularly adapted to be judged according to the identification information of the message received, when it is determined that the report received When text is the message of the first business, the message of the first business received is sent to by the first VXLAN tunnels described Distal end VTEP equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710338709.6A CN107547366B (en) | 2017-05-15 | 2017-05-15 | Message forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710338709.6A CN107547366B (en) | 2017-05-15 | 2017-05-15 | Message forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107547366A true CN107547366A (en) | 2018-01-05 |
CN107547366B CN107547366B (en) | 2020-10-27 |
Family
ID=60966908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710338709.6A Active CN107547366B (en) | 2017-05-15 | 2017-05-15 | Message forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107547366B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108900414A (en) * | 2018-06-08 | 2018-11-27 | 新华三技术有限公司 | Forwarding table generation method and device |
CN110034993A (en) * | 2018-01-11 | 2019-07-19 | 华为技术有限公司 | Transmit method, equipment and the network system of data |
CN110300064A (en) * | 2018-03-22 | 2019-10-01 | 华为技术有限公司 | A kind of data traffic processing method, equipment and system |
CN110311860A (en) * | 2019-07-24 | 2019-10-08 | 北京天融信网络安全技术有限公司 | Multi-link load balance method and device under VXLAN |
CN111404732A (en) * | 2020-03-05 | 2020-07-10 | 广东睿江云计算股份有限公司 | NAT gateway disaster recovery implementation method and system thereof |
CN111435948A (en) * | 2019-01-12 | 2020-07-21 | 华为技术有限公司 | Method for transmitting message in network and network equipment |
CN111988222A (en) * | 2020-08-31 | 2020-11-24 | 网易(杭州)网络有限公司 | Data transmission method and device, electronic equipment and computer readable storage medium |
CN111988213A (en) * | 2020-07-16 | 2020-11-24 | 浪潮思科网络科技有限公司 | Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment |
CN112887188A (en) * | 2021-02-23 | 2021-06-01 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN113452606A (en) * | 2021-05-18 | 2021-09-28 | 新华三信息安全技术有限公司 | Communication method and device |
CN113542112A (en) * | 2020-04-20 | 2021-10-22 | 华为技术有限公司 | Message forwarding method and network equipment |
CN113709053A (en) * | 2021-08-03 | 2021-11-26 | 杭州迪普科技股份有限公司 | Flow distribution method and device based on flow definition |
CN113794635A (en) * | 2021-08-05 | 2021-12-14 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN115174312A (en) * | 2022-07-06 | 2022-10-11 | 中国联合网络通信集团有限公司 | Broadcast information transmission method, tunnel endpoint device, electronic device, and medium |
CN115514702A (en) * | 2022-09-16 | 2022-12-23 | 苏州盛科科技有限公司 | Method and device for quickly switching link, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104158733A (en) * | 2013-05-13 | 2014-11-19 | 华为技术有限公司 | Rapid rerouting method and device and transmission network |
CN104270298A (en) * | 2014-09-30 | 2015-01-07 | 杭州华三通信技术有限公司 | Method and device for forwarding message in VXLAN |
US20150229724A1 (en) * | 2014-02-10 | 2015-08-13 | Brocade Communications Systems, Inc. | Virtual extensible lan tunnel keepalives |
CN105099922A (en) * | 2015-06-18 | 2015-11-25 | 杭州华三通信技术有限公司 | Cross-VXLAN (Virtual eXtensible Local Area Network) data message forwarding method and device |
CN106230667A (en) * | 2016-09-30 | 2016-12-14 | 锐捷网络股份有限公司 | VTEP keep-alive detection method and device |
-
2017
- 2017-05-15 CN CN201710338709.6A patent/CN107547366B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104158733A (en) * | 2013-05-13 | 2014-11-19 | 华为技术有限公司 | Rapid rerouting method and device and transmission network |
US20150229724A1 (en) * | 2014-02-10 | 2015-08-13 | Brocade Communications Systems, Inc. | Virtual extensible lan tunnel keepalives |
CN104270298A (en) * | 2014-09-30 | 2015-01-07 | 杭州华三通信技术有限公司 | Method and device for forwarding message in VXLAN |
CN105099922A (en) * | 2015-06-18 | 2015-11-25 | 杭州华三通信技术有限公司 | Cross-VXLAN (Virtual eXtensible Local Area Network) data message forwarding method and device |
CN106230667A (en) * | 2016-09-30 | 2016-12-14 | 锐捷网络股份有限公司 | VTEP keep-alive detection method and device |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110034993B (en) * | 2018-01-11 | 2020-12-25 | 华为技术有限公司 | Method, equipment and network system for transmitting data |
CN110034993A (en) * | 2018-01-11 | 2019-07-19 | 华为技术有限公司 | Transmit method, equipment and the network system of data |
US11539551B2 (en) | 2018-01-11 | 2022-12-27 | Huawei Technologies Co., Ltd. | Data transmission method, device, and network system |
CN110300064A (en) * | 2018-03-22 | 2019-10-01 | 华为技术有限公司 | A kind of data traffic processing method, equipment and system |
US11356372B2 (en) | 2018-03-22 | 2022-06-07 | Huawei Technologies Co., Ltd. | Data traffic processing method, device, and system |
CN108900414A (en) * | 2018-06-08 | 2018-11-27 | 新华三技术有限公司 | Forwarding table generation method and device |
CN111435948A (en) * | 2019-01-12 | 2020-07-21 | 华为技术有限公司 | Method for transmitting message in network and network equipment |
CN111435948B (en) * | 2019-01-12 | 2021-11-19 | 华为技术有限公司 | Method for transmitting message in network and network equipment |
CN110311860A (en) * | 2019-07-24 | 2019-10-08 | 北京天融信网络安全技术有限公司 | Multi-link load balance method and device under VXLAN |
CN111404732B (en) * | 2020-03-05 | 2023-04-07 | 广东睿江云计算股份有限公司 | NAT gateway disaster recovery implementation method and system thereof |
CN111404732A (en) * | 2020-03-05 | 2020-07-10 | 广东睿江云计算股份有限公司 | NAT gateway disaster recovery implementation method and system thereof |
CN113542112B (en) * | 2020-04-20 | 2023-11-21 | 华为技术有限公司 | Message forwarding method and network equipment |
CN113542112A (en) * | 2020-04-20 | 2021-10-22 | 华为技术有限公司 | Message forwarding method and network equipment |
CN111988213A (en) * | 2020-07-16 | 2020-11-24 | 浪潮思科网络科技有限公司 | Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment |
CN111988222A (en) * | 2020-08-31 | 2020-11-24 | 网易(杭州)网络有限公司 | Data transmission method and device, electronic equipment and computer readable storage medium |
CN112887188B (en) * | 2021-02-23 | 2022-04-01 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN112887188A (en) * | 2021-02-23 | 2021-06-01 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN113452606A (en) * | 2021-05-18 | 2021-09-28 | 新华三信息安全技术有限公司 | Communication method and device |
CN113452606B (en) * | 2021-05-18 | 2023-12-26 | 新华三信息安全技术有限公司 | Communication method and device |
CN113709053A (en) * | 2021-08-03 | 2021-11-26 | 杭州迪普科技股份有限公司 | Flow distribution method and device based on flow definition |
CN113709053B (en) * | 2021-08-03 | 2023-05-26 | 杭州迪普科技股份有限公司 | Flow definition-based flow dividing method and device |
CN113794635A (en) * | 2021-08-05 | 2021-12-14 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN113794635B (en) * | 2021-08-05 | 2023-04-07 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN115174312A (en) * | 2022-07-06 | 2022-10-11 | 中国联合网络通信集团有限公司 | Broadcast information transmission method, tunnel endpoint device, electronic device, and medium |
CN115174312B (en) * | 2022-07-06 | 2023-04-18 | 中国联合网络通信集团有限公司 | Broadcast information transmission method, tunnel endpoint device, electronic device, and medium |
CN115514702A (en) * | 2022-09-16 | 2022-12-23 | 苏州盛科科技有限公司 | Method and device for quickly switching link, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107547366B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107547366A (en) | A kind of message forwarding method and device | |
CN106878047B (en) | Fault handling method and device | |
US20170063604A1 (en) | Method and apparatus for sve redundancy | |
US8179900B2 (en) | Edge node redundant system in label switching network | |
KR101451174B1 (en) | Mac address learning in a distributed bridge | |
CN108574616A (en) | A kind of method, equipment and the system of processing routing | |
CN107846342A (en) | A kind of retransmission method, equipment and the system of VXLAN messages | |
US20130272114A1 (en) | Pseudo wire switching method and device | |
CN100461741C (en) | A method and communication equipment for protecting the Ethernet link collective logic port message against loss | |
WO2007016834A1 (en) | A fast convergence method of point to point services and the provider edge device thereof | |
US9985928B2 (en) | Dynamic link aggregation | |
CN101425942A (en) | Method, apparatus and system for bidirectional forwarding detection implementation | |
CN108243114A (en) | A kind of method to E-Packet, equipment and system | |
CN103825815B (en) | Method, equipment and the system of redundancy backup are carried out between network virtual edge device | |
CN101102321B (en) | Implementation method of virtual route redundancy protocol based on layer 3 VLAN technology | |
CN102447703B (en) | A kind of heat backup method and system, CGN equipment | |
US20120269056A1 (en) | Method, device, and system for protecting semi-ring network | |
CN106888144B (en) | A kind of message forwarding method and device | |
CN103873339B (en) | The distribution method and device of a kind of virtual gateway router | |
WO2013007124A1 (en) | Method and system for advertising virtual router redundancy protocol link protection | |
WO2013159549A1 (en) | Method, device and system for establishing and using floating network segment | |
CN103493439A (en) | Information receiving and sending methods and apparatuses | |
EP2832061B1 (en) | Pseudowire extended group messaging in a packet switched network | |
CN106911548A (en) | A kind of tunnel state changing method and device | |
CN106878066A (en) | Fault detection method and 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 |