CN104301446B - A kind of message processing method, switch device and system - Google Patents
A kind of message processing method, switch device and system Download PDFInfo
- Publication number
- CN104301446B CN104301446B CN201410390883.1A CN201410390883A CN104301446B CN 104301446 B CN104301446 B CN 104301446B CN 201410390883 A CN201410390883 A CN 201410390883A CN 104301446 B CN104301446 B CN 104301446B
- Authority
- CN
- China
- Prior art keywords
- arp
- address information
- physical switches
- controller
- request message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
Abstract
The invention discloses a kind of message processing methods, edge physical switches and controller establish connection and obtain the address information of controller, and after parsing and recording the source address information that ARP request message carries, the address information found is carried and is back to OVS in the arp reply message of generation by the address information for searching controller in itself preset ARP entry according to the destination address information wherein carried.To effectively reduce the processing load of Open flow network central control device, the operation stability of controller and network is enhanced.The present invention also discloses a kind of switch device and Open flow Virtual Networking Systems.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of message processing method.The present invention also relates to one kind
Edge physical switches.
Background technique
OVS (OPEN VSWITCH, multilayer virtual interchanger) supports large-scale network by supporting programmable extension
Automation.Under the overall background of current virtualization technique, a common server can support dozens of even up to a hundred void
Quasi- interchanger.And each virtual switch following can hang multiple VM (Virtual Machine, fictitious host computer).As shown in Figure 1
Open flow virtual network in, controller can control the flow between each VM.
In the Open flow virtual network of Fig. 1 type, when a large amount of OVS starting when, all can to controller send ARP
Request message forms greatly impact and test to controller performance.When being communicated after a large amount of VM are online, ARP request report
Text is also to need to be sent to controller, and there is also same phenomenon and problems.
With the hair of SDN (switched digital network, Switched digital network) technical network virtualization technology
Exhibition, each tenant needs oneself OVS and network, while needing to dispose the security strategy of oneself, therefore uses applied by OVS
The model of family networking is usually as shown in Figure 2.But the program also have the shortcomings that it is same: when large batch of OVS start run when,
Each OVS can send ARP (Address Resolution Protocol, address resolution protocol) request message to controller,
Great impact is formed to controller performance and stability;Multiple VM can be hung under each OVS below, are carried out after a large amount of VM are online
Communication also can issue ARP request message to controller, form great impact to controller performance and stability;Also, due to
Controller saves the ARP entry of all host and interchanger, searches time consuming, and network response speed is caused to become
Slowly.
It can be seen that all Message processings are given controller to complete by the Open flow networking of the prior art, this is right
Controller causes great burden, while also affecting the stability of whole network.
Summary of the invention
The present invention provides a kind of message processing methods, to mitigate the processing load of controller in Open flow networking,
Enhance the stability of network.
In order to achieve the above objectives, on the one hand the embodiment of the present application provides a kind of message processing method, and this method is applied to
In Open flow network comprising edge physical switches, this method further include:
The edge physical switches receive the ARP request message from OVS;
The source address information that the edge physical switches carry the ARP request message parses, and will parsing
Result be recorded in itself preset ARP entry;
The destination address information that the edge physical switches are carried according to the ARP request message, in the ARP entry
The middle address information for searching controller, after the address information establishes connection by the edge physical switches and the controller
It obtains;
The edge physical switches carry the address information found in the arp reply message of generation, and by institute
It states arp reply message and is back to the OVS by the corresponding ports in the source address information.
On the other hand, the embodiment of the present application also provides a kind of edge physical switches, the edge physical switches applications
In Open flow network, comprising:
Interface module, for receiving the ARP request message from OVS;
Parsing module, the source address information for carrying to the ARP request message parse, and by the result of parsing
It is recorded in itself preset ARP entry;
Enquiry module, the destination address information for being carried according to the ARP request message, is looked into the ARP entry
It is obtained after looking for the address information of controller, the address information to establish connection with the controller by the edge physical switches
?;
The interface module is also used to carry the address information found in the arp reply message of generation, and by institute
It states arp reply message and is back to the OVS by the corresponding ports in the source address information.
On the other hand, the embodiment of the present application also provides a kind of Open flow Virtual Networking Systems, including OVS, edge object
Manage interchanger, controller, in which:
The edge physical switches, the Address Resolution Protocol ARP for receiving from multilayer virtual interchanger OVS are asked
Message is sought, the source address information carried to the ARP request message parses, and it is preset that the result of parsing is recorded in itself
ARP entry in;According to the destination address information that the ARP request message carries, controller is searched in the ARP entry
Address information;The address information found is carried and is passed through in the arp reply message of generation, and by the arp reply message
Corresponding ports in the source address information are back to the OVS, and the address information is by the edge physical switches and institute
It states after controller establishes connection and obtains;
The controller, for believing the arp reply message by the source address in the edge physical switches
Corresponding ports in breath are back to after the OVS, and Xiang Suoshu OVS issues flow entry, so that the OVS will be subsequently received
ARP request message is forwarded to the edge physical exchange by the outgoing interface between the OVS and the edge physical switches
Machine.
Compared with prior art, the technical solution that the embodiment of the present application is proposed has the advantage that
By the technical solution of application the embodiment of the present application, edge physical switches and controller are established connection and are controlled
The address information of device processed, and after parsing and recording the source address information that ARP request message carries, according to the purpose wherein carried
Address information searches the address information of controller in itself preset ARP entry, and the address information found is carried in life
At arp reply message in be back to OVS.To effectively reduce the processing load of Open flow network central control device, increase
The strong operation stability of controller and network.
Detailed description of the invention
Fig. 1 is a kind of Open flow virtual network architecture schematic diagram in the prior art;
Fig. 2 is another kind Open flow virtual network architecture schematic diagram in the prior art;
Fig. 3 is a kind of one kind proposed by the present invention flow diagram of message processing method proposed by the present invention;
Fig. 4 is a kind of Open flow virtual network architecture schematic diagram employed in the specific embodiment of the invention;
Fig. 5 is another Open flow virtual network architecture schematic diagram employed in the specific embodiment of the invention;
Fig. 6 is a kind of structural schematic diagram of edge physical switches proposed by the present invention.
Specific embodiment
As stated in the background art, all ARP Message processing operations transfer to controller to complete in the prior art, high-volume
OVS starting operation or the online communication of a large amount of VM be required to issue ARP request message to controller, said in this way to controller
Great impact can be formed with network stabilization.
In view of the above-mentioned problems, the embodiment of the present application proposes a kind of message processing method, by edge physical switches
Upper increase ARP entry storage and agency respond arp reply function, and issue flow entry from controller to OVS, so that matching
ARP request message is sent to edge physical switches, can reduce when OVS largely starts and communicates between VM be sent to controller in this way
ARP request message, the message of controller is impacted to reduce, promotes the response speed of ARP message.
As shown in figure 3, be a kind of flow diagram of message processing method proposed by the present invention, this method be applied to comprising
In the Open flow network of edge physical switches, comprising the following steps:
S301, the edge physical switches reception are asked from the Address Resolution Protocol ARP of multilayer virtual interchanger OVS
Seek message.
Since the present invention shares function of the segment controller in terms of handling ARP message using edge physical switches, because
This can in advance be interacted edge physical switches with controller each other before this step, specifically, the edge
Physical switches send connection to the controller and establish request message;The edge physical switches receive the controller and return
Multiple connection establishment response message;The edge physical switches parse the connection establishment response message, obtain institute
The address information of controller is stated, and by the address information recording in the ARP entry.
S302, the source address information that the edge physical switches carry the ARP request message parse, and will
The result of parsing is recorded in itself preset ARP entry.
It should be pointed out that in the present invention, address information and the ARP entry include at least: IP address, MAC
Location, VLAN, interface, aging type.
S303, the destination address information that the edge physical switches are carried according to the ARP request message, described
The address information of controller is searched in ARP entry, the address information is built by the edge physical switches with the controller
It is obtained after vertical connection.
S304, the edge physical switches carry the address information found in the arp reply message of generation, and
The arp reply message is back to the OVS by the corresponding ports in the source address information.
After this step, controller issues flow entry to the OVS immediately, so that the OVS will be subsequently received
ARP request message is forwarded to the edge physical exchange by the outgoing interface between the OVS and the edge physical switches
Machine.In this way, when subsequent edges physical switches are after the reception OVS forwarding is from the ARP request message of VM, edge
Physical switches realize that stablizing for VM is online by following operation:
The edge physical switches carry out the VM source address information carried in the ARP request message from VM
Parsing, and the result of parsing is recorded in itself preset ARP entry;
The edge physical switches are searched whether to exist in the ARP entry and be carried with the ARP request message
The corresponding list item of destination address information;
If it exists, the edge physical switches are generated using the VM source address information as the arp reply report of purpose address
Text, and the address information found is carried in the arp reply message, the arp reply is sent by the outgoing interface
Message;
If it does not exist, the edge physical switches forward the ARP request message from VM to the controller,
And the VM destination address information wherein carried is parsed and stores after receiving the arp response message that the controller is replied, it will
The VM destination address information carries in the arp reply message using the VM source address information as purpose address, by described
Outgoing interface sends the arp reply message.
For the technical idea that the present invention is further explained, now in conjunction with specific application scenarios as shown in Figure 4, to this hair
Bright technical solution is illustrated.It should be noted that edge physical switches employed in the present invention not only have
The function of OPENFLOW interchanger, it may have ARP entry storage and back function.In this case, edge physical switches and control
When device processed establishes connection, it is able to record the corresponding ARP entry of the IP of controller, including IP, MAC, interface, VLAN.
Generally, it is as follows to receive the processing after the ARP request message of OVS for edge physical switches:
(1) edge physical switches receive ARP request message, and analytic message content records ARP entry, and in ARP entry
Middle lookup IP address.If finding list item, jump procedure 4.
(2) it if not finding the IP address corresponding A RP list item of request, is handled according to OPENFLOW flow table, modification message goes out
ARP request message is sent to controller by interface.
(3) edge physical switches receive the arp reply message of controller response, parse the corresponding MAC of controller IP
Address.Edge physical switches store ARP entry, including IP address and its corresponding MAC Address, interface, Vlan.Send ARP
Response message.
(4) edge physical switches assemble message, respond arp reply message to OVS.
It, can be to the IP and MAC of controller reporting oneself when VM is online after the completion of above procedure.Controller is known each
The corresponding IP, MAC of VM, corresponding interface.After OVS starting operation, controller issues flow table, matching ARP request message (report to OVS
Literary purpose MAC is full F, protocol type 0X0806, OP 1), corresponding outgoing interface is Port1.It needs to carry out between such 2 VM
When communication, ARP request message is sent in edge physical switches.Edge physical switches receive the ARP request message of VM,
Treatment process is similar to process as above.
Specifically, below multiple OVS startings will be described in detail and established with controller by taking networking structure shown in Fig. 4 as an example
The treatment process of connection, wherein edge physical switches have first established connection with controller.OVS1 starting operation, OVS1 with
The IP address of controller connected port is 192.168.1.100, MAC Address 0-0-1.Controller IP address is
192.168.1.200 MAC Address 0-0-200.ARP is enabled in edge physical switches to store for back function and ARP entry
Function.Corresponding process is as follows:
(1) OVS1 knows the IP address of controller, and connection is established with controller, sends ARP request message, and DIP is
192.168.1.200, DMAC is full F, SIP 192.168.1.100, SMAC 0-0-1.
(2) controller receives ARP request message, responds arp reply message, informs the MAC Address of oneself.
(3) edge physical switches receive arp reply message, parse controller IP address 192.168.1.200 and
MAC Address 0-0-200, is recorded in the ARP entry of virtual switch.It is as shown in table 1 below that list item records form:
IP ADDRESS | MAC ADDRESS | VLAN | Interface | Aging type |
192.168.1.200 | 0-0-200 | 1 | Port2 | Dynamic |
Table 1
(4) edge physical switches receive ARP request message, parse message content (source IP, source MAC, corresponding interface,
VLAN), it is recorded in ARP entry.It is as shown in table 2 below that list item records form:
IP ADDRESS | MAC ADDRESS | VLAN | Interface | Aging type |
192.168.1.100 | 0-0-1 | 1 | Port1 | Dynamic |
Table 2
(5) ARP entry is searched, if having IP address is 192.168.1.200 corresponding table item.Due in controller before
Edge physical switches have had learned that the address information of controller in connection establishment process, therefore can be straight convenient for physical switches
Tap into the operation of capable next step.
(6) edge physical switches assembling arp reply message is sent to OVS1, DIP 192.168.1.100, DMAC 0-
0-1, SIP 192.168.1.200, SMAC 0-0-200, are sent by PORT1.
(7) subsequent OVS2 wishes to establish connection with controller, and sends ARP request message to edge physical switches, DIP
For 192.168.1.200, DMAC FFFF-FFFF-FFFF, SIP are OVS2 and controller connected interface IP, SMAC be OVS2 with
Controller connected interface MAC.Edge physical switches search local ARP entry.With having found the corresponding MAC of controller IP address
Location, direct-assembling ARP back message, DIP are OVS2 and controller connected interface IP, and DMAC is OVS2 and controller connected interface
MAC, SIP 192.168.1.200, SMAC 0-0-200 inform the corresponding MAC Address of OVS2 controller.
After the above connection procedure is established, it can be communicated between multiple VM, for ease of description, the process is to scheme
For networking structure shown in 5, after OVS1 establishes connection with controller, VM1 is online with VM2, and controller knows that VM1, VM2 are corresponding
IP and MAC Address and interface.Detailed process is as follows:
(1) controller issues flow entry 1 to OVS1, and (message purpose MAC is FFFF-FFFF- to matching ARP request message
FFFF, protocol type 0X0806, OP 1), corresponding outgoing interface is Portl.
(2) after the request VM2 that OVS1 receives that VM1 is sent corresponds to the ARP request message of MAC, flow entry is searched, stream is matched to
List item 1, sends from Port1.
(3) edge physical switches receive ARP request message, and analytic message stores ARP entry.List item records form such as
Shown in the following table 3:
IP ADDRESS | MAC ADDRESS | VLAN | Interface | Aging type |
192.168.1.101 | 0-0-101 | 1 | Port1 | Dynamic |
Table 3
(4) ARP entry is searched, if having IP address is 192.168.1.102 corresponding table item.If finding, assembling arp reply
Message, is sent to OVS1, and DIP 192.168.1.102, DMAC 0-0-102 is sent by PORT1.
(5) if not finding, OPENFLOW flow entry is searched.The stream not being matched to is sent to controller, is sent by PORT2
It goes out.
(6) controller receives ARP request message, responds arp reply message, informs corresponding MAC Address.
(7) edge physical switches receive arp reply message, parse IP address 192.168.1.102 and MAC Address 0-
0-102 is recorded in the ARP entry of virtual switch.It is as shown in table 4 below that list item records form:
IP ADDRESS | MAC ADDRESS | VLAN | Interface | Aging type |
192.168.1.102 | 0-0-102 | 1 | Port1 | Dynamic |
Table 4
(8) edge physical switches assembling arp reply message is sent to OVS1, DIP 192.168.1.102, DMAC 0-
0-102, SIP 192.168.1.200, SMAC 0-0-200, are sent by PORT1.
(9) subsequent VM2 wishes to communicate with VM1, sends ARP request message to edge physical switches, DIP is
192.168.1.101, DMAC FFFF-FFFF-FFFF, SIP 192.168.1.102, SMAC 0-0-102.Edge physics
Interchanger searches ARP entry.The corresponding MAC Address of 192.168.1.101, direct-assembling arp reply message are had found, DIP is
192.168.1.102, DMAC 0-0-102, SIP 192.168.1.101, SMAC 0-0-101, with informing corresponding MAC
Location.
By operating above, do not have to that ARP request message is all sent to controller again when communicating between VM, but can be at edge
Agency responds ARP message in physical switches, prevents controller from receiving a large amount of ARP request message.
To reach the above technical purpose, the present invention also proposes a kind of edge physical switches, as shown in fig. 6, the edge object
Application is managed in Open flow network, comprising:
Interface module 610, for receiving the ARP request message from OVS;
Parsing module 620, the source address information for carrying to the ARP request message parse, and by parsing
As a result it is recorded in itself preset ARP entry;
Enquiry module 630, the destination address information for being carried according to the ARP request message, in the ARP entry
The address information of controller is searched, the address information obtains after establishing connection with the controller by the edge physical switches
?;
The interface module 610 is also used to carry the address information found in the arp reply message of generation, and
The arp reply message is back to the OVS by the corresponding ports in the source address information.
In specific application scenarios, the interface module 610 is also used to send connection to the controller and establishes request
Message, and receive the connection establishment response message that the controller is replied;
The parsing module is also used to parse the connection establishment response message, obtains the ground of the controller
Location information, and by the address information recording in the ARP entry.
In specific application scenarios, the interface module 610, be also used to receive OVS forwarding from VM's
ARP request message;
The parsing module 620 is also used to the VM source address information carried in the ARP request message from VM
It is parsed, and the result of parsing is recorded in itself preset ARP entry;
It further include that enquiry module is carried for searching whether to exist in the ARP entry with the ARP request message
The corresponding list item of destination address information;
The interface module 610 is also used to have the purpose carried with the ARP request message in the ARP entry
When the corresponding list item of address information, at using the VM source address information as the arp reply message of purpose address, and it will find
Address information carries in the arp reply message, sends the arp reply message by the outgoing interface;And described
When list item corresponding with the destination address information that the ARP request message carries being not present in ARP entry, Xiang Suoshu controller turns
The hair ARP request message from VM, and parse and store after receiving the arp response message that the controller is replied
The VM destination address information wherein carried carries the VM destination address information using the VM source address information as destination
In the arp reply message of location, the arp reply message is sent by the outgoing interface.
In specific application scenarios, the address information and the ARP entry are included at least: IP address, MAC
Location, VLAN, interface, aging type.
On the other hand, the embodiment of the present application also provides a kind of Open flow Virtual Networking Systems, including OVS, edge object
Manage interchanger, controller, in which:
The edge physical switches, the Address Resolution Protocol ARP for receiving from multilayer virtual interchanger OVS are asked
Message is sought, the source address information carried to the ARP request message parses, and it is preset that the result of parsing is recorded in itself
ARP entry in;According to the destination address information that the ARP request message carries, controller is searched in the ARP entry
Address information;The address information found is carried and is passed through in the arp reply message of generation, and by the arp reply message
Corresponding ports in the source address information are back to the OVS, and the address information is by the edge physical switches and institute
It states after controller establishes connection and obtains;
The controller, for believing the arp reply message by the source address in the edge physical switches
Corresponding ports in breath are back to after the OVS, and Xiang Suoshu OVS issues flow entry, so that the OVS will be subsequently received
ARP request message is forwarded to the edge physical exchange by the outgoing interface between the OVS and the edge physical switches
Machine.
It can be seen that the technical solution by applying the embodiment of the present application, edge physical switches and controller are established and are connected
The address information of controller is connect and obtains, and after parsing and recording the source address information that ARP request message carries, according to wherein
The destination address information of carrying searches the address information of controller in itself preset ARP entry, and the address found is believed
Breath carries and is back to OVS in the arp reply message of generation.To effectively reduce Open flow network central control device
Load is handled, the operation stability of controller and network is enhanced.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server or network equipment etc.) execute method described in each implement scene of the present invention.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or
Process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into
Row is distributed in the device of implement scene, can also be carried out corresponding change and is located at the one or more dresses for being different from this implement scene
In setting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
Aforementioned present invention serial number is for illustration only, does not represent the superiority and inferiority of implement scene.
Disclosed above is only several specific implementation scenes of the invention, and still, the present invention is not limited to this, Ren Heben
What the technical staff in field can think variation should all fall into protection scope of the present invention.
Claims (10)
1. a kind of message processing method, which is characterized in that the method is applied to the Open flow comprising edge physical switches
In network, this method further include:
The edge physical switches receive the Address Resolution Protocol ARP request message from multilayer virtual interchanger OVS;
The source address information that the edge physical switches carry the ARP request message parses, and by the knot of parsing
Fruit is recorded in itself preset ARP entry;
The destination address information that the edge physical switches are carried according to the ARP request message, is looked into the ARP entry
It is obtained after looking for the address information of controller, the address information to establish connection with the controller by the edge physical switches
?;
The edge physical switches carry the address information found in the arp reply message of generation, and by the ARP
Response message is back to the OVS by the corresponding ports in the source address information;
Wherein, the destination address information that the edge physical switches are carried according to the ARP request message, in the ARP table
The address information of controller is searched in specifically:
The edge physical switches search whether there is the purpose carried with the ARP request message in the ARP entry
The corresponding list item of address information;
If it exists, the edge physical switches are generated using VM source address information as the arp reply message of purpose address, and will be looked into
The address information found carries in the arp reply message, sends the arp reply message by outgoing interface;
If it does not exist, the edge physical switches are to the controller forwarding ARP request message from VM, and
The VM destination address information wherein carried is parsed and stores after receiving the arp response message that the controller is replied, it will be described
VM destination address information carries in the arp reply message using the VM source address information as purpose address, goes out to connect by described
Mouth sends the arp reply message.
2. the method as described in claim 1, which is characterized in that receive the ARP from OVS in the edge physical switches
Before request message, further includes:
The edge physical switches send connection to the controller and establish request message;
The edge physical switches receive the connection establishment response message that the controller is replied;
The edge physical switches parse the connection establishment response message, obtain the address letter of the controller
Breath, and by the address information recording in the ARP entry.
3. the method as described in claim 1, which is characterized in that in the edge physical switches by the arp reply message
It is back to after the OVS by the corresponding ports in the source address information, further includes:
The controller issues flow entry to the OVS, so that subsequently received ARP request message is passed through institute by the OVS
It states the outgoing interface between OVS and the edge physical switches and is forwarded to the edge physical switches.
4. method as claimed in claim 3, which is characterized in that after the controller issues flow entry to the OVS, also
Include:
The edge physical switches receive the ARP request message from VM of the OVS forwarding;
The edge physical switches solve the VM source address information carried in the ARP request message from VM
Analysis, and the result of parsing is recorded in itself preset ARP entry.
5. method according to any of claims 1-4, which is characterized in that
The address information and the ARP entry include at least: IP address, MAC Address, VLAN, interface, aging type.
6. a kind of edge physical switches, which is characterized in that the edge physical switches are applied in Open flow network,
Include:
Interface module, for receiving the Address Resolution Protocol ARP request message from multilayer virtual interchanger OVS;
Parsing module, the source address information for carrying to the ARP request message parse, and the result of parsing is recorded
In itself preset ARP entry;
Enquiry module, the destination address information for being carried according to the ARP request message search control in the ARP entry
The address information of device processed, the address information obtain after establishing connection with the controller by the edge physical switches;
The interface module is also used to carry the address information found in the arp reply message of generation, and will be described
Arp reply message is back to the OVS by the corresponding ports in the source address information;
The interface module is also used to have the destination address information carried with the ARP request message in the ARP entry
When corresponding list item, carried at using VM source address information as the arp reply message of purpose address, and by the address information found
In the arp reply message, the arp reply message is sent by the corresponding ports in the source address information;And
When list item corresponding with the destination address information that the ARP request message carries being not present in the ARP entry, to the control
The device forwarding ARP request message from VM, and parsed simultaneously after receiving the arp response message that the controller is replied
The VM destination address information wherein carried is stored, the VM destination address information is carried using the VM source address information as mesh
Address arp reply message in, send the arp reply message by corresponding ports in the source address information.
7. edge physical switches as claimed in claim 6, which is characterized in that
The interface module is also used to send connection to the controller and establishes request message, and receives the controller and return
Multiple connection establishment response message;
The parsing module is also used to parse the connection establishment response message, obtains the address letter of the controller
Breath, and by the address information recording in the ARP entry.
8. edge physical switches as claimed in claim 7, which is characterized in that
The interface module is also used to receive the ARP request message from VM of the OVS forwarding;
The parsing module is also used to solve the VM source address information carried in the ARP request message from VM
Analysis, and the result of parsing is recorded in itself preset ARP entry;
It further include enquiry module, for searching whether there is the purpose carried with the ARP request message in the ARP entry
The corresponding list item of address information.
9. such as the described in any item edge physical switches of claim 6-8, which is characterized in that
The address information and the ARP entry include at least: IP address, MAC Address, VLAN, interface, aging type.
10. a kind of Open flow Virtual Networking System, including multilayer virtual interchanger OVS, edge physical switches, controller,
It is characterized by:
The edge physical switches ask the ARP for receiving the Address Resolution Protocol ARP request message from OVS
The source address information for asking message to carry is parsed, and the result of parsing is recorded in itself preset ARP entry;According to institute
The destination address information for stating the carrying of ARP request message searches the address information of controller in the ARP entry;It will find
Address information carrying pass through in the source address information in the arp reply message of generation, and by the arp reply message
Corresponding ports are back to the OVS, after the address information establishes connection by the edge physical switches and the controller
It obtains;
The controller, for passing through the arp reply message in the source address information in the edge physical switches
Corresponding ports be back to after the OVS, Xiang Suoshu OVS issues flow entry, so that the OVS is by subsequently received ARP
Request message is forwarded to the edge physical switches by the outgoing interface between the OVS and the edge physical switches;
Wherein, the destination address information that the edge physical switches are carried according to the ARP request message, in the ARP table
The address information of controller is searched in specifically:
The edge physical switches search whether there is the purpose carried with the ARP request message in the ARP entry
The corresponding list item of address information;
If it exists, the edge physical switches are generated using VM source address information as the arp reply message of purpose address, and will be looked into
The address information found carries in the arp reply message, sends the arp reply message by the outgoing interface;
If it does not exist, the edge physical switches are to the controller forwarding ARP request message from VM, and
The VM destination address information wherein carried is parsed and stores after receiving the arp response message that the controller is replied, it will be described
VM destination address information carries in the arp reply message using the VM source address information as purpose address, goes out to connect by described
Mouth sends the arp reply message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410390883.1A CN104301446B (en) | 2014-08-08 | 2014-08-08 | A kind of message processing method, switch device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410390883.1A CN104301446B (en) | 2014-08-08 | 2014-08-08 | A kind of message processing method, switch device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104301446A CN104301446A (en) | 2015-01-21 |
CN104301446B true CN104301446B (en) | 2019-04-09 |
Family
ID=52321009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410390883.1A Active CN104301446B (en) | 2014-08-08 | 2014-08-08 | A kind of message processing method, switch device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104301446B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI543566B (en) | 2015-05-12 | 2016-07-21 | 財團法人工業技術研究院 | Data center network system based on software-defined network and packet forwarding method, address resolution method, routing controller thereof |
CN109617816B (en) * | 2015-09-17 | 2020-08-14 | 杭州数梦工场科技有限公司 | Data message transmission method and device |
CN106572035B (en) * | 2016-11-11 | 2023-05-23 | 北京百卓网络技术有限公司 | SDN switch |
CN111327437B (en) * | 2018-12-14 | 2023-04-07 | 中国电信股份有限公司 | Flow table processing method, flow table processing device, and SDN network system |
CN116016242B (en) * | 2023-01-11 | 2023-06-06 | 南京易科腾信息技术有限公司 | NAT log acquisition method, system and storage medium based on OVS architecture |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924707A (en) * | 2010-09-27 | 2010-12-22 | 杭州华三通信技术有限公司 | Method and equipment for processing message of address resolution protocol (ARP) |
CN102938794A (en) * | 2012-11-14 | 2013-02-20 | 华为技术有限公司 | Address resolution protocol (ARP) message forwarding method, exchanger and controller |
CN103200069A (en) * | 2013-03-29 | 2013-07-10 | 华为技术有限公司 | Message processing method and device |
CN103888386A (en) * | 2012-12-24 | 2014-06-25 | 华为技术有限公司 | Extensible virtual local area network message transmission method, device and system |
CN103905577A (en) * | 2012-12-28 | 2014-07-02 | 中兴通讯股份有限公司 | Address resolution protocol message processing method and system |
CN103905283A (en) * | 2012-12-25 | 2014-07-02 | 华为技术有限公司 | Communication method and apparatus based on expandable virtual local area network |
CN103973833A (en) * | 2014-05-05 | 2014-08-06 | 杭州华三通信技术有限公司 | Method and device for updating ARP cache |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012137646A1 (en) * | 2011-04-04 | 2012-10-11 | 日本電気株式会社 | Network system, switch, and connection terminal detection method |
-
2014
- 2014-08-08 CN CN201410390883.1A patent/CN104301446B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924707A (en) * | 2010-09-27 | 2010-12-22 | 杭州华三通信技术有限公司 | Method and equipment for processing message of address resolution protocol (ARP) |
CN102938794A (en) * | 2012-11-14 | 2013-02-20 | 华为技术有限公司 | Address resolution protocol (ARP) message forwarding method, exchanger and controller |
CN103888386A (en) * | 2012-12-24 | 2014-06-25 | 华为技术有限公司 | Extensible virtual local area network message transmission method, device and system |
CN103905283A (en) * | 2012-12-25 | 2014-07-02 | 华为技术有限公司 | Communication method and apparatus based on expandable virtual local area network |
CN103905577A (en) * | 2012-12-28 | 2014-07-02 | 中兴通讯股份有限公司 | Address resolution protocol message processing method and system |
CN103200069A (en) * | 2013-03-29 | 2013-07-10 | 华为技术有限公司 | Message processing method and device |
CN103973833A (en) * | 2014-05-05 | 2014-08-06 | 杭州华三通信技术有限公司 | Method and device for updating ARP cache |
Also Published As
Publication number | Publication date |
---|---|
CN104301446A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101886291B1 (en) | Flow entry configuration method, apparatus, and system | |
CN108696434B (en) | Method, equipment and system for forwarding data message | |
JP5811253B2 (en) | Network system and network management method | |
US10091274B2 (en) | Method, device, and system for controlling network device auto-provisioning | |
CN104301446B (en) | A kind of message processing method, switch device and system | |
CN110635987B (en) | Message transmission method, device, equipment and machine readable storage medium | |
US11196589B2 (en) | Forwarding entry generation | |
EP2525532A1 (en) | Method and apparatus of connectivity discovery between network switch and server based on vlan identifiers | |
CN106878194B (en) | Message processing method and device | |
CN107547242B (en) | The acquisition methods and device of VM configuration information | |
CN105323136A (en) | Information processing method and device | |
EP3451592B1 (en) | Packet transmission between vxlan domains | |
EP3490197A1 (en) | Message forwarding | |
CN104301246A (en) | Large-flow load balanced forwarding method and device based on SDN | |
EP3198808B1 (en) | Local packet switching at a satellite device | |
CN111698346A (en) | Private network address conversion method and device, private network gateway and storage medium | |
US11025756B2 (en) | Network function virtualization (NFV) multi-protocol virtual probe control | |
US10374899B2 (en) | Method and device for reporting OpenFLow switch capability | |
US20170126543A1 (en) | Topology Discovery In Fabric Network | |
US20160269325A1 (en) | Method, apparatus, and system for controlling forwarding of service data in virtual network | |
CN110035010A (en) | The matching process and relevant apparatus of matching domain | |
CN107547382B (en) | Neighbor relation discovery method and device | |
CN112532506B (en) | Hybrid networking method, device, server and computer-readable storage medium | |
CN108712316B (en) | Access configuration method, device and system of virtual machine | |
US9729391B2 (en) | Method and apparatus for path indication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |