CN108718278A - A kind of message transmitting method and device - Google Patents
A kind of message transmitting method and device Download PDFInfo
- Publication number
- CN108718278A CN108718278A CN201810329141.6A CN201810329141A CN108718278A CN 108718278 A CN108718278 A CN 108718278A CN 201810329141 A CN201810329141 A CN 201810329141A CN 108718278 A CN108718278 A CN 108718278A
- Authority
- CN
- China
- Prior art keywords
- address
- group
- routing
- tunnel
- equipment
- 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
- H04L45/745—Address table lookup; Address filtering
-
- 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/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Abstract
A kind of message transmitting method of the application offer and device, this method include:Forwarding table is inquired by the destination address of the data message received, obtains corresponding outgoing interface;If the outgoing interface is the first tunnel, by the destination address table of query and routing in first tunnel, corresponding at least two routing is obtained;Wherein, the source address in first tunnel is the group address of the first equipment group, and the destination address in first tunnel is the group address of the second equipment group;Selection one is route from least two routing, and the data message is sent to corresponding 2nd ED of routing of selection, so that the data message is sent to destination host by the 2nd ED.By the technical solution of the application, the load balancing of flow can be realized at least two ED, realizes flow equalization, mitigates the processing pressure of each ED, improves the reliability of ED processing.
Description
Technical field
This application involves fields of communication technology, more particularly, to a kind of message transmitting method and device.
Background technology
EVPN (Ethernet Virtual Private Network, Ethernet Virtual Private Network) is two layers a kind of
VPN (Virtual Private Network, Virtual Private Network) technology, control plane use MP-BGP (Multi
Protocol-Border Gateway Protocol, Multiprotocol Border Gateway Protocol) notice routing iinformation, data plane use
VXLAN (Virtual eXtensible Local Area Network, expansible Virtual Local Area Network) packaged type forwarding report
Text.Wherein, VXLAN is a kind of IP based network, using " MAC (Media Access Control, media access control) in
The two-layer VPN technology of UDP (User Datagram Protocol, User Datagram Protocol) " packing forms, VXLAN can be with base
In existing service provider or enterprise IP network, two layers of interconnection are provided for the website of dispersion, and can be different tenants
The isolation of offer business.
It may include multiple data centers in EVPN networks, and ED (Edge can be passed through between different data centers
Device, the i.e. edge device of data center) it is interconnected.For example, the ED1 of data center 1 is connect with the ED2 of data center 2,
In this way, all messages of data center 1, are required to be sent to ED2 by ED1, each equipment of data center 2 is sent to by ED2,
Similarly, all messages of data center 2, are required to be sent to ED1 by ED2, and each equipment of data center 1 is sent to by ED1.
In the above method, all messages of data center are required to the ED processing by the data center, the processing pressure of ED
Power is larger, once ED breaks down, then can directly result in can not interconnect between data center.
Invention content
The application provides a kind of message transmitting method, includes at least two first in the first equipment group of the first data center
Edge device ED, the method are applied to arbitrary first ED, the method includes:
Forwarding table is inquired by the destination address of the data message received, obtains corresponding outgoing interface;
If the outgoing interface is the first tunnel, by the destination address table of query and routing in first tunnel, corresponded to
At least two routings;Wherein, include extremely in the second equipment group of the second data center being connect with first data center
Few two the 2nd ED, the source address in first tunnel is the group address of first equipment group, the purpose in first tunnel
Address is the group address of second equipment group;
Selection one is route from least two routing, and the data message is sent to the routing correspondence of selection
The 2nd ED so that the data message is sent to destination host by the 2nd ED;Wherein, at least two routing
The 2nd ED in each corresponding second equipment group of routing.
The application provides a kind of message transmitting device, includes at least two first in the first equipment group of the first data center
Edge device ED, described device are applied to arbitrary first ED, and described device includes:
Module is obtained, the destination address for the data message by receiving inquires forwarding table, obtains corresponding going out to connect
Mouthful;If the outgoing interface is the first tunnel, by the destination address table of query and routing in first tunnel, obtain it is corresponding at least
Two routings;Wherein, include at least two in the second equipment group of the second data center being connect with first data center
2nd ED, the source address in first tunnel are the group address of first equipment group, and the destination address in first tunnel is
The group address of second equipment group;
Selecting module, for one routing of selection from least two routing;
Sending module, corresponding 2nd ED of routing for the data message to be sent to the selecting module selection,
So that the data message is sent to destination host by the 2nd ED;Wherein, each routing at least two routing
The 2nd ED in corresponding second equipment group.
Based on the above-mentioned technical proposal, in the embodiment of the present application, by including setting at least two ED in data center configuration
Standby group, and at least two ED use identical group of IP address, in this way, the destination address inquiry by the data message received turns
When delivering, obtained outgoing interface is the first tunnel, and the destination address in the first tunnel corresponds at least two routings, therefore, can be with
One routing of selection realizes flow equalization to realize the load balancing of flow at least two ED from least two routings,
Mitigate the processing pressure of each ED.When an ED breaks down, service can also be provided by other ED, what raising ED was handled can
By property.
Description of the drawings
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below
Attached drawing is only some embodiments described in the application, for those of ordinary skill in the art, can also be according to this Shen
Please these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2 is the flow chart of the message transmitting method in a kind of embodiment of the application;
Fig. 3 is the structure chart of the message transmitting device in a kind of embodiment of the application;
Fig. 4 is the hardware structure diagram of the edge device in a kind of embodiment of the application.
Specific implementation mode
In term used in this application merely for the sake of the purpose of description specific embodiment, and unrestricted the application.Moreover,
The "an" of singulative used in the application and claims, " described " and "the" are also intended to including most forms,
Unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refer to comprising one or
Multiple associated list items purposes any or all may combine.
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, not departing from
In the case of the application range, 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 context, in addition, used word " if " can be construed to " ... when ", alternatively,
" when ... ", alternatively, " in response to determination ".
The embodiment of the present application proposes a kind of message transmitting method, can be applied to EVPN networks, every number of EVPN networks
May include equipment group according to center, and the equipment group may include at least two ED, can pass through between different data centers
ED is interconnected.It is shown in Figure 1, it is the application scenarios schematic diagram of the embodiment of the present application, in the equipment group 110 of data center 11
It is interior, may include ED111 and ED112 may include ED121 and ED122 in the equipment group 120 of data center 12.Certainly,
It is to be illustrated by taking two ED as an example in Fig. 1, in practical applications, the quantity of ED can also be more, without limitation.
Shown in Figure 1, ED111 is connect with each ED in equipment group 120, and establishes bgp neighbor.For example, ED111 with
ED121 connections, establish bgp neighbor between ED111 and ED121;ED111 is connect with ED122, is built between ED111 and ED122
Vertical bgp neighbor;Similarly, ED112 is connect with each ED in equipment group 120, and establishes bgp neighbor.For example, ED112 and ED121
Connection, establishes bgp neighbor between ED112 and ED121;ED112 is connect with ED122, and BGP is established between ED112 and ED122
Neighbours.Wherein, the IP address of ED111 is 2.2.2.10, and the IP address of ED112 is 2.2.2.11, and the IP address of ED121 is
3.3.3.10 the IP address of ED122 is 3.3.3.11.
Data center 11 can also include VTEP113 (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) and
Host 114 (such as virtual machine).VTEP113 is connect with host 114;VTEP113 is connect with ED111, in VTEP113 and ED111
Between establish bgp neighbor;VTEP113 is connect with ED112, and bgp neighbor is established between VTEP113 and ED112.Wherein,
The IP address of VTEP113 is 1.1.1.1, and the IP address of host 114 is 11.1.1.2, and the MAC Address of host 114 is A-A-A.
Can also include VTEP123 and host 124 in data center 12.VTEP123 is connect with host 124;VTEP123 with
ED121 connections, establish bgp neighbor between VTEP123 and ED121;VTEP123 is connect with ED122, in VTEP123 and ED122
Between establish bgp neighbor.Wherein, the IP address of VTEP123 is 4.4.4.4, and the IP address of host 124 is 10.1.1.2, MAC
Location is B-B-B.
Can also be that equipment group 110 configures a group IP address, such as 2.2.2.2, as ED111 in the embodiment of the present application
With ED112 configure identical group of IP address 2.2.2.2, and for equipment group 120 configure a group IP address, such as 3.3.3.3, as
ED121 and ED122 configures identical group of IP address 3.3.3.3.
The tunnels VXLAN A1 can be established on VTEP113, the source IP address of the tunnels VXLAN A1 is the IP of VTEP113
Location 1.1.1.1, purpose IP address are the group IP address 2.2.2.2 of equipment group 110.Wherein, the tunnels VXLAN A1 is VTEP113
The tunnels VXLAN between the tunnels VXLAN and VTEP113 and ED112 between ED111.That is, VTEP113 can be with
Message is sent to ED111 by the tunnels VXLAN A1, also message can be sent to ED112 by the tunnels VXLAN A1.
VXLAN corresponding with the tunnels VXLAN A1 tunnel A2, the source IP address of the tunnels VXLAN A2 can also be established in ED111
For the group IP address 2.2.2.2 of equipment group 110, purpose IP address, which is the IP address 1.1.1.1, ED111 of VTEP113, to be passed through
Message is sent to VTEP113 by the tunnels VXLAN A2.VXLAN corresponding with the tunnels VXLAN A1 tunnel A2 can be established in ED112,
The source IP address of the tunnels VXLAN A2 is the group IP address 2.2.2.2 of equipment group 110, and purpose IP address is the IP address of VTEP113
1.1.1.1, message can be sent to VTEP113 by ED112 by the tunnels VXLAN A2.
Wherein, the IP address 1.1.1.1 based on VTEP113 and group IP address 2.2.2.2, can establish on VTEP113
The tunnels VXLAN A1 such as may be used static mode and establish the tunnels VXLAN A1, can also establish the tunnels VXLAN using dynamical fashion
A1 establishes mode to this tunnel VXLAN A1 and is not limited.For example, user is in VTEP113 manual configuration VXLAN tunnel A1, or
Person is established automatically based on ENDP (Enhanced Neighbor Discovery Protocol, the Neighbor Discovery Protocol of enhancing)
The tunnels VXLAN A1.
Similarly, the IP address 1.1.1.1 based on VTEP113 and group IP address 2.2.2.2, can build in ED111 and ED112
VXLAN corresponding with the tunnels VXLAN A1 tunnel A2 are found, static mode such as may be used and establish the tunnels VXLAN A2, can also use
Dynamical fashion establishes the tunnels VXLAN A2.
The tunnels VXLAN B1 can be established on ED111, the source IP address of the tunnels VXLAN B1 is group IP address
2.2.2.2, purpose IP address is the group IP address 3.3.3.3 of equipment group 120.The tunnels VXLAN B1 is between ED111 and ED121
The tunnels VXLAN and ED111 and ED122 between the tunnels VXLAN.That is, ED111 can pass through the tunnels VXLAN B1
Message is sent to ED121, message can also be sent to ED122 by the tunnels VXLAN B1.VXLAN tunnels are established on ED112
Road B1, VXLAN tunnel B1 are the VXLAN tunnels between the tunnels VXLAN and ED112 and ED122 between ED112 and ED121
Road.That is, message can be sent to ED121 by ED112 by the tunnels VXLAN B1, can also be incited somebody to action by the tunnels VXLAN B1
Message is sent to ED122.
Further, it is also possible to establish VXLAN corresponding with the tunnels VXLAN B1 tunnel B2, the tunnels VXLAN B2 on ED121
Source IP address be a group IP address 3.3.3.3, purpose IP address is a group IP address 2.2.2.2.The tunnels VXLAN B2 be ED121 with
The tunnels VXLAN between the tunnels VXLAN and ED121 and ED112 between ED111.That is, ED121 can pass through
Message is sent to ED111 by the tunnels VXLAN B2, message can also be sent to ED112 by the tunnels VXLAN B2.
Further, VXLAN corresponding with the tunnels VXLAN B1 tunnel B2, the tunnels VXLAN can also be established on ED122
B2 is the tunnels VXLAN between the tunnels VXLAN and ED122 and ED112 between ED122 and ED111.That is,
Message can be sent to ED111 by ED122 by the tunnels VXLAN B2, can also be sent to message by the tunnels VXLAN B2
ED112。
Wherein, it is based on group IP address 3.3.3.3 and group IP address 2.2.2.2, can be established on ED111 and ED112
The tunnels VXLAN B1 such as may be used static mode and establish the tunnels VXLAN B1, can also establish the tunnels VXLAN using dynamical fashion
B1 establishes mode to this tunnel VXLAN B1 and is not limited.For example, user is in the tunnels ED111 and ED112 manual configuration VXLAN
B1, alternatively, establishing the tunnels VXLAN B1 automatically based on ENDP.Similarly, group IP address 3.3.3.3 and group IP address are based on
2.2.2.2, the tunnels VXLAN B2 can be established on ED121 and ED122, and static mode such as may be used and establish the tunnels VXLAN
B2 can also establish the tunnels VXLAN B2 using dynamical fashion, without limitation.
In above process, the tunnel B1 and VXLAN B2 in the tunnels VXLAN can be DCI (Data Center
Interconnection is interconnected between data center) tunnels VXLAN (being properly termed as the tunnels VXLAN-DCI) of type, certainly,
The tunnels VXLAN that can be other types, it is without limitation.
The tunnels VXLAN C1 can be established on VTEP123, the source IP address of the tunnels VXLAN C1 is the IP of VTEP123
Location 4.4.4.4, purpose IP address are group IP address 3.3.3.3;The tunnels VXLAN C1 is between VTEP123 and ED121
The tunnels VXLAN between the tunnels VXLAN and VTEP123 and ED122.That is, VTEP123 can pass through the tunnels VXLAN
Message is sent to ED121 by C1, also message can be sent to ED122 by the tunnels VXLAN C1.Further, it is also possible on ED121
Establish VXLAN corresponding with the tunnels VXLAN C1 tunnel C2, the source IP address of the tunnels VXLAN C2 is 3.3.3.3, destination IP
Location is 4.4.4.4.Message can be sent to VTEP123 by ED121 by the tunnels VXLAN C2.Can ED122 establish with
Message can be sent to VTEP123 by the tunnels VXLAN the C1 corresponding tunnels VXLAN C2, ED122 by the tunnels VXLAN C2.
Wherein, for the foundation of the tunnels the VXLAN tunnel C1, VXLAN C2, static mode may be used and establish the tunnels VXLAN,
The tunnels VXLAN can also be established using dynamical fashion, it is without limitation.
Since VTEP113 and ED111 establish bgp neighbor, ED111 can be issued to VTEP113 for group IP address
2.2.2.2 the next hop address of BGP routings, BGP routings is the IP address 2.2.2.10 of ED111, and VTEP113 is by connecing
After mouth 1131 receives BGP routings, BGP routings can be learnt in the routing table, ginseng is shown in Table 1.Similarly, VTEP113
The BGP routings of ED112 publications can be acquired in the routing table, and ginseng is shown in Table 1.As it can be seen from table 1 group IP address
2.2.2.2 two BGP routings are corresponded to, the two BGP route to form a group equivalent route of IP address 2.2.2.2.
Table 1
Purpose IP address | Next hop address | Outgoing interface |
2.2.2.2 | 2.2.2.10 | 1131 |
2.2.2.2 | 2.2.2.11 | 1132 |
In above process, it is to be route to VTEP113 publications BGP with ED111, ED112 is route to VTEP113 publications BGP
For, can also include Router Reflector (RR), not depending on going out Router Reflector in Fig. 1, in this way, ED111 in practical applications
BGP can be route and be sent to Router Reflector, BGP routings are sent to VTEP113 by Router Reflector so that VTEP113
Learn BGP routings in the routing table.Similarly, BGP can route and be sent to Router Reflector by ED112, by Router Reflector
BGP routings are sent to VTEP113 so that VTEP113 learns BGP routings in the routing table.
Since ED111 and ED121 establish bgp neighbor, ED121 can be issued to ED111 for group IP address
3.3.3.3 BGP routings, the IP address 3.3.3.10, ED111 that the next hop address of BGP routings is ED121 are passing through interface
After 1111 receive BGP routings, it can learn to the BGP to route in the routing table, ginseng is shown in Table 2.Similarly, ED111 is also
It can learn the BGP routings issued to ED122 in the routing table, ginseng is shown in Table 2.From table 2 it can be seen that group IP address
3.3.3.3 two BGP routings are corresponded to, the two BGP routings can form a group equivalent route of IP address 3.3.3.3.
Table 2
Purpose IP address | Next hop address | Outgoing interface |
3.3.3.3 | 3.3.3.10 | 1111 |
3.3.3.3 | 3.3.3.11 | 1112 |
Similarly, the routing table of ED112 may refer to shown in table 3, and the routing table of ED121 may refer to shown in table 4, ED122
Routing table may refer to shown in table 5, the routing table of VTEP123 may refer to shown in table 6.Certainly, above-mentioned each routing table is
One example is not limited the content of this routing table.
Table 3
Purpose IP address | Next hop address | Outgoing interface |
3.3.3.3 | 3.3.3.10 | 1121 |
3.3.3.3 | 3.3.3.11 | 1122 |
Table 4
Purpose IP address | Next hop address | Outgoing interface |
2.2.2.2 | 2.2.2.10 | 1211 |
2.2.2.2 | 2.2.2.11 | 1212 |
Table 5
Purpose IP address | Next hop address | Outgoing interface |
2.2.2.2 | 2.2.2.10 | 1221 |
2.2.2.2 | 2.2.2.11 | 1222 |
Table 6
Purpose IP address | Next hop address | Outgoing interface |
3.3.3.3 | 3.3.3.10 | 1231 |
3.3.3.3 | 3.3.3.11 | 1232 |
In above process, be with ED121 to ED111 either ED112 issue BGP routings and ED122 to ED111 or
For ED112 issues BGP routings, in practical applications, BGP can route and be sent to route reflection by ED121 or ED122
BGP routings are sent to ED111 or ED112 so that ED111 or ED112 learn in the routing table by device by Router Reflector
The BGP is route.BGP can route and be sent to Router Reflector by ED111 or ED112, route BGP by Router Reflector and send out
Give ED121 or ED122 so that ED121 or ED122 learns BGP routings in the routing table.
Under above application scene, the embodiment of the present application can also relate to forwarding-table item (for example, MAC address entries, ARP entry,
It is route table items etc., without limitation) learning process and message transmission procedure, below in conjunction with above application scene, to forwarding table
Item learning process and message transmission procedure are described in detail.
To be illustrated for learning the forwarding-table item of host 124, then:Host 124 can be sent free after reaching the standard grade
ARP (Address Resolution Protocol, address resolution protocol) message, the gratuitous ARP message carry host 124
IP address 10.1.1.2 and MAC Address B-B-B;After VTEP123 receives gratuitous ARP message by interface 1233, locally turning
Middle addition forwarding-table item is delivered, ginseng is shown in Table 7.
Table 7
IP address | MAC Address | Outgoing interface |
10.1.1.2 | B-B-B | 1233 |
VTEP123 can send synchronization message (such as BGP synchronization messages) to ED121, which can carry host
124 IP address 10.1.1.2, next hop address are the IP address 4.4.4.4 of VTEP123;In practical applications, synchronization message
The MAC Address B-B-B that host 124 can also be carried, can not also carry MAC Address B-B-B, subsequently not carry MAC Address
It is illustrated for B-B-B.ED121 can add forwarding-table item after receiving synchronization message in local forwarding table, referring to
Shown in table 8;In table 8, since next hop address 4.4.4.4 is the purpose IP address of the tunnels VXLAN C2, outgoing interface is
The tunnels VXLAN C2.Similar, VTEP123 can also send synchronization message to ED122, ED122 after receiving synchronization message,
Also forwarding-table item is added in local forwarding table, ginseng is shown in Table 8.
Table 8
IP address | Outgoing interface |
10.1.1.2 | The tunnels VXLAN C2 |
ED121 can send synchronization message to ED111, which can carry the IP address of host 124
10.1.1.2 and next hop address, next hop address is a group IP address 3.3.3.3, rather than the IP address 3.3.3.10 of ED121;
ED122 can also send synchronization message to ED111, and the next hop address which carries is also a group IP address 3.3.3.3,
Rather than the IP address 3.3.3.11 of ED122;ED111 can add after receiving any synchronization message in local forwarding table
Forwarding-table item, ginseng is added to be shown in Table 9;In table 9, since next hop address 3.3.3.3 is the destination IP of the tunnels VXLAN B1
Location, therefore, outgoing interface are the tunnels VXLAN B1.Similar, ED121 and ED122 can also send synchronization message to ED112,
After ED112 receives any synchronization message, forwarding-table item is added in local forwarding table, ginseng is shown in Table 9.
Table 9
IP address | Outgoing interface |
10.1.1.2 | The tunnels VXLAN B1 |
ED111 can send synchronization message to VTEP113, which can carry the IP address of host 124
10.1.1.2 and next hop address, and next hop address is a group IP address 2.2.2.2, rather than the IP address of ED111
2.2.2.10;ED112 also to VTEP113 send synchronization message, the synchronization message carry host 124 IP address 10.1.1.2 and
Next hop address, and next hop address is also a group IP address 2.2.2.2, rather than the IP address 2.2.2.11 of ED112;
VTEP113 can add forwarding-table item after receiving any synchronization message in local forwarding table, and ginseng is shown in Table 10;?
In table 10, since next hop address 2.2.2.2 is the purpose IP address of the tunnels VXLAN A1, outgoing interface is the tunnels VXLAN
A1。
Table 10
IP address | Outgoing interface |
10.1.1.2 | The tunnels VXLAN A1 |
So far, the learning process of the forwarding-table item of host 124 can be completed, it is then possible to realize report based on forwarding-table item
Literary transmission process.Specifically, in message transmission procedure, based on forwarding-table item shown in table 7- tables 10, then host 114 is to host
124 send the process of message (such as data message), may include:
Host 114 sends datagram 1 to host 124, and the purpose IP address of the data message 1 is the IP of host 124
Location 10.1.1.2.VTEP113 is after receiving data message 1, by locally turning shown in IP address 10.1.1.2 inquiry tables 10
It delivers, it is the tunnels VXLAN A1 to obtain outgoing interface.Then, VTEP113 can carry out VXLAN encapsulation to data message 1, to this
VXLAN encapsulation process is not limited, and obtains the data message 2 after VXLAN encapsulation, and send datagram by the tunnels VXLAN A1
Text 2.
By the tunnels VXLAN A1 send datagram 2 when, since the purpose IP address of the tunnels VXLAN A1 is
2.2.2.2, therefore, VTEP113 can also be obtained being directed to IP address by routing table shown in IP address 2.2.2.2 inquiry tables 1
2.2.2.2 two routings, the two routings are equivalent routes.
Therefore, VTEP113 can also pass through if selection first is route in one routing of selection from the two routings
Interface 1131 sends datagram 2, i.e., data message 2 is sent to ED111;If second routing of selection, passes through interface
1132 send datagram 2, i.e., data message 2 are sent to ED112.
Wherein, load-balancing algorithm may be used (such as in one routing of selection from the two routings in VTEP113
It is hash algorithm, polling algorithm etc., without limitation) one routing of selection, so as to by flow load sharing to ED111 with
ED112 realizes the equilibrium of flow that is, on ED111 and ED112.
Wherein, if the link between VTEP113 and ED111 breaks down or ED111 breaks down, VTEP113 can
To perceive this failure, and VTEP113 is in one routing of selection from two routings, is second routing of selection, without
First of failure can be selected to route, to avoid that data message 2 is sent to the link or ED111 of failure, avoid data
The loss of message 2 improves the reliability of transmission.
Assuming that ED111 receives data message 2, then ED111 carries out VXLAN decapsulations to data message 2, obtains datagram
Text 1, is not limited this VXLAN decapsulation process.Then, ED111 can pass through the purpose IP address of data message 1
10.1.1.2 local forwarding table shown in inquiry table 9, it is the tunnels VXLAN B1 to obtain outgoing interface.Then, ED111 can be to data
Message 1 carries out VXLAN encapsulation, obtains the data message 3 after VXLAN encapsulation, and send datagram 3 by the tunnels VXLAN B1.
By the tunnels VXLAN B1 send datagram 3 when, since the purpose IP address of the tunnels VXLAN B1 is
3.3.3.3, therefore, ED111 can also be by routing table shown in IP address 3.3.3.3 inquiry tables 2, to obtain for IP
Two routings of location 3.3.3.3, and the two routings are equivalent routes.
Therefore, ED111 can also be route in selection one from the two routings, if first routing of selection, by connecing
Mouthfuls 1111 send datagram 3, i.e., data message 3 are sent to ED121;If second routing of selection, passes through interface 1112
It sends datagram 3, i.e., data message 3 is sent to ED122.
Wherein, load-balancing algorithm (such as hash may be used in one routing of selection from the two routings in ED111
It is algorithm, polling algorithm etc., without limitation) one routing of selection, so as to by flow load sharing to ED121 with
ED122 realizes the equilibrium of flow that is, on ED121 and ED122.
Wherein, if the link between ED111 and ED121 breaks down or ED121 breaks down, ED111 can feel
Know this failure, and ED111 is in one routing of selection from two routings, is second routing of selection, without selecting
First routing of failure, to avoid that data message 3 is sent to the link or ED121 of failure, avoids data message 3
It loses, improves the reliability of transmission.
Assuming that ED121 receives data message 3, then ED121 carries out VXLAN decapsulations to data message 3, obtains datagram
Text 1, and local forwarding table shown in the purpose IP address 10.1.1.2 inquiry tables 8 by data message 1, obtaining outgoing interface is
The tunnels VXLAN C2.ED121 carries out VXLAN encapsulation to data message 1, obtains the data message 4 after VXLAN encapsulation, and pass through
The tunnels VXLAN C2 sends datagram 4.By the tunnels VXLAN C2 send datagram 4 when, due to the mesh of the tunnels VXLAN C2
IP address be 4.4.4.4, therefore, ED121 can also be connect by routing table shown in IP address 4.4.4.4 inquiry tables 4
Mouth 1213 does not record the correspondence of IP address 4.4.4.4 and interface 1213 in table 4.Then, it is sent out by interface 1213
Data message 4 is sent, i.e., data message 4 is sent to VTEP123.
After VTEP123 receives data message 4, VXLAN decapsulations are carried out to data message 4, obtain data message 1, and
Local forwarding table shown in purpose IP address 10.1.1.2 inquiry tables 7 by data message 1, it is interface to obtain outgoing interface
1233, therefore, 1 is sent datagram by interface 1233.In this manner it is possible to data message 1 is sent to host 124, so far,
It can complete the transmission process of data message.
In conclusion in the embodiment of the present application, by including the equipment group of at least two ED in data center configuration, and extremely
Few two ED use identical group of IP address, in this way, the load balancing of flow can be realized at least two ED, realize flow
Equilibrium, mitigate the processing pressure of each ED.Moreover, when an ED breaks down, service can also be provided by other ED, carried
The reliability of high ED processing.
Based on similarly applying conceiving with the above method, the message transmitting method that the embodiment of the present application proposes can be applied
In EVPN networks, which may include multiple data centers, subsequently by taking Liang Ge data centers as an example, in practical application,
The quantity of data center can be more.In order to distinguish conveniently, the two data centers are known as the first data center (in such as data
The heart 11) and the second data center (such as data center 12).
Include at least two the oneth ED in the first equipment group (such as equipment group 110) of the first data center, such as the first ED
Include at least two the in the second equipment group (such as equipment group 120) of the second data center for the ED111 and ED112 in Fig. 1
Two ED, if the 2nd ED is the ED121 and ED122 in Fig. 1.The group address of first equipment group is IP address 2.2.2.2, the second equipment
The group address of group is IP address 3.3.3.3.For any one the first ED in the first equipment group, the first ED can be with second
2nd ED connections each of in equipment group, and establish bgp neighbor.Similarly, for any one the 2nd ED in the second equipment group,
2nd ED can be connect with the first ED each of in the first equipment group, and establish bgp neighbor.
Shown in Figure 2, for the flow chart for the message transmitting method that the embodiment of the present application proposes, this method can be applied to
Arbitrary first ED (such as ED111 or ED112), this method may include:
Step 201, it after receiving data message, is inquired by the destination address (such as purpose IP address) of the data message
Forwarding table (such as MAC table, ARP table, routing table), obtains corresponding outgoing interface.
Step 202, if the outgoing interface is the first tunnel, pass through the destination address (such as purpose IP address) in first tunnel
Table of query and routing obtains corresponding at least two routing;Wherein, the source address in first tunnel is the group of the first equipment group
Location, the destination address in first tunnel are the group address of the second equipment group.
Step 203, selection one is route from least two routing, and the data message is sent to the road of selection
By corresponding 2nd ED, so that data message is sent to destination host by the 2nd ED;Wherein, at least two routing
The 2nd ED in each corresponding second equipment group of routing.
Referring to above-described embodiment, it is assumed that the first ED is ED111, then ED111 can pass through the purpose IP address of data message
10.1.1.2 local forwarding table shown in inquiry table 9, obtains corresponding outgoing interface.
Since the outgoing interface is the tunnels VXLAN B1 (i.e. the first tunnel), the source address of the tunnels VXLAN B1 is equipment group 110
The destination address of group address 2.2.2.2, VXLAN tunnel B1 be therefore the group address 3.3.3.3 of equipment group 120 passes through
Routing table shown in the destination address 3.3.3.3 inquiry tables 2 of the tunnels VXLAN B1 obtains two for destination address 3.3.3.3
Routing, and the two routings are equivalent routes.
Then, ED111 one routing of selection from the two routings, if first routing of selection, passes through interface 1111
Data message is sent to the corresponding ED121 of the routing, data message is sent to destination host by ED121, this is transmitted across
Journey repeats no more;If second routing of selection, the corresponding ED122 of the routing is sent to by interface 1112 by data message,
Data message is sent to destination host by ED121.
Wherein, forwarding table, before obtaining corresponding outgoing interface, the first ED are being inquired by the destination address of the data message
The first synchronization message of the 2nd ED transmissions can also be received, which can carry the address of destination host and next
Address is jumped, and the next hop address is the group address of the second equipment group belonging to the 2nd ED;Then, the first ED determines destination
Location is the first tunnel of the group address of the second equipment group;Then, the first ED can record the address of destination host in forwarding table
With the correspondence in the first tunnel.
Wherein, the first ED, can also be to the first data center after receiving the first synchronization message that the 2nd ED is sent
VTEP equipment sends the second synchronization message, which can carry address and the next hop address of destination host, should
Next hop address can be the group address of the first equipment group belonging to the first ED.
Further, VTEP equipment can also be remembered after receiving second synchronization message in local forwarding table
The correspondence of the address and the second tunnel of the destination host is recorded, the source address in second tunnel is the address of VTEP equipment, and
The destination address in second tunnel is the group address of the first equipment group.
Referring to above-described embodiment, it is assumed that the first ED is ED111, then ED121 can be synchronous to ED111 transmissions with ED122
Message, and ED111 can receive the synchronization message, which can carry the address 10.1.1.2 of destination host under
One jumps address, and the next hop address is the group address 3.3.3.3 of equipment group 123, rather than the IP of ED121 or ED122
Location.Then, ED111 determines that destination address is the first tunnel of group address 3.3.3.3, the i.e. tunnels VXLAN B1.Then, ED111 can
To record the correspondence of the address tunnel the 10.1.1.2 and VXLAN B1 of destination host in forwarding table, ginseng is shown in Table 9.
ED111 can also send synchronization message after receiving above-mentioned synchronization message to the VTEP113 of the first data 11,
The synchronization message can carry the address 10.1.1.2 and next hop address of destination host, and the next hop address is ED111 institutes
The group address 2.2.2.2 of the equipment group 110 of category, rather than the IP address 2.2.2.10 of ED111.VTEP113 is receiving this together
After walking message, the address 10.1.1.2 and the second tunnel (i.e. VXLAN tunnel A1) of destination host can also be recorded in forwarding table
Correspondence, the source address of the tunnels VXLAN A1 is the address of VTEP113, and destination address is group address 2.2.2.2, referring to table
Shown in 10.
Wherein, forwarding table, before obtaining corresponding outgoing interface, the first ED are being inquired by the destination address of the data message
The route messages of the 2nd ED transmissions can also be received, the destination address which carries can be second belonging to the second ED
The next hop address that the group address of equipment group, the route messages carry can be the address of the second ED.Then, the first ED can be true
The receiving interface of the fixed route messages, and record in the routing table the group address of second equipment group, the 2nd ED address, should
The correspondence of receiving interface.
Referring to above-described embodiment, it is assumed that the first ED is ED111, then ED121 and ED122 sends route messages to ED111.
When ED121 sends route messages to ED111, the destination address which carries can be the group address of equipment group 120
3.3.3.3, the next hop address that route messages carry can be the IP address 3.3.3.10 of ED121;ED111 is passing through interface
After 1111 receive the route messages, determine that the receiving interface of the route messages is interface 1111, in the routing table record group
The IP address 3.3.3.10 of location 3.3.3.3, ED121, the correspondence of interface 1111, ginseng are shown in Table 2.In ED122 to ED111
When sending route messages, the destination address which carries is taken for group address 3.3.3.3, the route messages of equipment group 120
The next hop address of band can be the IP address 3.3.3.11 of ED122;ED111 is receiving route messages by interface 1112
Afterwards, it determines that the receiving interface of route messages is interface 1112, records the IP address of group address 3.3.3.3, ED122 in the routing table
3.3.3.11, the correspondence of interface 1112, ginseng are shown in Table 2.
Wherein, using the group address of the group address and the second equipment group of the first equipment group, in the first ED and the second equipment group
The first tunnel is established between each of interior 2nd ED;And/or the group address using the first equipment group and first data center
The second tunnel is established in the address of VTEP equipment between the first ED and VTEP equipment.For example, it is assumed that the first ED is ED111,
The source IP address that the tunnels VXLAN A2, VXLAN tunnel A2 is established on ED111 is the group IP address 2.2.2.2 of equipment group 110, purpose
IP address is the IP address 1.1.1.1 of VTEP113;It is corresponding, the tunnels VXLAN A1, VXLAN tunnel can be established on VTEP113
The source IP address of road A1 is the IP address 1.1.1.1 of VTEP113, and purpose IP address is the group IP address of equipment group 110
2.2.2.2.Furthermore, it is possible to establish the tunnels VXLAN B1 on ED111, the source IP address of the tunnels VXLAN B1 is group IP address
2.2.2.2, purpose IP address is the group IP address 3.3.3.3 of equipment group 120;It is corresponding, it can divide on ED121 and ED122
The tunnels VXLAN B2 is not established, and the source IP address of the tunnels VXLAN B2 is group IP address 3.3.3.3, and purpose IP address is for group IP
Location 2.2.2.2.
Wherein, in the first ED one routing of selection from least two routing, load-balancing algorithm may be used
(such as hash algorithm, polling algorithm) one routing of selection from least two routing;Alternatively, can be from described at least two
The routing corresponding to the link not broken down, the i.e. corresponding link of the routing is selected not to break down in a routing, and should
Corresponding 2nd ED is route not break down.
Based on the above-mentioned technical proposal, in the embodiment of the present application, by including setting at least two ED in data center configuration
Standby group, and at least two ED use identical group of IP address, in this way, the destination address inquiry by the data message received turns
When delivering, obtained outgoing interface is the first tunnel, and the destination address in the first tunnel corresponds at least two routings, therefore, can be with
One routing of selection realizes flow equalization to realize the load balancing of flow at least two ED from least two routings,
Mitigate the processing pressure of each ED.When an ED breaks down, service can also be provided by other ED, what raising ED was handled can
By property.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of message transmitting device,
Include at least two first edge equipment ED in first equipment group of one data center, the message transmitting device is applied to arbitrary
The first ED, shown in Figure 3, the message transmitting device includes:
Obtain module 301, for the data message by receiving destination address inquire forwarding table, obtain it is corresponding go out
Interface;If the outgoing interface is the first tunnel, by the destination address table of query and routing in first tunnel, obtain it is corresponding extremely
Few two routings;Wherein, include at least two in the second equipment group of the second data center being connect with first data center
A 2nd ED, the source address in first tunnel are the group address of first equipment group, the destination address in first tunnel
It is the group address of second equipment group;
Selecting module 302, for one routing of selection from least two routing;
Sending module 303, for the data message to be sent to the routing corresponding that the selecting module 302 selects
Two ED, so that the data message is sent to destination host by the 2nd ED;Wherein, each of described at least two routing
The 2nd ED in corresponding second equipment group of routing.
In one example, the message transmitting device can also include (not depending on going out in figure):
Receiving module, the first synchronization message for receiving the 2nd ED transmissions, the first synchronization message carry destination host
Address and next hop address, next hop address are the group address of the second equipment group belonging to the 2nd ED;
Determining module, for determining that destination address is the first tunnel of the group address of second equipment group;
Logging modle, the correspondence of address and the first tunnel for recording destination host in forwarding table.
The sending module 303 is additionally operable to send the second synchronization message to the VTEP equipment of the first data center, described the
Two synchronization messages carry address and the next hop address of the destination host, which is belonging to the first ED
The group address of one equipment group;So that the VTEP equipment records the address and the second tunnel of the destination host in forwarding table
Correspondence, the source address in second tunnel are the addresses of the VTEP equipment, and the destination address in second tunnel is
The group address of one equipment group.
In one example, the receiving module is additionally operable to receive the route messages that the 2nd ED is sent, the route messages
The destination address of carrying is the address that group address, the next hop address of the second equipment group belonging to the 2nd ED are the 2nd ED;
The determining module is additionally operable to determine the receiving interface of the route messages;The logging modle is additionally operable to remember in the routing table
Record the group address of second equipment group, the address of the 2nd ED, the receiving interface correspondence.
In one example, the message transmitting device can also include (not depending on going out in figure):
Module is established, for the group address of group address and second equipment group using first equipment group, in institute
It each of states in the first ED and second equipment group and to establish the first tunnel between the 2nd ED;And/or
Using the address of the VTEP equipment of the group address and first data center of first equipment group, described
The second tunnel is established between one ED and the VTEP equipment.
The selecting module 302 is specifically used for selecting one from least two routing using load-balancing algorithm
Routing;Alternatively, selecting the routing corresponding to the link not broken down from least two routing.
Edge device provided by the embodiments of the present application, for hardware view, hardware structure schematic diagram can specifically join
See Fig. 4, which may include:Machine readable storage medium and processor, wherein:
Machine readable storage medium:Store instruction code.
Processor:Communicated with machine readable storage medium, read and execute stored in machine readable storage medium it is described
Instruction code realizes the message transmissions operation of the application above-mentioned example application.
Here, machine readable storage medium can be any electronics, magnetism, optics or other physical storage devices, can be with
Including or storage information, such as executable instruction, data, etc..For example, machine readable storage medium can be:RAM(Radom
Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver is (as hard
Disk drive), solid state disk, any kind of storage dish (such as CD, dvd) either similar storage medium or they
Combination.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of arbitrary several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more,
The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram
The combination of flow and/or box in flow and/or box and flowchart and/or the block diagram.These computer journeys can be provided
Sequence instruct to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with
Generate a machine so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for
Realize the dress for the function of being specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
It sets.
Computer or the processing of other programmable datas can be guided to set moreover, these computer program instructions can also be stored in
In standby computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates
Manufacture including command device, the command device are realized in one flow of flow chart or multiple flows and/or block diagram one
The function of being specified in a box or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer
Or the instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram
The step of function of being specified in one box or multiple boxes.
Above is only an example of the present application, it is not intended to limit this application.For those skilled in the art
For, the application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (12)
1. a kind of message transmitting method, which is characterized in that include at least two first in the first equipment group of the first data center
Edge device ED, the method are applied to arbitrary first ED, the method includes:
Forwarding table is inquired by the destination address of the data message received, obtains corresponding outgoing interface;
If the outgoing interface is the first tunnel, by the destination address table of query and routing in first tunnel, obtain it is corresponding extremely
Few two routings;Wherein, include at least two in the second equipment group of the second data center being connect with first data center
A 2nd ED, the source address in first tunnel are the group address of first equipment group, the destination address in first tunnel
It is the group address of second equipment group;
One routing of selection from least two routing, and routing that the data message is sent to selection corresponding the
Two ED, so that the data message is sent to destination host by the 2nd ED;Wherein, each of described at least two routing
The 2nd ED in corresponding second equipment group of routing.
2. according to the method described in claim 1, it is characterized in that, the destination address by the data message received is looked into
Forwarding table is ask, before obtaining corresponding outgoing interface, the method further includes:
The first synchronization message of the 2nd ED transmissions is received, first synchronization message is with carrying address and the next-hop of destination host
Location, and the next hop address is the group address of the second equipment group belonging to the 2nd ED;
Determine that destination address is the first tunnel of the group address of second equipment group;
The correspondence of the address and first tunnel of the destination host is recorded in forwarding table.
3. according to the method described in claim 2, it is characterized in that,
After first synchronization message for receiving the 2nd ED transmissions, the method further includes:
The second synchronization message is sent to the expansible Virtual Local Area Network endpoint of a tunnel VTEP equipment of the first data center, described the
Two synchronization messages carry address and the next hop address of the destination host, which is belonging to the first ED
The group address of one equipment group;So that the address that VTEP equipment records the destination host in forwarding table is corresponding with the second tunnel
Relationship, the source address in second tunnel are the addresses of the VTEP equipment, and the destination address in second tunnel is first to set
The group address of standby group.
4. according to the method described in claim 1, it is characterized in that, the destination address by the data message received is looked into
Forwarding table is ask, before obtaining corresponding outgoing interface, the method further includes:
The route messages of the 2nd ED transmissions are received, the destination address that the route messages carry is second belonging to the 2nd ED
The group address of equipment group, the address that next hop address is the 2nd ED;
It determines the receiving interface of the route messages, and records the group address of second equipment group, described in the routing table
The address of two ED, the receiving interface correspondence.
5. method according to claim 1 or 3, which is characterized in that the method further includes:
Using the group address of the group address and second equipment group of first equipment group, in the first ED and described second
Each of in equipment group the first tunnel is established between the 2nd ED;And/or
Using the address of the VTEP equipment of the group address and first data center of first equipment group, in the first ED
The second tunnel is established between the VTEP equipment.
6. according to the method described in claim 1, it is characterized in that,
Described one routing of selection from least two routing, including:
One routing of selection from least two routing using load-balancing algorithm;Alternatively,
The routing corresponding to the link not broken down is selected from least two routing.
7. a kind of message transmitting device, which is characterized in that include at least two first in the first equipment group of the first data center
Edge device ED, described device are applied to arbitrary first ED, and described device includes:
Module is obtained, the destination address for the data message by receiving inquires forwarding table, obtains corresponding outgoing interface;If
The outgoing interface is the first tunnel, by the destination address table of query and routing in first tunnel, obtains corresponding at least two
Routing;Wherein, include at least two second in the second equipment group of the second data center being connect with first data center
ED, the source address in first tunnel are the group address of first equipment group, and the destination address in first tunnel is described
The group address of second equipment group;
Selecting module, for one routing of selection from least two routing;
Sending module, corresponding 2nd ED of routing for the data message to be sent to the selecting module selection, so that
The data message is sent to destination host by the 2nd ED;Wherein, each of described at least two routing routing corresponds to
The 2nd ED in second equipment group.
8. device according to claim 7, which is characterized in that further include:
Receiving module, the first synchronization message for receiving the 2nd ED transmissions, the first synchronization message carry the address of destination host
And next hop address, next hop address are the group address of the second equipment group belonging to the 2nd ED;
Determining module, for determining that destination address is the first tunnel of the group address of second equipment group;
Logging modle, the correspondence of address and the first tunnel for recording destination host in forwarding table.
9. device according to claim 8, which is characterized in that the sending module is additionally operable to the first data center
Expansible Virtual Local Area Network endpoint of a tunnel VTEP equipment sends the second synchronization message, and second synchronization message carries the mesh
Host address and next hop address, the next hop address be the group address of the first equipment group belonging to the first ED;With
The VTEP equipment is set to record the correspondence of the address and the second tunnel of the destination host, second tunnel in forwarding table
The source address in road is the address of the VTEP equipment, and the destination address in second tunnel is the group address of the first equipment group.
10. device according to claim 7, which is characterized in that further include:
Receiving module, the route messages for receiving the 2nd ED transmissions, the destination address that the route messages carry are the 2nd ED
The group address of the second affiliated equipment group, the address that next hop address is the 2nd ED;
Determining module, the receiving interface for determining the route messages;
Logging modle, for recording the group address of second equipment group in the routing table, the address of the 2nd ED, described connecing
Receive the correspondence of interface.
11. the device according to claim 7 or 9, which is characterized in that further include:
Module is established, for the group address of group address and second equipment group using first equipment group, described the
Each of in one ED and second equipment group the first tunnel is established between the 2nd ED;And/or
Using the address of the VTEP equipment of the group address and first data center of first equipment group, in the first ED
The second tunnel is established between the VTEP equipment.
12. device according to claim 7, which is characterized in that
The selecting module is specifically used for one routing of selection from least two routing using load-balancing algorithm;Or
Person selects the routing corresponding to the link not broken down from least two routing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810329141.6A CN108718278B (en) | 2018-04-13 | 2018-04-13 | Message transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810329141.6A CN108718278B (en) | 2018-04-13 | 2018-04-13 | Message transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108718278A true CN108718278A (en) | 2018-10-30 |
CN108718278B CN108718278B (en) | 2021-04-27 |
Family
ID=63898997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810329141.6A Active CN108718278B (en) | 2018-04-13 | 2018-04-13 | Message transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108718278B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109921992A (en) * | 2019-03-26 | 2019-06-21 | 新华三技术有限公司 | A kind of routing resource, device, the network equipment and ED equipment |
CN110391984A (en) * | 2019-07-26 | 2019-10-29 | 新华三大数据技术有限公司 | A kind of message forwarding method and device |
CN111147381A (en) * | 2018-11-02 | 2020-05-12 | 华为技术有限公司 | Flow balancing method and device |
CN111884904A (en) * | 2020-07-23 | 2020-11-03 | 中盈优创资讯科技有限公司 | Method and device for dynamically managing vxlan tunnel based on equipment configuration |
CN111988221A (en) * | 2020-08-31 | 2020-11-24 | 网易(杭州)网络有限公司 | Data transmission method, data transmission device, storage medium and electronic equipment |
CN112019417A (en) * | 2019-05-30 | 2020-12-01 | 华为技术有限公司 | Method and equipment for transmitting message |
CN112751766A (en) * | 2019-10-30 | 2021-05-04 | 华为技术有限公司 | Message forwarding method and device and computer storage medium |
CN112769966A (en) * | 2019-10-21 | 2021-05-07 | 阿里巴巴集团控股有限公司 | Address information distribution method and device and electronic equipment |
CN115150323A (en) * | 2022-07-04 | 2022-10-04 | 中国联合网络通信集团有限公司 | Route implementation method, VTEP, first edge device and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130301472A1 (en) * | 2012-05-10 | 2013-11-14 | David Ian Allan | 802.1aq support over ietf evpn |
CN105591924A (en) * | 2014-11-10 | 2016-05-18 | 瞻博网络公司 | Signaling aliasing capability in data centers |
CN107135133A (en) * | 2016-02-26 | 2017-09-05 | 丛林网络公司 | Horizontal segmentation packet forwarding in many family PBB EVPN networks |
CN107612809A (en) * | 2017-10-31 | 2018-01-19 | 新华三技术有限公司 | A kind of multicast list synchronous method and equipment |
CN107733793A (en) * | 2017-11-28 | 2018-02-23 | 新华三技术有限公司 | A kind of forwarding-table item maintaining method and device |
WO2018065813A1 (en) * | 2016-10-05 | 2018-04-12 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and system for distribution of virtual layer 2 traffic towards multiple access network devices |
-
2018
- 2018-04-13 CN CN201810329141.6A patent/CN108718278B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130301472A1 (en) * | 2012-05-10 | 2013-11-14 | David Ian Allan | 802.1aq support over ietf evpn |
CN105591924A (en) * | 2014-11-10 | 2016-05-18 | 瞻博网络公司 | Signaling aliasing capability in data centers |
CN107135133A (en) * | 2016-02-26 | 2017-09-05 | 丛林网络公司 | Horizontal segmentation packet forwarding in many family PBB EVPN networks |
WO2018065813A1 (en) * | 2016-10-05 | 2018-04-12 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and system for distribution of virtual layer 2 traffic towards multiple access network devices |
CN107612809A (en) * | 2017-10-31 | 2018-01-19 | 新华三技术有限公司 | A kind of multicast list synchronous method and equipment |
CN107733793A (en) * | 2017-11-28 | 2018-02-23 | 新华三技术有限公司 | A kind of forwarding-table item maintaining method and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147381A (en) * | 2018-11-02 | 2020-05-12 | 华为技术有限公司 | Flow balancing method and device |
CN109921992A (en) * | 2019-03-26 | 2019-06-21 | 新华三技术有限公司 | A kind of routing resource, device, the network equipment and ED equipment |
CN112019417A (en) * | 2019-05-30 | 2020-12-01 | 华为技术有限公司 | Method and equipment for transmitting message |
CN110391984A (en) * | 2019-07-26 | 2019-10-29 | 新华三大数据技术有限公司 | A kind of message forwarding method and device |
CN112769966A (en) * | 2019-10-21 | 2021-05-07 | 阿里巴巴集团控股有限公司 | Address information distribution method and device and electronic equipment |
CN112769966B (en) * | 2019-10-21 | 2023-08-25 | 阿里巴巴集团控股有限公司 | Address information distribution method and device and electronic equipment |
CN112751766A (en) * | 2019-10-30 | 2021-05-04 | 华为技术有限公司 | Message forwarding method and device and computer storage medium |
CN112751766B (en) * | 2019-10-30 | 2023-07-11 | 华为技术有限公司 | Message forwarding method and system, related equipment and chip |
CN111884904A (en) * | 2020-07-23 | 2020-11-03 | 中盈优创资讯科技有限公司 | Method and device for dynamically managing vxlan tunnel based on equipment configuration |
CN111988221A (en) * | 2020-08-31 | 2020-11-24 | 网易(杭州)网络有限公司 | Data transmission method, data transmission device, storage medium and electronic equipment |
CN111988221B (en) * | 2020-08-31 | 2022-09-13 | 网易(杭州)网络有限公司 | Data transmission method, data transmission device, storage medium and electronic equipment |
CN115150323A (en) * | 2022-07-04 | 2022-10-04 | 中国联合网络通信集团有限公司 | Route implementation method, VTEP, first edge device and system |
Also Published As
Publication number | Publication date |
---|---|
CN108718278B (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108718278A (en) | A kind of message transmitting method and device | |
EP3044917B1 (en) | Virtual network routing | |
CN112640369B (en) | Method, apparatus, and machine-readable medium for intelligently using peers in a public cloud | |
US10027623B2 (en) | Internet protocol address resolution | |
CN108259347A (en) | A kind of message transmitting method and device | |
US20150163072A1 (en) | Virtual Port Extender | |
CN108259299A (en) | A kind of forwarding-table item generation method, device and machine readable storage medium | |
CN107547391A (en) | A kind of message transmitting method and device | |
CN104639414A (en) | Message transmitting method and message transmitting equipment | |
CN106936680B (en) | System and method for intercommunication among heterogeneous networks of cloud computing platform | |
CN103139075B (en) | A kind of message transmitting method and equipment | |
US11296979B2 (en) | Method and system for symmetric integrated routing and bridging | |
CN109729012A (en) | A kind of unicast message transmission method and device | |
CN108737224A (en) | A kind of message processing method and device based on micro services framework | |
CN109104364A (en) | One kind is specified to turn originator electoral machinery and device | |
US10742549B2 (en) | Dynamic forward information base prefix optimization | |
CN108600109A (en) | A kind of message forwarding method and device | |
CN103905284A (en) | EVI-network-based flow load sharing method and device | |
CN108965092A (en) | A kind of data message transmission method and device | |
CN109412949A (en) | A kind of data message transmission method and device | |
CN106331206A (en) | Domain name management method and device | |
CN109412926A (en) | A kind of tunnel establishing method and device | |
CN108259218A (en) | A kind of IP address distribution method and device | |
CN108718276A (en) | A kind of message forwarding method and device | |
US10616062B2 (en) | Dissemination of NAT traversal attributes in a control plane protocol |
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 |