Nothing Special   »   [go: up one dir, main page]

CN105812221B - The device and method of data transmission in virtual expansible Local Area Network - Google Patents

The device and method of data transmission in virtual expansible Local Area Network Download PDF

Info

Publication number
CN105812221B
CN105812221B CN201410856308.6A CN201410856308A CN105812221B CN 105812221 B CN105812221 B CN 105812221B CN 201410856308 A CN201410856308 A CN 201410856308A CN 105812221 B CN105812221 B CN 105812221B
Authority
CN
China
Prior art keywords
virtual network
network
sub
virtual
mark
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
CN201410856308.6A
Other languages
Chinese (zh)
Other versions
CN105812221A (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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410856308.6A priority Critical patent/CN105812221B/en
Priority to PCT/CN2015/093583 priority patent/WO2016107269A1/en
Publication of CN105812221A publication Critical patent/CN105812221A/en
Application granted granted Critical
Publication of CN105812221B publication Critical patent/CN105812221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides the device and method that data in a kind of VXLAN are transmitted, and it is inflexible to identify necessary identical bring networking by VLAN when solving the problems, such as data forwarding between different virtual networks.The embodiment of the present invention virtually in expansible Local Area Network VXLAN data transmission device and method, according to the mark of the sub- virtual network of the second virtual network carried in the data received, search the fictitious quasi- network mapping table saved, obtain the mark of the sub- virtual network of purpose in first virtual network corresponding with the sub- virtual network of second virtual network, it may be implemented to enable the sub- virtual network of different zones that the forwarding of data is effectively performed according to the actual needs flexible configuration of networking in the sub- virtual network for belonging to a virtual network.

Description

The device and method of data transmission in virtual expansible Local Area Network
Technical field
The present invention relates to information technology field, in particular to data in a kind of virtual expansible Local Area Network VXLAN The device and method of transmission.
Background technique
Virtual expansible Local Area Network (VXLAN, Virtual eXtensible Local Area Network) skill Art aims to solve the problem that the demand to virtual network constantly extended in data center network, most only with the vlan technology of Current standards Contradiction between 4K virtual network can be provided.
In existing VXLAN, two sub- virtual network vlan of communication are realized in different virtual networks, it is desirable that its is fictitious The network identity of quasi- network must be identical, can carry out user in the same virtual LAN different virtual networks it Between carry out data interaction and communication.
Such as the teaching building in a campus has a virtual network A, laboratory building has a virtual network B, teaching building and reality It tests building and physically there is a certain distance, need to pass through between the virtual network in virtual network and laboratory building in teaching building Network carries out the transmitting of information and the exchange of data.In the virtual network of teaching building, including more than one sub- virtual network Vlan, in the network of laboratory building, it is also possible to it include more than one vlan, as a vlan10 in teaching building, e.g. one One group of a teacher group, when needing with same teacher's group communication inside laboratory building, it is desirable that teaching building vlan10 hair The data sent are transmitted to the sub- virtual network reception that vlan10 is identified as after laboratory building by network, are just able to achieve so same The information and data that group sends can receive in another virtual network.
But in actual application, the vlan10 mark in laboratory building may be by other business, such as student Group occupy, in this way, from teaching building vlan10 send data, after being transmitted to laboratory building by network, cannot by teacher organize at Member checks and accepts, cause user in the same vlan can not appearance the case where intercommunication in more than two virtual networks, networking is not It is enough flexible, influence the normal forwarding of customer service.
Summary of the invention
The embodiment of the invention provides the device and method that data in a kind of VXLAN are transmitted, to solve different virtual networks Between data forwarding when VLAN identify must identical bring networking inflexible problem.
In a first aspect, the embodiment of the invention provides data transmission in a kind of virtual expansible Local Area Network VXLAN Equipment, including central processing unit, memory and tunnel termination block;The central processing unit respectively with the memory and the tunnel Road termination block is connected, and the tunnel termination block turns for realizing the data of the first sub- virtual network in the first virtual network Hair, the tunnel termination block includes data receipt unit, fictitious quasi- net mate unit and data forwarding unit:
The data receipt unit for receiving the data for being sent to the described first sub- virtual network, and decapsulates the number According to;
Fictitious quasi- net mate unit, according to the mark of the sub- virtual network of the second virtual network carried in the data Know, search the fictitious quasi- network mapping table of preservation, obtains corresponding with the sub- virtual network of second virtual network described the The mark of the sub- virtual network of purpose in one virtual network, wherein first virtual network and second virtual network are logical The forwarding of network implementations data is crossed, the fictitious quasi- network mapping table records sub- virtual network and the institute of second virtual network State the corresponding relationship between the sub- virtual network of purpose;
Data transmission unit, in first virtual network for being got according to the fictitious quasi- net mate unit The sub- virtual network of purpose mark, the data after decapsulation are sent to the sub- virtual network of the purpose.
In the first possible implementation of the first aspect, with reference to first aspect, the tunnel termination block is also wrapped Include configuration receiving unit and configuration processing unit;
The configuration receiving unit, for receiving configuration order, the configuration order is arranged in first virtual network The corresponding relationship between sub- virtual network in the sub- virtual network of unallocated business and second virtual network;
The configuration processing unit, for according to the corresponding relationship by unallocated business in first virtual network The mark of sub- virtual network in the mark of sub- virtual network, with second virtual network, second virtual process identifications Corresponding relationship between the network of the tunnel termination block in second virtual network between interconnection protocol IP is stored in described Fictitious quasi- network mapping table.
In the second possible implementation of the first aspect, with reference to first aspect or first aspect the first may Implementation, the tunnel termination block further include configuration transmission unit;
The configuration transmission unit, the sub- virtual network of unallocated business in first virtual network for that will save Mark, with the mark of the sub- virtual network in the second virtual network, second virtual process identifications and described second virtual Corresponding relationship between the IP of tunnel termination block in network is sent to second virtual network, so that described second is empty The tunnel termination block of quasi- network is by the mark of the sub- virtual network of unallocated business in first virtual network, with the second void Intend the tunnel termination in mark, second virtual process identifications and second virtual network of the sub- virtual network in network Corresponding relationship between the IP of module is stored in the fictitious quasi- network mapping table of the tunnel termination block of second virtual network In.
In a third possible implementation of the first aspect, with reference to first aspect or first aspect the first may Implementation, the fictitious quasi- network mapping table includes: the mark of first virtual network, second virtual network The IP address of tunnel termination block, the mark of the second virtual network neutron virtual network and the first virtual network neutron The mark of virtual network.
In a fourth possible implementation of the first aspect, with reference to first aspect the third possible realization side Formula, the fictitious quasi- net mate unit according to the mark of the sub- virtual network of the second virtual network carried in the data, The fictitious quasi- network mapping table saved is searched, it is empty to obtain corresponding with the sub- virtual network of second virtual network described first The mark of the sub- virtual network of purpose in quasi- network includes:
The fictitious quasi- net mate unit is according to the mark of second virtual network, the tunnel of second virtual network The mark of the sub- virtual network of the IP address of road termination block and second virtual network searches the fictitious quasi- network mapping Table obtains the mark of the first virtual network neutron virtual network.
In the fifth possible implementation of the first aspect, with reference to first aspect the third possible realization side Formula, the data forwarding unit are also used to be packaged the data for being sent to second virtual network, and by the number after encapsulation According to being sent to the data transmission unit.
Second aspect, the embodiment of the invention provides data transmission in a kind of virtual expansible Local Area Network VXLAN Method, comprising:
The data for being sent to the first sub- virtual network are received, and decapsulate the data;
According to the mark of the sub- virtual network of the second virtual network carried in the data, the sub- virtual net of preservation is searched Network mapping table, the purpose obtained in first virtual network corresponding with the sub- virtual network of second virtual network are fictitious The mark of quasi- network, wherein the forwarding of first virtual network and second virtual network by network implementations data, institute Fictitious quasi- network mapping table is stated to record between the sub- virtual network of second virtual network and the sub- virtual network of the purpose Corresponding relationship;
According to the mark of the sub- virtual network of purpose in first virtual network, the data after decapsulation are sent Give the purpose sub- virtual network.
In the first possible implementation of the second aspect, in conjunction with second aspect, it is fictitious quasi- that first is sent in reception Before the data of network, the method also includes:
Configuration order is received, the sub- virtual network of unallocated business in first virtual network is arranged in the configuration order With the corresponding relationship between the sub- virtual network in second virtual network;
According to the corresponding relationship by the mark of the sub- virtual network of unallocated business in first virtual network, with institute It states in mark, second virtual process identifications and second virtual network of the sub- virtual network in the second virtual network Corresponding relationship between the network of tunnel termination block between interconnection protocol IP is stored in the fictitious quasi- network mapping table.
It in a second possible implementation of the second aspect, may in conjunction with the first of second aspect or second aspect Implementation, the method also includes:
By the mark of the sub- virtual network of unallocated business in first virtual network of preservation, with the second virtual network In the mark of sub- virtual network, second virtual process identifications and the tunnel termination block in second virtual network Corresponding relationship between IP is sent to second virtual network, so that the tunnel termination block of second virtual network will The mark of the sub- virtual network of unallocated business in first virtual network, with the sub- virtual network in the second virtual network Corresponding pass between mark, second virtual process identifications and the IP of the tunnel termination block in second virtual network System, is stored in the fictitious quasi- network mapping table of the tunnel termination block of second virtual network.
It in the third possible implementation of the second aspect, may in conjunction with the first of second aspect or second aspect Implementation, the fictitious quasi- network mapping table includes: the mark of first virtual network, second virtual network The IP address of tunnel termination block, the mark of the second virtual network neutron virtual network and the first virtual network neutron The mark of virtual network.
In the fourth possible implementation of the second aspect, in conjunction with the third possible realization side of second aspect Formula, the mark of the sub- virtual network according to the second virtual network carried in the data, searches the sub- virtual net of preservation Network mapping table, the purpose obtained in first virtual network corresponding with the sub- virtual network of second virtual network are fictitious The mark of quasi- network includes:
According to the mark of second virtual network, the IP address of the tunnel termination block of second virtual network and institute The mark of the sub- virtual network of the second virtual network is stated, the fictitious quasi- network mapping table is searched, obtains first virtual net The mark of network neutron virtual network.
In a fifth possible implementation of the second aspect, in conjunction with the third possible realization side of second aspect Formula, it is described that the data to be sent are sent to the correspondence of the sub- virtual process identifications in second virtual network by network Sub- virtual network include:
The data to be sent are packaged, and the data after encapsulation are sent to fictitious in the second virtual network The quasi- corresponding sub- virtual network of network identity.
The embodiment of the present invention virtually in expansible Local Area Network VXLAN data transmission device and method, according to connecing The mark of the sub- virtual network of the second virtual network carried in the data received searches the fictitious quasi- network mapping table of preservation, Obtain the sub- virtual network of purpose in first virtual network corresponding with the sub- virtual network of second virtual network Mark, may be implemented to be made according to the actual needs flexible configuration of networking in the sub- virtual network for belonging to a virtual network The forwarding of data can be effectively performed in the sub- virtual network for obtaining different zones.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of realization structural schematic diagram of the tunnel VXLAN destination node VTEP in the embodiment of the present invention;
Fig. 2 is virtual network concrete application scene schematic diagram in the embodiment of the present invention;
Fig. 3 is that virtual network concrete application scene realizes schematic diagram of the invention in the embodiment of the present invention;
Fig. 4 is that data transmission is set in a kind of virtual expansible Local Area Network VXLAN provided in an embodiment of the present invention Standby 400 structural schematic diagram;
Fig. 5 is that data transmission is set in a kind of virtual expansible Local Area Network VXLAN provided in an embodiment of the present invention Standby 400 another realization structural schematic diagram;
Fig. 6 is data transmission method in a kind of virtual expansible Local Area Network VXLAN provided in an embodiment of the present invention Flow diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiment is a part of the embodiments of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, those of ordinary skill in the art's every other reality obtained without making creative work Example is applied, all should belong to the scope of protection of the invention.
In virtual network, the tunnel VXLAN destination node VTEP (VXLAN Terminal End Point) is VXLAN network Functional module on middle server is packaged into VXLAN message for receiving the two layer message into tunnel, and by two layer message, The message of VXLAN after encapsulation is reduced to two layer message by tunnel destination node, i.e. VTEP is responsible for the encapsulation and solution in the tunnel VXLAN Encapsulation, to realize the data forwarding between different virtual networks by network.
VTEP is the node that a virtual network and other virtual networks connect transmitting data each other, can be a service A chip or a functional module on device, the chip or a functional module being also possible in a switching equipment. Above-mentioned virtual network can be the virtual network of certain area, and multiple virtual networks are connected with each other and data by network implementations Forwarding.
As shown in Figure 1, in the server include central processor CPU 101 so that VTEP is realized on the server as an example, it is interior Deposit 102 and tunnel destination node VTEP103.VTEP103 realizes its function under the control of central processing unit.The embodiment of the present invention In, VETP can also realize its function in other equipment (such as switching equipment) or independent equipment, repeat no more.
Below by taking three virtual networks carry out the forwarding of data by network as an example, VXLAN a kind of to the embodiment of the present invention The device and method of middle data transmission are illustrated.
As shown in Fig. 2, three virtual networks realize that the data between different virtual networks turn by respective VTEP respectively Hair.Sub- virtual network in the virtual network for being identified as 4096 of VTEP1 management includes vlan10, vlan20 and vlan30; Sub- virtual network in the virtual network for being identified as 4096 of VTEP2 management also includes vlan10, vlan20 and vlan30; Sub- virtual network in the virtual network for being identified as 4096 of VTEP3 management includes vlan10, vlan20 and vlan30~50.
As shown in Fig. 2, if the user in the virtual network that the virtual process identifications of VTEP1 management are 4096 needs User in the same virtual network in virtual network for being 4096 with the VTEP3 virtual process identifications managed by network passes through Network carries out data transmission, and needs to establish the sub- virtual net that a vlan30 is mark in the virtual network that VTEP3 is managed Network enables and is forwarded in purpose virtual network from the data that the vlan30 in VTEP1 is passed over by VTEP3.But it is existing Have in technology to exist and identify vlan30 occupied situation in the virtual network that VTEP3 is managed, i.e., vlan30 is by it Occupied by the corresponding sub- virtual network of its business, when being sent to VTEP3 from the vlan30 in VTEP1 in this way, it can be forwarded by VTEP3 To being identified as the corresponding sub- virtual network of vlan30, and the vlan30 that the sub- virtual network is not VTEP1 management to be sent The sub- virtual network of purpose causes the user in the same sub- virtual network to cannot achieve intercommunication, and network organizing is inflexible, influences The forwarding of user data.
The embodiment of the present invention is by the configuration in change VTEP3, by the sub- virtual net of business unassigned in virtual network 3 Network is identified as the corresponding sub- virtual network of the sub- virtual network of vlan30 as with what VTEP1 was managed, and establishes mapping table, In data forwarding, forward the data in corresponding sub- virtual network.Specific step as shown in Figure 3:
The VTEP of the S1: the first virtual network of step receives configuration order, and the configuration order is arranged in the first virtual network Sub- virtual network mark and the second virtual network in sub- virtual process identifications between corresponding relationship;
Specifically, can by user command row or dedicated configuration management tool (such as VXLAN Manager), under Send out configuration order described.
By taking user issues configuration fame and gain by order line as an example, user inputs the vlan of local user by configuration interface (Local Customer Vlan), void where the vlan (Remote Customer Vlan) and remote subscriber of remote subscriber Interconnection protocol IP address (Remote Peer Ip) between the network of the VTEP of quasi- network.It is empty where VTEP3 such as in above-mentioned Fig. 2 Quasi- network is the first virtual network, and the virtual network where VTEP2 is the second virtual network, the mark managed by VTEP3 For in 4096 virtual network, sub- virtual network vlan30 is occupied, need by configuring, it will be unappropriated fictitious quasi- Network (such as vlan4094) is configured to the sub- virtual network in the virtual network for being identified as 4096 managed with VTEP1 The corresponding sub- virtual network of vlan30.
Based on examples detailed above, above-mentioned Local Customer Vlan be can be in the virtual network in Fig. 2 where VTEP3 The sub- virtual network vlan of unallocated business, such as vlan4094;Remote Customer Vlan can be VTEP1 and be managed Virtual network in the corresponding sub- virtual network of vlan 30;Remote Peer Ip can be the IP address of VTEP1.Configuration life Order can be as follows:
[Server3-VXLAN-VNI4096]customer vlan 4094mapping-to remote Ip10.10.10.1remote vlan 30, the type of the message can be with are as follows: vxlan-customer-vlan-mapping, it should Type of message carries within the message, for identifying the message of corresponding relationship of the message for configuring sub- virtual network.
The message that S2: the VTEP of first virtual network parsing issues, if type of message is vxlan- Customer-vlan-mapping is determined in the mark of the Vlan in the first virtual network and second area according to the message Corresponding relationship between Vlan mark, and the corresponding relationship is stored in fictitious quasi- network mapping table.
Specifically, VTEP3 can call vxlan- according to the vxlan-customer-vlan-mapping message Customer-vlan-mapping message processing function extracts following parameter from the message:
VNIID, Remote Peer Ip, Remote Customer Vlan and Local Customer Vlan.Its In, VNI is VXLAN network identifier, and VNIID is the ID of VXLAN network identifier.
Construction is Key, Local Customer with VNIID, Remote Peer Ip, Remote Customer Vlan Vlan is the hash table of Result, which is added in the fictitious quasi- network mapping table of VTEP3, and the mapping table is deposited In the memory of the equipment where VTEP3.
Sub- virtual process identifications in sub- virtual process identifications and the second virtual network in above-mentioned first virtual network it Between corresponding relationship can be as shown in table 1:
Table 1
Wherein, VNIID indicate virtual network mark, such as in Fig. 2 virtual network mark 4096, Remote Peer Ip indicates the IP address of VTEP, such as the IP address of VTEP1 is 10.10.10.1 in Fig. 2, and the IP address of VTEP2 is 20.20.20.2;Remote Customer Vlan indicates corresponding sub- virtual process identifications in the virtual network of distal end, such as The vlan30 in vlan30 or VTEP2 in VTEP1;Local Customer Vlan virtual network mark corresponding with local Know, such as in Fig. 2, the sub- virtual process identifications vlan4094 of unallocated business in VTEP3.
It optionally, is the reliability for guaranteeing corresponding relationship, method provided in an embodiment of the present invention can also be by sub- virtual net Network mapping table is backed up in realtime in the alternate devices such as the mounted memory of baseboard management controller BMC.It is main after electricity under server List item in machine memory restores by restoring in the alternate device.
Configuration information is sent to the second specified virtual net by VTEP signaling by the VTEP of S3, first virtual network The VTEP of network, signalling path and message format can be as shown in Figure 3.
VTEP3 (can be the signaling distribution unit in VTEP3) is in vxlan customer vlan mapping message The corresponding value of each field filling, such as the corresponding value of each field shown in table 1, and by filled vxlan customer Vlan mapping is sent to VTEP1 and VTEP2.For example, the vxlan customer vlan mapping sent to VTEP1 In message, 4096 are inserted in VNIID field, 10.10.10.1 is inserted in Remote Peer Ip field, in Remote Customer Vlan field filling 30 inserts 4094 in Local Customer Vlan field.The vxlan sent to VTEP2 In customer vlan mapping message, 4096 are inserted in VNIID field, is inserted in Remote Peer Ip field 20.20.20.2,30 are inserted in Remote Customer Vlan field, is inserted in Local Customer Vlan field 4094。
It, will be described right after the VTEP of S4: the second virtual network receives the message of the VTEP of the first virtual network It should be related in the fictitious quasi- network mapping table for the VTEP for being stored in the second virtual network, and fictitious quasi- network mapping table is stored in In local host memory.Fictitious quasi- network mapping table in second virtual network can be as shown in table 2:
Table 2
Specifically, can be the signaling receiving unit of the VTEP of the second virtual network, first virtual network is received The message that VTEP is sent.After the signaling receiving unit of the VTEP of second virtual network receives the message that distal end VTEP is sended over, The legitimacy of verification message first, then parses type of message, for VXLAN_CUSTOMER_VLAN_MAPPING message, adjusts It is further processed with the Vlan mapping processing function in signaling processing component.Vlan mapping handles function from message structure body In one by one field extract information, with VNIID, Local Ip, Local Customer Vlan is Key, Remote for creation Customer Vlan is the hash table of Result, which is added in the VLAN mapping table of VTEP component, the mapping table It is similarly positioned in host memory.
After the sub- virtual network corresponding relationship in fictitious quasi- network mapping table is established, different sub- virtual networks are being realized When data forwarding, number can be realized according to the corresponding relationship of mark of the sub- virtual network recorded in fictitious quasi- network mapping table According to forwarding.
Such as in Fig. 2, VTEP3 receives the data that the sub- virtual network for being identified as vlan30 of VTEP1 transmission is sent, solution After encapsulation, according to the sub- virtual process identifications vlan30 of sub- virtual process identifications in the source of data after decapsulation, that is, VTEP1 management, The IP address of virtual process identifications and VTEP1 where vlan30 searches fictitious quasi- network mapping table, obtains corresponding The mark for the sub- virtual network that VTEP3 is managed, and send the data to the sub- virtual network that the VTEP3 got is managed The corresponding sub- virtual network of mark.
With reference to Fig. 4, Fig. 4 is data in a kind of virtual expansible Local Area Network VXLAN provided in an embodiment of the present invention The structural schematic diagram of the equipment 400 of transmission, including central processing unit 401, memory 402 and tunnel termination block 403;The center Processor 401 is connected with the memory 402 and the tunnel termination block 403 respectively, and the tunnel termination block 403 is for real The data forwarding of first sub- virtual network in existing first virtual network, which is characterized in that the tunnel termination block includes data Receiving unit 4031, fictitious quasi- net mate unit 4032 and data forwarding unit 4033:
The data receipt unit 4031 for receiving the data for being sent to the described first sub- virtual network, and decapsulates institute State data;
Fictitious quasi- net mate unit 4032, according to the sub- virtual network of the second virtual network carried in the data Mark searches the fictitious quasi- network mapping table of preservation, obtains corresponding with the sub- virtual network of second virtual network described The mark of the sub- virtual network of purpose in first virtual network, wherein first virtual network and second virtual network By the forwarding of network implementations data, the fictitious quasi- network mapping table record the sub- virtual network of second virtual network with Corresponding relationship between the sub- virtual network of purpose;
Data transmission unit 4033, first virtual net for being got according to the fictitious quasi- net mate unit The data after decapsulation are sent to the sub- virtual network of the purpose by the mark of the sub- virtual network of purpose in network.
The equipment 400 of data transmission, passes through fictitious quasi- net mate in above-mentioned virtual expansible Local Area Network VXLAN Unit 4032 searches the sub- virtual net of preservation according to the mark of the sub- virtual network of the second virtual network carried in the data Network mapping table, the purpose obtained in first virtual network corresponding with the sub- virtual network of second virtual network are fictitious The mark of quasi- network, may be implemented can be flexible according to the actual needs of networking in the sub- virtual network for belonging to a virtual network Configuration, enables the sub- virtual network of different zones that the forwarding of data is effectively performed.
In specific implementation, as shown in figure 5, virtual expansible Local Area Network VXLAN provided in an embodiment of the present invention In the equipment 400 of middle data transmission, the tunnel termination block 403 further includes configuration receiving unit 4034 and configuration processing unit 4035;
The configuration receiving unit 4034, for according to the corresponding relationship by unallocated industry in first virtual network The mark of the sub- virtual network of business, mark, second virtual network with the sub- virtual network in second virtual network Corresponding relationship between mark and the IP of the tunnel termination block in second virtual network, is stored in the sub- virtual network Mapping table;
The configuration processing unit 4035, for according to the corresponding relationship by unallocated industry in first virtual network Corresponding relationship between the mark and the mark of the sub- virtual network in second virtual network of the sub- virtual network of business, saves In the fictitious quasi- network mapping table.
Optionally, the tunnel termination block 403 further includes configuration transmission unit 4036;
The configuration transmission unit 4036, unallocated business is fictitious quasi- in first virtual network for that will save The mark of sub- virtual network in the mark of network, with the second virtual network, second virtual process identifications and described second Corresponding relationship between the IP of tunnel termination block in virtual network is sent to second virtual network, so that described The tunnel termination block of two virtual networks is by the mark of the sub- virtual network of unallocated business in first virtual network, with Tunnel in the mark of sub- virtual network in two virtual networks, second virtual process identifications and second virtual network Corresponding relationship between the IP of termination block, the sub- virtual network for being stored in the tunnel termination block of second virtual network are reflected In firing table.
By configuring transmission unit 4036, the tunnel termination block of other virtual networks can be enabled to obtain and matched Data can be accurately sent to corresponding sub- virtual net when realizing data forwarding by the sub- virtual network corresponding relationship set Network.
In the concrete realization, fictitious quasi- network mapping table described in the embodiment of the present invention may include: first virtual net The mark of network, the IP address of the tunnel termination block of second virtual network, the second virtual network neutron virtual network Mark and the first virtual network neutron virtual network mark, such as mapping table shown in above-mentioned table 1.Accordingly , the fictitious quasi- net mate unit 4032 is according to the mark of the sub- virtual network of the second virtual network carried in the data Know, search the fictitious quasi- network mapping table of preservation, obtains corresponding with the sub- virtual network of second virtual network described the The mark of the sub- virtual network of purpose in one virtual network includes: that the fictitious quasi- net mate unit is virtual according to described second The sub- virtual net of the mark of network, the IP address of the tunnel termination block of second virtual network and second virtual network The mark of network searches the fictitious quasi- network mapping table, obtains the mark of the first virtual network neutron virtual network.
Optionally, the data forwarding unit 4033 is also used to seal the data for being sent to second virtual network Dress, and the data after encapsulation are sent to the data transmission unit.
With reference to Fig. 6, Fig. 6 is transmission side data in a kind of virtual expansible Local Area Network VXLAN of the embodiment of the present invention The flow diagram of method, comprising:
Step 600: receiving the data for being sent to the first sub- virtual network, and decapsulate the data;
Step 602: according to the mark of the sub- virtual network of the second virtual network carried in the data, searching preservation Fictitious quasi- network mapping table obtains in first virtual network corresponding with the sub- virtual network of second virtual network The mark of the sub- virtual network of purpose, wherein first virtual network and second virtual network pass through network implementations data Forwarding, the fictitious quasi- network mapping table record second virtual network sub- virtual network and the sub- virtual net of the purpose Corresponding relationship between network;
Step 604: according to the mark of the sub- virtual network of purpose in first virtual network, described in after decapsulation Data are sent to the sub- virtual network of the purpose.
The method of data transmission, takes according in the data received in above-mentioned virtual expansible Local Area Network VXLAN The mark of the sub- virtual network of second virtual network of band, the virtual process identifications of the second virtual network and the transmission data The second virtual network tunnel termination block IP address, search the fictitious quasi- network mapping table of preservation, obtain and described the The mark of the sub- virtual network of purpose in corresponding first virtual network of the sub- virtual network of two virtual networks, may be implemented The sub- virtual network for belonging to a virtual network can be according to the actual needs flexible configuration of networking, so that the son of different zones The forwarding of data can be effectively performed in virtual network.
It is that before reception is sent to the data of the first sub- virtual network, the method can also include: in specific implementation
Configuration order is received, the sub- virtual network of unallocated business in first virtual network is arranged in the configuration order With the corresponding relationship between the sub- virtual network in second virtual network;
According to the corresponding relationship by the mark of the sub- virtual network of unallocated business in first virtual network, with institute It states in mark, second virtual process identifications and second virtual network of the sub- virtual network in the second virtual network Corresponding relationship between the IP of tunnel termination block is stored in the fictitious quasi- network mapping table.
As a kind of optional implementation, the method can also include:
By the mark of the sub- virtual network of unallocated business in first virtual network of preservation, with the second virtual network In the mark of sub- virtual network, second virtual process identifications and the tunnel termination block in second virtual network Corresponding relationship between IP is sent to second virtual network, so that the tunnel termination block of second virtual network will The mark of the sub- virtual network of unallocated business in first virtual network, with the sub- virtual network in the second virtual network Corresponding pass between mark, second virtual process identifications and the IP of the tunnel termination block in second virtual network System, is stored in the fictitious quasi- network mapping table of the tunnel termination block of second virtual network.
It is virtual by the mark of the sub- virtual network of unallocated business in first virtual network that will save and second Corresponding relationship between the mark of sub- virtual network in network is sent to second virtual network, can make other virtual The tunnel termination block of network can obtain the sub- virtual network corresponding relationship being configured can when realizing data forwarding Data are accurately sent to corresponding sub- virtual network.
In the embodiment of the present invention, the fictitious quasi- network mapping table includes: the mark of first virtual network, described The mark and described first of the IP address of the tunnel termination block of two virtual networks, the second virtual network neutron virtual network The mark of virtual network neutron virtual network, such as can be mapping table shown in table 1.Correspondingly, described according to The mark of the sub- virtual network of the second virtual network carried in data, searches the fictitious quasi- network mapping table of preservation, obtain with The mark packet of the sub- virtual network of purpose in corresponding first virtual network of the sub- virtual network of second virtual network It includes: according to the mark of second virtual network, the IP address of the tunnel termination block of second virtual network and described The mark of the sub- virtual network of two virtual networks searches the fictitious quasi- network mapping table, obtains in first virtual network The mark of sub- virtual network.
It is described that the data to be sent are passed through into network in the embodiment of the present invention as a kind of optional implementation The corresponding sub- virtual network of the sub- virtual process identifications being sent in second virtual network includes:
The data to be sent are packaged, and the data after encapsulation are sent to fictitious in the second virtual network The quasi- corresponding sub- virtual network of network identity.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, shown or beg for Opinion mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit Or communication connection, it is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (12)

1. the equipment of data transmission in a kind of virtual expansible Local Area Network VXLAN, including central processing unit, memory and tunnel Road termination block;The central processing unit is connected with the memory and the tunnel termination block respectively, the tunnel termination mould Block for realizing the first sub- virtual network in the first virtual network data forwarding, which is characterized in that the tunnel termination block Including data receipt unit, fictitious quasi- net mate unit and data forwarding unit:
The data receipt unit for receiving the data for being sent to the described first sub- virtual network, and decapsulates the data;
Fictitious quasi- net mate unit is looked into according to the mark of the sub- virtual network of the second virtual network carried in the data The fictitious quasi- network mapping table of preservation is looked for, it is virtual to obtain corresponding with the sub- virtual network of second virtual network described first The mark of the sub- virtual network of purpose in network, wherein first virtual network and second virtual network pass through network Realize the forwarding of data, the fictitious quasi- network mapping table records the sub- virtual network and the purpose of second virtual network Corresponding relationship between sub- virtual network;
Data transmission unit, the mesh in first virtual network for being got according to the fictitious quasi- net mate unit Sub- virtual network mark, the data after decapsulation are sent to the sub- virtual network of the purpose.
2. equipment according to claim 1, which is characterized in that the tunnel termination block further include configuration receiving unit and Configure processing unit;
The configuration receiving unit, for receiving configuration order, the configuration order, which is arranged in first virtual network, does not divide The corresponding relationship between sub- virtual network in sub- virtual network and second virtual network with business;
The configuration processing unit, for according to the corresponding relationship by first virtual network unallocated business it is fictitious The mark of quasi- network, mark, second virtual process identifications and institute with the sub- virtual network in second virtual network The corresponding relationship between the network of the tunnel termination block in the second virtual network between interconnection protocol IP is stated, is stored in described fictitious Quasi- network mapping table.
3. equipment according to claim 1 or 2, which is characterized in that the tunnel termination block further includes that configuration sends list Member;
The configuration transmission unit, the mark of the sub- virtual network of unallocated business in first virtual network for that will save Know, mark, second virtual process identifications and second virtual network with the sub- virtual network in the second virtual network In tunnel termination block IP between corresponding relationship, second virtual network is sent to, so that second virtual net The tunnel termination block of network is by the mark of the sub- virtual network of unallocated business in first virtual network, with the second virtual net Tunnel termination block in the mark of sub- virtual network in network, second virtual process identifications and second virtual network IP between corresponding relationship, be stored in the fictitious quasi- network mapping table of the tunnel termination block of second virtual network.
4. equipment according to claim 1 or 2, which is characterized in that
The fictitious quasi- network mapping table includes: the tunnel end of the mark of second virtual network, second virtual network The IP address of module and the mark of the second virtual network neutron virtual network are tied, it is virtual with the first virtual network neutron Corresponding relationship between the mark of network.
5. equipment according to claim 1 or 2, which is characterized in that the fictitious quasi- net mate unit is according to the number According to the mark of the sub- virtual network of the second virtual network of middle carrying, the fictitious quasi- network mapping table of preservation, acquisition and institute are searched The mark for stating the sub- virtual network of purpose in corresponding first virtual network of sub- virtual network of the second virtual network includes:
The fictitious quasi- net mate unit is whole according to the mark of second virtual network, the tunnel of second virtual network The mark of the IP address of module and the sub- virtual network of second virtual network is tied, the fictitious quasi- network mapping table is searched, Obtain the mark of the first virtual network neutron virtual network.
6. equipment according to claim 4, which is characterized in that
The data forwarding unit is also used to be packaged the data for being sent to second virtual network, and by the number after encapsulation According to being sent to the data transmission unit.
7. data transmission method in a kind of virtual expansible Local Area Network VXLAN, it is characterised in that:
The data for being sent to the first sub- virtual network are received, and decapsulate the data;
According to the mark of the sub- virtual network of the second virtual network carried in the data, the sub- virtual network for searching preservation is reflected Firing table obtains the sub- virtual network of purpose in the first virtual network corresponding with the sub- virtual network of second virtual network Mark, wherein first virtual network passes through the forwarding of network implementations data with second virtual network, described fictitious quasi- Network mapping table records the corresponding relationship between the sub- virtual network of second virtual network and the sub- virtual network of the purpose;
According to the mark of the sub- virtual network of purpose in first virtual network, the data after decapsulation are sent to institute State the sub- virtual network of purpose.
8. the method according to the description of claim 7 is characterized in that receive be sent to the data of the first sub- virtual network before, The method also includes:
Configuration order is received, the sub- virtual network of unallocated business and institute in first virtual network is arranged in the configuration order State the corresponding relationship between the sub- virtual network in the second virtual network;
According to the corresponding relationship by the mark of the sub- virtual network of unallocated business in first virtual network, with described Tunnel in the mark of sub- virtual network in two virtual networks, second virtual process identifications and second virtual network Corresponding relationship between the network of termination block between interconnection protocol IP is stored in the fictitious quasi- network mapping table.
9. method according to claim 7 or 8, which is characterized in that the method also includes:
By the mark of the sub- virtual network of unallocated business in first virtual network of preservation, in the second virtual network The IP of the mark of sub- virtual network, second virtual process identifications and the tunnel termination block in second virtual network it Between corresponding relationship, second virtual network is sent to, so that the tunnel termination block of second virtual network will be described The mark of the sub- virtual network of unallocated business in first virtual network, the mark with the sub- virtual network in the second virtual network Know, the corresponding relationship between second virtual process identifications and the IP of the tunnel termination block in second virtual network, It is stored in the fictitious quasi- network mapping table of the tunnel termination block of second virtual network.
10. method according to claim 7 or 8, which is characterized in that the method also includes:
The fictitious quasi- network mapping table includes: the tunnel end of the mark of second virtual network, second virtual network IP address, the mark of the second virtual network neutron virtual network of module are tied, it is virtual with the first virtual network neutron Corresponding relationship between the mark of network.
11. according to the method described in claim 10, it is characterized in that, described according to the second virtual net carried in the data The mark of the sub- virtual network of network searches the fictitious quasi- network mapping table of preservation, obtains fictitious with second virtual network The mark of the sub- virtual network of purpose in quasi- corresponding first virtual network of network includes:
According to the mark of second virtual network, the IP address of the tunnel termination block of second virtual network and described The mark of the sub- virtual network of two virtual networks searches the fictitious quasi- network mapping table, obtains in first virtual network The mark of sub- virtual network.
12. according to the method described in claim 10, it is characterized in that, the method also includes:
The data to be sent are packaged, and the data after encapsulation are sent to the sub- virtual net in the second virtual network Network identifies corresponding sub- virtual network.
CN201410856308.6A 2014-12-31 2014-12-31 The device and method of data transmission in virtual expansible Local Area Network Active CN105812221B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410856308.6A CN105812221B (en) 2014-12-31 2014-12-31 The device and method of data transmission in virtual expansible Local Area Network
PCT/CN2015/093583 WO2016107269A1 (en) 2014-12-31 2015-11-02 Device and method for data transmission in virtual extensible local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856308.6A CN105812221B (en) 2014-12-31 2014-12-31 The device and method of data transmission in virtual expansible Local Area Network

Publications (2)

Publication Number Publication Date
CN105812221A CN105812221A (en) 2016-07-27
CN105812221B true CN105812221B (en) 2019-07-12

Family

ID=56284164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856308.6A Active CN105812221B (en) 2014-12-31 2014-12-31 The device and method of data transmission in virtual expansible Local Area Network

Country Status (2)

Country Link
CN (1) CN105812221B (en)
WO (1) WO2016107269A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786410B (en) * 2016-12-29 2020-08-28 平安科技(深圳)有限公司 VXLAN implementation method and terminal based on Ethernet encapsulation
CN109673046B (en) * 2017-10-16 2021-02-09 华为技术有限公司 Mobility management method, terminal and core network equipment
CN107995084B (en) * 2017-11-09 2020-12-01 新华三技术有限公司 Tunnel selection method and device
CN109768908B (en) * 2017-11-09 2020-10-09 华为技术有限公司 VXLAN configuration method, equipment and system
CN116156027B (en) * 2023-04-20 2023-07-18 中国人民解放军国防科技大学 Action execution engine supporting RMT and execution method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286918A (en) * 2007-04-09 2008-10-15 中国移动通信集团公司 Virtual private network system and data processing method thereof
CN103095546A (en) * 2013-01-28 2013-05-08 华为技术有限公司 Method, device and data center network for processing messages
CN103957160A (en) * 2014-05-12 2014-07-30 华为技术有限公司 Message sending method and device
CN104104747A (en) * 2014-07-28 2014-10-15 杭州华三通信技术有限公司 Method and device for message transmission
CN104518935A (en) * 2013-09-27 2015-04-15 华为技术有限公司 Method for realizing virtual network communication, device, and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970227B (en) * 2012-11-12 2016-03-02 盛科网络(苏州)有限公司 The method and apparatus of VXLAN message repeating is realized in ASIC
JP6024474B2 (en) * 2013-01-23 2016-11-16 富士通株式会社 Multi-tenant system, management apparatus, management program, and control method of multi-tenant system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286918A (en) * 2007-04-09 2008-10-15 中国移动通信集团公司 Virtual private network system and data processing method thereof
CN103095546A (en) * 2013-01-28 2013-05-08 华为技术有限公司 Method, device and data center network for processing messages
CN104518935A (en) * 2013-09-27 2015-04-15 华为技术有限公司 Method for realizing virtual network communication, device, and system
CN103957160A (en) * 2014-05-12 2014-07-30 华为技术有限公司 Message sending method and device
CN104104747A (en) * 2014-07-28 2014-10-15 杭州华三通信技术有限公司 Method and device for message transmission

Also Published As

Publication number Publication date
CN105812221A (en) 2016-07-27
WO2016107269A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN105391568B (en) A kind of implementation method, the device and system of software defined network SDN
CN105812221B (en) The device and method of data transmission in virtual expansible Local Area Network
KR101913490B1 (en) Flow table management method and relevant device and system
CN105745883B (en) Forwarding table synchronous method, the network equipment and system
CN105323136A (en) Information processing method and device
CN108173691B (en) Cross-device aggregation method and device
CN107645431B (en) Message forwarding method and device
EP3402130A1 (en) Information transmission method and device
CN106559302A (en) Single tunnel method for building up, device and system
CN104579973B (en) Message forwarding method and device in a kind of Virtual Cluster
CN108173763B (en) Message processing method, device and system
CN110213148A (en) A kind of method, system and device of data transmission
CN104993993A (en) Message processing method, device, and system
CN105187311A (en) Message forwarding method and message forwarding device
CN105207909B (en) A kind of method and network equipment sending information
CN109379764A (en) File transmitting method and device
CN105933235B (en) Data communications method and device
CN107465621A (en) A kind of router finds method, SDN controllers, router and network system
CN104486217A (en) Cross network message transmitting method and equipment
CN102447703B (en) A kind of heat backup method and system, CGN equipment
CN105763411B (en) Method and device for establishing multicast tunnel
CN109218176B (en) Message processing method and device
CN109039947A (en) Network packet De-weight method, device, network shunt equipment and storage medium
CN105656744B (en) Identification method, equipment and the service chaining in service chaining path
CN104822101B (en) The method and device of Fabric Network Synchronizations port diagnostic message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211222

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: xFusion Digital Technologies Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right