CN108199945B - Message transmitting method, the network equipment and message handling system - Google Patents
Message transmitting method, the network equipment and message handling system Download PDFInfo
- Publication number
- CN108199945B CN108199945B CN201711410740.2A CN201711410740A CN108199945B CN 108199945 B CN108199945 B CN 108199945B CN 201711410740 A CN201711410740 A CN 201711410740A CN 108199945 B CN108199945 B CN 108199945B
- Authority
- CN
- China
- Prior art keywords
- message
- vni
- address
- gateway
- data message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- 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]
-
- 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
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint 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/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- 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/58—Association of routers
- H04L45/586—Association of routers of virtual routers
-
- 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
Abstract
The embodiment of the invention provides a kind of message transmitting method, provider edge equipment and systems.This method comprises: the first PE receives the first route messages from the first gateway, the first via includes the address of the first VM, the IP address of the first VNI and first gateway by message, the wherein first part of the first VNI mark broadcast domain, the first part includes the first VM;The IP address of the first VNI and the first VXLAN endpoint of a tunnel VTEP in first route messages are transferred in the first expansion of first route messages, the first MPLS label that the 2nd PE is distributed is added to first route messages, and the IP address of the first PE is added to first route messages, so that obtaining the second tunnel has message;The secondary route message is sent to the 2nd PE.After obtaining secondary route message, the 2nd PE can carry out overlay operation, do not need the first PE and do overlay operation, reduce the performance requirement to the first PE.
Description
Technical field
The present embodiments relate to the communications field more particularly to a kind of message transmitting methods, the network equipment and Message processing
System.
Background technique
With the development of network technology, currently, the Ethernet virtual private networks (Ethernet in data center
Virtual Private Network, EVPN) structure generallys use virtual expansible local area network (Virtual Extensible
Local Area Network, VXLAN) symmetrical forwarding model, that is, at least virtual machine facility (Virtual MAChine,
VM) communicated by gateway (Gateway, GW) and multiple Provider Edges (Provider Edge, PE) equipment, and PE it
Between by backbone network, i.e., multi protocol label exchange (English: Multiple-Protocol Label Switching, referred to as:
MPLS it) is communicated, and PE equally passes through VXLAN and is communicated with GW and the VM being connected on GW, the backbone network is
Communication network between PE.
Then in the prior art, when message is transmitted in the tunnel VXLAN, PE needs in downlink transmission process,
Has VXLAN overlay encapsulation function, that is, after decapsulating to MPLS data packet, it is also necessary to when spreading defeated according to control
Mapping relations between the MPLS label and VXLAN network identifier (VXLAN Network Identifier, VNI) of record,
Next hop address and VNI are Resealed in data packet, constituted for being transmitted in the tunnel VXLAN between GW
UDP (User Datagram Protocol, User Datagram Protocol) data packet.
But a large amount of old PE is still run in current data center, this kind of PE is due to hardware conditions such as interface boards
Limitation, can not support overlay to encapsulate, cause used equipment that can not coexist with new equipment.The prior art is to solve the above problems, adopt
Method first is that all used equipments of data center are upgraded to the new equipment for having overlay complete function, this kind
Method takes a long time, and consuming resource is more, causes expense excessive.
Summary of the invention
The embodiment of the present invention provides a kind of message transmitting method, the network equipment and message handling system, to solve can not
The problem of old PE and new PE for supporting overlay encapsulation can not coexist.
On the one hand, the embodiment of the present invention provides a kind of network equipment.The network equipment include preserve computer can
The memory of reading instruction and the processor that there is communication connection with the memory, and the memory and processor are all hard
Part.The processor can execute multi-mode operation after executing described instruction.For example, the processor is executing described instruction
Afterwards, route messages 1 can be received from gateway 1.Route messages 1 include the address of virtual machine VM 1, virtual expansible local area network
VXLAN network designation accords with the IP address of VNI 1 and gateway 1, and wherein VNI 1 identifies a part in broadcast domain including VM 1.
The processor can also obtain route messages 2 and handling route messages 1.Processing to route messages 1 includes
The IP address of the VNI 1 and VXLAN endpoint of a tunnel VTEP 1 in route messages 1 are transferred to an expansion of route messages 1
It opens up in part, is added to the multiprotocol label switching MPLS label 1, Yi Jixiang that a PE in network is distributed to route messages 1
Route messages 1 add the IP address of the network equipment.Later, the network equipment sends route messages 2 to the PE.Here
VXLAN endpoint of a tunnel VTEP 1 refer to the endpoint in the tunnel VXLAN, this endpoint is the virtual section in a hardware device
Point.This tunnel VXLAN is present in the tunnel between gateway 1 and the PE, and VTEP 1 is the dummy node in gateway 1.Institute
Stating the role of the network equipment in a network is a PE.
In technical solution provided in an embodiment of the present invention, the network equipment sends the IP address of VNI 1 and VTEP 1
PE is given, so the data message that PE is sent to VM 1 can carry the IP address of VNI 1 and VTEP 1.The network described in this way is set
It, there is no need to which the IP address of VNI 1 and VTEP 1 are added in data message again, is reduced for after receiving data message
The requirement of the network equipment ability.
In a possible design, the processor is also used to execute described instruction, to receive data message from PE1
1, data message 1 is the MPLS data message for being packaged with MPLS label 1, and carries the IP address of VNI 1 and VTEP 1;Pass through
Data message 1 is handled and obtains data message 2, wherein including deleting the MPLS data to the processing of data message 1
MPLS label 1 in message;It is that data message 2 determines exit port according to MPLS label 1;And by the exit port to described
Gateway 1 sends datagram 2.Herein, it determines exit port this operation and deletes the operation of MPLS label 1 without sequentially
Precedence relationship.
Due to carrying the IP address of VNI 1 and VTEP 1 in data message 1, so network node is not required to
This two information are added again, reduce the performance requirement to the network node.
On the other hand, a kind of network equipment provided in an embodiment of the present invention.The network equipment includes memory and processing
Device preserves computer-readable instruction in the memory, and the processor is used to execute the described instruction in the memory,
The memory and the processor are hardware.After the instruction that processor executes in memory, processor can be from PE1
Route messages 1 are received, route messages 1 include an expansion.This expansion includes the address IP of VNI1 and gateway 1.
Route messages 1 further include the address of virtual machine VM 1, the multiprotocol label switching MPLS label that PE1 is network equipment distribution
The IP address of 1 and PE1.Here VNI 1 is used to identify the part 1 in broadcast domain including VM 1.Processor is also used to basis
The route messages 1 obtain route messages 2, wherein route messages 2 include the address of VM 1, the network equipment IP address and
VNI 2.VNI 2 is used to identify another part in the broadcast domain, i.e. part 2.You need to add is that a broadcast domain can
It can also further include other parts to only include part 1 and part 2.In the IP address and MPLS mark for obtaining VNI 1, gateway 1
After label 1, processor also saves a corresponding relationship 1, this corresponding relationship 1 includes VNI 1, the IP address of gateway 1 and MPLS mark
Corresponding relationship between label 1.In addition, processor also sends route messages 2 to gateway 2.In addition, when VM2 and VM1 is in same
When the different piece of broadcast domain, for identifying the value of the VNI 1 of that part belonging to VM 1 and for identifying described in VM 2
The value of the VNI 2 of that part is different.At this moment, processor can also further save the corresponding relationship between VNI 1 and VNI 2
2。
Due to saving above-mentioned corresponding relationship 1, taken in the data message that the network equipment can be sent according to VM 2
The VNI of band finds the IP address and MPLS label 1 of gateway 1 for data message.When VM1 and VM2 belong to the same broadcast domain
When same part, VNI 1 and VNI 2 are identical, that is to say, that the network equipment has been carried from the data message that gateway 2 receives
VNI 1.The network equipment can find the IP address and MPLS label 1 of gateway 1 by VNI 1 and the corresponding relationship 1 in this way.
When VM1 and VM2 belong to different piece, the network equipment can receive the data message for carrying VNI 2 from gateway 2, and according to right
Should be related to that 2 determine VNI 1, then further according to VNI 1 and corresponding relationship 1 be data message determine find gateway 1 IP address and
MPLS label 1.The network equipment, which can be obtained by, later is packaged with MPLS label 1 and the IP address that carries VNI 1 and gateway 1
Data message 2.This is actually to have carried out overlay operation, and after data message 2 reaches PE, PE does not need to be overlay again
Operation, but peel MPLS label 1 off and will treated that data message is sent to gateway 1.Therefore, by the network equipment
Corresponding relationship 1 is saved, the network equipment has the ability that overlay operation is carried out to data message, to reduce to PE1's
The requirement of performance.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Figure 1A is the network architecture diagram of the EVPN illustrated a kind of;
Figure 1B is a kind of network topological diagram of the typical networking based on VXLAN illustrated;
Fig. 2 is a kind of downlink data message transmission flow figure illustrated;
Fig. 3 is the network architecture diagram of EVPN provided by one embodiment of the present invention;
Fig. 4 is control plane message transmission flowchart provided by one embodiment of the present invention;
Fig. 5 is downlink data message transmission flow figure provided by one embodiment of the present invention;
Fig. 6 is the flow chart of message transmitting method provided by one embodiment of the present invention;
Fig. 7 A is the schematic block diagram of PE provided in an embodiment of the present invention a kind of;
Fig. 7 B is the structural schematic diagram of PE provided in an embodiment of the present invention a kind of.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The network architecture and business scenario of description of the embodiment of the present invention are to clearly illustrate implementation of the present invention
The technical solution of example, does not constitute the restriction to technical solution provided in an embodiment of the present invention, those of ordinary skill in the art can
Know, with the differentiation of the network architecture and the appearance of new business scene, technical solution provided in an embodiment of the present invention is for similar
Technical problem, it is equally applicable.
Such as the network topology based on VXLAN shown in a kind of EVPN network architecture shown in figure 1A and Figure 1B, message exist
When being transmitted in the tunnel VXLAN, upload control stream transmission procedure specifically: PE1 receives the route messages (source that GW1 is sent
Location is the address information of VM1), the VNI in route messages is replaced with MPLS label by PE1, i.e., route messages is carried out MPLS envelope
Dress, meanwhile, the corresponding relationship between MPLS label and route messages is recorded, then the route messages after encapsulation are sent to PE2.
After PE2 receives the route messages, MPLS label is replaced with into VNI, then route messages are Resealed and carry out VXLAN encapsulation,
And issue the route messages, i.e., route messages are sent to GW2.GW2 carries out relevant treatment after receiving routing, that is, generates and correspond to
Routing iinformation, to realize end to end control face message transmission.And downlink transfer process as shown in figure 3, specifically: work as VM21
When sending downlink data packet message to VM11, GW2 (can believe the address that source address is VM21 according to the address information of downlink data packet
Breath, destination address are the address information of VM11) search corresponding with downlink data packet routing iinformation, including corresponding VNI and
Next hop address, i.e. PE2.Downlink data packet is encapsulated as UDP (User Datagram Protocol, User Datagram Protocol by GW2
View) data packet, that is, the address information of the VNI found and PE2 is encapsulated into downlink data packet, PE2 is then forwarded to.
PE2 receives the UDP message packet, UDP data packet is carried out MPLS encapsulation, specifically, PE2 removes outer layer addresses information, and foundation
VNI searches corresponding MPLS label, and VNI is replaced with MPLS label, if there are P nodes in backbone network, is added into data packet
Add public network IGP (Interior Gateway Protocol, Interior Gateway Protocol) MPLS label.Then, PE2 will be Resealed
MPLS data packet be sent to PE1.After PE1 carries out MPLS decapsulation to MPLS, then the data packet after decapsulation Resealed
For UDP message packet, specifically, PE1 removes outer layer MPLS label, and corresponding VNI and next-hop are searched according to MPLS label
Address, i.e. GW1.The address information of VNI and GW1 is encapsulated into data packet by PE1, and realization Reseals.Then, PE1 will be sealed again
UDP message packet after dress is sent to GW1, then VM11 is transmitted to, thus real for after UDP message packet progress relevant treatment via GW1
Now row transmission flow.
And technical solution provided in an embodiment of the present invention is applicable in the network architecture shown in Fig. 3.In the network architecture
Include: the first PE31, the 2nd PE32, the 3rd PE33, the 4th PE34, the first gateway 35, the second gateway 36 and the first VM37 with
2nd VM38.In an embodiment of the present invention, the first gateway 35 can be led to at least one VM respectively with the second gateway 36
Letter, only shows the first VM37 and the 2nd VM38 as schematic example, the present invention is not construed as limiting the quantity of VM in Fig. 3.
Wherein, the communication chain that the communication link and the 3rd PE33 and the 4th PE34 that the first PE31 and the 2nd PE32 is constituted are constituted
Road, can be mutually backups link.
In an embodiment of the present invention, do not have the PE of overlay encapsulation function, other PE with the first PE for old PE
It is to be described in detail for new PE.
In order to make those skilled in the art better understand message forwarding method of the invention, below with specific embodiment into
Row elaborates.
Still it is described in detail by taking network structure shown in Fig. 3 as an example.Referring to Fig. 4, it illustrates the transmission of control plane message
Flow diagram.In Fig. 4:
First gateway receives the uplink data messages of the MAC Address comprising the first VM that the first VM is sent and/or IP address,
The BGP message for carrying the MAC Address and/or IP address, i.e. route messages in the embodiment of the present invention are generated, in Fig. 4
It further include VNI belonging to the first gateway, i.e. the VTEP IP of VNI1 and the first gateway in the route messages shown in table 410
Address, i.e. GW1VTEP source.Wherein, the first gateway grabbed from uplink data messages the first VM MAC Address and/or
The grasp mode of IP address can refer to the technical solution in prior embodiment, and the present invention repeats no more;And VNI is pre-configured with
In the first gateway, the first gateway can be directly acquired, the first part of the first VNI mark broadcast domain, the first part
Including the first VM.
Then, the BGP message of generation is distributed to all PE for being in communication with connection by the first gateway.That is, in Fig. 3
First PE and the 3rd PE receive the route messages.In the present embodiment, the 3rd PE and the 4th PE is new PE, that is, is had
There is the PE of overlay encapsulation and decapsulation function, therefore, the communication link that the 3rd PE and the 4th PE are formed can be in control plane message
After transmission is realized, the uplink data messages sent to the first gateway are forwarded.And since the first PE is old PE, that is, do not have
Overlay function, the then communication link that the first PE and the 2nd PE is formed are only used for lower line number after the transmission of control plane message is realized
According to message, that is, it is sent to the transmission of the data message of the first VM.That is, in an embodiment of the present invention, being directed to the upper of the first VM
Row data message can be transmitted by the communication link between the 3rd PE and the 4th PE.And it is directed to the lower line number of the first VM
According to message, can by the communication link between the communication link and the 3rd PE and the 4th PE between the first PE and the 2nd PE into
Row transmission.In downlink message transmission process, load-sharing mode is can be used in both links, to mitigate the load pressure of each equipment
Power.In one embodiment, the first PE is old PE, which indicates in its configuration information the information, and other equipment can pass through
The configuration information is read to determine the first PE for the old PE without overlay function, therefore, in uplink message transmission process
In, uplink message will not be transferred on the first PE.
Referring now still to Fig. 4, in the present embodiment, after the first PE receives the BGP message that the first gateway is sent, which is reported
Text is packaged.Specific encapsulation process are as follows:
1) VNI1 in BGP message is replaced with BGP EVPN MPLS label by the first PE.Specifically, in the present embodiment,
First PE after receiving BGP message, search it is local whether existing BGP EVPN MPLS label corresponding with the 2nd PE.If
It is not present, then needs to distribute BGP EVPN MPLS label for the 2nd PE, and will be described in BGP EVPN MPLS label deposit
The field location of VNI1, while deleting the VNI1 of the field location;It should be noted that " replacement " involved in the present embodiment is all
Refer to the field location of new parameter deposit original parameter, repeats no more again.Specific BGP EVPN MPLS label assigning process
It can refer to the technical solution in prior embodiment, the present invention repeats no more.
2) the GW1VTEP source in BGP message is replaced with PE1EVPN IP by the first PE, that is, the first PE is in local bone
Address information in dry net, which is exclusively used in carrying out communication use in backbone network.
3) the first PE increases extended field into BGP message, and extension word is written in VNI1 and GW1VTEP source
Section.Specifically, in the present embodiment, the first PE increases extended field to the BGP message after replacement protocol contents.Then, will
In VNI1 and GW1VTEP source write-in extended field, to constitute the new BGP message structure with extended field.Pass through
The extended field, VNI and GW1VTEP source can be informed the 2nd PE by the first PE, and the first PE is without being locally stored
GW1VTEP source mapping relations relevant to VNI, effectively reduce the equipment pressure of the first PE, and extending equipment makes
With the service life, to save expense.
As shown in the table 420 in Fig. 4, the first PE encapsulation after BGP message include: the first VM the address MAC and/or IP,
Included VNI1 and GW1VTEP source in BGP EVPN MPLS label, PE1EVPN IP and extended field.
Then, the BGP message for carrying extended field after encapsulation is sent to the 2nd PE by the first PE.
2nd PE receives the BGP message for carrying extended field.Then, the 2nd PE inquire local maintenance VNI with
Whether the VNI1 carried in BGP message is identical.In the present embodiment, it is illustrated with the VNI of the 2nd PE for VNI2.Second
The VNI1 that PE is inquired in VNI and the BGP message of local maintenance is inconsistent, then the 2nd PE records VNI1, VNI2, GW1VTEP
Corresponding relationship between source, BGP EVPN MPLS label.
Then, the 2nd PE and BGP message is Resealed.Concrete operations are as follows:
1) remove extended field.
2) remove BGP EVPN MPLS label, i.e., empty the affiliated field of BGP EVPN MPLS label, then, by VNI2
It is written in the field, i.e., is replaced VNI2 to BGP EVPN MPLS label.
3) PE1EVPN IP is replaced with into PE2VTEP source, i.e. the VTEP IP address of the 2nd PE.
So far, the 2nd PE realization Reseals BGP message, the BGP message after Resealing such as the table in Fig. 4 430
It is shown, comprising: MAC and/or IP address, VNI2 the and PE2VTEP source of the first VM.
BGP message after 2nd PE will be Resealed is distributed to the second gateway.
After second gateway receives BGP message, in local maintenance routing iinformation corresponding with BGP message.That is, the second gateway
Corresponding pass between the MAC and/or IP address, VNI2, PE2VTEP source and EVI for recording the first VM in local routing table
System, to instruct downlink traffic to forward by the corresponding relationship.
Referring to Fig. 5, it illustrates downlink data message transmission flow schematic diagrames.In Fig. 5:
2nd VM sends downlink data message to the first VM, is original Layer 2 data packet, such as Fig. 5 in the downlink data message
In table 510 shown in, which carries: data portion, source address information, i.e., the address MAC and/or IP of the 2nd VM, with
And destination address information, i.e. the MAC and/or IP address of the first VM.
In the present embodiment, the second gateway receives the downlink data message, and carries out overlay envelope to downlink data message
Dress, i.e., be encapsulated as UDP message for downlink data message, as shown in the table 520 in Fig. 5.Specifically, in the present embodiment, second
Gateway first detects whether the downlink data message hits local routing information, specifically, the second gateway extracts destination address, i.e., the
The MAC and/or IP address of one VM, the second gateway match destination address with the routing iinformation in local routing table, at this
In embodiment, the second gateway has recorded the routing iinformation corresponding to the first VM, then the second gateway confirms that the downlink message is hit
Local routing information.Then, the second gateway is packaged downlink data message, specifically, the first gateway inquires and first
The associated VNI2 of the MAC and/or IP address of VM, PE2VTEP source information, the first gateway is by VNI2, PE2VTEP
Source is encapsulated on downlink data message, and generation can be transmitted in the tunnel VXLAN and carry VNI2, PE2VTEP
The UDP message of source.
Referring now still to Fig. 5, the second gateway is according to the PE2VTEP source in UDP message, by UDP message shown in table 520
It is sent to the 2nd PE.
2nd PE receives the UDP message, and UDP message is encapsulated as MPLS UDP message.It is specific:
Firstly, the 2nd PE carries out overlay decapsulation to UDP message.Specifically, the 2nd PE removes UDP shown in table 520
The outer layer IP header of message, i.e. PE2VTEP source in table 520.2nd PE is looked into local mapping table according to VNI2
Corresponding relationship associated there is looked for, in the present embodiment, the 2nd PE obtains corresponding with VNI2 from mapping table
VNI1, GW1VTEP source, BGP EVPN MPLS label.
Then, the 2nd PE removes VNI2, that is, empties field where VNI2, so far realizes overlay decapsulation.
Then, the 2nd PE carries out overlay encapsulation to UDP.Specifically, the place original VNI2 word is written in VNI1 by the 2nd PE
Section, can regard as and be replaced VNI1 to VNI2.Then, GW1VTEP source is encapsulated as MPLS UDP report by the 2nd PE
The outer header of text.
Then, the 2nd PE carries out MPLS encapsulation to message, that is, in GW1VTEP source outer envelope BGP EVPN
MPLS label.In the present embodiment, P node is not present between the first PE and the 2nd PE, it is therefore not necessary in BGP EVPN MPLS
Label outer envelope public network label IGP MPLS label.In another embodiment, if existing extremely between the first PE and the 2nd PE
A few P node, then the 2nd PE is in BGP EVPN MPLS label outer envelope public network IGP MPLS label, to enable message
It is enough to be transmitted between the P node in backbone network.
As shown in figure 5, the 2nd PE be packaged after MPLS UDP message as shown in the table 530 in Fig. 5, comprising: downlink
Data message (data portion, destination address information and source address information), VNI1, GW1VTEP source and BGP EVPN
MPLS label.Then, the 2nd PE will encapsulate downlink data message, VNI1, GW1VTEP source and BGP EVPN
The MPLS UDP message of MPLS label is sent to the first PE by the tunnel backbone network MPLS.
After first PE receives the MPLS UDP message, remove outer layer BGP EVPN MPLS label, to obtain UDP message,
As shown in the table 540 in Fig. 5.And the first PE according to outer layer IP address, i.e. GW1VTEP source searches local routing table.
In the present embodiment, it is pre-established with local routing table on the first PE, safeguards have corresponding to the first gateway in local routing table
Routing iinformation, the routing iinformation include VTEP address information and corresponding interface of the first gateway etc..
First PE, will according to GW1VTEP source after determining the routing iinformation in UDP message hit local routing table
UDP message is sent to the first gateway.Then, the first gateway is by (relevant treatment is to obtain after UDP message progress relevant treatment
The data portion of UDP message, as shown in the table 550 in Fig. 5, detailed process can refer to the technical side in prior embodiment
Case, the present invention repeat no more), it is transmitted to the first VM, to realize the transport stream of the downlink data message of the 2nd VM to the first VM
Journey.
To sum up, the technical solution in the embodiment of the present invention, by control plane message transmit when, to BGP on the first PE
Message increases extended field, to make the first PE be not necessarily to locally recording corresponding relationship relevant to VNI, to reduce old PE
Equipment pressure, prolong the service life.And the 2nd PE pair of VNI and associated address information can be got by extended field
It should be related to, for instructing subsequent downlink data message forwarding process, keep the 2nd PE right in advance according to the corresponding relationship
Downlink data message carries out the encapsulation of overlay, and downlink data report is carried out in asymmetrical flow forwarding model to realize
The transmission of text, and then the old PE for not having overlay encapsulation function and new PE coexists, effectively improve resource utilization.
Referring to FIG. 6, it illustrates the flow charts of message transmitting method provided by one embodiment of the present invention.This method can
To include following content.
Operation 601, the first PE receive the first route messages from the first gateway, and the first via includes the first VM by message
Address, the first VNI and first gateway IP address, wherein first VNI mark broadcast domain first part, it is described
First part includes the first VM.
Specifically, in one embodiment, the first PE receives the route messages that the first gateway is sent.In the route messages
Carry address and the routing iinformation of the first VM, wherein routing iinformation includes the address IP of the first VNI and the first gateway.
The address of first VM includes the MAC Address of the first VM and/or the IP address of the first VM.In the present embodiment A and/or B refer to A,
B or A and B.In one embodiment, different geographical maintenance has a different VNI, and there is record on gateway GW all carries out with it
The address information (address information includes MAC Address and/or IP address) and GW affiliated VNI and EVPN of the VM of communication connection is real
The corresponding relationship of example (EVPN instance, EVI).In one embodiment, the first gateway IP address information is the first gateway
VXLAN termination point of a tunnel (VXLAN Tunnel End Point, VTEP) address information exists at the both ends in a tunnel VXLAN
Two parts of the same broadcast domain, the two parts can be identified with the same VNI, can also be marked with different VNI
Know.Meanwhile first includes the first VTEP on gateway, the first VTEP is a pseudo-entity, it is one of the first tunnel VXLAN
Endpoint.First tunnel VXLAN is the tunnel between GW1 and PE2, another endpoint in the first tunnel VXLAN can make second
VTEP is located on PE2.2nd VTEP while the still endpoint in the 2nd tunnel VXLAN, the 2nd tunnel VXLAN is located at PE2 and GW2
Between.There is also another endpoints in the 2nd tunnel VXLAN on GW2.The IP address of first gateway is described first
The IP address of VTEP, following embodiments repeat no more herein.In one embodiment, the first gateway sends out the route messages of generation
Give all PE for being in communication with connection.In one embodiment, route messages are Border Gateway Protocol (Border
Gateway Protocol, BGP) EVPN message, and the BGP EVPN message is defined by RFC7432, repeats no more herein.
Operation 602, the first PE obtains secondary route message and handling first route messages,
In include by the first VNI and described first in first route messages to the processing of first route messages
The IP address of VTEP is transferred in the first expansion of first route messages, and the first route messages of Xiang Suoshu are added to
First MPLS label of two PE distribution, and add to first route messages IP address of the first PE.
In embodiments of the present invention, the first PE is handled the first route messages after receiving the first route messages.
Concrete processing procedure is as follows:
1) the first VNI in route messages is replaced with the first MPLS label by the first PE.Specifically, in the embodiment of the present invention
In, the first PE is after receiving route messages, with searching whether existing the first gateway with first route messages in local
Corresponding first MPLS label of location information.If it does not exist, then it needs to distribute the first MPLS label.Specific MPLS label distribution
Process can refer to the technical solution in prior embodiment, and the present invention repeats no more.In an embodiment of the present invention, the first PE
First MPLS label of distribution is BGP EVPN label.If it exists, then the first MPLS label can be used.
2) address information of the first gateway in the first route messages is replaced with the address information of the first PE by the first PE.Tool
Body, in an embodiment of the present invention, the address information of the first PE is the address that the first PE is used to be communicated in backbone network
Information, the hereinafter referred to as IP address of the first PE.
3) the first PE increases expansion into route messages, which can be a field, is also possible to more
Then the IP address information of first VNI and the first VTEP is transferred to extended field by a extended field.Specifically, in this hair
In bright embodiment, the first PE increases extended field to the route messages after replacement protocol contents.Then, by the first VNI and
In the IP address information write-in extended field of one VTEP, to constitute the new route messages structure with extended field.Pass through
The IP address information of VNI and the first VETP can be informed the 2nd PE by the extended field, the first PE, then the first PE no longer needs to local
Some mapping relations relevant to VNI are stored, the equipment pressure of the first PE is effectively reduced, extend service life of equipment, with section
Save expense.
Operation 603, secondary route message is sent to the 2nd PE by the first PE.
Operation 604, the 2nd PE obtains third route messages according to the secondary route message, wherein the third road
It include the address of the first VM, the IP address and the 2nd VNI of the 2nd PE by message, the 2nd VNI is described wide for identifying
Broadcast the second part in domain.
In an embodiment of the present invention, one carries out the processing acquisition third route messages to secondary route message
Example may include the following contents.
1) extended field and the first MPLS label of secondary route message are removed.Specifically, in an embodiment of the present invention,
2nd PE can delete extended field in the information in record extended field.Also, the 2nd PE is removed in secondary route message
The first MPLS label, for example, by being emptied in secondary route message with the field of the first MPLS label.
2) the 2nd PE makes secondary route message carry the 2nd VNI.Specifically, in an embodiment of the present invention, if the 2nd PE
Corresponding 2nd VNI first VNI corresponding with the first PE is identical, i.e. the second part and the first PE of broadcast domain belonging to the 2nd PE
The first part of the broadcast domain is the same part of the same broadcast domain, then the 2nd VNI that secondary route message carries
Value and the value of the first VNI be identical.If corresponding 2nd VNI of the 2nd PE first VNI corresponding with the first PE not phase
Together, that is, the first part of broadcast domain belonging to the second part and the first PE of broadcast domain belonging to the 2nd PE is different, then the 2nd PE
2nd VNI is added in secondary route message.In an embodiment of the present invention, the 2nd VNI can be written and be saved by the 2nd PE
In the corresponding field of first MPLS label, i.e., the second VNI is substituted into the first MPLS label.
3) address information of the 2nd PE is added.
2nd PE is by carrying out above-mentioned processing to secondary route message, thus realize the transmission of control plane message between PE, it is real
Having showed can be communicated by the new route messages structure with Extended Protocol field between PE.Also, pass through the first VNI of record
And/or the corresponding relationship between the address information of the 2nd VNI, the first MPLS label and the first gateway, realize subsequent downstream
Measure repeating process.
Operation 605, the 2nd PE save the first corresponding relationship, and first corresponding relationship includes the first VNI, the first net
The IP address of pass and first MPLS label.
In one embodiment, the 2nd PE determines whether the 2nd PE and the first PE belong to the same portion of the same broadcast domain
Point.Specifically, identical as gateway, the upper same maintenance of PE has the corresponding VNI of this PE.2nd PE can be by the way that local whether deposit be inquired
VNI in route messages, i.e. the first VNI, so that confirmation the 2nd PE and the first PE VNI whether having the same, that is, belong to same
The same part of one broadcast domain in one embodiment, if the 2nd PE and the first PE are not belonging to the same of the same broadcast domain
Part, then from corresponding twoth VNI different with the first VNI of the 2nd PE.In this case, the 2nd PE saves first
VNI, the 2nd VNI, the first MPLS label and the first gateway address information between corresponding relationship, and sealed again subsequent
Twoth VNI corresponding with the 2nd PE is encapsulated into route messages during dress.In another embodiment, if the 2nd PE is inquired
To locally there are the first VNI, then illustrate that the 2nd PE and the first PE belongs to the same part of the same broadcast domain.In such case
Under, the 2nd PE records the first VNI, the first MPLS label, the corresponding relationship between the address information of the first gateway.Operation 606, the
Third route messages are transmitted to the second gateway by two PE.
Operation 607, after the second gateway receives third route messages, on local maintenance road corresponding with third route messages
By information.That is, the second gateway records the ground of the address information of VM, the first VNI or the 2nd VNI, the 2nd PE in local routing table
Corresponding relationship between location information and EVI, to instruct downlink traffic to forward by the corresponding relationship.
Specifically, in one embodiment, if under the first VM of the 2nd VM on the second gateway on the first gateway is sent
Row data message, then the second gateway receives the downlink data message of the 2nd VM, wherein in one embodiment, the downlink data
Include but is not limited in message: data portion (i.e. original Layer 2 data packet) and address information, wherein address information includes:
Destination address (i.e. the MAC Address and IP address of the first VM) and source address (i.e. the address MAC of the 2nd VM and IP address).
Then, the second gateway can carry out UDP encapsulation to downlink data message.Specifically, in one embodiment, second
Gateway inquires local routing table according to destination address, to obtain relevant information corresponding with the destination address.Of the invention real
Apply in example, the second gateway in control plane message transmitting procedure, local record have the address information of the first VM, the first VNI or
2nd VNI, the 2nd PE address information and EVI between corresponding relationship.Then, the second gateway can be by will be in downlink data message
Destination address matched with the routing iinformation in local routing table, so that it is determined that the data message hit local routing letter
Breath, the second gateway read the address information of the first VNI or the 2nd VNI, the 2nd PE that have recorded.Then, the second gateway is by first
The address information of VNI or the 2nd VNI, the 2nd PE are encapsulated into downlink data message, and to obtain UDP message packet, i.e., the present invention is real
Apply the first data message in example.
Then, address information of second gateway according to the 2nd PE, is sent to the 2nd PE for the first data message after encapsulation.
Operation 608, the 2nd PE receive the first data message from the second gateway, described in first data message carries
2nd VNI.First data message can be a UDP message message, be also possible to other kinds of data message.
Operation 609, the 2nd PE are first data message according to the 2nd VNI and first corresponding relationship
Determine the IP address and first MPLS label of first gateway, and according to the IP address of first gateway and described
One MPLS label is handled to obtain the second data message to first data message.Described in second data message carries
First VNI, in the internal layer message of the IP address of first gateway, first MPLS label and first data message
Data payload, second data message are the MPLS data messages for being packaged with first MPLS label
In one embodiment, after the 2nd PE receives the first data message that the second gateway is sent, to the first data message
Carry out overlay decapsulation.Specifically, the 2nd PE removes the outer layer addresses information of the first data message, wherein the outer layer addresses
Information can be the IP address of the 2nd PE, such as the IP address of the 2nd VTEP.Further, the 2nd PE is obtained in data message
The 2nd VNI, and it is deleted from the first data message, realizes overlay decapsulation.
2nd PE will also be according to the first VNI saved in the 2nd VNI and the 2nd PE carried in the first data message and
The corresponding relationship of two VNI determines the first VNI, and replaces the 2nd VNI with the first VNI.But when the first VNI and the 2nd VNI phase
Meanwhile the 2nd VNI can be considered as the first VNI, it is not necessary to be replaced.Further, the 2nd PE is according to the first VNI and described
First corresponding relationship determines the IP address and the first MPLS label of the first gateway, wherein the IP address of the first gateway can be first
The IP address of the first VTEP in gateway.After the IP address and the first MPLS label for obtaining the first gateway, the 2nd PE is by first
The IP address of gateway is added in the first data message, and encapsulates the first MPLS label for the first data message, obtains second
Data message.When, there are when P node, the 2nd PE also needs to encapsulate P node for the second data message between the first PE and the 2nd PE
The public network IGP MPLS label of distribution, to make the second data message reach the first PE by P node.
It can be seen that the present invention is by being to carry MPLS label, VNI information and the first gateway by packet encapsulation
The MPLS data packet of address information carries out overlay encapsulation to realize on the 2nd PE in advance, makes the first PE without having this
The transmission flow of downlink data message can be realized in function, and new PE is enable to coexist with old PE, to improve the utilization of resources
Rate.
Operation 610, the first PE is from the 2nd PE reception second data message and by second number
It is handled according to message and obtains third data message, wherein including deleting the MPLS to the processing of second data message
First MPLS label in data message.
Specifically, in an embodiment of the present invention, the 2nd PE is by the channel MPLS between the first PE, by MPLS number
The first PE is sent to according to message.In one embodiment, if there are P node between the first PE and the 2nd PE, the 2nd PE will
MPLS data message is sent to P node, after P node removes public network IGP MPLS label, then according to the MPLS in data message
Label, i.e. EVPN MPLS label give MPLS data message forwarding to the first PE.The specific repeating process of P node can refer to existing
Technical solution in technical em- bodiments, the present invention repeat no more.
Wherein, in an embodiment of the present invention, it after the first PE receives the second data message, reads in the second data message
The IP address of the first gateway carried.Then, the first PE is by the routing iinformation in the IP address and local routing table of the first gateway
It is matched, to determine whether the IP address of first gateway hits the routing iinformation in local routing table.If successful match,
First PE can give the third data message forwarding obtained based on the second data message to the first gateway.In the embodiment of the present invention
In, local routing table is pre-established on the first PE, maintenance has the routing iinformation corresponding to the first gateway in local routing table, should
Routing iinformation includes the IP address and corresponding interface of the first gateway.
Optionally, in one embodiment, the first PE removes MPLS data before being forwarded MPLS data message
MPLS label in message, to obtain UDP message packet, that is, can be used for passing between the first gateway and the first PE by IP agreement
Defeated message.Source address (address information of the 2nd VM), destination address (address information of the first VM), the first VNI in the message
And first gateway IP address.
Operation 611, the first PE send the third data message to first gateway.
Specifically, the first PE can carry out the address information of the first gateway and the routing iinformation in the routing table locally prestored
Matching, if successful match, the first PE will remove MPLS label after MPLS data message forwarding to the first gateway.Described first
PE can be that third data message determines an exit port according to the MPLS label, and by the exit port to described first
Gateway sends the third message.
It can be seen that the first PE is not necessarily to carry out the message received the processing such as overlay encapsulation, lower line number can be realized
According to the repeating process of message, to realize coexisting for old PE and new PE, resource utilization is effectively increased.
In an embodiment of the present invention, the first gateway receives the MPLS data message after removing MPLS label, i.e. third
Data message, then, the first gateway carry out subsequent operation to third data message, such as delete the first VNI, and will be by operation
Afterwards be transmitted to the first VM.
In technical solution provided in an embodiment of the present invention, on the one hand, carry out the mistake of message transmissions to the 2nd PE in the first PE
Cheng Zhong adds extended field into route messages, so as to the first PE without storing between MPLS label and routing iinformation
Corresponding relationship is sent to the 2nd PE, effectively reduces setting for the first end PE after extended field directly being written in routing iinformation
Standby pressure.On the other hand, the 2nd PE can get routing iinformation by the content in extended field, thus carrying out lower line number
Downlink data message is directly packaged into MPLS data message during forwarding according to message, i.e., is realized under at the 2nd end PE
The overlay of row data message is encapsulated, and makes the first PE without having the function, the transport stream of downlink data message can be realized
Journey, and then realize coexisting for old PE and new PE, effectively improve resource utilization.
It is above-mentioned that mainly scheme provided in an embodiment of the present invention is described from the angle of the first PE and the 2nd PE interaction.
It is understood that PE (such as the first PE, the 2nd PE) is in order to realize the above functions, it comprises executing, each function is corresponding
Hardware configuration and/or software module.In conjunction with disclosed in this invention embodiment describe each exemplary unit and algorithm operating,
The embodiment of the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with hardware also
It is the mode of computer software driving hardware to execute, the specific application and design constraint depending on technical solution.Ability
Field technique personnel can realize described function to each specific application using different methods, but this realization
It is not considered that the range of the technical solution beyond the embodiment of the present invention.
The embodiment of the present invention can carry out functional unit to PE (such as the first PE, the 2nd PE) according to above method example
It divides, for example, each functional unit of each function division can be corresponded to, two or more functions can also be integrated in
In one processing unit.Above-mentioned integrated unit both can take the form of hardware realization, can also use SFU software functional unit
Form realize.It should be noted that being schematical, only a kind of logic function to the division of unit in the embodiment of the present invention
It can divide, there may be another division manner in actual implementation.
For example, above-mentioned integrated unit can be a kind of electronic equipment, comprising: one or more processors;It deposits thereon
The one or more machine readable medias for containing instruction, when being executed by one or more of processors, so that the electronics
Equipment executes the message transmitting method as described in above-described embodiment.
For another example above-mentioned integrated unit can also include a kind of readable storage medium storing program for executing, the finger in the storage medium
When enabling the processor execution by electronic equipment, so that electronic equipment is able to carry out the message transmissions as described in above-described embodiment right
Method.
Using integrated unit, one kind that Fig. 7 A shows PE involved in above-described embodiment is possible
Structural schematic diagram.PE700 includes: processing unit 702 and communication unit 703.Processing unit 702 be used for the movement of PE700 into
Row control management.For example, processing unit 702 is for supporting PE700 to execute the operation in Fig. 6 when PE700 is a PE
601, operation 604 and/or other operations for executing techniques described herein.When PE700 is two PE, processing unit
For supporting PE700 to execute the operation 602 in Fig. 6, operation 603 and/or other behaviour for executing techniques described herein
Make.Communication unit 703 is used to support the communication of PE700 Yu other PE.PE700 can also include that storage unit 701 is used for, and store
The program code and data of PE700.
Wherein, processing unit 702 can be processor or controller, such as can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor,
DSP), specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate
Array (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic device
Part, hardware component or any combination thereof.It, which may be implemented or executes, combines various examples described in present disclosure
The logic block of property, module and circuit.The processor is also possible to realize the combination of computing function, such as includes one or more
The combination etc. of a micro processor combination, DSP and microprocessor.Communication unit 703 can be communication interface, transceiver, transmitting-receiving
Circuit etc., wherein communication interface is to be referred to as, and may include connecing between one or more interfaces, such as the first PE and the 2nd PE
Mouthful.Storage unit 701 can be memory.
When processing unit 702 is processor, communication unit 703 is communication interface, when storage unit 701 is memory, this
Apply for that PE involved in embodiment can be PE shown in Fig. 7 B.
Refering to shown in Fig. 7 B, which includes: processor 712, communication interface 713, memory 711.Optionally,
PE710 can also include bus 714.Wherein, communication interface 713, processor 77 and memory 711 can pass through bus 714
It is connected with each other;Bus 714 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation
PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA)
Bus etc..The bus 714 can be divided into address bus, data/address bus, control bus etc..Only to be used in Fig. 7 B convenient for indicating
One thick line indicates, it is not intended that an only bus or a type of bus.
PE shown in above-mentioned Fig. 7 A or Fig. 7 B can be the first PE or the 2nd PE.
The operation of the method in conjunction with described in the embodiment of the present application disclosure or algorithm can be come real in a manner of hardware
It is existing, it is also possible to execute the mode of software instruction by processor to realize.Software instruction can be made of corresponding software module,
Software module can be stored on random access memory (Random Access Memory, RAM), flash memory, read-only memory
(Read Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable ROM,
EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), register, hard disk, movement are hard
In the storage medium of disk, CD-ROM (CD-ROM) or any other form well known in the art.A kind of illustrative storage
Medium couples to enable a processor to from the read information, and can be written to the storage medium and believe to processor
Breath.Certainly, storage medium is also possible to the component part of processor.Pocessor and storage media can be located in ASIC.In addition,
The ASIC can be located in PE.Certainly, pocessor and storage media can also be used as discrete assembly and be present in PE.
Those skilled in the art it will be appreciated that in said one or multiple examples, retouched by the embodiment of the present application
The function of stating can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by this
A little functions storages in computer-readable medium or as on computer-readable medium one or more instructions or code into
Row transmission.Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from one
Any medium of the place to another place transmission computer program.Storage medium can be general or specialized computer and can deposit
Any usable medium taken.
Above-described specific embodiment carries out the purpose of the embodiment of the present application, technical scheme and beneficial effects
It is further described, it should be understood that the foregoing is merely the specific embodiments of the embodiment of the present application, and does not have to
In limit the embodiment of the present application protection scope, it is all on the basis of the technical solution of the embodiment of the present application, done it is any
Modification, equivalent replacement, improvement etc. should all include within the protection scope of the embodiment of the present application.
Claims (19)
1. a kind of network equipment characterized by comprising
Memory preserves computer-readable instruction in the memory;
Processor, the processor are used to execute the described instruction in the memory, thus:
The first route messages are received from the first gateway, the first via is by the address that message includes the first virtual machine VM, the first void
The internet protocol address for intending expansible local area network VXLAN network designation symbol VNI and first gateway, wherein described first
VNI identifies the first part of broadcast domain, and the first part includes the first VM;
Secondary route message is obtained and handling first route messages, wherein to first route messages
Processing includes shifting the IP address of the first VNI and the first VXLAN endpoint of a tunnel VTEP in first route messages
Into the first expansion of first route messages, the first route messages of Xiang Suoshu are added to provider edge equipment PE points
The the first multiprotocol label switching MPLS label matched, and with adding the IP of the network equipment to first route messages
Location;And
The secondary route message is sent to the PE.
2. the network equipment according to claim 1, wherein the processor is also used to execute described instruction, thus:
The first data message is received from the PE, first data message is the MPLS number for being packaged with first MPLS label
According to message, first data message carries the IP address of the first VNI and the VTEP;
The second data message is obtained and handling first data message, wherein to first data message
Processing includes first MPLS label deleted in the MPLS data message;
It is that second data message determines exit port according to first MPLS label;And
Second data message is sent to first gateway by the exit port.
3. the network equipment according to claim 2, wherein the processor is also used to execute described instruction, thus:
It saves first MPLS label and reaches the exit port corresponding relationship of the exit port of first gateway;And
It is that second data message determines exit port according to first MPLS label and the exit port corresponding relationship.
4. the network equipment according to claim 1, wherein first route messages are Border Gateway Protocol (BGP) ether
Net virtual private networks EVPN message, first MPLS label are EVPN MPLS label.
5. the network equipment according to claim 2, wherein first data message further includes the second MPLS label, institute
Stating the second MPLS label is Interior Gateway Protocol IGP MPLS label, in first data message, the 2nd MPLS mark
Label are the outer layer labels of first MPLS label.
6. the network equipment according to claim 1, wherein the expansion is one or more extended fields.
7. a kind of network equipment characterized by comprising
Memory preserves computer-readable instruction in the memory;
Processor, the processor are used to execute the described instruction in the memory, thus:
The first route messages are received from provider edge equipment PE, the first via includes the first expansion by message, described
First expansion includes the IP address of the first virtual expansible local area network VXLAN network designation symbol VNI and the first gateway, described
First route messages further include the address of the first virtual machine VM, and the PE is the first multiprotocol label of network equipment distribution
MPLS label and the IP address of the PE are exchanged, wherein first VNI is used to identify the first part of broadcast domain, it is described
First part includes the first VM;
Secondary route message is obtained according to first route messages, wherein the secondary route message includes the first VM
Address, the IP address of the network equipment and the 2nd VNI, the 2nd VNI are used to identify the second part of the broadcast domain;
The first corresponding relationship is saved, first corresponding relationship includes the first VNI, the IP address of the first gateway and MPLS mark
Label;
The secondary route message is sent to the second gateway.
8. the network equipment according to claim 7, wherein the processor is also used to execute described instruction, thus:
The first data message is received from the second gateway, first data message carries the 2nd VNI;
According to the 2nd VNI and the corresponding relationship be first data message determine first gateway IP address and
The MPLS label;
First data message is handled to obtain second according to the IP address of first gateway and the MPLS label
Data message, second data message carry the first VNI, the IP address of first gateway, the MPLS label and
Data payload in the internal layer message of first data message.
9. the network equipment according to claim 8, wherein the second of the first part of the broadcast domain and the broadcast domain
Part is identical, and the first VNI is identical with the 2nd VNI.
10. the network equipment according to claim 8, wherein the of the first part of the broadcast domain and the broadcast domain
Two parts are different, and the first VNI is different with the 2nd VNI, and first corresponding relationship further includes the 2nd VNI.
11. the network equipment according to claim 7, wherein first route messages are Border Gateway Protocol (BGP) ether
Net virtual private networks EVPN message, first MPLS label are EVPN MPLS label.
12. a kind of message transmitting method characterized by comprising
First provider edge equipment PE receives the first route messages from the first gateway, and the first via includes first empty by message
The address of quasi- machine VM, the first virtual expansible local area network VXLAN network designation accord with the Internet protocol of VNI and first gateway
IP address, wherein the first part of first VNI mark broadcast domain, the first part includes the first VM;
First PE obtains secondary route message and handling first route messages, wherein to described first
The processing of route messages includes by the first VNI and the first VXLAN endpoint of a tunnel in first route messages
The IP address of VTEP is transferred in the first expansion of first route messages, and the first route messages of Xiang Suoshu are added to
First multiprotocol label switching MPLS label of two PE distribution, and add to first route messages IP of the first PE
Address;And
First PE sends the secondary route message to the 2nd PE.
13. according to the method for claim 12, further includes:
First PE receives the first data message from the 2nd PE, and first data message is to be packaged with described first
The MPLS data message of MPLS label, first data message carry the IP address of the first VNI and the VTEP;
First PE obtains the second data message and handling first data message, wherein to described first
The processing of data message includes first MPLS label deleted in the MPLS data message;
First PE is that second data message determines exit port according to first MPLS label;And
First PE sends second data message to first gateway by the exit port.
14. the method according to claim 11, the method also includes:
First PE saves first MPLS label and reaches the exit port corresponding relationship of the exit port of first gateway;
And
First PE is determined according to first MPLS label and the exit port corresponding relationship for second data message
Exit port.
15. according to the method for claim 12, first route messages are that Border Gateway Protocol (BGP) Ethernet is virtually private
There is network EVPN message, first MPLS label is EVPN MPLS label.
16. a kind of method of the transmitting message in the network including the first provider edge equipment PE and the 2nd PE, feature exist
In, comprising:
2nd PE receives the first route messages from the first PE, and the first via includes the first expansion by message,
First expansion includes the IP address of the first virtual expansible local area network VXLAN network designation symbol VNI and the first gateway,
First route messages further include the address of the first virtual machine VM, and the first PE is more than first associations of the 2nd PE distribution
Tag switching MPLS label and the IP address of the first PE are discussed, wherein first VNI is for identifying the first of broadcast domain
Part, the first part include the first VM;
2nd PE obtains secondary route message according to first route messages, wherein the secondary route message includes institute
The address of the first VM, the IP address and the 2nd VNI of the 2nd PE are stated, the 2nd VNI is used to identify second of the broadcast domain
Point;
2nd PE saves the first corresponding relationship, first corresponding relationship include the first VNI, the first gateway IP address and
The MPLS label;
2nd PE sends the secondary route message to the second gateway.
17. according to the method for claim 16, which is characterized in that further include:
2nd PE receives the first data message from the second gateway, and first data message carries the 2nd VNI;
2nd PE is that first data message determines first gateway according to the 2nd VNI and the corresponding relationship
IP address and the MPLS label;
2nd PE according to the IP address and the MPLS label of first gateway to first data message at
Reason obtains the second data message, and second data message carries the first VNI, the IP address of first gateway, described
Data payload in the internal layer message of MPLS label and first data message.
18. according to the method for claim 16, first route messages are that Border Gateway Protocol (BGP) Ethernet is virtually private
There is network EVPN message, first MPLS label is EVPN MPLS label.
19. a kind of message handling system, which is characterized in that the system comprises: the first provider edge equipment PE and the 2nd PE;
First PE is used for, and receives the first route messages from the first gateway, the first via includes the first virtual machine by message
The address of VM, the first virtual expansible local area network VXLAN network designation are with according with the Internet protocol IP of VNI and first gateway
Location, wherein the first part of first VNI mark broadcast domain, the first part includes the first VM;By to described
First route messages are handled and obtain secondary route message, wherein including to the processing of first route messages will be described
The IP address of the first VNI and the first VXLAN endpoint of a tunnel VTEP in first route messages are transferred to described first
In first expansion of route messages, the first multiprotocol label that the first route messages of Xiang Suoshu are added to the 2nd PE distribution is handed over
MPLS label is changed, and adds the IP address of the first PE to first route messages;To described in the 2nd PE transmission
Secondary route message;
2nd PE is used for, and receives secondary route message from the first PE, obtains third according to the secondary route message
Route messages, wherein the third route messages include the IP address and the 2nd VNI of the address of the first VM, the 2nd PE, institute
The 2nd VNI is stated for identifying the second part of the broadcast domain;2nd PE is also used to, and saving includes the first VNI, the first net
First corresponding relationship of the IP address of pass and the MPLS label, and the secondary route message is sent to the second gateway.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711410740.2A CN108199945B (en) | 2017-12-23 | 2017-12-23 | Message transmitting method, the network equipment and message handling system |
PCT/CN2018/122208 WO2019120233A1 (en) | 2017-12-23 | 2018-12-20 | Packet transmission method, provider edge device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711410740.2A CN108199945B (en) | 2017-12-23 | 2017-12-23 | Message transmitting method, the network equipment and message handling system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108199945A CN108199945A (en) | 2018-06-22 |
CN108199945B true CN108199945B (en) | 2019-10-01 |
Family
ID=62583655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711410740.2A Active CN108199945B (en) | 2017-12-23 | 2017-12-23 | Message transmitting method, the network equipment and message handling system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108199945B (en) |
WO (1) | WO2019120233A1 (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661714B (en) * | 2018-06-30 | 2022-06-28 | 华为技术有限公司 | Method for sending BGP message, method for receiving BGP message and equipment |
CN110798403B (en) * | 2018-08-01 | 2021-02-23 | 华为技术有限公司 | Communication method, communication device and communication system |
CN109617779B (en) * | 2018-12-19 | 2020-12-18 | 锐捷网络股份有限公司 | Routing table maintenance method and device based on VTEP |
CN112468383B (en) * | 2019-09-06 | 2023-01-06 | 华为云计算技术有限公司 | Communication method and gateway in hybrid cloud environment, management method and device |
CN112511398B (en) * | 2019-09-16 | 2023-11-28 | 中兴通讯股份有限公司 | Method and device for preventing flow from bypassing |
CN112532756B (en) * | 2019-09-17 | 2023-10-24 | 华为技术有限公司 | Interface expansion method, device and system |
CN110943896B (en) * | 2019-10-08 | 2022-12-23 | 中移(杭州)信息技术有限公司 | PPPoE data message transmission method, device, equipment and storage medium |
CN110691139B (en) * | 2019-10-11 | 2022-07-15 | 北京字节跳动网络技术有限公司 | Data transmission method, device, equipment and storage medium |
CN111131030B (en) * | 2019-12-24 | 2020-10-30 | 浪潮思科网络科技有限公司 | Route processing method, equipment and medium under EVPN |
CN113098749A (en) * | 2020-01-08 | 2021-07-09 | 华为技术有限公司 | Message sending method, device and storage medium |
CN113923158B (en) * | 2020-07-07 | 2023-09-22 | 华为技术有限公司 | Message forwarding, route sending and receiving method and device |
CN112615782B (en) * | 2020-11-18 | 2022-09-27 | 鹏城实验室 | VNI configuration method and message forwarding method |
CN112422398B (en) * | 2020-12-08 | 2022-04-15 | 中国联合网络通信集团有限公司 | Message transmission method and communication device |
CN114827057B (en) * | 2021-01-11 | 2024-04-16 | 中国电信股份有限公司 | Communication method and communication system |
CN113259162B (en) * | 2021-05-08 | 2022-09-16 | 中国工商银行股份有限公司 | Network fault determination method and device, electronic equipment and storage medium |
CN113992566B (en) * | 2021-10-26 | 2023-03-21 | 新华三信息安全技术有限公司 | Message broadcasting method and device |
CN115037690A (en) * | 2022-06-21 | 2022-09-09 | 阿里巴巴(中国)有限公司 | Traffic scheduling method and device, electronic equipment and storage medium |
CN115567443A (en) * | 2022-09-23 | 2023-01-03 | 中国联合网络通信集团有限公司 | Service data transmission method and device, gateway equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9210079B2 (en) * | 2012-08-14 | 2015-12-08 | Vmware, Inc. | Method and system for virtual and physical network integration |
JP6024474B2 (en) * | 2013-01-23 | 2016-11-16 | 富士通株式会社 | Multi-tenant system, management apparatus, management program, and control method of multi-tenant system |
US10097372B2 (en) * | 2014-01-09 | 2018-10-09 | Ciena Corporation | Method for resource optimized network virtualization overlay transport in virtualized data center environments |
US9590902B2 (en) * | 2014-11-10 | 2017-03-07 | Juniper Networks, Inc. | Signaling aliasing capability in data centers |
CN105591868B (en) * | 2015-07-15 | 2019-03-15 | 新华三技术有限公司 | A kind of cut-in method and device of Virtual Private Network VPN |
-
2017
- 2017-12-23 CN CN201711410740.2A patent/CN108199945B/en active Active
-
2018
- 2018-12-20 WO PCT/CN2018/122208 patent/WO2019120233A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
Also Published As
Publication number | Publication date |
---|---|
WO2019120233A1 (en) | 2019-06-27 |
CN108199945A (en) | 2018-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108199945B (en) | Message transmitting method, the network equipment and message handling system | |
US20230006924A1 (en) | Method for Establishing Segment Routing for IPv6 Tunnel | |
US10164838B2 (en) | Seamless segment routing | |
CN103888386B (en) | The transmission method and device, system of expansible virtual local area network packet | |
US7174388B2 (en) | System, device, and method for supporting virtual private networks in a label switched communication network | |
CN106656781B (en) | Method, device and system for transmitting message | |
US7307991B2 (en) | MPLS network system | |
US7082140B1 (en) | System, device and method for supporting a label switched path across a non-MPLS compliant segment | |
CN113411243B (en) | Data transmission method and device | |
CN110912795A (en) | Transmission control method, node, network system and storage medium | |
JP7080983B2 (en) | Method and device for message processing using unified SR label stack | |
CN101155115B (en) | Method and apparatus for implementing automatic tunnel | |
WO2018032961A1 (en) | Information management method, apparatus and system | |
WO2020134139A1 (en) | Service data forwarding method, network device, and network system | |
CN111937358B (en) | Multiple VRF generic device internet protocol addresses for fabric edge devices | |
WO2013013642A1 (en) | Method for processing inter-loop service and crossing node | |
WO2022184169A1 (en) | Packet forwarding method and system, storage medium, and electronic device | |
US8929366B2 (en) | Method and apparatus for transporting packets with specific traffic flows having strict packet ordering requirements over a network using multipath techniques | |
CN108322376A (en) | Route synchronization method, apparatus and machine readable storage medium | |
JP5913732B2 (en) | Pseudowire groups in packet switched networks | |
CN104471538A (en) | Data stream processing method, device and system | |
CN112994928B (en) | Virtual machine management method, device and system | |
CN104468305B (en) | Realize Layer3 Virtual Private Network method and apparatus | |
CN109428819A (en) | Transmit method, networking component, equipment and the computer storage medium of data | |
US10924395B2 (en) | Seamless multipoint label distribution protocol (mLDP) transport over a bit index explicit replication (BIER) core |
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 |