CN106230727A - Message forwarding method and device - Google Patents
Message forwarding method and device Download PDFInfo
- Publication number
- CN106230727A CN106230727A CN201610585443.0A CN201610585443A CN106230727A CN 106230727 A CN106230727 A CN 106230727A CN 201610585443 A CN201610585443 A CN 201610585443A CN 106230727 A CN106230727 A CN 106230727A
- Authority
- CN
- China
- Prior art keywords
- tunnel
- vxlan
- redundancy group
- mac address
- list item
- 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
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a kind of message forwarding method and device, and wherein, the method includes: receive the user's message that VM sends;According to the destination address of this user's message, searching the VT of correspondence in forward table, wherein, forward table includes the corresponding relation of address and VT;According to the VT found, searching the tunnel redundancy group of correspondence in VT contingency table, wherein, VT contingency table includes that the corresponding relation of VT and tunnel redundancy group, tunnel redundancy group include at least one VXLAN tunnel;This user's message is carried out VXLAN encapsulation, and the VXLAN tunnel that VXLAN message encapsulation obtained passes through in the tunnel redundancy group found forwards.
Description
Technical field
The application relates to network communication technology field, particularly to a kind of message forwarding method and device.
Background technology
VXLAN (Virtual eXtensible LAN, expansible Virtual Local Area Network) is a kind of based on IP (Internet
Protocol, Internet Protocol) network, employing " MAC (Media Access Control, media interviews control) in UDP
(User Datagram Protocol, UDP) " two-layer VPN (the Virtual Private of packing forms
Network, VPN (virtual private network)) technology.VXLAN can be 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.
EVPN (Ethernet Virtual Private Network, Ethernet VPN (virtual private network)) network is that one is adopted
With VXLAN (Virtual eXtensible LAN, the expansible Virtual Local Area Network) network of distributed network gate, control plane and adopt
EVPN route letter is noticed with MP-BGP (the multi-protocols extension of Multiprotocol Extensions for BGP-4, BGP-4)
Breath, datum plane uses VXLAN packaged type to E-Packet.EVPN network have employed multi-home networking mode, such that it is able to have
Effect improves network reliability.
As it is shown in figure 1, in Spine-Leaf (trunk-leaf) network model of EVPN network, VM1 is corresponding by ES1
ES (Ethernet Segment, ether section) link belong to Leaf equipment Leaf1, Leaf2 and Leaf3 more, VM2 passes through
ES link corresponding for ES2 belongs to Leaf2 and Leaf3 more.Leaf4 arrives MAC Address VM1-MAC and the IP address of VM1 in study
After VM1-IP, and the MAC Address VM2-MAC of VM2 and IP address VM2-IP, can create MAC address entries as shown in table 1, with
And IP list item as shown in table 2.
Table 1
MAC Address | Outgoing interface |
VM1-MAC | Tunnel14,Tunnel24,Tunnel34 |
VM2-MAC | Tunnel24,Tunnel34 |
Table 2
IP address | Next hop information |
VM1-IP | Tunnel14,Tunnel24,Tunnel34 |
VM2-IP | Tunnel24,Tunnel34 |
Wherein, in Tables 1 and 2, Tunnel ij is the VXLAN tunnel between Leafi and Leafj, wherein, i=1,2,
3,4, j=1,2,3,4.
Visible, in the EVPN network of prior art, mac address table and IP route table directly record MAC/IP address
Corresponding multiple Tunnel (tunnel), therefore, the content of MAC address entries and IP list item is too fat to move, causes the storage pressure of Leaf equipment
Bigger.
It addition, in existing extensive EVPN networking, it will usually there is substantial amounts of MAC/IP to associate same group of Tunnel, this
Group Tunnel is referred to as Tunnel redundancy group.When a certain Tunnel in Tunnel redundancy group becomes DOWN (unavailable), Leaf
Equipment needs to be associated with the MAC address entries of this Tunnel to every and IP list item is updated processing.Such as, Tunnel24 becomes
During DOWN, Leaf4 needs the MAC address entries as shown in table 1 the 2nd row and the 3rd row, and as shown in table 2 the 2nd row and the 3rd row
IP list item is updated processing.When list item quantity is the most, the time that renewal processes is the longest, thus reduces the switching of data stream
Speed.
Summary of the invention
In view of this, the application provides a kind of message forwarding method and device.
Specifically, the application is achieved by the following technical solution:
On the one hand, it is provided that a kind of message forwarding method, the method includes:
Receive the user's message that VM sends;
According to the destination address of this user's message, searching the VT of correspondence in forward table, wherein, forward table includes address
Corresponding relation with VT;
According to the VT found, searching the tunnel redundancy group of correspondence in VT contingency table, wherein, VT contingency table includes VT
With the corresponding relation of tunnel redundancy group, tunnel redundancy group includes at least one VXLAN tunnel;
This user's message is carried out VXLAN encapsulation, and VXLAN message encapsulation obtained is by the tunnel redundancy group found
In VXLAN tunnel forward.
On the other hand, additionally providing a kind of apparatus for forwarding message, this device includes:
Receiver module, for receiving the user's message that VM sends;
Search module, for after receiver module receives the user's message that VM sends, according to the mesh of this user's message
Address, search in forward table correspondence VT, wherein, forward table includes the corresponding relation of address and VT;It is additionally operable to basis
The VT found, searches the tunnel redundancy group of correspondence in VT contingency table, and wherein, VT contingency table includes VT and tunnel redundancy group
Corresponding relation, tunnel redundancy group includes at least one VXLAN tunnel;
Encapsulation sending module, for, after lookup module searches to corresponding tunnel redundancy group, entering this user's message
Row VXLAN encapsulates, and VXLAN message encapsulation obtained is forwarded by the VXLAN tunnel in this tunnel redundancy group.
By the above technical scheme of the application, in EVPN network, the forward table on equipment includes address and VT's
Corresponding relation, includes the corresponding relation of VT and the tunnel redundancy group being made up of at least one VXLAN tunnel at VT contingency table;From
And, after receiving the user's message that VM sends, can be according to the destination address of this user's message, it is right to search in forward table
The VT answered, then, according to the VT found, searches the tunnel redundancy group of correspondence in VT contingency table, finally, and can be to this user
After message carries out VXLAN encapsulation, forwarded by the VXLAN tunnel in the tunnel redundancy group that finds.Due to without turning
The tunnel redundancy group that in delivering, direct recording address is corresponding, it is only necessary to record the VT corresponding corresponding to this tunnel redundancy group,
Equally realize the forwarding of user's message, decrease the content of forwarding-table item, and reduce the storage pressure of equipment.
Accompanying drawing explanation
Fig. 1 is the networking schematic diagram of a kind of EVPN network;
Fig. 2 is the format chart of the advertising of route message shown in the application one exemplary embodiment;
Fig. 3 is the format chart of the address notification route shown in the application one exemplary embodiment;
Fig. 4 is the flow chart that user's message carries out forward process shown in the application one exemplary embodiment;
Fig. 5 be shown in the application one exemplary embodiment when ES link breaks down, mac address table and IP are route
Table is updated the flow chart processed;
Fig. 6 be shown in the application one exemplary embodiment when ES link failure recovery, mac address table and IP are route
Table is updated the flow chart processed;
Fig. 7 is a kind of structural representation of the apparatus for forwarding message shown in the application one exemplary embodiment;
Fig. 8 is the another kind of structural representation of the apparatus for forwarding message shown in the application one exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they are only with the most appended
The example of the apparatus and method that some aspects that described in detail in claims, the application are consistent.
It is only merely for describing the purpose of specific embodiment at term used in this application, and is not intended to be limiting the application.
" a kind of ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps
Any or all containing one or more projects of listing being associated may combination.
Although should be appreciated that in the application possible employing term first, second, third, etc. to describe various information, but this
A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.Such as, without 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.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ...
Time " or " in response to determining ".
The application following example provide a kind of message forwarding method, and a kind of message that can apply the method
Retransmission unit.The embodiment of the present application introduces a kind of new concept: VT (Virtual Tunnel, virtual channel), can make
Obtain the corresponding relation recording MAC/IP address and VT in the forward table such as mac address table and IP route table, and remember in VT contingency table
Record VT and the corresponding relation of tunnel redundancy group.
Leaf equipment in EVPN network is said as a example by performing the message forwarding method of the embodiment of the present application below
Bright, the method includes herein below:
After Leaf equipment is configured with ES on the user port connecting VM (virtual machine), the advertising of route of this ES can be sent
Message.In actual implementation process, user port configures the ID (mark) of ES, then, the road of the ID of this ES will be carried
Sent by notice message.The form of advertising of route message is as in figure 2 it is shown, ES ID (Ethernet Segment therein
Identifier) field is for carrying the ID of this ES.
It addition, Leaf equipment receive a certain ES (for convenience, the referred to as the oneth ES) advertising of route message it
After, can learn, i.e. in ES information table, record an ES and this equipment and the Leaf sending this advertising of route message
The corresponding relation in the VXLAN tunnel between equipment.In multi-home networking, may receive and multiple (be designated as M, M for being not less than
The positive integer of 2) the advertising of route message of an ES, therefore, ES information table can record the right of ES with a M VXLAN tunnel
Should be related to, as shown in table 3 the 2nd row.
Table 3
ES | Next hop information |
Oneth ES | Tunnel1,Tunnel2,…,TunnelM |
Then, Leaf equipment can create VT list item in VT contingency table, concrete, can create VT table in the following ways
:
According to preset rules, Tunnel1, Tunnel2 ..., TunnelM are combined, such that it is able to obtain N number of tunnel
Redundancy group Tunnel1}, and Tunnel2} ..., Tunnel M}, Tunnel1, Tunnel2} ... Tunnel1,
Tunnel2 ..., TunnelM}, wherein, N meets below equation (1):
In actual multi-home networking, the value of M typically will not be very big, and usually 2 or 3.
For each the tunnel redundancy group in above-mentioned N number of tunnel redundancy group, VT contingency table does not exist this tunnel superfluous
During remaining group, for this tunnel redundancy group one VT of distribution, VT contingency table adds the VT table comprising this VT with this tunnel redundancy group
, the state in each the VXLAN tunnel in this tunnel redundancy group is set to effectively (active).
Such as, as M=3, N=7 tunnel redundancy group can be obtained, be respectively as follows: Tunnel1}, Tunnel2},
Tunnel3}, and Tunnel1, Tunnel2}, Tunnel1, Tunnel3}, Tunnel2, Tunnel3}, Tunnel1,
Tunnel2,Tunnel3}.If VT contingency table does not exist this 7 tunnel redundancy group, then in VT contingency table, add the 7 of correspondence
Individual VT list item, as shown in table 4 the 2nd~8 row.
Table 4
VT | Next hop information |
VT1 | Tunnel1(active),Tunnel2(active),Tunnel3(active) |
VT2 | Tunnel1(active),Tunnel2(active) |
VT3 | Tunnel1(active),Tunnel3(active) |
VT4 | Tunnel2(active),Tunnel3(active) |
VT5 | Tunnel1(active) |
VT6 | Tunnel2(active) |
VT7 | Tunnel3(active) |
So, after study to M VXLAN tunnel of an ES and correspondence thereof, can be by the way of combination, from this
M VXLAN tunnel is arbitrarily chosen one or more VXLAN tunnel one tunnel redundancy group of composition, multiple tunnel can be obtained
Redundancy group, creates multiple VT list items of correspondence in VT contingency table, thus, it is achieved that being pre-created of VT list item.
It addition, after the MAC Address and IP address of study to locally-attached VM, Leaf equipment can send address notification
Route, can carry configuration on the user port connecting this VM on the address of this VM, this Leaf equipment in this address notification route
VXLAN ID belonging to the ID of ES and this VM, wherein, the address of this VM is MAC Address, or is MAC Address and IP address.
The form of address notification route is as it is shown on figure 3, in address notification route, ES id field is for carrying the ID, MAC of ES
Address (MAC Address) field is used for carrying MAC Address, and IP Address (IP address) field is used for carrying IP address, MPLS
(Multiprotocol Label Switching, multiprotocol label switching) Lable1 (label 1) field is used for carrying VXLAN
ID。
Leaf equipment also can receive address notification route, for convenience, still illustrates as a example by an ES.
The address notification route that Leaf equipment receives carries the first address, an an ES and VXLAN, wherein, the first ground
Location includes: the first MAC Address, or, the first MAC Address and an IP address.Leaf equipment can be on mac address table and IP road
By the forwarding-table item adding correspondence in the forward tables such as table.Concrete, in ES information table as shown in table 3, search and an ES
M corresponding VXLAN tunnel Tunnel1, Tunnel2 ..., TunnelM, then, in VT contingency table, searches individual with by this M
The VT of tunnel redundancy group (for convenience, the referred to as first tunnel redundancy group) correspondence of VXLAN tunnel composition is (for the side of description
Just, the referred to as the oneth VT), then, a mac address table corresponding for VXLAN adds the MAC table as shown in table 5-1 the 2nd row
, and, when the first address includes an IP address, IP route table adds the IP table as shown in table 6-1 the 2nd row
?.
Table 5-1
MAC Address | VXLAN ID | Outgoing interface |
First MAC Address | Oneth VXLAN | Oneth VT |
Table 6-1
IP address | Next hop information |
Oneth IP address | Oneth VT, a VXLAN |
MAC address entries as shown in table 5-1 the 2nd row can also include an ES, now, this MAC address entries such as table 5-2 the 2nd
Shown in row, the IP list item as shown in table 6-1 the 2nd row can also include an ES, now, this IP list item such as table 6-2 the 2nd row institute
Show:
Table 5-2
MAC Address | VXLAN ID | Outgoing interface | ES |
First MAC Address | Oneth VXLAN | Oneth VT | Oneth ES |
Table 6-2
IP address | Next hop information | ES |
Oneth IP address | Oneth VT, a VXLAN | Oneth ES |
In actual implementation process, when the MAC address entries as shown in table 5-2 the 2nd row is issued to datum plane, it is not necessary to issue
Oneth ES, equally, when the IP list item as shown in table 6-2 the 2nd row is issued to datum plane, it is not required that issue an ES.
Thus, Leaf equipment, after receiving the user's message that VM sends, can perform message as shown in Figure 4 and forward step
Rapid:
Step S401, according to the destination address of this user's message, searches the VT of correspondence in forward table;
Step S402, according to the VT found in step S401, searches the tunnel redundancy group of correspondence in VT contingency table;
Step S403, carries out VXLAN encapsulation to this user's message, and VXLAN message encapsulation obtained passes through step S402
In VXLAN tunnel in the tunnel redundancy group that finds forward.
It is assumed that the target MAC (Media Access Control) address of this user's message is the first MAC Address, purpose IP address is an IP address, then exist
When carrying out two layers of forwarding, Leaf equipment can be according to the first MAC Address, on the belonging to this user's message the oneth MAC ground corresponding for VXLAN
In the table of location search a VT, then, according to a VT search in VT contingency table correspondence M VXLAN tunnel Tunnel1,
Tunnel2 ..., TunnelM, be in the VXLAN tunnel of effective status, carry out this user's message for each
After VXLAN encapsulation, forwarded by this VXLAN tunnel.
When carrying out three layers and forwarding, Leaf equipment can search a VT, so according to an IP address in IP route table
After, in VT contingency table, M VXLAN tunnel Tunnel1, Tunnel2 ..., TunnelM of correspondence, pin is searched according to a VT
Each is in the VXLAN tunnel of effective status, after this user's message is carried out VXLAN encapsulation, by this VXLAN
Tunnel forwards.
It addition, when network topology changes, Leaf equipment needs to be updated corresponding VT list item, or, right
MAC address entries and IP list item are updated.
When detecting that VXLAN tunnel becomes DOWN (unavailable), now, it is only necessary to update corresponding VT list item.
Concrete, Leaf equipment searches the VT list item comprising this disabled VXLAN tunnel, the VT table that will find in VT contingency table
The state in this VXLAN tunnel in Xiang is updated to invalid (deactive), so, is carrying out message forwarding according to this VT list item
Time, would not be forwarded by this VXLAN tunnel.Follow-up, when detecting that this VXLAN tunnel restoration is UP (can use),
The VT list item comprising this VXLAN tunnel, the state in this VXLAN tunnel in the VT list item that will find is searched in VT contingency table
Again it is updated to effectively, so, when carrying out message forwarding according to this VT list item, can carry out again through this VXLAN tunnel
Forwarded.
Visible, when becoming DOWN in VXLAN tunnel or recover UP, only need to update the VT list item comprising this VXLAN tunnel i.e.
Can, owing to the quantity needing the VT list item of renewal is little, therefore, it is effectively reduced entry updating required time and workload,
Improve the switch speed of data stream.
When the ES link detected on this equipment breaks down, Leaf equipment can send the route withdraw message of this ES,
Follow-up, when this ES link failure recovery being detected, Leaf equipment can send the advertising of route message of this ES.Thus, Leaf sets
Standby after receiving the route withdraw message of an ES, can perform step as shown in Figure 5:
Step S501, searches M the VXLAN tunnel corresponding for ES with the oneth in ES information table as shown in table 3
Tunnel1, Tunnel2 ..., TunnelM, in VT contingency table, search and the first tunnel being made up of this M VXLAN tunnel
The VT that redundancy group is corresponding;
Step S502, in ES information table, deletes this corresponding for an ES equipment and the route withdraw sending an ES
VXLAN tunnel Tunnel1 between the Leaf equipment of message, thus table 3 is updated to table 7-1, the i.e. the oneth ES corresponds to
Tunnel2 ..., this M-1 VXLAN tunnel of TunnelM;In VT contingency table, search and form with by this M-1 VXLAN tunnel
The 2nd VT corresponding to the second tunnel redundancy group;
Table 7-1
ES | Next hop information |
Oneth ES | Tunnel2,…,TunnelM |
Step S503, it may be judged whether found the 2nd VT, the most then perform step S505, otherwise, perform step
S504;
Step S504, adds in VT contingency table and comprises the 2nd VT and the VT list item of the second tunnel redundancy group, by second
The state in each the VXLAN tunnel in tunnel redundancy group is set to effectively;
Step S505, by the VT in the MAC address entries comprising an ES in the mac address table as shown in table 5-2, updates
It is the 2nd VT, by the VT in the IP list item comprising an ES in the IP route table as shown in table 6-2, is updated to the 2nd VT.
Now, the mac address table as shown in table 5-2 is updated to as shown in table 5-3, and the IP route table as shown in table 6-2 is updated to such as table
Shown in 6-3.
Table 5-3
MAC | VXLAN ID | Outgoing interface | ES |
First MAC Address | Oneth VXLAN | 2nd VT | Oneth ES |
Table 6-3
IP | Next hop information | ES |
Oneth IP address | 2nd VT, a VXLAN | Oneth ES |
It addition, Leaf equipment is after receiving the advertising of route message of an ES, step as shown in Figure 6 can be performed:
Step S601, searches M the VXLAN tunnel corresponding for ES with the oneth in ES information table as shown in table 3
Tunnel1, Tunnel2 ..., TunnelM, in VT contingency table, search and the first tunnel being made up of this M VXLAN tunnel
The VT that redundancy group is corresponding;
Step S602, in ES information table as shown in table 3, increases by this corresponding for an ES equipment and sends an ES
Advertising of route message Leaf equipment between VXLAN tunnel TunnelM+1, thus table 3 is updated to table 7-2, i.e. first
ES corresponds to Tunnel1, Tunnel2 ..., this M+1 VXLAN tunnel of TunnelM, TunnelM+1;In VT contingency table, look into
The 3rd VT that the 3rd tunnel redundancy group looked for and be made up of this M+1 VXLAN tunnel is corresponding;
Table 7-2
ES | Next hop information |
Oneth ES | Tunnel2,…,TunnelM,TunnelM+1 |
Step S603, it may be judged whether found the 3rd VT, the most then perform step S605, otherwise, perform step
S604;
Step S604, adds in VT contingency table and comprises the 3rd VT and the VT list item of the 3rd tunnel redundancy group, by the 3rd
The state in each the VXLAN tunnel in tunnel redundancy group is set to effectively;
Step S605, by the VT in the MAC address entries comprising an ES in the mac address table as shown in table 5-2, updates
It is the 3rd VT, by the VT in the IP list item comprising an ES in the IP route table as shown in table 6-2, is updated to the 3rd VT.
Now, the mac address table as shown in table 5-2 is updated to as shown in table 5-4, and the IP route table as shown in table 6-2 is updated to such as table
Shown in 6-4.
Table 5-4
MAC | VXLAN ID | Outgoing interface | ES |
First MAC Address | Oneth VXLAN | 3rd VT | Oneth ES |
Table 6-4
IP | Next hop information | ES |
Oneth IP address | 3rd VT, a VXLAN | Oneth ES |
Visible, when a certain bar ES link there occurs fault or fault recovery, only need to update the MAC address entries comprising this ES and
IP list item, due to the limited amount of the link-attached VM of this ES, it is therefore desirable to the MAC address entries of renewal and the quantity of IP list item
The most less, therefore, it is effectively reduced entry updating required time and workload, improves the switch speed of data stream.
As a example by the actual ENPN networking shown in Fig. 1, the method describing above-described embodiment in detail.As shown in Figure 1
In EVPN network, VM1 belongs to Leaf equipment Leaf1, Leaf2 and Leaf3 by ES link corresponding for ES1 more, and VM2 passes through
ES link corresponding for ES2 belongs to Leaf2 and Leaf3 more.The mac address table of VM is shown as VM-MAC, IP address table and is shown as VM-
IP.VXLAN tunnel between Leafi and Leafj is expressed as Tunnel ij, wherein, i=1,2,3,4, j=1,2,3,4, i ≠
j。
After being configured with ES1, Leaf1, Leaf2, Leaf3 can send the advertising of route message of ES1.It is being configured with ES2
Afterwards, Leaf2, Leaf3 can send ES2 advertising of route message.After Leaf4 receives above-mentioned advertising of route message, can obtain
ES information table as shown in table 8-1, then, creates the VT contingency table as shown in table 9-1.
Table 8-1
ES | Next hop information |
ES1 | Tunnel14,Tunnel24,Tunnel34 |
ES2 | Tunnel24,Tunnel34 |
Table 9-1
VT | Next hop information |
VT1 | Tunnel14(active),Tunnel24(active),Tunnel34(active) |
VT2 | Tunnel14(active),Tunnel24(active) |
VT3 | Tunnel14(active),Tunnel34(active) |
VT4 | Tunnel24(active),Tunnel34(active) |
VT5 | Tunnel14(active) |
VT6 | Tunnel24(active) |
VT7 | Tunnel34(active) |
Leaf1 sends address notification route corresponding for VM1 to Leaf4, wherein, carries VM1 in this address notification route
MAC Address VM1-MAC and IP address VM1-IP, ES1, VM1 belonging to VXLAN1;Leaf4 receives this address notification route
Afterwards, the MAC address entries as shown in table 10-1 the 2nd row can be added in the mac address table that VXLAN1 is corresponding, and at IP route table
Middle interpolation IP list item as shown in table 11-1 the 2nd row.
It addition, Leaf2 sends address notification route corresponding for VM2 to Leaf4, wherein, this address notification route is carried
There is the VXLAN1 belonging to the MAC Address VM2-MAC of VM2 and IP address VM2-IP, ES2, VM2;Leaf4 receives this address notification
After route, the MAC address entries as shown in table 10-1 the 3rd row can be added in the mac address table that VXLAN1 is corresponding, and on IP road
By the IP list item added in table as shown in table 11-1 the 3rd row.
Table 10-1
MAC Address | VXLAN ID | Outgoing interface | ES |
VM1-MAC | VXLAN1 | VT1 | ES1 |
VM2-MAC | VXLAN1 | VT4 | ES2 |
Table 11-1
IP address | Next hop information | ES |
VM1-IP | VT1, VXLAN1 | ES1 |
VM2-IP | VT4, VXLAN1 | ES2 |
When VM3 need to VM1 send user's message time, can send target MAC (Media Access Control) address be VM1-MAC, purpose IP address be
The user's message of VM1-IP, after Leaf4 receives this user's message, according to VM1-MAC, at the MAC as shown in table 10-1
Location table is searched the VT1 of correspondence, then, in the VT contingency table as shown in table 9-1, searches the tunnel redundancy group of correspondence according to VT1
Tunnel14, Tunnel24, Tunnel34, be in the VXLAN tunnel of effective status for each in this tunnel redundancy group,
After this user's message is carried out VXLAN encapsulation, forwarded by this VXLAN tunnel.
When Leaf4 detects that the VXLAN tunnel Tunnel14 between this equipment and Leaf1 becomes DOWN, Leaf4 can be
VT contingency table shown in table 9-1 is searched the VT list item comprising Tunnel14, such that it is able to find such as table 9-1 the 2nd, 3,4,6
VT list item shown in row, is updated to deactive by the state of the Tunnel14 in these VT list items, as shown in table 9-2.
Table 9-2
VT | Next hop information |
VT1 | Tunnel14(deactive),Tunnel24(active),Tunnel34(active) |
VT2 | Tunnel14(deactive),Tunnel24(active) |
VT3 | Tunnel14(deactive),Tunnel34(active) |
VT4 | Tunnel24(active),Tunnel34(active) |
VT5 | Tunnel14(deactive) |
VT6 | Tunnel24(active) |
VT7 | Tunnel34(active) |
Follow-up, when Leaf4 detects that Tunnel14 reverts to UP, Leaf4 can look in the VT contingency table shown in table 9-2
Look for the VT list item comprising Tunnel14, thus find as table 9-2 the 2nd, 3,4, the VT list item shown in 6 row, by these VT list items
In the state of Tunnel14 be updated to active, as shown in table 9-1.
It addition, when the ES link that Leaf1 connects VM1 breaks down, Leaf1 can send the route withdraw message of ES1.
After Leaf4 receives this route withdraw message, ES1 can be found from the ES information table as shown in table 8-1 corresponding
Tunnel14, Tunnel24, Tunnel34, find from the VT contingency table as shown in table 9-1 with by Tunnel14,
The VT1 corresponding to tunnel redundancy group of Tunnel24, Tunnel34 composition, then, deletes from the ES information table as shown in table 8-1
The Tunnel14 that ES1 is corresponding, obtains the ES information table as shown in table 8-2, find from the VT contingency table as shown in table 9-1 with
The VT4 that the tunnel redundancy group that is made up of Tunnel24, Tunnel34 is corresponding, afterwards, by the mac address table as shown in table 10-1
VT1 in the MAC address entries comprising ES1 is updated to VT4, the mac address table after renewal as shown in table 10-2, and, will be such as table 11-
The VT1 comprised in IP route table shown in 1 in the IP list item of ES1 is updated to VT4, the IP route table after renewal such as table 11-2 institute
Show.
Table 8-2
ES | Next hop information |
ES1 | Tunnel24,Tunnel34 |
ES2 | Tunnel24,Tunnel34 |
Table 10-2
MAC Address | VXLAN ID | Outgoing interface | ES |
VM1-MAC | VXLAN1 | VT4 | ES1 |
VM2-MAC | VXLAN1 | VT4 | ES2 |
Table 11-2
IP address | Next hop information | ES |
VM1-IP | VT4, VXLAN1 | ES1 |
VM2-IP | VT4, VXLAN1 | ES2 |
Follow-up, when Leaf1 connects the ES link failure recovery of VM1, the notice of the ES route that Leaf1 can send ES1 disappears
Breath.After Leaf4 receives this notice message, ES1 can be found from the ES information table as shown in table 8-2 corresponding
Tunnel24, Tunnel34, find from the VT contingency table as shown in table 9-1 and be made up of Tunnel24, Tunnel34
The VT4 that tunnel redundancy group is corresponding, then, increases Tunnel14 corresponding to ES1 in the ES information table as shown in table 8-2, obtains
ES information table as shown in table 8-1, find from the VT contingency table as shown in table 9-1 with by Tunnel14, Tunnel24,
The VT1 corresponding to tunnel redundancy group of Tunnel34 composition, afterwards, will comprise ES1's in the mac address table as shown in table 10-2
VT4 in MAC address entries is updated to VT1, the mac address table after renewal as shown in table 10-1, and, by the IP as shown in table 11-2
The VT4 comprised in routing table in the IP list item of ES1 is updated to VT1, and the IP route table after renewal is as shown in table 11-1.
Corresponding with the embodiment of aforementioned message forwarding method, present invention also provides the embodiment of apparatus for forwarding message,
This apparatus for forwarding message can apply in the Leaf equipment in EVPN network.
Refer to shown in Fig. 7, this apparatus for forwarding message includes with lower module: receiver module 701, lookup module 702 and
Encapsulation sending module 703, wherein:
Receiver module 701, for receiving the user's message that VM sends;
Search module 702, for after receiver module 701 receives the user's message that VM sends, report according to this user
The destination address of literary composition, searches the VT of correspondence in forward table, and wherein, forward table includes the corresponding relation of address and VT;Also use
According to the VT found, searching the tunnel redundancy group of correspondence in VT contingency table, wherein, VT contingency table includes VT and tunnel
The corresponding relation of redundancy group, tunnel redundancy group includes at least one VXLAN tunnel;
Encapsulation sending module 703, for after searching module 702 and finding corresponding tunnel redundancy group, to this user
Message carries out VXLAN encapsulation, and VXLAN message encapsulation obtained is forwarded by the VXLAN tunnel in this tunnel redundancy group.
As shown in Figure 8, this apparatus for forwarding message also includes: logging modle 704 and VT entry updating module 705, wherein:
Receiver module 701, is additionally operable to receive advertising of route message;
Logging modle 704, after receive the advertising of route message of a M ES at receiver module 701, believes at ES
Recording the corresponding relation in ES Yu a M VXLAN tunnel in breath table, wherein, VXLAN tunnel is this equipment and send an ES
VXLAN tunnel between the equipment of advertising of route message, M is the positive integer not less than 2;
VT entry updating module 705, for being combined this M VXLAN tunnel according to preset rules, obtains at least two
, for each tunnel redundancy group of composition, if there is not this tunnel redundancy group in VT contingency table, then for being somebody's turn to do in individual tunnel redundancy group
Tunnel redundancy group one VT of distribution, adds the VT list item comprising this VT with this tunnel redundancy group, by this tunnel in VT contingency table
The state in each the VXLAN tunnel in redundancy group is set to effectively.
It addition, as shown in Figure 8, this apparatus for forwarding message also includes: MAC address entries more new module 706 and IP entry updating
Module 707, wherein:
Receiver module 701, is additionally operable to receive and carries the first address, an ES and the address notification road of a VXLAN
By, wherein, the first address includes: the first MAC Address, or, the first MAC Address and an IP address;
Search module 702, be additionally operable to after receiver module 701 receives this address notification route, in ES information table
Search M the VXLAN tunnel corresponding for ES with the oneth, in VT contingency table, search and first be made up of this M VXLAN tunnel
The VT that tunnel redundancy group is corresponding;
MAC address entries more new module 706, for finding and the be made up of this M VXLAN tunnel searching module 702
After the VT that one tunnel redundancy group is corresponding, a mac address table corresponding for VXLAN adds the MAC address entries of correspondence, its
In, this MAC address entries includes: the first MAC Address and a VT;
IP entry updating module 707, for when the first address includes an IP address, finds searching module 702
After a VT corresponding with the first tunnel redundancy group being made up of this M VXLAN tunnel, IP route table adds correspondence
IP list item, wherein, this IP list item includes: an IP address and a VT.
It addition, the MAC address entries added in a mac address table corresponding for VXLAN also includes: an ES, on IP road
Also included by the IP list item added in table: an ES;Then, as shown in Figure 8, this apparatus for forwarding message also includes: additions and deletions mould
Block 708, wherein:
Receiver module 701, is additionally operable to receive route withdraw message;
Search module 702, be additionally operable to after receiver module 701 receives the route withdraw message of an ES, believe at ES
Breath table searches M the VXLAN tunnel corresponding for ES with the oneth, in VT contingency table, lookup be made up of M VXLAN tunnel
The VT that first tunnel redundancy group is corresponding;It is additionally operable to delete this corresponding for an ES equipment in additions and deletions module 708 and send
VXLAN tunnel between the equipment of the route withdraw message of one ES, after obtaining M-1 the VXLAN tunnel corresponding for ES with the oneth,
In VT contingency table, search the 2nd VT that the second tunnel redundancy group being made up of this M-1 VXLAN tunnel is corresponding;
Additions and deletions module 708, for finding and the first tunnel redundancy being made up of M VXLAN tunnel in lookup module 702
After the VT that group is corresponding, in ES information table, delete this corresponding for an ES equipment and the route withdraw sending an ES
VXLAN tunnel between the equipment of message, obtains M-1 the VXLAN tunnel corresponding for ES with the oneth;
VT entry updating module 705, if being additionally operable to search module 702 do not find the 2nd VT, then in VT contingency table
Add and comprise the 2nd VT and the VT list item of the second tunnel redundancy group, by each the VXLAN tunnel in the second tunnel redundancy group
State be set to effectively;
MAC address entries more new module 706, if being additionally operable to search module 702 to have found the 2nd VT, then by mac address table
Comprise the VT in the MAC address entries of an ES, be updated to the 2nd VT;It is additionally operable to the addition of bag in VT entry updating module 705
After VT list item containing the 2nd VT and the second tunnel redundancy group, by the MAC address entries comprising an ES in mac address table
Oneth VT, is updated to the 2nd VT;
IP entry updating module 707, if being additionally operable to search module 702 to have found the 2nd VT, then will wrap in IP route table
The VT in IP list item containing an ES, is updated to the 2nd VT;It is additionally operable to the addition of in VT entry updating module 705 comprise
After the VT list item of two VT and the second tunnel redundancy group, by the VT in the IP list item comprising an ES in IP route table,
It is updated to the 2nd VT.
It addition, search module 702, it is additionally operable to after receiver module 701 receives the advertising of route message of an ES,
ES information table is searched M the VXLAN tunnel corresponding for ES with the oneth, in VT contingency table, searches and by this M VXLAN tunnel
Oneth VT corresponding to the first tunnel redundancy group of composition;Be additionally operable to additions and deletions module 708 increase this corresponding for an ES equipment with
VXLAN tunnel between the equipment of the advertising of route message sending an ES, obtains M+1 the VXLAN corresponding for ES with the oneth
After tunnel, in VT contingency table, search threeth corresponding with the 3rd tunnel redundancy group being made up of this M+1 VXLAN tunnel
VT;
Additions and deletions module 708, is additionally operable to find superfluous with the first tunnel being made up of M VXLAN tunnel in lookup module 702
After the VT that remaining group is corresponding, in ES information table, increase this corresponding for an ES equipment and the route sending an ES
VXLAN tunnel between the equipment of notice message, obtains M+1 the VXLAN tunnel corresponding for ES with the oneth;
VT entry updating module 705, if being additionally operable to search module 702 do not find the 3rd VT, then in VT contingency table
Add and comprise the 3rd VT and the VT list item of the 3rd tunnel redundancy group, by each the VXLAN tunnel in the 3rd tunnel redundancy group
State be set to effectively;
MAC address entries more new module 706, if being additionally operable to search module 702 to have found the 3rd VT, then by mac address table
Comprise the VT in the MAC address entries of an ES, be updated to the 3rd VT;It is additionally operable to associate at VT in VT entry updating module 705
After table adds the VT list item comprising the 3rd VT and the 3rd tunnel redundancy group, mac address table will comprise an ES's
A VT in MAC address entries, is updated to the 3rd VT;
IP entry updating module 707, if being additionally operable to search module 702 to have found the 3rd VT, then will wrap in IP route table
The VT in IP list item containing an ES, is updated to the 3rd VT;It is additionally operable in VT entry updating module 705 in VT contingency table
After adding the VT list item comprising the 3rd VT and the 3rd tunnel redundancy group, IP route table will comprise the IP list item of an ES
In a VT, be updated to the 3rd VT.
Wherein, as shown in Figure 8, this apparatus for forwarding message also includes: detection module 709, wherein:
Detection module 709, for detecting the state in VXLAN tunnel;
Search module 702, be additionally operable to when detection module 709 detects that VXLAN tunnel becomes unavailable, at VT contingency table
Middle lookup comprises the VT list item in this VXLAN tunnel;It is additionally operable to when detection module 702 detects that this VXLAN tunnel restoration is available
Time, VT contingency table is searched the VT list item comprising this VXLAN tunnel;
VT entry updating module 705, is additionally operable to find in lookup module 702 comprise this disabled VXLAN tunnel
After VT list item, it is invalid the state in this VXLAN tunnel in this VT list item to be updated to;It is additionally operable to search in lookup module 702
After the VT list item comprising the available VXLAN tunnel of this recovery, the state in this VXLAN tunnel in this VT list item is updated to
Effectively.
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 application scheme.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.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all essences in the application
Within god and principle, any modification, equivalent substitution and improvement etc. done, should be included within the scope of the application protection.
Claims (12)
1. a message forwarding method, it is characterised in that described method includes:
The user's message that sink virtual machine VM sends;
According to the destination address of described user's message, forward table is searched the virtual channel VT of correspondence, wherein, described forward table
Include the corresponding relation of address and VT;
According to the VT found, searching the tunnel redundancy group of correspondence in VT contingency table, wherein, described VT contingency table includes VT
With the corresponding relation of tunnel redundancy group, described tunnel redundancy group includes at least one expansible Virtual Local Area Network VXLAN tunnel
Road;
Described user's message is carried out VXLAN encapsulation, and VXLAN message encapsulation obtained passes through in the tunnel redundancy group found
VXLAN tunnel forward.
Method the most according to claim 1, it is characterised in that also include:
After receiving the advertising of route message of M the first ether section ES, ES information table records described ES Yu M
The corresponding relation in VXLAN tunnel, wherein, described VXLAN tunnel is this equipment and the advertising of route message sending a described ES
Equipment between VXLAN tunnel, M is the positive integer not less than 2;
According to preset rules, described M VXLAN tunnel is combined, obtains at least two tunnel redundancy group;
For each tunnel redundancy group of composition, if described VT contingency table does not exist this tunnel redundancy group, then it is this tunnel
Redundancy group one VT of distribution, adds the VT list item comprising this VT with this tunnel redundancy group, by this tunnel in described VT contingency table
The state in each the VXLAN tunnel in redundancy group is set to effectively.
Method the most according to claim 2, it is characterised in that record described ES Yu a M VXLAN in ES information table
After the corresponding relation in tunnel, also include:
Receive the address notification route carrying the first address, an a described ES and VXLAN, wherein, described first ground
Location includes: the first MAC Address, or, the first MAC Address and an IP address;
Described M the VXLAN tunnel corresponding with a described ES is searched in described ES information table;
In described VT contingency table, search first corresponding with the first tunnel redundancy group being made up of described M VXLAN tunnel
VT;
Adding the MAC address entries of correspondence in a described mac address table corresponding for VXLAN, wherein, this MAC address entries includes: institute
State the first MAC Address and a described VT;
When described first address includes an IP address, IP route table adds the IP list item of correspondence, wherein, this IP list item
Include: a described IP address and a described VT.
Method the most according to claim 3, it is characterised in that add in a described mac address table corresponding for VXLAN
MAC address entries in also include: a described ES;The IP list item added in described IP route table also includes: a described ES;
Then, described method also includes:
Receive the route withdraw message of a described ES;
Described M the VXLAN tunnel corresponding with a described ES is searched in described ES information table;
In described VT contingency table, search described corresponding with the first tunnel redundancy group being made up of described M VXLAN tunnel
One VT;
In described ES information table, delete described this corresponding for ES equipment and the route withdraw message sending a described ES
Equipment between VXLAN tunnel, obtain and described M-1 corresponding for an ES VXLAN tunnel;
In described VT contingency table, search second corresponding with the second tunnel redundancy group being made up of described M-1 VXLAN tunnel
VT;
If having found described 2nd VT, then by described in the MAC address entries comprising a described ES in described mac address table
One VT, is updated to described 2nd VT, by the described VT in the IP list item comprising a described ES in described IP route table, more
New is described 2nd VT;
If not finding described 2nd VT, then add in described VT contingency table and comprise described 2nd VT and described second
The VT list item of tunnel redundancy group, is set to the state in each the VXLAN tunnel in described second tunnel redundancy group effectively;Will
Described mac address table comprises the described VT in the MAC address entries of a described ES, is updated to described 2nd VT, by described
IP route table comprises the described VT in the IP list item of a described ES, is updated to described 2nd VT.
Method the most according to claim 3, it is characterised in that add in a described mac address table corresponding for VXLAN
MAC address entries in also include: a described ES;The IP list item added in described IP route table also includes: a described ES;
Then, described method also includes:
Receive the advertising of route message of a described ES;
Described M the VXLAN tunnel corresponding with a described ES is searched in described ES information table;
In described VT contingency table, search the institute corresponding with the described first tunnel redundancy group being made up of described M VXLAN tunnel
State a VT;
In described ES information table, increase described this corresponding for ES equipment and the advertising of route message sending an ES
VXLAN tunnel between equipment, obtains and described M+1 corresponding for an ES VXLAN tunnel;
In described VT contingency table, search threeth corresponding with the 3rd tunnel redundancy group being made up of described M+1 VXLAN tunnel
VT;
If having found described 3rd VT, then by described in the MAC address entries comprising a described ES in described mac address table
One VT, is updated to described 3rd VT, by the described VT in the IP list item comprising a described ES in described IP route table, more
New is described 3rd VT;
If not finding described 3rd VT, then add in described VT contingency table and comprise described 3rd VT and the described 3rd
The VT list item of tunnel redundancy group, is set to the state in each the VXLAN tunnel in described 3rd tunnel redundancy group effectively;Will
Described mac address table comprises the described VT in the MAC address entries of a described ES, is updated to described 3rd VT, by described
IP route table comprises the described VT in the IP list item of a described ES, is updated to described 3rd VT.
Method the most according to claim 2, it is characterised in that also include:
When detecting that VXLAN tunnel becomes unavailable, described VT contingency table is searched the VT table comprising this VXLAN tunnel
, it is invalid that the state in this VXLAN tunnel in the VT list item that will find is updated to;
When detecting that this VXLAN tunnel restoration, for time available, searches the VT table comprising this VXLAN tunnel in described VT contingency table
, the state in this VXLAN tunnel in the VT list item that will find is updated to effectively.
7. an apparatus for forwarding message, it is characterised in that described device includes:
Receiver module, the user's message sent for sink virtual machine VM;
Search module, for after described receiver module receives the user's message that VM sends, according to described user's message
Destination address, searches the virtual channel VT of correspondence in forward table, and wherein, described forward table includes that address is corresponding with VT and closes
System;It is additionally operable to, according to the VT found, VT contingency table be searched the tunnel redundancy group of correspondence, wherein, in described VT contingency table
Including the corresponding relation of VT Yu tunnel redundancy group, described tunnel redundancy group includes at least one expansible Virtual Local Area Network
VXLAN tunnel;
Encapsulation sending module, for after described lookup module searches to corresponding tunnel redundancy group, to described user's message
Carrying out VXLAN encapsulation, VXLAN message encapsulation obtained is forwarded by the VXLAN tunnel in this tunnel redundancy group.
Device the most according to claim 7, it is characterised in that also include: logging modle and VT entry updating module, its
In:
Described receiver module, is additionally operable to receive advertising of route message;
Described logging modle, after receive the advertising of route message of M the first ether section ES at described receiver module,
ES information table records the corresponding relation in described ES Yu a M VXLAN tunnel, wherein, described VXLAN tunnel be this equipment with
VXLAN tunnel between the equipment of the advertising of route message sending a described ES, M is the positive integer not less than 2;
Described VT entry updating module, for being combined described M VXLAN tunnel according to preset rules, obtains at least two
Individual tunnel redundancy group, for each tunnel redundancy group of composition, if there is not this tunnel redundancy group in described VT contingency table, then
For this tunnel redundancy group one VT of distribution, described VT contingency table adds the VT list item comprising this VT with this tunnel redundancy group,
The state in each the VXLAN tunnel in this tunnel redundancy group is set to effectively.
Device the most according to claim 8, it is characterised in that also include: MAC address entries more new module and IP entry updating mould
Block, wherein:
Described receiver module, is additionally operable to receive and carries the first address, a described ES and the address notification of a VXLAN
Route, wherein, described first address includes: the first MAC Address, or, the first MAC Address and an IP address;
Described lookup module, is additionally operable to after described receiver module receives described address notification route, in described ES information
Table is searched described M the VXLAN tunnel corresponding with a described ES, in described VT contingency table, searches individual with by described M
Oneth VT corresponding to the first tunnel redundancy group of VXLAN tunnel composition;
Described MAC address entries more new module, for described lookup module searches to the be made up of described M VXLAN tunnel
After the VT that one tunnel redundancy group is corresponding, a described mac address table corresponding for VXLAN adds the MAC table of correspondence
, wherein, this MAC address entries includes: described first MAC Address and a described VT;
Described IP entry updating module, for when described first address includes an IP address, in described lookup module searches
After a VT corresponding with the first tunnel redundancy group being made up of described M VXLAN tunnel, it is right to add in IP route table
The IP list item answered, wherein, this IP list item includes: a described IP address and a described VT.
Device the most according to claim 9, it is characterised in that add in a described mac address table corresponding for VXLAN
The MAC address entries added also includes: a described ES, the IP list item added also includes: described first in described IP route table
ES;Then, described device also includes: additions and deletions module, wherein:
Described receiver module, is additionally operable to receive route withdraw message;
Described lookup module, is additionally operable to after described receiver module receives the route withdraw message of a described ES, in institute
State described M the VXLAN tunnel that in ES information table, lookup is corresponding with a described ES, in described VT contingency table, search with by
The described VT that first tunnel redundancy group of described M VXLAN tunnel composition is corresponding;It is additionally operable to delete in described additions and deletions module
VXLAN tunnel between described this corresponding for ES equipment and the equipment of the route withdraw message that sends a described ES,
To with after described M-1 corresponding for an ES VXLAN tunnel, in described VT contingency table, search by described M-1 VXLAN
2nd VT corresponding to the second tunnel redundancy group of tunnel composition;
Described additions and deletions module, is used in described lookup module searches to superfluous with the first tunnel being made up of described M VXLAN tunnel
After the described VT that remaining group is corresponding, in described ES information table, delete described this corresponding for ES equipment and send institute
VXLAN tunnel between the equipment of the route withdraw message stating an ES, obtains and described M-1 corresponding for an ES VXLAN
Tunnel;
Described VT entry updating module, if being additionally operable to described lookup module do not find described 2nd VT, then closes at described VT
Connection table adds and comprises described 2nd VT and the VT list item of described second tunnel redundancy group, by described second tunnel redundancy group
In the state in each VXLAN tunnel be set to effectively;
Described MAC address entries more new module, if being additionally operable to described lookup module searches to have arrived described 2nd VT, then by described MAC ground
Location table comprises the described VT in the MAC address entries of a described ES, is updated to described 2nd VT;It is additionally operable at described VT table
After item more new module with the addition of the VT list item comprising described 2nd VT and described second tunnel redundancy group, by described MAC ground
Location table comprises the described VT in the MAC address entries of a described ES, is updated to described 2nd VT;
Described IP entry updating module, if being additionally operable to described lookup module searches to have arrived described 2nd VT, then route described IP
Table comprises the described VT in the IP list item of a described ES, is updated to described 2nd VT;It is additionally operable at described VT list item
After more new module with the addition of the VT list item comprising described 2nd VT and described second tunnel redundancy group, described IP is route
Table comprises the described VT in the IP list item of a described ES, is updated to described 2nd VT.
11. devices according to claim 9, it is characterised in that add in a described mac address table corresponding for VXLAN
The MAC address entries added also includes: a described ES;The IP list item added in described IP route table also includes: described first
ES;Then, described device also includes: additions and deletions module, wherein:
Described lookup module, is additionally operable to after described receiver module receives the advertising of route message of a described ES, in institute
State described M the VXLAN tunnel that in ES information table, lookup is corresponding with a described ES, in described VT contingency table, search with by
The described VT that the described first tunnel redundancy group of described M VXLAN tunnel composition is corresponding;It is additionally operable in described additions and deletions module
Increase the VXLAN tunnel between described this corresponding for ES equipment and the equipment of the advertising of route message that sends an ES,
Obtain, with after described M+1 corresponding for an ES VXLAN tunnel, in described VT contingency table, searching individual with by described M+1
3rd VT corresponding to the 3rd tunnel redundancy group of VXLAN tunnel composition;
Described additions and deletions module, be additionally operable to described lookup module searches to described first be made up of described M VXLAN tunnel
After the described VT that tunnel redundancy group is corresponding, in described ES information table, increase described this corresponding for ES equipment with
VXLAN tunnel between the equipment of the advertising of route message sending an ES, obtains and a described M+1 corresponding for ES
VXLAN tunnel;
Described VT entry updating module, if being additionally operable to described lookup module do not find described 3rd VT, then closes at described VT
Connection table adds and comprises described 3rd VT and the VT list item of described 3rd tunnel redundancy group, by described 3rd tunnel redundancy group
In the state in each VXLAN tunnel be set to effectively;
Described MAC address entries more new module, if being additionally operable to described lookup module searches to have arrived described 3rd VT, then by described MAC ground
Location table comprises the described VT in the MAC address entries of a described ES, is updated to described 3rd VT;It is additionally operable at described VT table
More new module add in described VT contingency table comprise described 3rd VT and described 3rd tunnel redundancy group VT list item it
After, by the described VT in the MAC address entries comprising a described ES in described mac address table, it is updated to described 3rd VT;
Described IP entry updating module, if being additionally operable to described lookup module searches to have arrived described 3rd VT, then route described IP
Table comprises the described VT in the IP list item of a described ES, is updated to described 3rd VT;It is additionally operable at described VT list item
More new module add in described VT contingency table comprise described 3rd VT and described 3rd tunnel redundancy group VT list item it
After, by the described VT in the IP list item comprising a described ES in described IP route table, it is updated to described 3rd VT.
12. devices according to claim 8, it is characterised in that also include: detection module, wherein:
Described detection module, for detecting the state in VXLAN tunnel;
Described lookup module, is additionally operable to, when described detection module detects that VXLAN tunnel becomes unavailable, associate at described VT
Table is searched the VT list item comprising this VXLAN tunnel;It is additionally operable to when described detection module detects that this VXLAN tunnel restoration is for can
Used time, described VT contingency table is searched the VT list item comprising this VXLAN tunnel;
Described VT entry updating module, is additionally operable in described lookup module searches to the VT comprising this disabled VXLAN tunnel
After list item, it is invalid the state in this VXLAN tunnel in this VT list item to be updated to;It is additionally operable to arrive in described lookup module searches
After comprising the VT list item in the available VXLAN tunnel of this recovery, the state in this VXLAN tunnel in this VT list item is updated to
Effect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610585443.0A CN106230727B (en) | 2016-07-20 | 2016-07-20 | Message forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610585443.0A CN106230727B (en) | 2016-07-20 | 2016-07-20 | Message forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106230727A true CN106230727A (en) | 2016-12-14 |
CN106230727B CN106230727B (en) | 2019-09-17 |
Family
ID=57531400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610585443.0A Active CN106230727B (en) | 2016-07-20 | 2016-07-20 | Message forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106230727B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878072A (en) * | 2017-02-10 | 2017-06-20 | 新华三技术有限公司 | A kind of message transmitting method and device |
CN109510751A (en) * | 2018-12-19 | 2019-03-22 | 迈普通信技术股份有限公司 | A kind of message forwarding method and routing device |
CN113852917A (en) * | 2021-05-31 | 2021-12-28 | 山东浪潮科学研究院有限公司 | Multicast-based downlink data packet addressing method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103503413A (en) * | 2012-12-28 | 2014-01-08 | 华为技术有限公司 | Method and device for transmitting network information |
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
CN105577417A (en) * | 2014-11-06 | 2016-05-11 | 杭州华三通信技术有限公司 | VXLAN (virtual extensible local area network)-based massage forwarding method and device |
US9397931B1 (en) * | 2013-08-16 | 2016-07-19 | Juniper Networks, Inc. | Fast convergence in singly-homed ethernet virtual private networks |
-
2016
- 2016-07-20 CN CN201610585443.0A patent/CN106230727B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103503413A (en) * | 2012-12-28 | 2014-01-08 | 华为技术有限公司 | Method and device for transmitting network information |
US9397931B1 (en) * | 2013-08-16 | 2016-07-19 | Juniper Networks, Inc. | Fast convergence in singly-homed ethernet virtual private networks |
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
CN105577417A (en) * | 2014-11-06 | 2016-05-11 | 杭州华三通信技术有限公司 | VXLAN (virtual extensible local area network)-based massage forwarding method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106878072A (en) * | 2017-02-10 | 2017-06-20 | 新华三技术有限公司 | A kind of message transmitting method and device |
CN109510751A (en) * | 2018-12-19 | 2019-03-22 | 迈普通信技术股份有限公司 | A kind of message forwarding method and routing device |
CN113852917A (en) * | 2021-05-31 | 2021-12-28 | 山东浪潮科学研究院有限公司 | Multicast-based downlink data packet addressing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106230727B (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6902649B2 (en) | Methods and devices for realizing and managing virtual switches | |
US11411770B2 (en) | Virtual port channel bounce in overlay network | |
US10333836B2 (en) | Convergence for EVPN multi-homed networks | |
CN104243318B (en) | MAC address learning method and device in VXLAN networks | |
CN106878048B (en) | Fault processing method and device | |
CN113169929B (en) | Logical router including a disaggregated network element | |
US20170163530A1 (en) | Signaling aliasing capability in data centers | |
US7580417B2 (en) | Method and apparatus for load balancing over virtual network links | |
JP5991424B2 (en) | Packet rewriting device, control device, communication system, packet transmission method and program | |
US9007903B2 (en) | Managing a network by controlling edge and non-edge switching elements | |
CN105471740A (en) | Gateway migration processing method and gateway migration processing device based on software defined network | |
US20130121137A1 (en) | Method and apparatus for sve redundancy | |
CN105656796B (en) | The method and apparatus for realizing three layers of virtual extended local area network forwarding | |
CN111092801B (en) | Data transmission method and device | |
RU2612599C1 (en) | Control device, communication system, method for controlling switches and program | |
CN106878047A (en) | Fault handling method and device | |
CN103259727A (en) | Packet forwarding method and device | |
CN101667970A (en) | Protection switching method and equipment thereof | |
CN110417569A (en) | A kind of network link failure processing method and endpoint of a tunnel equipment | |
CN108418740A (en) | Message processing method and device | |
CN106230727B (en) | Message forwarding method and device | |
CN106059946A (en) | Message forwarding method and message forwarding device | |
CN101299723B (en) | Method and apparatus for managing label switching route tunnel information | |
EP3018866A1 (en) | Signaling aliasing capability in data centers | |
CN108322376B (en) | Route synchronization method, device and machine-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |