CN104468394B - Message forwarding method and device in a kind of VXLAN networks - Google Patents

Message forwarding method and device in a kind of VXLAN networks Download PDF

Info

Publication number
CN104468394B
CN104468394B CN201410727841.2A CN201410727841A CN104468394B CN 104468394 B CN104468394 B CN 104468394B CN 201410727841 A CN201410727841 A CN 201410727841A CN 104468394 B CN104468394 B CN 104468394B
Authority
CN
China
Prior art keywords
vtep
address
vxlan
tunnel
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
Application number
CN201410727841.2A
Other languages
Chinese (zh)
Other versions
CN104468394A (en
Inventor
王茹萍
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410727841.2A priority Critical patent/CN104468394B/en
Publication of CN104468394A publication Critical patent/CN104468394A/en
Application granted granted Critical
Publication of CN104468394B publication Critical patent/CN104468394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses message forwarding method and device in a kind of VXLAN networks, the VXLAN networks, which include the first tunnel terminal VTEP at VXLAN tunnels both ends and the 2nd VTEP, wherein this method, to be included:Multiple VTEP IP address are configured on the first VTEP;First VTEP establishes one article of VXLAN tunnel using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address respectively, each VXLAN tunnels correspond to different business service grades, and the source and destination VTEP IP address at tunnel both ends and differ, forwarded for the user's message under the first VTEP on the VXLAN tunnels of corresponding business service grade.This method can preferentially ensure the bandwidth requirement of special service.

Description

Message forwarding method and device in a kind of VXLAN networks
Technical field
The present invention relates to network communication technology field, message forwarding method and device in more particularly to a kind of VXLAN networks.
Background technology
In the multi-tenant environment of cloud computing, each tenant is required for distribution one to be carried out very with other logical network The logical network isolated well.The isolation of logical network typically passes through VLAN (VLAN, Virtual Local Area Network) technology solves.In IEEE802.1Q standards, due to VLAN mark maximum 12bit, so in certain limit VLAN maximum number only has 4K.As the multi-tenant demand under cloud environment is more and more, 4K VLAN can not meet number The demand disposed according to center large scale network.In addition, in cloud computing environment, workload is frequently necessary in multiple data centers Migrated with multiple cloud platforms, and the region division for being currently based on IP subnets limits the application of two layer connectivitys.
VXLAN is a kind of MAC-in-UDP technologies, and it passes through 2.5 layers of setting, one new network segmentation mould in network Formula, adds 24bit segment identifier, has greatly expanded the number for the logical network that can be supported in cloud computing environment Amount;And workload is departed from physical network, realizes that logical network crosses over IP network.
VXLAN technologies make multiple virtual machines (VM, Virtual Machine) in same VXLAN can be across three-layer network Network is communicated, and in VXLAN technologies, the corresponding virtual overlay network of each tenant, each virtual overlay network is considered as one The individual VXLAN network segments, and pass through virtual expansible local net network identifier (the VXLAN Network of one 24 Identifier, VNI) mark.Only possessing just allows to be communicated between identical VNI VM.
VXLAN networking schematic diagrams are as shown in Figure 1 at present.(encapsulation decapsulation VXLAN is set tunnel terminal (VTEP) equipment It is standby), can be physical server virtual switch (vSwitch) or physical switches.Such as Fig. 1, in a physics More virtual machine VM are run on server, while has vSwitch to be used for the encapsulation of VXLAN messages as VTEP on the server and unseals Dress.All operation has following three VM on two physical servers, then public network is accessed by VXLAN between each VM, due to Same purpose VTEP (i.e. same purpose vSwitch), therefore only establish one article of VXLAN between the first VTEP and the 2nd VTEP Tunnel (Tunnel), the communication between three VM all uses this tunnel, if congestion occurs in tunnel, cannot be distinguished by business progress Bandwidth guaranteed.
So the VXLAN flows forwarding all neither one Bandwidth guaranteed mechanism mentioned in prior art, on server If multiple VXLAN flows arrive same opposite end, then same VXLAN tunnels will be used, when there is network congestion When, different VXLAN flow can not obtain Bandwidth guaranteed according to service priority.
The content of the invention
Object of the present invention is to provide message forwarding method and device in a kind of VXLAN networks, it is allowed to high business clothes The flow special VXLAN tunnels forwarding therethrough for grade of being engaged in, makes different VXLAN flow obtain band according to service priority Width ensures.
The embodiments of the invention provide message forwarding method in a kind of VXLAN networks, the VXLAN networks include VXLAN The first tunnel terminal VTEP and the 2nd VTEP, this method at tunnel both ends include:Multiple VTEP are configured on the first VTEP IP address;First VTEP establishes one article using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address respectively VXLAN tunnels, each VXLAN tunnel correspond to different business service grades, and the source and destination VTEP IP at tunnel both ends Location simultaneously differs, and is forwarded for the user's message under the first VTEP on the VXLAN tunnels of corresponding business service grade.
The embodiment of the present invention additionally provides message forwarding method in a kind of VXLAN networks, applied to it is described first virtual Interchanger direct-connected channel end VTEP;This method includes:The first VTEP static routing is pointed in configuration on the interchanger; The static routing is introduced into the Routing Protocol of public network operation, the Routing Protocol run by public network is advertised to the 2nd VTEP, is used for First VTEP gives the 2nd VTEP before flow table is received, by itself advertising of route.
The embodiment of the present invention additionally provides apparatus for forwarding message in a kind of VXLAN networks, and the device is applied to tunnel Terminal VTEP, including:VTEP IP dispensing units, multiple VTEP IP address are configured on VTEP;Tunnel building unit, makes respectively A VXLAN tunnel, each VXLAN tunnel are established with each VTEP IP address and opposite end VTEP each VTEP IP address Corresponding different business service grade, and the source and destination VTEP IP address at tunnel both ends and differ, under the VTEP User's message forwarded on the VXLAN tunnels of corresponding business service grade.
The embodiment of the present invention additionally provides apparatus for forwarding message in a kind of VXLAN networks, applied to the tunnel Interchanger direct-connected terminal VTEP;The device includes:Static routing dispensing unit, on the interchanger described in configuration sensing VTEP static routing;Advertising of route unit, the static routing is introduced into the Routing Protocol of public network operation, by public network operation Routing Protocol is advertised to opposite end VTEP, for the VTEP before flow table is received, gives itself advertising of route to opposite end VTEP.
The beneficial effects of the present invention are the present invention establishes a plurality of VXLAN tunnels, it is allowed to the flow of high business service grade Special VXLAN tunnels forwarding therethrough, makes different VXLAN flow obtain Bandwidth guaranteed according to service priority.Avoid When there is network congestion, different VXLAN flow can not obtain Bandwidth guaranteed according to service priority.
Brief description of the drawings
Fig. 1 is VXLAN networking schematic diagrams;
Fig. 2 is the schematic flow sheet of message forwarding method in a kind of VXLAN networks provided by the invention;
Fig. 3 is the application networking scene schematic diagram of the embodiment of the present invention one;
Fig. 4 is the application networking scene schematic diagram of the embodiment of the present invention two;
Fig. 5 is apparatus for forwarding message in a kind of VXLAN networks that the embodiment of the present invention proposes, the structure applied to VTEP is shown It is intended to;
Fig. 6 is apparatus for forwarding message in a kind of VXLAN networks that the embodiment of the present invention proposes, applied to direct-connected with VTEP The structural representation of interchanger.
Embodiment
Referring to the drawings, the embodiment of the present invention is described in further detail.
As shown in Fig. 2 the invention provides message forwarding method in a kind of VXLAN networks, the VXLAN networks include First VTEP and the 2nd VTEP, this method at VXLAN tunnels both ends include:
Step 21, multiple VTEP IP address are configured on the first VTEP;
Step 22, the first VTEP are respectively using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address A VXLAN tunnel is established, each VXLAN tunnel corresponds to different business service grades, and the source and destination at tunnel both ends VTEP IP address simultaneously differs, and turns for the user's message under the first VTEP on the VXLAN tunnels of corresponding business service grade Hair.
To sum up, by message forwarding method in VXLAN networks provided by the invention, a plurality of VXLAN tunnels are established, it is allowed to high The flow special VXLAN tunnels forwarding therethrough of business service grade, makes different VXLAN flow according to service priority Obtain Bandwidth guaranteed.
Further explain how that the tunnel for establishing the different business grade of service is used below by the embodiment of the present invention one and two In the business for ensureing different brackets service request.
Embodiment one
As shown in figure 3, it is the application networking scene schematic diagram of the embodiment of the present invention one.User under first VTEP in Fig. 3 For VM1, VM2 and VM3, user is VM4, VM5 and VM6 under the 2nd VTEP.First VTEP and the 2nd VTEP are controlled by control device, Interchanger 1 and interchanger 2 can be controlled by control device, can not also be controlled by control device.Interchanger 1 and interchanger 2 are distinguished It is direct-connected with the first VTEP and the 2nd VTEP, it is multiple that other are also included on the VXLAN tunnels between the first VTEP and the 2nd VTEP Intermediate equipment, do not show in figure.
First, according to the quantity of business service grade, it is determined that the VXLAN established between the first VTEP and the 2nd VTEP Tunnel quantity, establishes two VXLAN tunnels in the present embodiment, and Tunnel1 is used for general service, corresponding business service grade compared with It is low;Tunnel2 is used for particular service, and corresponding business service grade is higher, and Tunnel2 distributes to preferential guarantee bandwidth VXLAN user uses.
It should be noted that the present invention establishes the quantity in VXLAN tunnels, however it is not limited to two VXLAN tunnels, can basis The increase of business service grade, it is mutually deserved to establish VXLAN tunnels.
Then, two VTEP IP address, 1.1.1.1/32,1.1.1.2/32 are configured on the first VTEP;In the 2nd VTEP Two VTEP IP address of upper configuration, 2.2.2.1/32,2.2.2.2/32.
Tunnel1 corresponds to 1.1.1.1/32 and 2.2.2.1/32.In the VTEP of the first VTEP connections the 2nd Tunnel1, Source VTEP IP address is 1.1.1.1/32, and purpose VTEP IP address is 2.2.2.1/32;In the VTEP of the 2nd VTEP connections the first Tunnel1 in, source VTEP IP address is 2.2.2.1/32, and purpose VTEP IP address is 1.1.1.1/32.
Tunnel2 corresponds to 1.1.1.2/32 and 2.2.2.2/32.In the VTEP of the first VTEP connections the 2nd Tunnel2, Source VTEP IP address is 1.1.1.2/32, and purpose VTEP IP address is 2.2.2.2/32;In the VTEP of the 2nd VTEP connections the first Tunnel2 in, source VTEP IP address is 2.2.2.2/32, and purpose VTEP IP address is 1.1.1.2/32.
If the first VTEP and the 2nd VTEP are virtual switch, virtual switch does not run Routing Protocol, first VTEP and the 2nd VTEP can not issue route.So in order to the first VTEP and the 2nd VTEP can by itself advertising of route to pair End on the interchanger direct-connected with VTEP, it is necessary to be configured, if the direct-connected interchanger is controlled by control device, control is set It is standby by being configured under Netconf agreements, it is quiet by way of order line if the direct-connected interchanger does not have control device control State configures, and concrete configuration is as follows, is only said below by taking the configuration that Tunnel1 corresponds to 1.1.1.1/32 and 2.2.2.1/32 as an example Bright, it is identical that Tunnel2 corresponds to configuration principles of the 1.1.1.2/32 and 2.2.2.2/32 on direct-connected interchanger.
The first VTEP static routing is pointed in configuration on interchanger 1, and the static routing is purpose IP:1.1.1.1/32 Next-hop is the first VTEP;Then the static routing is introduced into the Routing Protocol of public network operation, assisted by the route of public network operation View is advertised to the 2nd VTEP, and the 2nd VTEP acquires the route up to VTEP IP address 1.1.1.1/32.
Similarly, the 2nd VTEP static routing is pointed in configuration on interchanger 2, and the static routing is purpose IP: 2.2.2.1/32, next-hop is the 2nd VTEP;Then the static routing is introduced into the Routing Protocol of public network operation, transported by public network Capable Routing Protocol is advertised to the first VTEP, and the first VTEP acquires the route up to VTEP IP address 2.2.2.1/32.
The above is entered to establishing two articles of VXLAN tunnels Tunnel1 and Tunnel2 between the first VTEP and the 2nd VTEP Explanation is gone.Next, illustrating control device issues flow table, the process that user's message is forwarded by matching flow table.
The flow table that first VTEP receiving control apparatus issues, first flow table occurrence are the source MAC of user's message 1 MAC1 or source IP address IP1, action item are to carry out VXLAN encapsulation to user's message, are encapsulated successively in the outer layer of user's message VXLAN heads with VNI1, UDP heads, outer layer IP heads, the source IP of wherein outer layer IP heads is Tunnel1 source VTEP IP1.1.1.1/32, purpose IP are Tunnel1 purpose VTEP IP2.2.2.1/32, on the outgoing interface direct-connected with interchanger 1 User's message by VXLAN encapsulation is forwarded;Article 2 flow table occurrence is the source MAC MAC2 of user's message 2 Or source IP address IP2, action item are to carry out VXLAN encapsulation to user's message, encapsulate and carry successively in the outer layer of user's message VNI2 VXLAN heads, UDP heads, outer layer IP heads, the source IP of wherein outer layer IP heads is Tunnel2 source VTEP IP1.1.1.2/ 32, purpose IP are Tunnel2 purpose VTEP IP2.2.2.2/32, process on the outgoing interface direct-connected with interchanger 1 The user's message of VXLAN encapsulation forwards.
So, it is assumed that VM1 MAC Address is MAC1, and the user's message from VM1 is introduced by matching first flow table Tunnel1 is forwarded;Assuming that VM2 MAC Address is MAC2, the user's message from VM2 is introduced by matching Article 2 flow table Tunnel2 is forwarded.Due to Tunnel2 carry particular service, business service grade is higher, can allow in downstream table matching compared with Few source address, so, in the case of Tunnel1 and Tunnel2 bandwidth identicals, the people that is used due to Tunnel2 less can be with The preferential bandwidth requirement for ensureing special service.
Embodiment two
As shown in figure 4, it is the application networking scene schematic diagram of the embodiment of the present invention two.Hang and use under the first VTEP in Fig. 4 Family 1, user 2 and user 3, user 4, user 5 and user 6 are hung under the 2nd VTEP.Because VTEP and interchanger be all in the present embodiment There is no control device control, so each configuration below, is all the static configuration by way of order line.Interchanger 1 and interchanger 2 It is direct-connected with the first VTEP and the 2nd VTEP respectively, also include other on the VXLAN tunnels between the first VTEP and the 2nd VTEP Multiple intermediate equipments, do not show in figure.
First, according to the quantity of business service grade, it is determined that the VXLAN established between the first VTEP and the 2nd VTEP Tunnel quantity, establishes two VXLAN tunnels in the present embodiment, and Tunnel1 is used for general service, corresponding business service grade compared with It is low;Tunnel2 is used for particular service, and corresponding business service grade is higher, and Tunnel2 distributes to preferential guarantee bandwidth VXLAN user uses.
It should be noted that the present invention establishes the quantity in VXLAN tunnels, however it is not limited to two VXLAN tunnels, business service More grade, and the VXLAN tunnels quantity of foundation is more.
Then, two VTEP IP address, 1.1.1.1/32,1.1.1.2/32 are configured on the first VTEP;In the 2nd VTEP Two VTEP IP address of upper configuration, 2.2.2.1/32,2.2.2.2/32.
Tunnel1 corresponds to 1.1.1.1/32 and 2.2.2.1/32.In the VTEP of the first VTEP connections the 2nd Tunnel1, Source VTEP IP address is 1.1.1.1/32, and purpose VTEP IP address is 2.2.2.1/32;In the VTEP of the 2nd VTEP connections the first Tunnel1 in, source VTEP IP address is 2.2.2.1/32, and purpose VTEP IP address is 1.1.1.1/32.
Tunnel2 corresponds to 1.1.1.2/32 and 2.2.2.2/32.In the VTEP of the first VTEP connections the 2nd Tunnel2, Source VTEP IP address is 1.1.1.2/32, and purpose VTEP IP address is 2.2.2.2/32;In the VTEP of the 2nd VTEP connections the first Tunnel2 in, source VTEP IP address is 2.2.2.2/32, and purpose VTEP IP address is 1.1.1.2/32.
If the first VTEP and the 2nd VTEP is General Physics interchanger, General Physics interchanger can run route association View, mutually notice is route between the first VTEP and the 2nd VTEP.First VTEP acquires two VTEP IP up to the 2nd VTEP Location 2.2.2.1/32 and 2.2.2.2/32 route.The 2nd same VTEP can acquire two VTEP IP up to the first VTEP Address 1.1.1.1/ and 1.1.1.2/32 route.
First VTEP creates Tunnel1, and source VTEP IP address 1.1.1.1/32, purpose VTEP are configured in Tunnel1 IP address 2.2.2.1/32;VSI1 is created, VSI1 corresponds to VNI1 and Tunnel1;VSI1 is tied to user interface 1.In this way, with Family message enters VSI1 from user interface 1, the source VTEP IP1.1.1.1/32 in VNI1 and Tunnel1 according to corresponding to VSI1 VXLAN encapsulation is carried out with purpose VTEP IP2.2.2.1/32, from corresponding VXLAN tunnels Tunnel1, by user's message from the One VTEP is sent to the 2nd VTEP.
First VTEP creates Tunnel2, and source VTEP IP address 1.1.1.2/32, purpose VTEP are configured in Tunnel2 IP address 2.2.2.2/32;VSI2 is created, VSI2 corresponds to VNI2 and Tunnel2;VSI2 is tied to user interface 2.In this way, with Family message enters VSI2 from user interface 2, the source VTEP IP1.1.1.2/32 in VNI2 and Tunnel2 according to corresponding to VSI2 VXLAN encapsulation is carried out with purpose VTEP IP2.2.2.2/32, from corresponding VXLAN tunnels Tunnel2, by user's message from the One VTEP is sent to the 2nd VTEP.
Because Tunnel2 carries particular service, business service grade is higher, can be in user bound interface, it is allowed to tie up Fixed less user interface, so, in the case of Tunnel1 and Tunnel2 bandwidth identicals, the use that is used due to Tunnel2 Family can preferentially ensure the bandwidth requirement of special service less.
Further, if hanging multiple users under VTEP some user interface, also it is corresponding with the VSI created VLAN.Therefore user's message, which carries different VLAN, can enter different VSI forwardings, and also can enters different VXLAN tunnels Forwarding.So, the first VTEP is established using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address respectively The method in one VXLAN tunnel includes:
For the first VTEP connections the 2nd VTEP of establishment every VXLAN tunnel configuration IP address, wherein, institute The first VTEP and the 2nd VTEP each IP address are stated respectively as source VTEP IP address and purpose VTEP IP address;To create The 2nd VTEP connections the first VTEP every VXLAN tunnel configuration IP address, wherein, the 2nd VTEP and One VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel, and is corresponding with VLAN;For user Message enters VSI according to VLAN, and source VTEP IP and purpose the VTEP IP in VNI the and VXLAN tunnels according to corresponding to VSI is carried out VXLAN is encapsulated, and from corresponding VXLAN tunnels, user's message is sent to the 2nd VTEP from the first VTEP.
So, the message of the different business grade of service is divided in different VLAN, the higher user's report of business service grade Text can be identified by VLAN enters different VSI, so as to configure into the higher Tunnel2 of corresponding business service grade, from And preferentially ensure the bandwidth requirement of special service.
According to the description of embodiment one and two, the present invention establishes the tunnel of the corresponding different business grade of service, for ensureing The business of different brackets service request, the business of different brackets service request is imported to the tunnel of the different grades of service, it is ensured that high The business of level services requirement preferentially passes through;When the network is congested, it is ensured that the business of high-level service request is still normal Use.
Embodiment three
Further, reference picture 3 or Fig. 4, on the basis of embodiment one or two, although the difference that two VTEP are used Address, the destination address and source address that two Tunnel are used are also different, but the path that two tunnels pass through also has May be identical, so, it is assumed that be required on Tunnel1 and Tunnel2 path by interchanger 1, and outgoing interface is all to hand over Change planes 1 port2, then even if there is the preferential function of importing tunnel to cannot guarantee that user's total flow exceedes outgoing interface port2 The flow of high business service grade user is not dropped during bandwidth, so the present embodiment proposes, by all intermediary switch Upper setting qos policy, when message is by each interchanger, according to the qos policy set on the interchanger, high business will be matched Corresponding to the grade of service on VXLAN tunnels, outer layer VTEP IP VXLAN messages, the corresponding forwarding into high priority are packaged with Queue, enter row major forwarding, so as to be further ensured that the message of high business service grade can smoothly reach opposite end VTEP.
For example, for the interchanger 1 in Fig. 3 or Fig. 4, high priority is matched on the message entrance port1 of interchanger 1 The outer layer IP address of VXLAN messages, allows this message to enter the queue of limit priority, then the can of interchanger 1 is in exit port Port2 preferentially forwards the message of this queue.In the present embodiment, because when message passes through interchanger 1, by VXLAN tunnels Road, message encapsulate with VXLAN, so that matching is source VTEP on Tunnel2 corresponding to high business service grade IP1.1.1.2/32 or purpose VTEP IP2.2.2.2/32, and then allow the flow of this user preferentially to walk Tunnel2 and be forwarded to Opposite end, if the message bandwidth of other users also has residue, then enter Tunnel1 at random and forward.
Based on same inventive concept, one embodiment of the invention also proposes apparatus for forwarding message in a kind of VXLAN networks, should For VTEP, referring to Fig. 5.The device 500 includes:
VTEP IP dispensing units 501, multiple VTEP IP address are configured on VTEP;
Tunnel building unit 502, built respectively using each VTEP IP address and opposite end VTEP each VTEP IP address A VXLAN tunnel is found, each VXLAN tunnel corresponds to different business service grades, and the source and destination at tunnel both ends VTEP IP address simultaneously differs, and turns for the user's message under the VTEP on the VXLAN tunnels of corresponding business service grade Hair.
For being controlled by control device, flow table instructs the VXLAN networks of forwarding, and the device further comprises:
Flow table receiving unit 503, the flow table that receiving control apparatus issues, its flow table occurrence is with including the source of user's message Location, flow table action item are included on corresponding VXLAN tunnels, the source VTEP in VNI the and VXLAN tunnels according to corresponding to source address IP address and purpose VTEP IP address carry out VXLAN encapsulation to message, are forwarded the packet on the outgoing interface with switchboard direct connection Go out.
VXLAN networks for running Routing Protocol, the tunnel building unit 502 are specifically used for:
For the first VTEP connections the 2nd VTEP of establishment every VXLAN tunnel configuration IP address, wherein, institute The first VTEP and the 2nd VTEP each IP address are stated respectively as source VTEP IP address and purpose VTEP IP address;To create The 2nd VTEP connections the first VTEP every VXLAN tunnel configuration IP address, wherein, the 2nd VTEP and One VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel;
VSI is tied to user interface;Enter VSI from user interface for user's message, according to corresponding to VSI VNI and Source VTEP IP address and purpose VTEP IP address in VXLAN tunnels carry out VXLAN encapsulation, will from corresponding VXLAN tunnels User's message is sent to the 2nd VTEP from the first VTEP.
For run Routing Protocol VXLAN networks, the tunnel building unit 502 also particularly useful for::
For the first VTEP connections the 2nd VTEP of establishment every VXLAN tunnel configuration IP address, wherein, institute The first VTEP and the 2nd VTEP each IP address are stated respectively as source VTEP IP address and purpose VTEP IP address;To create The 2nd VTEP connections the first VTEP every VXLAN tunnel configuration IP address, wherein, the 2nd VTEP and One VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel, and is corresponding with VLAN;For user Message enters VSI according to VLAN, source VTEP IP address and purpose VTEP IP in VNI the and VXLAN tunnels according to corresponding to VSI Address carries out VXLAN encapsulation, and from corresponding VXLAN tunnels, user's message is sent to the 2nd VTEP from the first VTEP.
The device further comprises:Route learning unit 504, to opposite end VTEP notice route, and receive opposite end VTEP to Its route noticed, so that VTEP IP address of the VTEP and opposite end VTEP study to other side.
Another embodiment of the present invention also proposes apparatus for forwarding message in a kind of VXLAN networks, applied to direct-connected with VTEP Interchanger, referring to Fig. 6.The device 600 includes:
Static routing dispensing unit 601, the configuration sensing VTEP static routing on the interchanger;
Advertising of route unit 602, the static routing is introduced into the Routing Protocol of public network operation, the route run by public network Agreement is advertised to opposite end VTEP, for the VTEP before flow table is received, gives itself advertising of route to opposite end VTEP.
The device further comprises:
Preferential retransmission unit 603, according to the QoS policy set on the interchanger, high business clothes will be matched Corresponding to grade of being engaged on VXLAN tunnels, the VXLAN messages of outer layer VTEP IP address are packaged with, it is corresponding to turn into high priority Queue is sent out, enters row major forwarding.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc., the protection of the present invention should be included in Within the scope of.

Claims (14)

1. message forwarding method in a kind of VXLAN networks, the VXLAN networks first including VXLAN tunnels both ends are virtually logical Road terminal VTEP and the 2nd VTEP, this method include:
Multiple VTEP IP address are respectively configured on the first VTEP and the 2nd VTEP;
First VTEP establishes one article using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address respectively VXLAN tunnels, each VXLAN tunnel corresponds to different business service grades, for the user's message under the first VTEP right Answer and forwarded on the VXLAN tunnels of business service grade.
2. the method as described in claim 1, it is characterised in that for being controlled by control device, flow table instructs the VXLAN of forwarding Network, after tunnel building, this method further comprises:
The flow table that first VTEP receiving control apparatus issues, its flow table occurrence include the source address of user's message, flow table action Item is included on corresponding VXLAN tunnels, source VTEP IP address and mesh in VNI the and VXLAN tunnels according to corresponding to source address VTEP IP address to message carry out VXLAN encapsulation, forwarded the packet away on the outgoing interface with switchboard direct connection.
3. the method as described in claim 1, it is characterised in that the VXLAN networks for running Routing Protocol, described first VTEP establishes one article of VXLAN tunnel using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address respectively Method includes:
For the first VTEP connections the 2nd VTEP of establishment every VXLAN tunnel configuration IP address, wherein, described One VTEP and the 2nd VTEP each IP address are respectively as source VTEP IP address and purpose VTEP IP address;For the institute of establishment The 2nd VTEP connections the first VTEP every VXLAN tunnel configuration IP address is stated, wherein, the 2nd VTEP and first VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel;
VSI is tied to user interface;Enter VSI from user interface for user's message, the VNI and VXLAN according to corresponding to VSI Source VTEP IP address and purpose VTEP IP address in tunnel carry out VXLAN encapsulation, from corresponding VXLAN tunnels, by user Message is sent to the 2nd VTEP from the first VTEP.
4. the method as described in claim 1, it is characterised in that the VXLAN networks for running Routing Protocol, described first VTEP establishes one article of VXLAN tunnel using each VTEP IP address and the VTEP of opposite end the 2nd each VTEP IP address respectively Method includes:
For the first VTEP connections the 2nd VTEP of establishment every VXLAN tunnel configuration IP address, wherein, described One VTEP and the 2nd VTEP each IP address are respectively as source VTEP IP address and purpose VTEP IP address;For the institute of establishment The 2nd VTEP connections the first VTEP every VXLAN tunnel configuration IP address is stated, wherein, the 2nd VTEP and first VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel, and is corresponding with VLAN;For user's message VSI is entered according to VLAN, source VTEP IP address and purpose VTEP IP address in VNI the and VXLAN tunnels according to corresponding to VSI VXLAN encapsulation is carried out, from corresponding VXLAN tunnels, user's message is sent to the 2nd VTEP from the first VTEP.
5. the method as described in claim 3 or 4, it is characterised in that the first VTEP respectively using each VTEP IP address with The VTEP of opposite end the 2nd each VTEP IP address is established before one article of VXLAN tunnel, and this method further comprises:Described first 2nd VTEP notices route described in VTEP to opposite end, and the route that the 2nd VTEP notices to it is received, so that described first VTEP IP address of VTEP and the 2nd VTEP study to other side.
A kind of 6. message forwarding method in VXLAN networks, applied to straight with the first tunnel terminal VTEP described in claim 1 Interchanger even;This method includes:
The first VTEP static routing is pointed in configuration on the interchanger;
The static routing being introduced into the Routing Protocol of public network operation, the Routing Protocol run by public network is advertised to the 2nd VTEP, For the first VTEP before flow table is received, itself advertising of route is given to the 2nd VTEP.
7. method as claimed in claim 6, when message passes through interchanger, this method further comprises:
According to the QoS policy set on the interchanger, VXLAN tunnels corresponding to high business service grade will be matched On, the VXLAN messages of outer layer VTEP IP address are packaged with, the corresponding forwarding queue into high priority, enter row major forwarding.
8. apparatus for forwarding message in a kind of VXLAN networks, the device is applied to tunnel terminal VTEP, including:
VTEP IP dispensing units, multiple VTEP IP address are configured on VTEP;
Tunnel building unit, establish one using each VTEP IP address and opposite end VTEP each VTEP IP address respectively VXLAN tunnels, each VXLAN tunnel corresponds to different business service grades, for the user's message under the VTEP right Answer and forwarded on the VXLAN tunnels of business service grade.
9. device as claimed in claim 8, it is characterised in that for being controlled by control device, flow table instructs the VXLAN of forwarding Network, the device further comprise:
Flow table receiving unit, the flow table that receiving control apparatus issues, its flow table occurrence include the source address of user's message, flow table Action item is included on corresponding VXLAN tunnels, the source VTEP IP address in VNI the and VXLAN tunnels according to corresponding to source address VXLAN encapsulation is carried out to message with purpose VTEP IP address, forwarded the packet away on the outgoing interface with switchboard direct connection.
10. device as claimed in claim 8, it is characterised in that the VXLAN networks for running Routing Protocol, the tunnel Unit is established to be specifically used for:
For the VTEP of the first VTEP connections the 2nd of establishment every VXLAN tunnel configuration IP address, wherein, the first VTEP and 2nd VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;For described the second of establishment VTEP connections the first VTEP every VXLAN tunnel configuration IP address, wherein, the 2nd VTEP's and the first VTEP is every Individual IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel;
VSI is tied to user interface;Enter VSI from user interface for user's message, the VNI and VXLAN according to corresponding to VSI Source VTEP IP address and purpose VTEP IP address in tunnel carry out VXLAN encapsulation, from corresponding VXLAN tunnels, by user Message is sent to the 2nd VTEP from the first VTEP.
11. device as claimed in claim 8, it is characterised in that the VXLAN networks for running Routing Protocol, the tunnel Establish unit also particularly useful for:
For the VTEP of the first VTEP connections the 2nd of establishment every VXLAN tunnel configuration IP address, wherein, the first VTEP and 2nd VTEP each IP address is respectively as source VTEP IP address and purpose VTEP IP address;For described the second of establishment VTEP connections the first VTEP every VXLAN tunnel configuration IP address, wherein, the 2nd VTEP's and the first VTEP is every Individual IP address is respectively as source VTEP IP address and purpose VTEP IP address;
VSI is created, each VSI specifies corresponding VNI and VXLAN tunnel, and is corresponding with VLAN;For user's message VSI is entered according to VLAN, source VTEP IP address and purpose VTEP IP address in VNI the and VXLAN tunnels according to corresponding to VSI VXLAN encapsulation is carried out, from corresponding VXLAN tunnels, user's message is sent to the 2nd VTEP from the first VTEP.
12. the device as described in claim 10 or 11, it is characterised in that the device further comprises:Route learning unit, to Opposite end VTEP notice routes, and receive the route that opposite end VTEP notice to it, so that the VTEP and opposite end VTEP study is arrived pair The VTEP IP address of side.
A kind of 13. apparatus for forwarding message in VXLAN networks, applied to direct-connected with tunnel terminal VTEP described in claim 8 Interchanger;The device includes:
Static routing dispensing unit, the configuration sensing VTEP static routing on the interchanger;
Advertising of route unit, the static routing is introduced into the Routing Protocol of public network operation, the Routing Protocol run by public network leads to Accuse and give opposite end VTEP, for the VTEP before flow table is received, give itself advertising of route to opposite end VTEP.
14. device as claimed in claim 13, the device further comprises:
Preferential retransmission unit, according to the QoS policy set on the interchanger, high business service grade pair will be matched On the VXLAN tunnels answered, the VXLAN messages of outer layer VTEP IP address are packaged with, correspond to the forwarding queue into high priority, Enter row major forwarding.
CN201410727841.2A 2014-12-04 2014-12-04 Message forwarding method and device in a kind of VXLAN networks Active CN104468394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410727841.2A CN104468394B (en) 2014-12-04 2014-12-04 Message forwarding method and device in a kind of VXLAN networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410727841.2A CN104468394B (en) 2014-12-04 2014-12-04 Message forwarding method and device in a kind of VXLAN networks

Publications (2)

Publication Number Publication Date
CN104468394A CN104468394A (en) 2015-03-25
CN104468394B true CN104468394B (en) 2018-02-09

Family

ID=52913790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410727841.2A Active CN104468394B (en) 2014-12-04 2014-12-04 Message forwarding method and device in a kind of VXLAN networks

Country Status (1)

Country Link
CN (1) CN104468394B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161259B (en) * 2015-03-27 2019-02-12 新华三技术有限公司 The multicast data packet forwarding method and apparatus of virtual extended local area network VXLAN
CN105490884B (en) * 2015-12-14 2019-04-02 迈普通信技术股份有限公司 A kind of VXLAN tunnel detection method and device
CN106921573B (en) * 2015-12-28 2020-04-14 华为技术有限公司 NVo3 method and device for issuing tenant route in network
CN107222409B (en) * 2016-03-22 2021-01-29 华为技术有限公司 Method and node for forwarding traffic
CN106059886B (en) * 2016-06-27 2020-10-13 新华三技术有限公司 Message forwarding method and device
CN106230668B (en) * 2016-07-14 2020-01-03 新华三技术有限公司 Access control method and device
CN106209562A (en) * 2016-07-27 2016-12-07 华为技术有限公司 In a kind of network VLAN ID distribution method and controller
CN106341299B (en) * 2016-08-23 2019-08-30 新华三技术有限公司 Message forwarding method and device in a kind of VXLAN
CN106302258B (en) * 2016-09-08 2019-06-04 杭州迪普科技股份有限公司 A kind of message forwarding method and device
CN108075969B (en) 2016-11-17 2020-01-03 新华三技术有限公司 Message forwarding method and device
CN106878199B (en) * 2016-12-20 2020-02-11 新华三技术有限公司 Configuration method and device of access information
CN108234270B (en) * 2016-12-21 2020-07-07 中国电信股份有限公司 Method and system for realizing multi-domain coexistence of virtual extensible local area network
CN106878136B (en) * 2016-12-28 2020-01-03 新华三技术有限公司 Message forwarding method and device
CN106878072B (en) * 2017-02-10 2020-04-03 新华三技术有限公司 Message transmission method and device
CN109768908B (en) 2017-11-09 2020-10-09 华为技术有限公司 VXLAN configuration method, equipment and system
CN108075950B (en) * 2017-12-13 2021-07-20 安徽皖通邮电股份有限公司 Method for detecting end-to-end path of packet access network
CN110022264B (en) 2018-01-08 2020-09-08 华为技术有限公司 Method for controlling network congestion, access device and computer readable storage medium
CN108199968B (en) * 2018-03-30 2020-12-25 新华三技术有限公司 Route processing method and device
CN111371667A (en) * 2019-10-23 2020-07-03 上海科技网络通信有限公司 LTE VPDN networking method based on VxLAN technology under cloud computing environment
CN111371690A (en) * 2020-02-24 2020-07-03 迈普通信技术股份有限公司 Flow regulation and control method and device, network equipment and computer readable storage medium
CN112436990B (en) * 2020-10-12 2022-06-07 网络通信与安全紫金山实验室 Data forwarding method, data forwarding equipment and computer-readable storage medium
CN112422397B (en) * 2020-11-05 2022-04-08 中国联合网络通信集团有限公司 Service forwarding method and communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529499B1 (en) * 1998-09-22 2003-03-04 Lucent Technologies Inc. Method for providing quality of service for delay sensitive traffic over IP networks
CN101945046A (en) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 Method and system for configuring mapping of qualify of service of virtual private LAN service network
CN103618596A (en) * 2013-05-15 2014-03-05 盛科网络(苏州)有限公司 Encryption method for inner layer information in VXLAN (Virtual Extensible Local Area Net) tunnel
CN103841028A (en) * 2014-03-24 2014-06-04 杭州华三通信技术有限公司 Method and device for forwarding messages

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100496984B1 (en) * 2002-08-21 2005-06-23 한국전자통신연구원 A Method of Setting the QoS supported bi-directional Tunnel and distributing L2 VPN membership Information for L2VPN using LDP-extension
US7565436B2 (en) * 2003-12-24 2009-07-21 Nortel Networks Limited Ethernet to frame relay interworking with multiple quality of service levels
US9036639B2 (en) * 2012-11-29 2015-05-19 Futurewei Technologies, Inc. System and method for VXLAN inter-domain communications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529499B1 (en) * 1998-09-22 2003-03-04 Lucent Technologies Inc. Method for providing quality of service for delay sensitive traffic over IP networks
CN101945046A (en) * 2010-09-15 2011-01-12 中兴通讯股份有限公司 Method and system for configuring mapping of qualify of service of virtual private LAN service network
CN103618596A (en) * 2013-05-15 2014-03-05 盛科网络(苏州)有限公司 Encryption method for inner layer information in VXLAN (Virtual Extensible Local Area Net) tunnel
CN103841028A (en) * 2014-03-24 2014-06-04 杭州华三通信技术有限公司 Method and device for forwarding messages

Also Published As

Publication number Publication date
CN104468394A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104468394B (en) Message forwarding method and device in a kind of VXLAN networks
US9584445B2 (en) Direct connect virtual private interface for a one to many connection with multiple virtual private clouds
CN106878047B (en) Fault handling method and device
CN104378296B (en) A kind of message forwarding method and equipment
CN104584491B (en) Distributed virtual route and the system and method for exchanging (DVRS) are provided
CN104243270B (en) A kind of method and apparatus for establishing tunnel
CN104022960B (en) Method and apparatus based on OpenFlow protocol realizations PVLAN
CN103548376B (en) EPC is realized in cloud computer by OPENFLOW data planes
US9826025B2 (en) Chaining service zones by way of route re-origination
US9917769B2 (en) Method and system for virtualizing flow tables in a software-defined networking (SDN) system
CN107612808B (en) Tunnel establishment method and device
WO2016197344A1 (en) Method, device and system for realizing service link
CN106101023B (en) A kind of VPLS message processing method and equipment
CN108574616A (en) A kind of method, equipment and the system of processing routing
CN105763416B (en) A kind of data transmission method and controller
CN105162704B (en) The method and device of multicast replication in Overlay network
WO2016173271A1 (en) Message processing method, device and system
US9258267B1 (en) Highly scalable data center architecture with address resolution protocol (ARP)-free servers
CN109889443A (en) Cloud computing system and in cloud computing system realize evolution block core (EPC) control plane method
BR112014001861B1 (en) Method for implementing a packet radio general service tunnel protocol, and cloud computing system for managing the implementation of a packet radio general service tunneling protocol
EP2987282A1 (en) Virtual machine migration
CN105681198B (en) A kind of business chain processing method, equipment and system
CN106982157A (en) Traffic engineering tunnel building method and device
EP3151477B1 (en) Fast path content delivery over metro access networks
CN108141392A (en) The method and apparatus that pseudowire load is shared

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant