CN108259349A - A kind of message forwarding method and device - Google Patents

A kind of message forwarding method and device Download PDF

Info

Publication number
CN108259349A
CN108259349A CN201710771256.6A CN201710771256A CN108259349A CN 108259349 A CN108259349 A CN 108259349A CN 201710771256 A CN201710771256 A CN 201710771256A CN 108259349 A CN108259349 A CN 108259349A
Authority
CN
China
Prior art keywords
message
virtual machine
routing iinformation
purpose virtual
edge equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710771256.6A
Other languages
Chinese (zh)
Other versions
CN108259349B (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 CN201710771256.6A priority Critical patent/CN108259349B/en
Publication of CN108259349A publication Critical patent/CN108259349A/en
Application granted granted Critical
Publication of CN108259349B publication Critical patent/CN108259349B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • 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
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Landscapes

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

Abstract

A kind of message forwarding method of the disclosure and device.This method includes:The first message is received, first message is used to ask the routing iinformation of purpose virtual machine;In first message in the case of be deployed in the second edge equipment of the second data center, the second message is sent to the first SDN controllers, second message is used to ask the routing iinformation of the purpose virtual machine;The routing iinformation for the purpose virtual machine that the first SDN controllers return is received, and the routing iinformation of the purpose virtual machine is synchronized to the second edge equipment.Using the disclosure, the burden of single SDN controllers can be mitigated significantly, so as to be also convenient for supporting large-scale networking according to the forward-path of the variation real-time update packet of network topology.

Description

A kind of message forwarding method and device
Technical field
This disclosure relates to network communication technology field more particularly to a kind of message forwarding method and device.
Background technology
SDN (Software Defined Network, software defined network) is a kind of new network of Emulex network innovation framework, core Thought is want to detach the control plane of the network equipment with forwarding plane, to realize flexible control to network flow, so as to for The innovation of core network and application provides good platform.
At present in multiple data centers networking plan, it can be issued by the interchanger of SDN controllers to each data center IP/MAC forwarding-table items.This is also referred to as the strong prosecutor cases of SDN, can in real time be calculated according to the variation of network topology and update forwarding Path, and the agreement being no longer dependent in existing networking.But in strong prosecutor case, SDN controllers need and each data center All switch devices connection, in order to which flow table is configured and issued to interchanger, it is difficult to support catenet.
Invention content
In view of this, the present disclosure proposes a kind of message forwarding methods.The disclosure also proposed corresponding device.
According to the one side of the disclosure, a kind of message forwarding method is provided, the method is applied to be deployed in the first number According to the first edge equipment at center, first data center is also deployed with the first SDN controllers, the method includes:It receives First message, first message are used to ask the routing iinformation of purpose virtual machine;In first message from being deployed in the In the case of the second edge equipment of two data centers, second is sent to the first SDN controllers according to first message Message, second message are used to ask the routing iinformation of the purpose virtual machine;Receive what the first SDN controllers returned The routing iinformation of the purpose virtual machine, and to the second edge equipment synchronize the purpose virtual machine the routing believe Breath.
According to another aspect of the present disclosure, a kind of message forwarding method is provided, the method is applied to be deployed in first First SDN controllers of data center, first data center are also deployed with first edge equipment, the method includes:It connects The 4th message is received, the 4th message is used to ask the routing iinformation of purpose virtual machine;Locally search whether exist with it is described The matched routing iinformation of purpose virtual machine;It is taken if locally existed with the matched routing iinformation of purpose virtual machine, transmission The 5th message with the matched routing iinformation, wherein, the destination address of the 5th message is the source of the 4th message Address.
According to another aspect of the present disclosure, a kind of apparatus for forwarding message is provided, described device is applied to be deployed in first The first edge equipment of data center, first data center are also deployed with the first SDN controllers, and described device includes:The One message receiving module, for receiving the first message, first message is used to ask the routing iinformation of purpose virtual machine;Second Message sending module, in first message in the case of be deployed in the second edge equipment of the second data center, Second message is sent to the first SDN controllers according to first message, second message is used to ask the purpose The routing iinformation of virtual machine;Routing iinformation receives and synchronization module, for receiving the mesh that the first SDN controllers return Virtual machine routing iinformation, and synchronize to the second edge equipment routing iinformation of the purpose virtual machine.
According to another aspect of the present disclosure, a kind of apparatus for forwarding message is provided, described device is applied to be deployed in first First SDN controllers of data center, first data center are also deployed with first edge equipment, and described device includes:The Four message receiving modules, for receiving the 4th message, the 4th message is used to ask the routing iinformation of purpose virtual machine;Routing Searching module, for locally searching whether exist and the matched routing iinformation of purpose virtual machine;5th message sends mould Block, if it is local exist with the matched routing iinformation of purpose virtual machine, carry the matched routing letter for sending 5th message of breath, wherein, the destination address of the 5th message is the source address of the 4th message.
According in above-described embodiment of the disclosure, issued inside data center by SDN controllers progress list item, in number Route synchronization is carried out by message according between center, compared to existing strong prosecutor case, significantly reduces single SDN controllers Burden, so as to be also convenient for supporting large-scale networking according to the forward-path of the variation real-time update packet of network topology.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become It is clear.
Description of the drawings
Comprising in the description and the attached drawing of a part for constitution instruction and specification together illustrate the disclosure Exemplary embodiment, feature and aspect, and the principle for explaining the disclosure.
Fig. 1 shows the illustrative diagram of the message forwarding system of one embodiment according to the disclosure.
Fig. 2 shows the flow charts of the message forwarding method of one embodiment according to the disclosure.
Fig. 3 shows the flow chart of the message forwarding method of one embodiment according to the disclosure.
Fig. 4 shows example packet's forwarding process figure according to one embodiment of the disclosure.
Fig. 5 shows the structure diagram of the apparatus for forwarding message of one embodiment according to the disclosure.
Fig. 6 shows the structure diagram of the apparatus for forwarding message of one embodiment according to the disclosure.
Fig. 7 shows the structure diagram of the apparatus for forwarding message of one embodiment according to the disclosure.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing Reference numeral represent functionally the same or similar element.Although the various aspects of embodiment are shown in the drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details is given in specific embodiment below. It will be appreciated by those skilled in the art that without certain details, the disclosure can equally be implemented.In some instances, for Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 shows the illustrative diagram of the message forwarding system of one embodiment according to the disclosure.As shown in Figure 1, The system includes the first data center and the second data center.
First data center deployment has SDN controllers 1, edge device (Edge Device) ED 1, interchanger 101,102 Deng.Configuration and forwarding-table item are issued to interchanger by SDN controllers 1 inside first data center.SDN controllers 1 and ED 1, Openflow protocol communications can be based between interchanger 101,102.Virtual machine (Virtual Machine) VM1 can access exchange Machine 101.It will be appreciated by those skilled in the art that ground is, ED 1 can also be used as interchanger, and virtual machine is also accessed as interchanger ED 1.
Second data center deployment has SDN controllers 2, edge device ED 2, interchanger 201,202 etc..In second data Interior portion issues configuration and forwarding-table item by SDN controllers 2 to interchanger.SDN controllers 2 and ED 2, interchanger 201,202 Between can be based on openflow protocol communications.Virtual machine VM2 can access interchanger 201.It will be appreciated by those skilled in the art that ground It is that ED 2 can also be used as interchanger, virtual machine also can access the ED 2 as interchanger.
Between Liang Ge data centers, by transmitting message between edge device ED1 and ED2 with synchronization of routing information.
It is to be understood that Fig. 1 is given for example only, it is not used in the quantity, every for the data center for limiting internal system administration The quantity of interchanger in a data center, the quantity of the virtual machine accessed on each interchanger and mode (are directly accessed or indirectly Access) etc..
Fig. 2 shows the flow charts of the message forwarding method of one embodiment according to the disclosure.The method is applied to portion Affix one's name to the first edge equipment in the first data center.First data center is also deployed with the first SDN controllers.The method Include the following steps 202,204 and 206.
Step 202, the first message is received, first message is used to ask the routing iinformation of purpose virtual machine.
Step 204, in first message in the case of be deployed in the second edge equipment of the second data center, root The second message is sent to the first SDN controllers according to first message, second message is used to ask the purpose empty The routing iinformation of plan machine.
In a kind of possible realization method, first edge equipment can be sentenced by the source address information carried in the first message The source of disconnected first message.In a kind of possible realization method, first edge equipment can be by the association that is carried in the first message View information judges the source of the first message.In a kind of possible realization method, first edge equipment can pass through the first message Receiving port judges the source of the first message.Any suitable technological means can be used to determine first in those skilled in the art The source of message, the disclosure are not construed as limiting this.
In a kind of possible realization method, first edge equipment can be parsed to receiving the first message, for example, can The field for the IP address that purpose virtual machine is used to indicate in the first message is obtained, is then generated according to the information parsed to first Second message that SDN controllers are sent, with the routing iinformation of virtual machine that the IP address is asked to indicate.
In a kind of possible realization method, between first edge equipment and second edge equipment can by EVPN agreements come Synchronization of routing information.In this realization method, step 204 can specifically include:Judge whether the first edge equipment is configured There are three layers of VXLAN tunnels corresponding with the VXLAN packaging informations of first message;If the first edge device configuration has Three layers of VXLAN tunnels corresponding with the VXLAN packaging informations of first message, and in the first edge equipment exist with The matched virtual forwarding routing VRF table of the corresponding RT derived rules of first message, then according to first message to described First SDN controllers send the second message.
In this realization method, routing can be filtered by three layers of VXLAN packaging informations and RT, to ensure to VPN's Isolation.
In an example of this realization method, it is not configured in the first edge equipment and is encapsulated with three layers of VXLAN Although in the case of the corresponding three layers of VXLAN tunnels of information and the first edge device configuration has and three layers of VXLAN The corresponding three layers of VXLAN tunnels of packaging information, but there is no corresponding with the RT derived rules in the first edge equipment In the case of VRF table, first edge equipment can terminate current forwarding process.
In an example of this realization method, first message can also carry RD (Route Distinguisher, Route-distinguisher), the those skilled in the art such as ESI (Ethernet Segment ID, Ethernet fragment identification) think what is needed Arbitrary fields.
Step 206, the routing iinformation for the purpose virtual machine that the first SDN controllers return is received, and to described Second edge equipment synchronizes the routing iinformation of the purpose virtual machine.
When the first SDN controllers locally have routing iinformation matched with the purpose virtual machine, purpose can return to The routing iinformation of virtual machine.
In a kind of possible realization method, the first SDN controllers may not find the routing iinformation of purpose virtual machine, then First SDN controllers can either explicitly or implicitly notify first edge equipment not find the routing iinformation of the purpose virtual machine.With So that the first edge equipment asks the routing of the purpose virtual machine to be believed to the edge device for being deployed in other data centers Breath.If the edge device for being deployed in other data centers obtains the routing iinformation, can be synchronized via first edge equipment It is synchronized to second edge equipment or directly second edge equipment etc..
In the disclosure, explicitly notice can include sending message etc. to inform that the routing for not finding purpose virtual machine is believed Breath;Implicit notice can include not returning to described routing iinformation etc. in preset time.
According to above-described embodiment, between the different data center of SDN controllers is deployed respectively, pass through specific protocol message Carry out synchronization routing, compared to existing strong prosecutor case, significantly reduce the burden of single SDN controllers, thus can not only root According to the forward-path of the variation real-time update packet of network topology, it is also convenient for supporting large-scale networking.
In a kind of possible realization method, after the first message (referring to abovementioned steps 202) is received, the method is also wrapped It includes:In the case where first message is from the equipment for being deployed in first data center, according to first message to The second edge equipment sends third message, and the third message is used to ask the routing iinformation of the purpose virtual machine;It connects The routing iinformation of the purpose virtual machine that the second edge equipment is synchronized is received, and is sent to the first SDN controllers The routing iinformation of the purpose virtual machine.First SDN controllers can issue flow table according to the routing iinformation to interchanger.
Similar as above, first edge equipment can parse first message, and be generated according to the information parsed to institute State the third message of second edge equipment transmission.
In an example of this realization method, first message can come from arbitrary in first data center Interchanger or edge device.In another example of this realization method, first message can be both from the first data The first SDN controllers in the heart, you can deployment is unified from the first SDN controllers to first edge device request purpose virtual machine Routing iinformation.
Fig. 3 shows the flow chart of the message forwarding method of one embodiment according to the disclosure.The method is applied to portion Affix one's name to the first SDN controllers in the first data center.First data center is also deployed with first edge equipment.The side Method includes the following steps 302,304 and 306.
Step 302, the 4th message is received, the 4th message is used to ask the routing iinformation of purpose virtual machine.
Step 304, locally searching whether exist and the matched routing iinformation of purpose virtual machine.
Step 306, if local presence and the matched routing iinformation of purpose virtual machine, send and carry the matching Routing iinformation the 5th message, wherein, the destination address of the 5th message is the source address of the 4th message.
In a kind of possible realization method, the 4th message can come from first edge equipment, i.e., described 4th report The source address of text is directed toward the first edge equipment.At this point, the 5th message can be transmitted to described first in the first SDN controllers Edge device.
In an example of this realization method, first edge equipment can simulate a data message, and destination address refers to To purpose virtual machine, and the data message is reported to the first SDN controllers.Then the first SDN controllers can be according to the data message Locally carrying out address search, find with the matched routing iinformation of purpose virtual machine, and pass through the 5th message by the routing iinformation It is sent to first edge equipment.
In an example of this realization method, first edge equipment can send route requests report to the first SDN controllers Text is directly to ask the routing iinformation of the purpose virtual machine.Then the first SDN controllers can locally carry out address search, find The routing iinformation matched with the purpose virtual machine, and pass through the 5th message and the routing iinformation is sent to first edge equipment.
In a kind of possible realization method, the 4th message can come from removing first edge in the first data center Other interchangers outside equipment, i.e., the source address of described 4th message are directed toward other interchangers in addition to first edge equipment.This When, the 5th message can be transmitted to corresponding interchanger in the first SDN controllers.
Similarly, other interchangers in addition to first edge equipment can by analogue data message or directly transmit routing please The form of message is sought, the first SDN controllers of request return to the routing iinformation.The disclosure repeats no more this.
In a kind of possible realization method, the above method further includes:If local be not present and the purpose virtual machine In the case of matched routing iinformation, the first edge equipment is notified, so that the first edge equipment is to being deployed in it The edge device of his data center asks the routing iinformation of the purpose virtual machine.
For example, the first SDN controllers can either explicitly or implicitly notify first edge equipment that locally there is no virtual with purpose The matched routing iinformation of machine so that the first edge equipment in a manner of for example flooding to being deployed in other data centers Edge device asks the routing iinformation of the purpose virtual machine.
For example, purpose virtual machine described in the second edge equipment of the second data center to the first edge device request Routing iinformation sends the 4th message to ask the mesh so as to cause first edge equipment to the first SDN controllers Virtual machine routing iinformation, then first edge equipment can be connect after the notice is received to the first edge equipment , each edge device in addition to the second edge equipment ask the routing iinformation of the purpose virtual machine.
It in one example, can be same if the edge device for being deployed in other data centers obtains the routing iinformation It walks to first edge equipment.
Fig. 4 shows example packet's forwarding process figure according to one embodiment of the disclosure.In this illustrative examples, EVPN (Ethernet Virtual Private Network, the Ethernet Virtual Private Network) edge at different data center is set It is standby that route synchronization is carried out by EVPN agreements.
VM 1, interchanger 101, SDN controllers 1, edge device ED 1 in Fig. 4 are deployed in the first data center, VM 2, Interchanger 201, SDN controllers 2, edge device ED 2 are deployed in the second data center, wherein, 1 access switch 101, VM of VM 2 access VTEP 201.Interchanger 101 and interchanger 201 can be configured as VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel), edge device is configured as VTEP.The VXLAN packaging informations used in first data center are 200, the The VXLAN packaging informations used in two data centers are that the VXLAN packaging informations used between 100, Liang Ge data centers are 10001.It should be noted that interchanger 101 and ED1 can be disposed on the same device, interchanger 201 and ED 2 can be disposed On the same device.
Step 402, after VM1 reaches the standard grade, IP, MAC and the position of oneself are noticed to SDN controllers 1 via interchanger 101 first It puts (such as its access switch 101).If the IP address of VM 1 is 100.1.1.2.
Step 404, VM2 has business to need to access VM1.VM2, which can construct service message and send best friend, changes planes 201, the industry The purpose IP address of business message is 100.1.1.2.
Step 406, the first packet of the service message is sent to SDN controllers 2 by interchanger 201, the routing of VM1 to be asked to be believed Breath.
Step 408, SDN controllers 2 are locally being searched and the matched routing iinformations of VM1 after the message is received.Originally showing In example, SDN controllers 2 are local to be not present and the matched routing iinformations of VM1.
Step 410, SDN controllers 2 can send message to ED 2, for asking the routing iinformation of VM1.
Step 412, after the message is received, internal EVPN modules can construct message and be sent to the first number ED 2 According to the ED1 at center, to ask the routing iinformation of VM1.The message can be the BGP route-types newly defined according to the disclosure.It should Message can carry the IP address of purpose virtual machine, packaging information, the field of RT derived rules in three layers of VXLAN tunnels, the message The those skilled in the art such as RD, ESI can also be carried and think the arbitrary fields needed, the disclosure is not construed as limiting this.
Step 414, ED 1 may filter that the message of BPG route-types received.After the message for receiving ED2 transmissions, Whether ED 1 can first compare is configured with three layers of VXLAN tunnels for being encapsulated as 10001 on ED 1, if it is not, terminating current stream Journey.If so, it is 1 then further to compare regular with the presence or absence of RT importings in ED 1:1 VRF (Virtual Routing Forwarding, virtual flow-line forwarding) table.If it does not exist, then terminate current process;If it is present into subsequent step.
In this example, ED 1 be configured be encapsulated as 10001 three layers of VXLAN tunnels, and in ED 1 exist import rule It is 1:1 VRF table.
Step 416, ED 1 can simulate a data message, purpose IP address 100.1.1.2, and be sent to SDN controls Device 1 processed, to ask the routing iinformation of VM1.
Step 418, SDN controllers 1 search local whether there is and the matched roads of VM1 after the data message is received By information.
In this example, the VM1 that IP address is 100.1.1.2 is in the first data center online, then SDN controllers 1 are local In the presence of with the matched routing iinformations of VM1.
Step 420, SDN controllers 1 return to the routing iinformation of VM1 to ED1.
Step 422, the EVPN modules in ED 1 send 2 classes of EVPN routing class according to the routing iinformation received to ED 2 The message of type is to synchronize the routing iinformation of VM 1.The fields such as L3VNI, RT and RD are further included in the message.
Step 424, ED 2 sends phase according to the routing iinformation that ED 1 is synchronized after the message is received to SDN controllers 2 The routing iinformation answered.
Step 426, SDN controllers 2 issue corresponding forwarding-table item according to the routing iinformation received to interchanger 201.
Step 428, the service message for having carried out VXLAN encapsulation is sent to ED 2 by interchanger 201, the encapsulation used at this time Information is 100.
Step 430, the VXLAN of the service message received is encapsulated and released by ED 2, then it is 10001 to be packaged information VXLAN is encapsulated.
Step 432, the service message that encapsulated, packaging information is 10001 is sent to ED 1 by ED 2.
Step 434, the VXLAN of the service message received is encapsulated and released by ED 1, then it is 200 to be packaged information VXLAN is encapsulated.
Step 436, the service message having carried out VXLAN encapsulation, packaging information is 200 is sent to interchanger by ED 1 101。
Step 438, the VXLAN of the service message received is encapsulated and released by interchanger 101.
Step 440, interchanger 101 sends the business datum message for relieving VXLAN encapsulation to VM 1, finishing service message Forwarding.
Fig. 5 shows the structure diagram of the apparatus for forwarding message 500 according to one embodiment of the disclosure.Described device 500 Applied to the first edge equipment for being deployed in the first data center, first data center is also deployed with the first SDN controllers. As shown in fig. 7, described device 700 connects including the first message receiving module 502, the second message sending module 504 and routing iinformation It receives and synchronization module 506.
For receiving the first message, first message is used to ask purpose virtual machine first message receiving module 502 Routing iinformation.Second message sending module 504 is used in first message from the second side for being deployed in the second data center In the case of edge equipment, the second message is sent to the first SDN controllers according to first message, second message is used In the routing iinformation for asking the purpose virtual machine.Routing iinformation receives and synchronization module 506 is controlled for receiving the first SDN The routing iinformation for the purpose virtual machine that device processed returns, and synchronize to the second edge equipment institute of the purpose virtual machine State routing iinformation.
In a kind of possible realization method, aforementioned device may also include:Third message sending module, for described One message is in the case of the equipment for being deployed in first data center, according to first message to the second edge Equipment sends third message, and the third message is used to ask the routing iinformation of the purpose virtual machine;Routing iinformation receive and Module is issued, for receiving the routing iinformation of the purpose virtual machine that the second edge equipment is synchronized, and to described One SDN controllers send the routing iinformation of the purpose virtual machine.
In a kind of possible realization method, pass through EVPN between the first edge equipment and the second edge equipment Protocol synchronization routing iinformation;The second message sending module is specifically used for:Judge whether the first edge equipment is configured with Three layers of VXLAN tunnels corresponding with the VXLAN packaging informations of first message;If the first edge device configuration have with The corresponding three layers of VXLAN tunnels of VXLAN packaging informations of first message, and exist and institute in the first edge equipment The matched virtual forwarding routing VRF table of the corresponding RT derived rules of the first message is stated, then according to first message to described the One SDN controllers send the second message.
Fig. 6 shows the structure diagram of the apparatus for forwarding message 600 according to one embodiment of the disclosure.Described device 600 Applied to the first SDN controllers for being deployed in the first data center, first data center is also deployed with first edge equipment. As shown in fig. 6, described device 600 includes the 4th message receiving module 602,604 and the 5th message of routing message searching module sends mould Block 606.
For receiving the 4th message, the 4th message is used to ask purpose virtual machine 4th message receiving module 602 Routing iinformation.Routing message searching module 604 is used to locally search whether exist and the matched routing iinformation of purpose virtual machine. If locally existed institute is carried for sending with the matched routing iinformation of purpose virtual machine, the 5th message sending module 606 The 5th message of matched routing iinformation is stated, wherein, the destination address of the 5th message is the source address of the 4th message.
In a kind of possible realization method, aforementioned device may also include:Notification module, if it is local be not present with it is described The matched routing iinformation of purpose virtual machine, for notifying the first edge equipment, so that the first edge equipment is to portion The edge device affixed one's name in other data centers asks the routing iinformation of the purpose virtual machine.
Fig. 7 is the block diagram according to a kind of apparatus for forwarding message 700 shown in an exemplary embodiment.With reference to Fig. 7, the device 700 machine readable storage mediums 702 that may include processor 701, be stored with machine-executable instruction.Processor 701 and machine Readable storage medium storing program for executing 702 can communicate via system bus 703.Also, processor 701 passes through read machine readable storage medium storing program for executing With the message corresponding machine-executable instruction of forwarding to perform message forwarding method described above in 702.
Machine readable storage medium 702 referred to herein can be any electronics, magnetism, optics or other physical stores Device can include or store information, such as executable instruction, data, etc..For example, machine readable storage medium can be: RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven Dynamic device (such as hard disk drive), solid state disk, any kind of storage dish (such as CD, dvd) or similar storage are situated between Matter or combination thereof.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport In the principle for best explaining each embodiment, practical application or to the technological improvement of the technology in market or lead this technology Other those of ordinary skill in domain are understood that each embodiment disclosed herein.

Claims (10)

1. a kind of message forwarding method, which is characterized in that the method is applied to be deployed in the first edge of the first data center Equipment, first data center are also deployed with the first SDN controllers, the method includes:
The first message is received, first message is used to ask the routing iinformation of purpose virtual machine;
In first message in the case of be deployed in the second edge equipment of the second data center, according to the described first report Text sends the second message to the first SDN controllers, and second message is used to that the routing of the purpose virtual machine to be asked to be believed Breath;
Receive the routing iinformation for the purpose virtual machine that the first SDN controllers return, and to the second edge equipment Synchronize the routing iinformation of the purpose virtual machine.
2. message forwarding method according to claim 1, which is characterized in that the method further includes:
In the case where first message is from the equipment for being deployed in first data center, according to first message to The second edge equipment sends third message, and the third message is used to ask the routing iinformation of the purpose virtual machine;
The routing iinformation of the purpose virtual machine that the second edge equipment is synchronized is received, and is controlled to the first SDN Device sends the routing iinformation of the purpose virtual machine.
3. message forwarding method according to claim 1, which is characterized in that the first edge equipment and second side Pass through EVPN protocol synchronization routing iinformations between edge equipment;
In first message in the case of be deployed in the second edge equipment of the second data center, according to the described first report Text sends the second message to the first SDN controllers, including:
It is three layers corresponding with the VXLAN packaging informations of first message to judge whether the first edge equipment is configured with VXLAN tunnels;
If the first edge device configuration has three layers of VXLAN tunnels corresponding with the VXLAN packaging informations of first message Road, and there is the matched virtual forwarding routing of RT derived rules corresponding with first message in the first edge equipment VRF table then sends the second message according to first message to the first SDN controllers.
4. a kind of message forwarding method, which is characterized in that the method is applied to be deployed in the first SDN controls of the first data center Device processed, first data center are also deployed with first edge equipment, the method includes:
The 4th message is received, the 4th message is used to ask the routing iinformation of purpose virtual machine;
Locally searching whether exist and the matched routing iinformation of purpose virtual machine;
If local presence and the matched routing iinformation of purpose virtual machine, send and carry the matched routing iinformation 5th message, wherein, the destination address of the 5th message is the source address of the 4th message.
5. message forwarding method according to claim 4, which is characterized in that the method further includes:
If it is local be not present with the matched routing iinformation of purpose virtual machine, notify the first edge equipment so that The first edge equipment asks the routing iinformation of the purpose virtual machine to the edge device for being deployed in other data centers.
6. a kind of apparatus for forwarding message, which is characterized in that described device is applied to be deployed in the first edge of the first data center Equipment, first data center are also deployed with the first SDN controllers, and described device includes:
First message receiving module, for receiving the first message, first message is used to that the routing of purpose virtual machine to be asked to be believed Breath;
Second message sending module, in first message from the second edge equipment for being deployed in the second data center In the case of, the second message is sent to the first SDN controllers according to first message, second message is used to ask institute State the routing iinformation of purpose virtual machine;
Routing iinformation receives and synchronization module, for receiving the road for the purpose virtual machine that the first SDN controllers return By information, and synchronize to the second edge equipment routing iinformation of the purpose virtual machine.
7. apparatus for forwarding message according to claim 6, which is characterized in that described device further includes:
Third message sending module, in situation of first message from the equipment for being deployed in first data center Under, third message is sent to the second edge equipment according to first message, the third message is used to ask the mesh Virtual machine routing iinformation;
Routing iinformation receives and issues module, for receiving the road of the purpose virtual machine that the second edge equipment is synchronized By information, and send to the first SDN controllers routing iinformation of the purpose virtual machine.
8. apparatus for forwarding message according to claim 6, which is characterized in that the first edge equipment and second side Pass through EVPN protocol synchronization routing iinformations between edge equipment;
The second message sending module is specifically used for:
It is three layers corresponding with the VXLAN packaging informations of first message to judge whether the first edge equipment is configured with VXLAN tunnels;
If the first edge device configuration has three layers of VXLAN tunnels corresponding with the VXLAN packaging informations of first message Road, and there is the matched virtual forwarding routing of RT derived rules corresponding with first message in the first edge equipment VRF table then sends the second message according to first message to the first SDN controllers.
9. a kind of apparatus for forwarding message, which is characterized in that described device is applied to be deployed in the first SDN controls of the first data center Device processed, first data center are also deployed with first edge equipment, and described device includes:
4th message receiving module, for receiving the 4th message, the 4th message is used to that the routing of purpose virtual machine to be asked to be believed Breath;
Routing message searching module, for locally searching whether exist and the matched routing iinformation of purpose virtual machine;
5th message sending module, if local presence and the matched routing iinformation of purpose virtual machine, take for sending The 5th message with the matched routing iinformation, wherein, the destination address of the 5th message is the source of the 4th message Address.
10. apparatus for forwarding message according to claim 9, which is characterized in that described device further includes:
Notification module, if it is local be not present with the matched routing iinformation of purpose virtual machine, for notifying first side Edge equipment, so that the first edge equipment asks the purpose virtual machine to the edge device for being deployed in other data centers Routing iinformation.
CN201710771256.6A 2017-08-31 2017-08-31 Message forwarding method and device Active CN108259349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710771256.6A CN108259349B (en) 2017-08-31 2017-08-31 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710771256.6A CN108259349B (en) 2017-08-31 2017-08-31 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN108259349A true CN108259349A (en) 2018-07-06
CN108259349B CN108259349B (en) 2020-11-27

Family

ID=62721164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710771256.6A Active CN108259349B (en) 2017-08-31 2017-08-31 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN108259349B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147369A (en) * 2018-11-05 2020-05-12 中国电信股份有限公司 Routing system, routing method and server
CN111600795A (en) * 2020-05-26 2020-08-28 新华三信息安全技术有限公司 Virtual edge device establishing method, controller and server
WO2021098727A1 (en) * 2019-11-18 2021-05-27 华为技术有限公司 Network deployment method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618244A (en) * 2015-01-19 2015-05-13 迈普通信技术股份有限公司 SDN network and traditional IP network intercommunicating method and system
US20150142936A1 (en) * 2013-10-21 2015-05-21 Nyansa, Inc. System and method for observing and controlling a programmable network using time varying data collection
CN106027626A (en) * 2016-05-12 2016-10-12 赛特斯信息科技股份有限公司 SDN-based system for realizing virtualization data center
CN106656793A (en) * 2016-12-29 2017-05-10 中山大学 Data interaction method of SDN network and IP network
CN106878168A (en) * 2017-03-20 2017-06-20 新华三技术有限公司 A kind of message forwarding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150142936A1 (en) * 2013-10-21 2015-05-21 Nyansa, Inc. System and method for observing and controlling a programmable network using time varying data collection
CN104618244A (en) * 2015-01-19 2015-05-13 迈普通信技术股份有限公司 SDN network and traditional IP network intercommunicating method and system
CN106027626A (en) * 2016-05-12 2016-10-12 赛特斯信息科技股份有限公司 SDN-based system for realizing virtualization data center
CN106656793A (en) * 2016-12-29 2017-05-10 中山大学 Data interaction method of SDN network and IP network
CN106878168A (en) * 2017-03-20 2017-06-20 新华三技术有限公司 A kind of message forwarding method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
索凤莲等: "《跨数据中心大二层组网技术探讨与分析》", 《互联网天地》 *
郭爱鹏等: "《基于SDN的边缘网络控制技术及应用》", 《邮电设计技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147369A (en) * 2018-11-05 2020-05-12 中国电信股份有限公司 Routing system, routing method and server
WO2021098727A1 (en) * 2019-11-18 2021-05-27 华为技术有限公司 Network deployment method and system
CN111600795A (en) * 2020-05-26 2020-08-28 新华三信息安全技术有限公司 Virtual edge device establishing method, controller and server

Also Published As

Publication number Publication date
CN108259349B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
US11563602B2 (en) Method and apparatus for providing a point-to-point connection over a network
US11005752B2 (en) Packet transmission
CN110635987B (en) Message transmission method, device, equipment and machine readable storage medium
CN106209553B (en) Message processing method, equipment and system
CN104350467B (en) Elasticity for the cloud security using SDN carries out layer
CN107547242B (en) The acquisition methods and device of VM configuration information
CN108023815B (en) Information transmission method, device and system
CN105323136A (en) Information processing method and device
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN109361600B (en) Method and equipment for acquiring path identifier
CN104704779A (en) Method and apparatus for accelerating forwarding in software-defined networks
JP6633775B2 (en) Packet transmission
CN104917682B (en) The collocation method and device of a kind of stacking network
CN108199963A (en) Message forwarding method and device
CN105337865B (en) A kind of methods, devices and systems for establishing forwarding-table item
CN105637806B (en) Network topology determines method and apparatus, centralized network status information storage equipment
CN108259349A (en) A kind of message forwarding method and device
CN111092801A (en) Data transmission method and device
EP3457640B1 (en) Route establishment and message sending
CN108156067B (en) Method and system for realizing Ethernet-based virtual private network
CN104811382A (en) Data packet processing method and device
CN108259218A (en) A kind of IP address distribution method and device
CN108965134B (en) Message forwarding method and device
CN112822104A (en) Data message processing method, device, storage medium and system
CN108696370B (en) Method, device and system for binding and unbinding server and service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant