CN108810183A - Processing method, device and the machine readable storage medium of conflict MAC Address - Google Patents

Processing method, device and the machine readable storage medium of conflict MAC Address Download PDF

Info

Publication number
CN108810183A
CN108810183A CN201810424372.5A CN201810424372A CN108810183A CN 108810183 A CN108810183 A CN 108810183A CN 201810424372 A CN201810424372 A CN 201810424372A CN 108810183 A CN108810183 A CN 108810183A
Authority
CN
China
Prior art keywords
host
address
trustship
mac address
arp
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
CN201810424372.5A
Other languages
Chinese (zh)
Other versions
CN108810183B (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 CN201810424372.5A priority Critical patent/CN108810183B/en
Publication of CN108810183A publication Critical patent/CN108810183A/en
Application granted granted Critical
Publication of CN108810183B publication Critical patent/CN108810183B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/508Network service management, e.g. ensuring proper service fulfilment according to agreements based on type of value added network service under agreement
    • 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
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

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

Abstract

Present disclose provides a kind of processing method, device and the machine readable storage medium of conflict MAC Address, this method includes:Monitoring flow table item is sent to each interchanger, receive the OpenFlow messages for carrying and replicating ARP protocol message, according to transmitting terminal MAC Address host entries, determine that transmitting terminal MAC Address and the MAC Address of the host entries found are the MAC Address that conflicts, with the corresponding host of the MAC Address that conflicts for the first host and the second host, the first interchanger connected to the first host sends the first trustship flow table item of ARP protocol message of the trustship from the first host, the second switch connected to the second host sends the second trustship flow table item of ARP protocol message of the trustship from the second host.By this way, conflict MAC Address can be found in time, and trustship is carried out to the corresponding ARP protocol message of conflict MAC Address, improve the reliability of communication.

Description

Processing method, device and the machine readable storage medium of conflict MAC Address
Technical field
This disclosure relates to Internet technical field, more particularly, to a kind of processing method, device and the machine of conflict MAC Address Device readable storage medium storing program for executing.
Background technology
With the development of data centralization and the application of virtualization technology, the scale of data center is growing day by day, not only right The regional extent requirement of double layer network is increasing, and new challenge is also proposed in demand and management level.
The increase of data center region scale and business processing demand, cluster more and more for the application of cluster processing Interior server is needed in two layers of VLAN (Virtual Local Area Network, virtual LAN) or VXLAN Under (Virtual Extensible LAN, virtual extended LAN).Meanwhile the application of virtualization technology, bringing business department On the basis of the convenience of administration and flexibility, the migration problem of virtual machine, which also becomes, to be had to consider the problems of.It is virtual in order to ensure The continuity of machine bearer service, the IP address before and after virtual machine (vm) migration is constant, therefore the migration circle of virtual machine is needed same Under a two layers of VLAN.In turn that is, double layer network scale has much, virtual machine could migrate how far.Therefore, in order to solve number According to the network scaling problem of central interior, big double layer network comes into being, real to be extended through extensive double layer network and VLAN Existing a wide range of migration of the virtual machine inside data center.
But the big double layer network that data center uses, the MAC due to virtual machine substantial amounts, and on virtual machine (Media Access Control, physical address) address is the Software Create by virtual machine management platform, more in difference In the case of virtual platform use, network unavoidably will appear MAC Address conflict, and MAC Address conflict may influence Communication is normally carried out.
Invention content
In view of this, the disclosure be designed to provide it is a kind of conflict MAC Address processing method, device and network set It is standby, to promote the reliability of communication.
To achieve the goals above, the technical solution that the disclosure uses is as follows:
In a first aspect, present disclose provides a kind of processing method of conflict MAC Address, this method is applied to SDN controllers, This method includes:Monitoring flow table item is sent to each interchanger, the monitoring flow table item is used to indicate the ARP protocol message that will be received Replicate and the ARP protocol message of duplication is carried in OpenFlow messages being sent to the SDN controllers;
The OpenFlow messages for carrying and replicating ARP protocol message are received, lookup are executed according to transmitting terminal MAC Address, really Surely the IP address of the host entries found is different from the transmitting terminal IP address for replicating ARP protocol message, determines described multiple The transmitting terminal MAC Address of ARP protocol message processed is the MAC Address that conflicts with the MAC Address of the host entries found;
With the host of the transmitting terminal IP address instruction for replicating ARP protocol message for the first host, to first master Machine connection the first interchanger send the first trustship flow table item, be used to indicate transmitting terminal IP address be first host IP The ARP protocol message of address, which is carried in OpenFlow messages, is sent to the SDN controllers, and first host is come from trustship All ARP protocol messages;
For the second host, the second switch connected to second host is sent IP address to find host entries Second trustship flow table item is used to indicate transmitting terminal IP address the ARP protocol message carrying for the IP address for being second host The SDN controllers are sent in OpenFlow messages, with all ARP protocol messages of the trustship from second host;
The priority of the first trustship flow table item and the second trustship flow table item is excellent higher than the monitoring flow table item First grade.
Second aspect, present disclose provides a kind of processing unit of conflict MAC Address, which is applied to SDN controllers, The device includes:Monitoring module sends monitoring flow table item to each interchanger, and the monitoring flow table item is used to indicate and will receive ARP protocol message replicate and the ARP protocol message of duplication is carried in OpenFlow messages being sent to the SDN controls Device;
Detection module receives the OpenFlow messages for carrying and replicating ARP protocol message, is held according to transmitting terminal MAC Address Row is searched, and determines that the IP address of the host entries found is different from the transmitting terminal IP address for replicating ARP protocol message, really The fixed transmitting terminal MAC Address for replicating ARP protocol message is the MAC that conflicts with the MAC Address of the host entries found Address;
Trustship module, with the host of the transmitting terminal IP address instruction for replicating ARP protocol message for the first host, to institute The first interchanger for stating the connection of the first host sends the first trustship flow table item, and it is described first to be used to indicate transmitting terminal IP address The ARP protocol message of the IP address of host, which is carried in OpenFlow messages, is sent to the SDN controllers, with trustship from described All ARP protocol messages of first host;IP address to find host entries connects for the second host to second host The second switch that connects sends the second trustship flow table item, be used to indicate transmitting terminal IP address be second host IP address ARP protocol message be carried in OpenFlow messages and be sent to the SDN controllers, with institute of the trustship from second host There is ARP protocol message;
The priority of the first trustship flow table item and the second trustship flow table item is excellent higher than the monitoring flow table item First grade.
The third aspect, disclosure embodiment provide a kind of machine readable storage medium, and machine readable storage medium is deposited Machine-executable instruction is contained, when being called and being executed by processor, machine-executable instruction promotes to locate machine-executable instruction Reason device realizes the method described in above-mentioned first aspect.
Processing method, device and the machine readable storage medium for a kind of conflict MAC Address that disclosure embodiment provides, By way of sending monitoring flow table item to each interchanger, the ARP protocol message received is replicated a and held by instruction interchanger It is loaded in OpenFlow messages and is sent to SDN controllers, when receiving OpenFlow messages, searched and led according to transmitting terminal MAC Address Machine list item, when determining to have conflict MAC Address, to the corresponding host of conflict MAC Address (i.e. above-mentioned first host and the second master Machine, also referred to as conflict host) interchanger send trustship flow table item, with to from conflict host ARP protocol message hold in the palm Pipe, and then ensure the normal transmission of the ARP messages of the host, improve the reliability of communication.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, better embodiment cited below particularly, and match Appended attached drawing is closed, is described in detail below.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of disclosure specific implementation mode or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below Attached drawing is some embodiments of the disclosure, for those of ordinary skill in the art, before not making the creative labor It puts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of big double layer network environment schematic that disclosure embodiment provides;
Fig. 2 is a kind of flow chart of the processing method for conflict MAC Address that disclosure embodiment provides;
Fig. 3 is the flow chart of the processing method for another conflict MAC Address that disclosure embodiment provides;
Fig. 4 is a kind of structural schematic diagram of the processing unit for conflict MAC Address that disclosure embodiment provides;
Fig. 5 is the structural schematic diagram of the processing unit for another conflict MAC Address that disclosure embodiment provides;
Fig. 6 is a kind of structural schematic diagram for network equipment that disclosure embodiment provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of disclosure embodiment clearer, below in conjunction with attached drawing to this public affairs The technical solution opened is clearly and completely described, it is clear that and described embodiment is a part of embodiment of the disclosure, Rather than whole embodiment.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creation Property labour under the premise of the every other embodiment that is obtained, belong to the range of disclosure protection.
It should be noted that above-mentioned each method embodiment is described in a progressive manner, each embodiment emphasis What is illustrated is all the difference with other embodiment, and identical similar part is mutually referring to i.e. between each embodiment It can.
In big double layer network, a physical server is virtualized into more logical servers, referred to as virtual machine VM (Virtual Machine, virtual machine), each VM can independent operating, network level have oneself independent MAC Address and IP (Internet Protocol Address, internet protocol address) address.During VM dynamic migrations, the IP address of VM It is constant, original operating status is kept, for example, TCP (Transmission Control Protocol transmission control protocols) meeting Speech phase etc..
Fig. 1 shows a kind of big double layer network environment schematic, including SDN controllers ((Software Defined Network Controller, software defined network controller), physical switches (switch A and switch b in such as figure), object Manage host PM1, PM2 and PM3, virtual switch OVS A, fictitious host computer VM1 and VM2.Wherein, SDN controllers can be based on such as Processing behavior of the protocol integrated test systems such as OpenFlow respective switch to message, SDN controllers pass through with the inter-exchange OpenFlow messages carry ARP (Address Resolution Protocol, address resolution protocol) protocol massages, including ARP Request message and arp response message, wherein the outermost layer of ARP protocol message includes:Source MAC (Source MAC) and mesh MAC Address (Destination MAC), internal layer includes:Transmitting terminal MAC Address (Sender MAC) and transmitting terminal IP address (Sender MAC) and destination end MAC Address (Target MAC) and destination end IP address (Target IP).Wherein, outer layer The corresponding host of source MAC refer to initiate ARP protocol message host and internal layer transmitting terminal MAC Address and transmitting terminal The corresponding host of IP address, the corresponding host of target MAC (Media Access Control) address refer to the final host to be achieved of ARP protocol message and interior The destination end MAC Address and the corresponding host of destination end IP address of layer.
The process flow figure of conflict MAC Address shown in Figure 2, this method are applied to above-mentioned SDN controllers, should Method includes the following steps:
Step S202 sends monitoring flow table item to each interchanger, which is used to indicate the ARP protocol that will be received Message replicate and the ARP protocol message of duplication is carried in OpenFlow messages being sent to SDN controllers.
Here each interchanger may include all interchangers that SDN controllers are connected.
The priority for the flow table item mentioned in disclosure embodiment is above the priority of MAC table, and interchanger receives ARP When protocol massages, flow table item can be first looked into, if the ARP protocol message has occurrence in flow table item, according in occurrence Instruction handles the ARP messages.If the ARP protocol message does not have occurrence in flow table item, according to ARP protocol report The MAC Address of text such as is forwarded at the processing.
Step S204 receives the OpenFlow messages for carrying and replicating ARP protocol message, is held according to transmitting terminal MAC Address Row is searched, and determines that the IP address of the host entries found is different from replicating the transmitting terminal IP address of ARP protocol message, determining should It is the MAC Address that conflicts to replicate the transmitting terminal MAC Address of ARP protocol message and the MAC Address of the host entries found.
If searching host entries using the transmitting terminal MAC Address for replicating ARP protocol message, and searched in host entries To the corresponding list item of transmitting terminal MAC Address, and the IP address in the list item found and the transmitting terminal that replicates ARP protocol message IP address is different, then with can determining the transmitting terminal MAC Address of duplication ARP protocol message and the MAC of the host entries found Location is conflict MAC Address.
Step S206, the host indicated with the transmitting terminal IP address of above-mentioned duplication ARP protocol message is the first host, to the One host connection the first interchanger send the first trustship flow table item, be used to indicate transmitting terminal IP address be the first host IP The ARP protocol message of address, which is carried in OpenFlow messages, is sent to the SDN controllers, with institute of the trustship from the first host There is ARP protocol message.
Step S208, to find the IP address of host entries as the second host, second connected to the second host exchanges Machine sends the second trustship flow table item, is used to indicate and holds the ARP protocol message of IP address that transmitting terminal IP address is the second host It is loaded in OpenFlow messages and is sent to SDN controllers, with all ARP protocol messages of the trustship from the second host;
Wherein, the priority of above-mentioned first trustship flow table item and above-mentioned second trustship flow table item is excellent higher than monitoring flow table item First grade.
In the processing method for the conflict MAC Address that present embodiment provides, by sending monitoring flow table item to each interchanger Mode, the ARP protocol message received replicates a and is carried on OpenFlow messages and is sent to SDN controls by instruction interchanger Device searches host entries when receiving OpenFlow messages according to transmitting terminal MAC Address, determines there is conflict MAC Address When, to the interchanger hair of the corresponding host of conflict MAC Address (i.e. above-mentioned first host and the second host, also referred to as conflict host) Trustship flow table item is sent, to carry out trustship to the ARP protocol message from conflict host, and then ensure the ARP messages of the host It is normal to send, improve the reliability of communication.
Succinct in order to describe, above-mentioned first host connects the first port of the first interchanger, and the second host connection second is handed over The second port changed planes.
After SDN controllers receive the OpenFlow messages for carrying duplication ARP protocol message, if in host entries The corresponding list item of transmitting terminal MAC Address for replicating ARP protocol message is not searched, then can be recorded in host entries The host information of transmission end main frame in OpenFlow messages conflicts for the duplication ARP protocol message to receipt of subsequent MAC Address is analyzed.Based on this, the above method further includes:The OpenFlow messages for replicating ARP protocol message will at least be carried Transmitting terminal MAC Address, transmitting terminal IP address, broadcast domain, the mark of the first interchanger and the first interchanger connection described first The first port of host records a host entries.
If each host in big double layer network where SDN controllers is in same broadcast domain, host information Without considering to broadcast domain identifier, if each host is at least two broadcast domains, can be introduced in host information wide Domain identifier is broadcast, in this mode, if found in host entries and transmitting terminal MAC Address and the broadcast matched table of domain identifier IP address in is different from the transmitting terminal IP address replicated in ARP protocol message, it is determined that replicates the hair in ARP protocol message Sending end MAC Address is conflict MAC Address.
In order to release interference of the conflict MAC Address to communication, when SDN controllers determine the hair of duplication ARP protocol message Sending end MAC Address and the MAC Address of the host entries found be the step of conflicting MAC Address after, the above method is also Including:It is sent to each interchanger and carries the first OpenFlow messages of the first gratuitous ARP packet and carry second freely 2nd OpenFlow messages of ARP messages;
Wherein, the transmitting terminal IP address of the first gratuitous ARP packet is the IP address of the first host, the first gratuitous ARP packet Source MAC and transmitting terminal MAC Address be above-mentioned first port MAC Address;
The transmitting terminal IP address of second gratuitous ARP packet is the IP address of the second host, the source of the second gratuitous ARP packet MAC Address and transmitting terminal MAC Address are the MAC Address of above-mentioned second port;
First OpenFlow messages include:The mark of first interchanger, the mark of first port and first port filtering turn Bristle with anger and shows;2nd OpenFlow messages include:Second switch mark, the mark of second port and second port filtering forwarding refer to Show.
Gratuitous ARP packet is a kind of special ARP messages, and in present embodiment, SDN controllers distinguish disguise as conflict master Machine sends gratuitous ARP packet, so that the MAC Address for the conflict host that the host for receiving the ARP messages learns is the conflict The port mac address for the interchanger that host is connected.Wherein, the first gratuitous ARP packet is SDN controllers the first host of disguise as The corresponding message of identity, the second gratuitous ARP packet be SDN controllers the second host of disguise as the corresponding message of identity.
Above-mentioned first OpenFlow messages and the 2nd OpenFlow messages why include switch identification, port-mark and Ports filter forwarding instruction, is for limiting the interchanger of connection violations host when forwarding gratuitous ARP packet, not passing through the end Mouth identifies corresponding port and sends gratuitous ARP packet, and then conflict host is avoided to receive the corresponding gratuitous ARP of own IP address Message, and then avoid the learning process for mistake occur.
Assuming that the PM1 in Fig. 1 and PM3 conflicts, SDN controllers send carrying gratuitous ARP packet to each interchanger OpenFlow messages, one of gratuitous ARP packet, transmitting terminal IP address are the IP address of PM1, and transmitting terminal MAC Address is to hand over Change planes A port 1 MAC Address, which further comprises the mark of switch A, the mark of port 1, Yi Jiduan The instruction of 1 filtering forwarding of mouth.After switch A receives OpenFlow messages in this way, gratuitous ARP packet is sent to other than connection PM1 Port, other exchange opportunities are sent to all of the port.Receive the IP in the ARP entry of the All hosts of the gratuitous ARP packet 1 corresponds to the MAC Address of the port 1 of switch A.Even if the MAC Address of PM1 has been arrived in PM3 study in advance, gratuitous ARP report is received The MAC Address of PM1 can be also revised as to the MAC Address of the port 1 of switch A after text, and then relieve the MAC found in PM3 Address conflict.Similarly, another gratuitous ARP packet, transmitting terminal IP address are the IP address of PM3, and transmitting terminal MAC Address is to exchange The MAC Address of the port 1 of machine B, the OpenFlow messages further comprise the mark of switch b, the mark of port 1 and port 1 Filter the instruction of forwarding.The subsequent processing of interchanger is ibid similar, and which is not described herein again.
SDN controllers can make each host according to the gratuitous ARP packet received by sending above-mentioned gratuitous ARP packet The information (transmitting terminal IP address, transmitting terminal MAC Address) of middle carrying modifies to the ARP table of self maintained.By making conflict The corresponding MAC Address of IP address of host is the port mac address of interchanger, avoids in ARP table and there is conflict MAC Address, The problem of interfering normal communication has prompted the reliability of communication.
The present embodiment may be used also other than to carrying out trustship from all ARP protocol messages of the first host and the second host To carry out trustship to the arp response message for being sent to the first host and the second host, the above method further includes:It is sent out to each interchanger Send third trustship flow table and the 4th trustship flow table;Wherein, destination end IP address is the first host by the instruction of third trustship flow table item The arp response message of IP address be sent to SDN controllers, the arp response message of the first host is sent to trustship;4th trustship stream The arp response message for the IP address that destination end IP address is the second host is sent to SDN controllers by list item instruction, is sent to trustship The arp response message of first host;The priority of third trustship flow table item and the 4th flow table item is preferential higher than monitoring flow table item Grade.
SDN controllers, can by issuing above-mentioned trustship flow table item (the first trustship flow table item to the 4th trustship flow table item) Only to conflict host ARP protocol message (including be sent to conflict host ARP protocol message and from conflict host ARP assist Discuss message) trustship is carried out, as long as the ARP protocol message of other hosts is not intended for conflict host, turned by interchanger Hair processing, is effectively reduced the message trustship load of SDN controllers, and then ensured the forwarding performance of message.
Above-mentioned flow table item may include occurrence and action item, wherein occurrence is used to indicate to be carried out using which field Matching, action item is to for example:Which processing occurrence instruction carries out for the matched message of occurrence, with above-mentioned third trustship For flow table item, occurrence can be the arp response message for the IP address that destination end IP address is the first host, and action item can To be that will be sent to SDN controllers with the matched arp response message of occurrence.
During SDN controllers carry out trustship to all ARP protocol messages from the first host, trustship can be divided ARP request message and trustship arp response message are respectively processed, and are specifically included:
(1) if the OpenFlow messages for carrying the ARP request message of the trustship from the first host are received, by source MAC Address and transmitting terminal MAC Address are revised as the MAC Address of above-mentioned first port, by the modified support from the first host Pipe ARP request message is carried on OpenFlow messages and is sent to each interchanger;
(2) if the OpenFlow messages for carrying the arp response message of the trustship from the first host are received, by source MAC Address and transmitting terminal MAC Address are revised as the MAC Address of first port, by the modified trustship ARP from the first host Response message is carried on OpenFlow messages, is sent to the destination end of the modified trustship arp response message from the first host The interchanger that the host of IP address instruction is connected.
Similarly, during SDN controllers carry out trustship to all ARP protocol messages from the second host, Ke Yifen Trustship ARP request message and trustship arp response message are respectively processed, and are specifically included:
(1) if the OpenFlow messages for carrying the ARP request message of the trustship from the second host are received, by source MAC Address and transmitting terminal MAC Address are revised as the MAC Address of above-mentioned second port, by the modified support from the second host Pipe ARP request message is carried on OpenFlow messages and is sent to each interchanger;
(2) if the OpenFlow messages for carrying the arp response message of the trustship from the second host are received, by source MAC Address and transmitting terminal MAC Address are revised as the MAC Address of second port, by the modified trustship ARP from the second host Response message is carried on OpenFlow messages, is sent to the destination end of the modified trustship arp response message from the second host The interchanger that the host of IP address instruction is connected.
During to the relevant ARP protocol message trustship of conflict host, by way of address above mentioned modification, further protect Hinder the ARP protocol message and is sent to destination host.
It completes in above-mentioned ARP protocol message after MAC Address modification, which is encapsulated in by SDN controllers It in OpenFlow messages, when carrying out message encapsulation, is carried out according to OpenFlow agreements, specific point or less several packaged types:
(1) if receiving the ARP request message from the first host, and the purpose IP address of the ARP request message is not The IP address of the second host, by change MAC Address after ARP request message, the first switch identification, first port mark and First port filtering forwarding instruction is encapsulated in OpenFlow messages, and the OpenFlow messages are sent to each interchanger.First Interchanger broadcasts the ARP request message in OpenFlow messages by other ports outside first port, other interchangers are in institute Have and broadcasts the ARP request message on port.Similarly, it is similar to receive the ARP request Message processing from the second host.
(2) if receiving the arp response message from the first host, and the purpose IP address of the arp response message is not It is the IP address of the second host, the arp response message after modification MAC Address, the corresponding switch identification of purpose IP address is sealed In OpenFlow messages, the arp response message is sent to destination host (i.e. above-mentioned target end-host) by the interchanger. Similarly, it is similar to receive the arp response Message processing from the second host.
(3) if receiving the ARP request message for being sent to the first host, and the transmitting terminal IP address of the ARP request message It is not the IP address of the second host, ARP request message, the corresponding host of transmitting terminal IP address after modification MAC Address is connected Interchanger mark, inbound port mark and inbound port filtering forwarding instruction be encapsulated in OpenFlow messages, to each exchange Machine sends the OpenFlow messages.The broadcast mode that respective switch receives message is ibid similar.Similarly, it receives and is sent to The ARP request Message processing of two hosts is similar.
(4) if receiving the arp response message for being sent to the first host, and the transmitting terminal IP address of the arp response message It is not the IP address of the second host, by arp response message, the first switch identification and the first port mark after modification MAC Address Knowledge is encapsulated in OpenFlow messages, and the arp response message is sent to the first host by the first interchanger.Similarly, it receives The arp response Message processing for being sent to the second host is similar.
(5) if receiving the arp response message that the first host is sent to the second host, the arp response message is changed Transmitting terminal MAC Address is the first port MAC Address of the first interchanger, and destination end MAC Address is conflict MAC Address, will be changed Arp response message after MAC Address, second switch mark and second port mark are encapsulated in OpenFlow messages, by the Two interchangers send the arp response message to the second host by second port.Similarly, it receives the second host and is sent to the first master The arp response Message processing of machine is similar.
By the ARP protocol message of SDN controller trustships conflict host, and to the above-mentioned MAC Address of ARP protocol application of electronic report Modification and packaged type, the hardware requirement to interchanger can be reduced, interchanger is changed in the address of not supported protocol message It when function, still ensures that above-mentioned ARP protocol message is normally sent, realizes advantages of simple.
In view of interchanger can usually modify to the heading of data message, for the processing of data message, SDN Controller issues corresponding flow table item to the first interchanger and second switch respectively, to indicate that the first interchanger and second is handed over It changes planes and MAC Address modification operation is carried out to the data message for the host that conflicts.Based on this, the above method further includes:
(1) it sends the first source address conversion flow table item to the first interchanger and the first destination address converts flow table item;This One source address converts flow table item, is used to indicate the data message that source MAC is conflict MAC Address being revised as source MAC It is the data message of the MAC Address of above-mentioned first port;First destination address converts flow table item, is used to indicate purpose MAC Address is the data message that the data message of the MAC Address of first port is revised as that target MAC (Media Access Control) address is conflict MAC Address;
(2) it sends the second source address conversion flow table item to second switch and the second destination address converts flow table item;This Two source addresses convert flow table item, are used to indicate the data message that source MAC is conflict MAC Address being revised as source MAC It is the data message of the MAC Address of above-mentioned second port;Second destination address converts flow table item, is used to indicate purpose MAC Address is the data message that the data message of the MAC Address of second port is revised as that target MAC (Media Access Control) address is conflict MAC Address.
Flow table item and the first destination address are converted by issuing above-mentioned first source address with converting flow table item and the second source Flow table item is converted in location and the second destination address converts flow table item, and the first interchanger and second switch is made to receive conflict host After data message, MAC Address modification operation can be carried out according to above-mentioned flow table item and forwards the datagram after completing address modification The forward process of text, data message alleviates the load of SDN controllers, and then ensure without carrying out trustship on SDN controllers The forwarding performance of data message.
By taking big double layer network environment shown in FIG. 1 as an example, present embodiments provide for conflict MAC Address shown in Fig. 3 The flow chart of processing method, in this method, it is assumed that the saved host entries of SDN controllers (are properly termed as host information Table), as shown in table 1:
Table 1
Wherein, the corresponding host information of each message has been usually noted in host entries, for example, the transmitting terminal MAC in table 1 Address, transmitting terminal IP address, the switch identification of the connected interchanger of host and port-mark and host broadcast domain identifier, Wherein, transmitting terminal MAC Address and MAC Address and IP address that transmitting terminal IP address is host, switch identification can usually be used The IP address of interchanger indicates, for convenience of description, is indicated with the title of interchanger in disclosure embodiment.
In present embodiment, as shown in table 1, the host information of PM1:MAC Address is 0001-0002-0001, and IP address is 10.0.0.2, the port 1 of switch A is connected, broadcast domain is identified as 1.The host information of PM2:MAC Address is 0001-0002- 0002, IP address 10.0.0.3 connect the port 2 of switch A, and broadcast domain is identified as 2.The host information of VM1:MAC Address For 0001-0002-0005, IP address 10.0.0.5, the port 1 of connection OVS A, broadcast domain is identified as 3.
In view of host migration or it is offline situations such as, in order to keep the host information recorded in host entries rationally effective, on Stating host entries can be safeguarded in a manner of detecting host.Wherein, the mode for detecting host mainly detects in host entries Whether host is also online, can specifically include:Whether SDN controllers obtain the host entries that prestore, check host close to aging Period (i.e. ageing time close to 0 or a certain threshold value), by OpenFlow agreements, corresponds to if close to digestion period in host Switch port send ARP request message, after host responds the ARP request message, reply arp response message, interchanger will The response message is forwarded to SDN controllers, and SDN controllers update the corresponding ageing time of host according to the response message of reception. If host is not responded, when ageing time is 0, the corresponding list item of the host is deleted from host entries.Pass through this master The maintenance mode of machine list item can simplify host entries, promote efficiency of tabling look-up.
Below with PM1 to PM3 transmission datas, and do not have to be said for the corresponding ARP entry of PM3 in the ARP table of PM1 Bright, the flow chart of the processing method of conflict MAC Address shown in Figure 3, this approach includes the following steps:
Step S300 sends monitoring flow table item, the prison to each interchanger (switch A and switch b, OVS A in such as figure) Flow control list item is used to indicate the ARP protocol message that will be received and replicate and be carried on the ARP protocol message of duplication The SDN controllers are sent in OpenFlow messages.
Above-mentioned switch A, switch b and OVSA preserve the monitoring flow table item, for when receiving ARP protocol message, A ARP protocol message is replicated, and the ARP protocol message is carried in OpenFlow messages and is sent to SDN controllers.
Step S302, PM1 check local ARP table according to the IP address of PM3, do not find the corresponding ARP entry of PM3, An ARP request message is sent with broadcast mode.
Wherein, the transmitting terminal IP address in above-mentioned ARP request message and IP address and MAC that transmitting terminal MAC Address is PM1 Address, destination end IP address and destination end MAC Address are the MAC Address of the IP address and full F of PM3.
After switch A receives above-mentioned ARP request message, the ARP messages, and root are sent with broadcast mode by step S304 ARP request message is replicated according to above-mentioned monitoring flow table item, which is carried in OpenFlow messages and is sent to SDN controls Device processed;
The OpenFlow messages further include switch A mark in addition to including ARP request message, connect the port 1 of PM1 with And the broadcast domain identifier 1 belonging to PM1.
Step S306, if SDN controllers receive above-mentioned OpenFlow messages, parsing obtains the host information of PM1, makes Refresh host entries with the host information of PM1.
After SDN controllers receive above-mentioned OpenFlow messages, according to transmitting terminal MAC Address, the transmitting terminal IP in message Location, switch name and port and VLAN/VXLAN marks refresh host entries, identify whether the MAC Address in message is deposited Conflicting, can carried out during refreshing list item, the main principle of judgement:Using MAC+VLAN/VXLAN+IP as conflict The foundation of judgement, if it was found that the MAC+VLAN/VXLAN+IP in MAC+VLAN/VXLAN+IP and list item in message is equal It is identical (wherein, "+" expression+front and back information be sum relationship), and access information (switch identification+port-mark) is different, Then belong to host migration situation, if MAC+VLAN/VXLAN is identical, IP address is different (it is also different to generally access information), then deposits In MAC Address conflict.The process of the refreshing of host entries is as follows:
(1) if transmitting terminal MAC Address and VLAN/VXLAN marks in ARP request message do not exist in host entries In, increase new list item.
(2) if transmitting terminal MAC Address and VLAN/VXLAN marks are already present in host entries, host table need to be checked Whether the transmitting terminal IP address in IP address and message in is identical, due to either physical host or fictitious host computer, In same broadcast domain, transmitting terminal IP address is all that itself is exclusive, and there is no conflicts, and due to IP address and MAC Address Between there are mapping relations, therefore, under normal circumstances, different IP address also corresponds to different MAC Address.If host table IP address in is different with transmitting terminal IP address, and, transmitting terminal MAC Address and VLAN/VXLAN marks are already present on host In list item, i.e., different IP address has corresponded to identical MAC Address, at this point it is possible to determine transmitting terminal MAC Address and find MAC Address in host entries is conflict MAC Address.
(3) if transmitting terminal MAC Address and VLAN/VXLAN marks are already present in host entries, and in host entries IP address it is identical with transmitting terminal IP address, need at this time check host entries in access information (switch identification and port Mark) it is whether consistent with the access information of message, specifically, check whether switch identification is consistent with port-mark, if one It causes the host information of the explanation host is saved to cross, needs to refresh ageing time.If inconsistent, illustrate list item pair The host answered is migrated, and is needed to add list item according to message again, that is, is used in the access information update list item in message Access information, and refresh the ageing time of list item.
In present embodiment, the host information of PM1 includes:MAC Address is 0001-0002-0001, and IP address is 10.0.0.2, the port 1 of switch A is connected, broadcast domain is identified as 1.It checks in host information host entries shown in table 1 In the presence of matching list item, and corresponding information is consistent, illustrates that the PM1 does not occur to migrate and do not find conflict MAC Address.Therefore this Secondary SDN controllers only need the ageing time of first list item in update table 1.
Step S308 checks the destination end IP address in ARP request message if PM3 receives above-mentioned ARP request message It matches, then the IP address of PM1 and MAC Address mapping is added in local ARP table with the IP address of oneself.
Other hosts receive ARP request message, check the addresses DIP in ARP request message with the IP address of oneself not Matching will abandon ARP request message.
Arp response message comprising its MAC Address is directly transmitted back PM1 by step S310, PM3.The ARP replys message and exists When by switch b, switch b replicates a arp response message according to above-mentioned monitoring flow table item, and arp response message is encapsulated In OpenFlow messages, it is sent to SDN controllers.The encapsulation process is similar with above-mentioned encapsulation process, and which is not described herein again.
Step S312, if PM1 receives above-mentioned arp response message, by the mapping relations of the IP address of PM3 and MAC Address It is stored in local ARP table, follow-up PM1 can send datagram according to ARP table to PM3.
Mapping relations in above-mentioned ARP table have a life cycle, after life cycle, can repeat ARP request above again Process.
Step S314, SDN controller receives the OpenFlow messages for carrying arp response message sent on switch b, Lookup is executed according to transmitting terminal MAC Address (i.e. the MAC Address of PM3), determines that the IP address of the host entries found is different from The transmitting terminal IP address (i.e. the IP address of PM3) of arp response message determines transmitting terminal MAC Address and the lookup of arp response message The MAC Address (MAC Address of PM1) of the host entries arrived is conflict MAC Address, that is, with determining the corresponding MAC of PM1 and PM3 Location is conflict MAC Address.
This refresh process is same as above, it is assumed that PM1 and PM3 belongs to broadcast domain 1, and the MAC Address of the two is identical, is 0001-0002-0001, and the IP address of PM1 is 10.0.0.2, the IP address of PM3 is 10.0.0.3, so SDN controllers exist Host entries refresh process discovery is carried out, the transmitting terminal MAC Address and VLAN/VXLAN marks in message are already present on host In list item, check that the transmitting terminal IP address in IP address and message in host entries differs again, so determining there is punching Prominent MAC Address.In order to illustrate more clearly of conflict MAC Address, if the conflict MAC provided without disclosure embodiment The processing of location, the host entries after SDN controllers refresh will be as shown in table 2.
Table 2
It can be determined clearly by table 2, transmitting terminal MAC Address 0001-0002-0001 is conflict MAC Address.
Step S316, SDN controller sends the first OpenFlow for carrying the first gratuitous ARP packet to each interchanger Message and the 2nd OpenFlow messages for carrying the second gratuitous ARP packet.Wherein the first gratuitous ARP packet, transmitting terminal IP Location is the IP address of PM1, and transmitting terminal MAC Address is the MAC Address of the port 1 of switch A, which further comprises The instruction of switch A mark, the mark of port 1 and the filtering forwarding of port 1.
Switch A receives OpenFlow messages in this way, and gratuitous ARP is sent to the port other than connection PM1, other interchangers All of the port can be sent to.The IP address of PM1 in the ARP entry of All hosts will correspond to the MAC Address of the port 1 of switch A, And then the MAC Address of the PM1 learnt before relieving in PM3 is the problem of conflicting MAC Address.
Second gratuitous ARP packet is also carried in OpenFlow messages, and transmitting terminal IP address is the IP address of PM3, hair Sending end MAC Address is the MAC Address of the port 1 of switch b, which further comprises the mark of switch b, port The instruction of 1 mark and the filtering forwarding of port 1.The subsequent processing of interchanger is ibid similar, and which is not described herein again.
Step S318, SDN controller sends ARP protocol message of the trustship from PM1 to switch A and (including asks and ring Answer message) the first trustship flow table item.The occurrence instruction transmitting terminal IP address of the list item is the ARP protocol of the IP address of PM1 Message, action item are that the ARP protocol message is encapsulated in OpenFlow messages to be sent to SDN controllers.
Step S320, SDN controller sends ARP protocol message of the trustship from PM3 to switch b and (including asks and ring Answer message) the second trustship flow table item.The occurrence instruction transmitting terminal IP address of the list item is the ARP protocol of the IP address of PM3 Message, action item are that ARP protocol message is encapsulated in OpenFlow messages to be sent to SDN controllers.
Step S322, SDN controller sends third trustship flow table item and the 4th trustship flow table to each interchanger, for holding in the palm Pipe is sent to the arp response message (including ask and respond) of PM1 and PM3.Wherein third trustship flow table item, occurrence indicate target End IP address is the arp response message of the IP address of PM1, and action item is that arp response message is encapsulated in OpenFlow messages hair Toward SDN controllers.The occurrence instruction destination end IP address of 4th trustship flow table is the arp response message of the IP address of PM3, is moved It is that arp response message is encapsulated in OpenFlow messages to be sent to SDN controllers as item.
S318 to step S322 through the above steps, SDN controllers may be implemented only to the ARP protocol message for the host that conflicts Trustship is carried out, the processing pressure of SDN controllers is reduced.
After completing the issuing of above-mentioned flow table item, it is assumed that PM3 replys arp response message to PM1, and switch b is by arp response report SDN controllers are sent on text, SDN controllers find that the transmitting terminal IP address of the arp response message is the IP address of PM3, hair Sending end MAC Address is conflict MAC Address, is determined there are MAC Address conflict, in arp response message source MAC and transmission End MAC Address is revised as the MAC Address of the port 1 of switch b, because the destination end MAC Address of the arp response message is to exchange Destination end MAC Address is revised as conflict MAC, then modified arp response by the MAC Address of the port 1 of machine A, SDN controllers Message is encapsulated in OpenFlow messages, and the mark of port 1 for taking connection PM1 is dealt into switch A.Switch A is identified according to port 1 Send arp response message.In this way, on PM1, the IP address of PM3 is mapped as the MAC Address of the port 1 of switch b.
If VM1 sends arp response message to PM1, send arp response message to SDN controllers on interchanger (OVS A), SDN controllers find that there is no MAC Address conflicts, and destination end MAC is only revised as conflict MAC, the arp response message after changing OpenFlow messages are encapsulated in, the mark of port 1 for taking connection PM1 is dealt into switch A.Switch A is identified according to port 1 and is sent The arp response message.
After completing the issuing of above-mentioned flow table item, PM1 and PM3 retransmit ARP request message or arp response message, also can Flow table item is looked into according to transmitting terminal IP address be sent to SDN controllers handled.Such as:PM1 sends ARP request message to VM1, hands over A change planes according to transmitting terminal IP address, ARP request message is encapsulated in OpenFlow messages and is dealt into SDN controllers, SDN is source MAC Address and transmitting terminal MAC Address make the MAC Address of the port 1 of switch A into, and then SDN controllers pass through OpenFlow messages ARP request message, switch A mark and ingress port information (i.e. the filtering forwarding instruction of the mark of port 1 and port 1) send and hand over Change planes A, OVS A, switch b.Switch A is broadcasted by the port other than port 1, and OVS A and switch b are wide in all of the port It broadcasts.
If VM1 sends arp response message to PM1, OVS A are according to the matched flow table items of destination end IP, arp response report Text is dealt into SDN controllers, and SDN controllers are changeed back conflict MAC Address the destination end MAC Address of arp response message, passed through OpenFlow messages are dealt into switch A.Arp response message is dealt into PM1 by switch A.
The processing of PM3 is identical.In this way, the ARP request message of two hosts from conflict is all modified as by SDN controllers The port mac address of the interchanger respectively connected, by be sent to two conflict host arp response message all change backwash it is prominent MAC Address;
If PM2 hosts send ARP request message, wherein destination end IP address is the IP address of PM1, for asking PM1 MAC Address, ARP request message is dealt into SDN controllers by switch A according to destination end IP address, and SDN controllers pass through ARP request, switch identification and ingress port information are sent switch A, OVS A and switch b by OpenFlow messages.Interchanger A is broadcasted by the port other than inbound port, and switch b, OVS A are broadcasted in all of the port.Interchangers all so all will not be right The MAC Address of the ARP request message of host from conflict MAC learn.
If PM1 sends arp response message to PM2, wherein transmitting terminal IP address and transmitting terminal MAC Address is the IP of PM1 Address and conflict MAC Address, destination end IP address and destination end MAC Address are the IP address and MAC Address of PM2.Switch A is looked into It finds the matched flow table item of transmitting terminal IP address and is sent to SDN controllers.SDN instead hands over source MAC and transmitting terminal MAC Address Change planes A port 1 MAC Address, then SDN controllers ARP request message and exit port are sent by OpenFlow messages Switch A.Arp response message after modification is dealt into PM2 by switch A by exit port.
The processing of the ARP messages of PM3 is similar with the processing of PM1.
Even if the ARP entry aging on follow-up PM1 and PM3, when PM1 asks the MAC Address of PM3, SDN controllers can be changed Transmitting terminal MAC Address and destination end MAC Address, it is ensured that PM1 learns the MAC Address to the switch port of PM3 connections, otherwise also So.
Step S324, SDN controller issues the first source address conversion flow table item and the conversion of the first destination address to switch A Flow table item, to indicate that source MAC that switch A changes the data message from PM1 is the MAC of the port 1 of switch A Location, and the target MAC (Media Access Control) address for the data message for being sent to PM1 is changed into the prominent MAC Address that backwashes.
When specific implementation, the occurrence instruction source IP address that the first source address converts flow table item is the IP address of PM1, source MAC Address is the data message that 0001-0002-0001 and VLAN/VXLAN is identified as 1, and action item is by the source of data message MAC Address is revised as the MAC Address of the port 1 of switch A;The flow table item comes from conflict host to indicate that switch A is changed The source MAC of the data message of PM1.
The occurrence indicative purpose IP address that first destination address converts flow table item is the IP address of PM1, target MAC (Media Access Control) address Be the port 1 of switch A MAC Address and VLAN/VXLAN be identified as 1 data message, action item is by the data message Target MAC (Media Access Control) address is revised as the MAC Address 0001-0002-0001 (conflict MAC) of PM1, and the flow table item will be will be sent to conflict The target MAC (Media Access Control) address of the data message of host PM1 changes the prominent MAC Address that backwashes.
Step S326, SDN controller issues the second source address conversion flow table item and the conversion of the second destination address to switch b Flow table item, to indicate that source MAC that switch b changes the data message from PM3 is the MAC of the port 1 of switch b Location, and the target MAC (Media Access Control) address for the data message for being sent to PM3 is changed into the prominent MAC Address that backwashes.
When specific implementation, the occurrence instruction source IP address that the second source address converts flow table item is the IP address of PM3, source MAC Address is that the MAC Address 0001-0002-0001 and VLAN/VXLAN of PM3 are identified as 1 data message, and action item is should The source MAC of data message is revised as the MAC Address of the port 1 of switch b;
The occurrence indicative purpose IP address that second destination address converts flow table item is the IP address of PM3, target MAC (Media Access Control) address Be the port 1 of switch b MAC Address and VLAN/VXLAN be identified as 1 data message, action item is by target MAC (Media Access Control) address It is revised as the MAC Address 0001-0002-0001 of PM3 (conflict MAC).
In this way, later stage PM1 retransmits data message, switch A is sent after being changed source MAC according to flow table item.It hands over The A that changes planes receives the data message of the MAC Address for the port 1 that target MAC (Media Access Control) address is switch A, can be revised as target MAC (Media Access Control) address The MAC0001-0002-0001 of PM1, re-sends to PM1.The processing of PM3 is identical.Even if mutually sending out datagram between PM1 and PM3 Text, it is also out of question.
Above-mentioned steps S316 can be adjusted flexibly to the sequence between step S326, and disclosure embodiment is to this without limit It is fixed.
A kind of processing method for conflict MAC Address that disclosure embodiment provides can be extracted when receiving message The host information that message carries, and conflict MAC Address is determined whether there is according to the host entries, it specifically can be with MAC+ The foundation that VLAN/VXLAN+IP judges as conflict, if it was found that MAC+VLAN/VXLAN+IP all sames, and access letter (switch identification+port-mark) difference is ceased, then belongs to host migration situation, if MAC+VLAN/VXLAN is identical, IP address , then there is MAC Address conflict in different (it is also different to generally access information).After determining entry/exit conflicts MAC Address, MAC Address is carried out Replacement operation makes the corresponding host of conflict MAC Address can continue to keep intercommunication in big double layer network, ensure that network communication Normal operation, meanwhile, also improve the Experience Degree of user.
Corresponding to the above embodiment provide conflict MAC Address processing method, the disclosure embodiment further provides A kind of processing unit of conflict MAC Address, is applied to SDN controllers, SDN controllers pass through OpenFlow messages with inter-exchange ARP protocol message, a kind of structural schematic diagram of the processing unit of conflict MAC Address as shown in Figure 4 are carried, which includes:
Monitoring module 42, for sending monitoring flow table item to each interchanger, which, which is used to indicate, to receive ARP protocol message replicate and the ARP protocol message of duplication is carried in OpenFlow messages being sent to SDN controllers;
Detection module 44 carries the OpenFlow messages for replicating ARP protocol message, according to transmitting terminal MAC for receiving Address executes lookup, determines that the IP address of the host entries found is different from replicating the transmitting terminal IP address of ARP protocol message, Determine that the transmitting terminal MAC Address for replicating ARP protocol message and the MAC Address of the host entries found are the MAC Address that conflicts;
Trustship module 46, for replicate ARP protocol message transmitting terminal IP address instruction host be the first host, to First interchanger of the first host connection sends the first trustship flow table item, and it is the first host to be used to indicate transmitting terminal IP address The ARP protocol message of IP address, which is carried in OpenFlow messages, is sent to SDN controllers, all from the first host with trustship ARP protocol message;For the second host, the second switch connected to the second host is sent IP address to find host entries Second trustship flow table item is used to indicate and is carried on the ARP protocol message of IP address that transmitting terminal IP address is the second host SDN controllers are sent in OpenFlow messages, with all ARP protocol messages of the trustship from the second host;
Wherein, priority of the priority of the first trustship flow table item and the second trustship flow table item higher than monitoring flow table item.
In wherein a kind of embodiment, above-mentioned trustship module 46 is exempted from for carrying first to the transmission of each interchanger Take the first OpenFlow messages of ARP messages and carries the 2nd OpenFlow messages of the second gratuitous ARP packet;
Wherein, the transmitting terminal IP address of the first gratuitous ARP packet is the IP address of the first host, the first gratuitous ARP packet Source MAC and transmitting terminal MAC Address be the first port that the first interchanger connects the first host MAC Address;
The transmitting terminal IP address of second gratuitous ARP packet is the IP address of the second host, the source of the second gratuitous ARP packet MAC Address and the MAC Address that transmitting terminal MAC Address is the second port that second switch connects the second host;
First OpenFlow messages include:The mark of first interchanger, the mark of first port and first port filtering turn Bristle with anger and shows;2nd OpenFlow messages include:Second switch mark, the mark of second port and second port filtering forwarding refer to Show.
In wherein a kind of embodiment, trustship module 46 is additionally operable to:Third trustship flow table item is sent to each interchanger With the 4th trustship flow table;Wherein, the instruction of third trustship flow table item rings the ARP for the IP address that destination end IP address is the first host It answers message to be sent to SDN controllers, the arp response message of the first host is sent to trustship;
The arp response message for the IP address that destination end IP address is the second host is sent to by the instruction of the 4th trustship flow table item SDN controllers are sent to the arp response message of the first host with trustship;
Priority of the priority of third trustship flow table item and the 4th flow table item higher than monitoring flow table item.
Above-mentioned trustship module 46 is additionally operable to:The ARP request message of the trustship from the first host is carried if received Source MAC is revised as the first port that the first interchanger connects the first host by OpenFlow messages with transmitting terminal MAC Address MAC Address, the modified trustship ARP request message from the first host is carried on OpenFlow messages and is sent to each Interchanger;If receiving the OpenFlow messages for carrying the arp response message of the trustship from the first host, by source MAC Location and transmitting terminal MAC Address are revised as the MAC Address of first port, by the modified trustship arp response from the first host Message is carried on OpenFlow messages, with being sent to the destination end IP of the modified trustship arp response message from the first host The interchanger that the host of location instruction is connected.
In wherein a kind of embodiment, trustship module 46 is additionally operable to:Reception carries the trustship ARP from the second host Source MAC is revised as second switch with transmitting terminal MAC Address and connects the second host by the OpenFlow messages of request message Second port MAC Address, the modified trustship ARP request message from the second host is carried on OpenFlow messages And it is sent to each interchanger;The OpenFlow messages for carrying the trustship arp response message from the second host are received, by source MAC Address and transmitting terminal MAC Address are revised as the MAC Address of second port, by the modified trustship ARP from the second host Response message is carried on OpenFlow messages, is sent to the destination end of the modified trustship arp response message from the second host The interchanger that the host of IP address instruction is connected.
In wherein a kind of embodiment, trustship module 46 is additionally operable to:Receive be carried on OpenFlow messages be sent to the The OpenFlow messages of the trustship arp response message of one host exchange target MAC (Media Access Control) address and destination end MAC Address by first The MAC Address that machine connects the first port of the first host is revised as conflict MAC Address, will be sent to the modified support of the first host Pipe arp response message is carried on OpenFlow messages and is sent to the first interchanger;Reception carries the trustship for being sent to the second host Target MAC (Media Access Control) address is connected the second master by the OpenFlow messages of arp response message with destination end MAC Address by second switch The MAC Address of the second port of machine is revised as conflicted MAC Address, will be sent to the modified trustship arp response of the second host Message is carried on OpenFlow messages and is sent to second switch.
In wherein a kind of embodiment, trustship module 46 is additionally operable to:The conversion of the first source address is sent to the first interchanger Flow table item and the first destination address convert flow table item;First source address converts flow table item, and it is conflict to be used to indicate source MAC The data message of MAC Address is revised as the MAC Address that source MAC is the first port that the first interchanger connects the first host Data message;First destination address converts flow table item, is used to indicate target MAC (Media Access Control) address the number for the MAC Address for being first port It is revised as the data message that target MAC (Media Access Control) address is conflict MAC Address according to message;
The second source address conversion flow table item and the second destination address flow table item are sent to second switch;Second source address turns Change of current list item, it is the second exchange to be used to indicate the data message that source MAC is conflict MAC Address being revised as source MAC Machine connects the data message of the MAC Address of the second port of the second host;Second destination address convert flow table item, be used to indicate by Target MAC (Media Access Control) address is the data that the data message of the MAC Address of second port is revised as that target MAC (Media Access Control) address is conflict MAC Address Message.
In the structural schematic diagram of the processing unit of another conflict MAC Address shown in Fig. 5, above-mentioned apparatus further includes: Logging modle 48, transmitting terminal MAC Address, transmission for will at least carry the OpenFlow messages for replicating ARP protocol message It holds IP address, broadcast domain, the mark of the first interchanger and the first interchanger to connect the first port of the first host, records one Host entries.
The technology effect of the processing unit for the conflict MAC Address that disclosure embodiment is provided, realization principle and generation Fruit is identical with preceding method embodiment, and to briefly describe, device embodiments part does not refer to place, can refer to preceding method Corresponding contents in embodiment.
On the basis of the above embodiment, embodiment further provides a kind of network equipments, including processor for the disclosure And memory, memory are stored with the machine-executable instruction that can be executed by processor, processor executes the executable finger of machine It enables to realize the processing method of above-mentioned conflict MAC Address.
When specific implementation, embodiment further provides a kind of machine readable storage medium, the machine readable storages for the disclosure Media storage has machine-executable instruction, and machine-executable instruction is when being called and being executed by processor, machine-executable instruction Processor is promoted to realize the processing method of above-mentioned conflict MAC Address.
Referring to Fig. 6, disclosure embodiment also provides a kind of structural schematic diagram of the network equipment, including:Processor 600, Memory 601, bus 602 and communication interface 603, processor 600, communication interface 603 and memory 601 are connected by bus 602 It connects;Processor 600 is for executing the executable module stored in memory 601, such as computer program.
Wherein, memory 601 may include high-speed random access memory (RAM, Random Access Memory), May further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely A few communication interface 603 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection can use internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 602 can be isa bus, pci bus or eisa bus etc..It is total that bus can be divided into address bus, data Line, controlling bus etc..For ease of indicating, only indicated with a four-headed arrow in Fig. 6, it is not intended that an only bus or one The bus of type.
Wherein, memory 601 is for storing program, and processor 600 executes program after receiving and executing instruction, aforementioned Method performed by the processing unit for the conflict MAC Address that disclosure any embodiment discloses can be applied to processor 600 In, or realized by processor 600.
Processor 600 may be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization Each step of method can be completed by the integrated logic circuit of the hardware in processor 600 or the instruction of software form.On The processor 600 stated can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or Person other programmable logic device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute sheet Disclosed each method, step and logic diagram in disclosed embodiment.General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.The step of method in conjunction with disclosed in disclosure embodiment, can direct body Be now that hardware decoding processor executes completion, or in decoding processor hardware and software module combine and execute completion.It is soft Part module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically erasable programmable are deposited In the storage medium of this fields such as reservoir, register maturation.The storage medium is located at memory 601, and processor 600 reads storage Information in device 601, in conjunction with the step of its hardware completion above method.
In several embodiments that the disclosure is provided, it should be understood that disclosed device and method can also lead to Other modes are crossed to realize.Device embodiments described above are only schematical, for example, the flow chart in attached drawing and Block diagram show the device of multiple embodiments according to the disclosure, method and computer program product system in the cards Framework, function and operation.In this regard, each box in flowchart or block diagram can represent a module, program segment or generation A part for code, the part of module, section or code include it is one or more it is for implementing the specified logical function can It executes instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be with difference The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can also execute in the opposite order, this is depended on the functions involved.It is also noted that in block diagram and or flow chart The combination of each box and the box in block diagram and or flow chart can use the dedicated of function or action as defined in executing Hardware based system is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each function module or unit in each embodiment of the disclosure can integrate to form one solely Vertical part can also be modules individualism, can also two or more modules be integrated to form one it is independent Part.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store In a computer read/write memory medium.Based on this understanding, the technical solution of the disclosure is substantially in other words to existing There is the part for the part or the technical solution that technology contributes that can be expressed in the form of software products, the computer Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter Calculation machine, server or network equipment etc.) execute each embodiment method of the disclosure all or part of step.And it is aforementioned Storage medium include:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic disc or CD.
Finally it should be noted that:Embodiment of above, the only specific implementation mode of the disclosure, to illustrate the disclosure Technical solution, rather than its limitations, the protection domain of the disclosure are not limited thereto, although with reference to aforementioned embodiments to this public affairs It opens and is described in detail, it will be understood by those of ordinary skill in the art that:Any one skilled in the art In the technical scope that the disclosure discloses, it can still modify to the technical solution recorded in aforementioned embodiments or can Readily occur in variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, not So that the essence of corresponding technical solution is detached from the spirit and scope of disclosure embodiment technical solution, should all cover in the disclosure Within protection domain.Therefore, the protection domain of the disclosure should be subject to the protection scope in claims.

Claims (17)

1. a kind of processing method of conflict MAC Address, is applied to SDN controllers, which is characterized in that the method includes:
Monitoring flow table item is sent to each interchanger, the monitoring flow table item is used to indicate the ARP protocol message that will be received and is answered It makes and the ARP protocol message of duplication is carried in OpenFlow messages and be sent to the SDN controllers;
The OpenFlow messages for carrying and replicating ARP protocol message are received, lookup are executed according to transmitting terminal MAC Address, determination is looked into The IP address of the host entries found is different from the transmitting terminal IP address for replicating ARP protocol message, determines the duplication ARP The transmitting terminal MAC Address of protocol massages is the MAC Address that conflicts with the MAC Address of the host entries found;
With the host of the transmitting terminal IP address instruction for replicating ARP protocol message for the first host, connect to first host The first interchanger for connecing sends the first trustship flow table item, be used to indicate transmitting terminal IP address be first host IP address ARP protocol message be carried in OpenFlow messages and be sent to the SDN controllers, with institute of the trustship from first host There is ARP protocol message;
For IP address to find host entries for the second host, the second switch connected to second host sends second Trustship flow table item is used to indicate and is carried on the ARP protocol message of IP address that transmitting terminal IP address is second host The SDN controllers are sent in OpenFlow messages, with all ARP protocol messages of the trustship from second host;
Priority of the priority of the first trustship flow table item and the second trustship flow table item higher than the monitoring flow table item.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
It sends to carry the first OpenFlow messages of the first gratuitous ARP packet and carry second to each interchanger and exempt from Take the 2nd OpenFlow messages of ARP messages;
Wherein, the transmitting terminal IP address of first gratuitous ARP packet is the IP address of first host, and described first is free The source MAC of ARP messages and the first port that transmitting terminal MAC Address is that first interchanger connects first host MAC Address;
The transmitting terminal IP address of second gratuitous ARP packet is the IP address of second host, the second gratuitous ARP report Source MAC and the transmitting terminal MAC Address of text are the MAC of the second port that the second switch connects second host Location;
The first OpenFlow messages include:The identifying of first interchanger, the mark and first end of the first port Filter forwarding of making a slip of the tongue indicates;The 2nd OpenFlow messages include:Second switch mark, the mark of the second port and the Two-port netwerk filtering forwarding instruction.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
Third trustship flow table item and the 4th trustship flow table are sent to each interchanger;Wherein, the third trustship flow table item Indicate that the arp response message by the IP address that destination end IP address is first host is sent to the SDN controllers, with trustship It is sent to the arp response message of first host;
The arp response message for the IP address that destination end IP address is second host is sent out in the 4th trustship flow table item instruction Toward the SDN controllers, the arp response message of first host is sent to trustship;
Priority of the priority of the third trustship flow table item and the 4th flow table item higher than the monitoring flow table item.
4. according to the method described in claim 3, it is characterized in that, described further include:
If receiving the OpenFlow messages for carrying the trustship ARP request message from first host, by source MAC Location is revised as the MAC Address that first interchanger connects the first port of first host with transmitting terminal MAC Address, in the future It is carried on OpenFlow messages from the modified trustship ARP request message of first host and is sent to each exchange Machine;
If receiving the OpenFlow messages for carrying the trustship arp response message from first host, by source MAC Location and transmitting terminal MAC Address are revised as the MAC Address of the first port, by the modified trustship from first host Arp response message is carried on OpenFlow messages, is sent to the modified trustship arp response message from first host The interchanger that the host of destination end IP address instruction is connected.
5. according to the method described in claim 3, it is characterized in that, described further include:
If receiving the OpenFlow messages for carrying the trustship ARP request message from second host, by source MAC Location is revised as the MAC Address that the second switch connects the second port of second host with transmitting terminal MAC Address, in the future It is carried on OpenFlow messages from the modified trustship ARP request message of second host and is sent to each exchange Machine;
If receiving the OpenFlow messages for carrying the trustship arp response message from second host, by source MAC Location and transmitting terminal MAC Address are revised as the MAC Address of the second port, by the modified trustship from second host Arp response message is carried on OpenFlow messages, is sent to the modified trustship arp response message from second host The interchanger that the host of destination end IP address instruction is connected.
6. according to the method described in claim 3, it is characterized in that, described further include:
If receiving the OpenFlow for the trustship arp response message for being sent to first host for being carried on OpenFlow messages Target MAC (Media Access Control) address is connected the first port of first host by message with destination end MAC Address by first interchanger MAC Address is revised as the conflict MAC Address, and the modified trustship arp response message for being sent to first host is carried In OpenFlow messages and it is sent to first interchanger;
If the OpenFlow messages for carrying the trustship arp response message for being sent to second host are received, by purpose MAC The MAC Address that address is connected the second port of second host with destination end MAC Address by the second switch is revised as The modified trustship arp response message for being sent to second host is carried on OpenFlow reports by institute's conflict MAC Address Text is simultaneously sent to the second switch.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
The first source address conversion flow table item is sent to first interchanger and the first destination address converts flow table item;Described first Source address convert flow table item, be used to indicate by source MAC be it is described conflict MAC Address data message with being revised as source MAC Location is the data message of the MAC Address for the first port that first interchanger connects first host;First purpose Address conversion flow table item is used to indicate the data message of MAC Address that target MAC (Media Access Control) address is the first port being revised as mesh MAC Address be it is described conflict MAC Address data message;
The second source address conversion flow table item is sent to the second switch and the second destination address converts flow table item;Described second Source address convert flow table item, be used to indicate by source MAC be it is described conflict MAC Address data message with being revised as source MAC Location is the data message of the MAC Address for the second port that the second switch connects second host;Second purpose Address conversion flow table item is used to indicate the data message of MAC Address that target MAC (Media Access Control) address is the second port being revised as mesh MAC Address be it is described conflict MAC Address data message.
8. according to the method described in claim 1, it is characterized in that, the method further includes:At least duplication is carried by described The transmitting terminal MAC Address of the OpenFlow messages of ARP protocol message, transmitting terminal IP address, broadcast domain, first interchanger Mark and first interchanger connect the first port of first host, record a host entries.
9. a kind of processing unit of conflict MAC Address, is applied to SDN controllers, which is characterized in that described device includes:
Monitoring module sends monitoring flow table item to each interchanger, and the monitoring flow table item is used to indicate the ARP protocol report that will be received Text replicate and the ARP protocol message of duplication is carried in OpenFlow messages being sent to the SDN controllers;
Detection module receives the OpenFlow messages for carrying and replicating ARP protocol message, is looked into according to the execution of transmitting terminal MAC Address It looks for, determines that the IP address of the host entries found is different from the transmitting terminal IP address for replicating ARP protocol message, determine institute It is the MAC Address that conflicts to state the transmitting terminal MAC Address for replicating ARP protocol message and the MAC Address of the host entries found;
Trustship module, with the host of the transmitting terminal IP address instruction for replicating ARP protocol message for the first host, to described the First interchanger of one host connection sends the first trustship flow table item, and it is first host to be used to indicate transmitting terminal IP address The ARP protocol message of IP address be carried in OpenFlow messages and be sent to the SDN controllers, come from described first with trustship All ARP protocol messages of host;IP address to find host entries connects for the second host to second host Second switch send the second trustship flow table item, be used to indicate transmitting terminal IP address be second host IP address ARP protocol message, which is carried in OpenFlow messages, is sent to the SDN controllers, all from second host with trustship ARP protocol message;
Priority of the priority of the first trustship flow table item and the second trustship flow table item higher than the monitoring flow table item.
10. device according to claim 9, which is characterized in that
The trustship module sends the first OpenFlow messages for carrying the first gratuitous ARP packet to each interchanger With the 2nd OpenFlow messages for carrying the second gratuitous ARP packet;
Wherein, the transmitting terminal IP address of first gratuitous ARP packet is the IP address of first host, and described first is free The source MAC of ARP messages and the first port that transmitting terminal MAC Address is that first interchanger connects first host MAC Address;
The transmitting terminal IP address of second gratuitous ARP packet is the IP address of second host, the second gratuitous ARP report Source MAC and the transmitting terminal MAC Address of text are the MAC of the second port that the second switch connects second host Location;
The first OpenFlow messages include:The identifying of first interchanger, the mark and first end of the first port Filter forwarding of making a slip of the tongue indicates;The 2nd OpenFlow messages include:Second switch mark, the mark of the second port and the Two-port netwerk filtering forwarding instruction.
11. device according to claim 9, which is characterized in that
The trustship module is additionally operable to:Third trustship flow table item and the 4th trustship flow table are sent to each interchanger;Wherein,
The arp response message for the IP address that destination end IP address is first host is sent out in the third trustship flow table item instruction Toward the SDN controllers, the arp response message of first host is sent to trustship;
The arp response message for the IP address that destination end IP address is second host is sent out in the 4th trustship flow table item instruction Toward the SDN controllers, the arp response message of first host is sent to trustship;
Priority of the priority of the third trustship flow table item and the 4th flow table item higher than the monitoring flow table item.
12. according to the devices described in claim 11, which is characterized in that
The trustship module is additionally operable to:The trustship ARP request message from first host is carried if received Source MAC is revised as first interchanger with transmitting terminal MAC Address and connects first host by OpenFlow messages Modified trustship ARP request message from first host is carried on OpenFlow reports by the MAC Address of first port Text is simultaneously sent to each interchanger;The trustship arp response message from first host is carried if received Source MAC and transmitting terminal MAC Address are revised as the MAC Address of the first port by OpenFlow messages, will be modified Trustship arp response message from first host is carried on OpenFlow messages, is sent to modified from described first The interchanger that the host of the destination end IP address instruction of the trustship arp response message of host is connected.
13. according to the devices described in claim 11, which is characterized in that the trustship module is additionally operable to:Reception, which carries, to be come from The OpenFlow messages of the trustship ARP request message of second host, source MAC and transmitting terminal MAC Address are revised as The second switch connects the MAC Address of the second port of second host, after the modification from second host Trustship ARP request message be carried on OpenFlow messages and be sent to each interchanger;Reception is carried from described Source MAC and transmitting terminal MAC Address are revised as described by the OpenFlow messages of the trustship arp response message of two hosts The modified trustship arp response message from second host is carried on OpenFlow reports by the MAC Address of Two-port netwerk Text, the host for being sent to the destination end IP address instruction of the modified trustship arp response message from second host connect The interchanger connect.
14. according to the devices described in claim 11, which is characterized in that the trustship module is additionally operable to:Reception is carried on The OpenFlow messages of the trustship arp response message for being sent to first host of OpenFlow messages, by target MAC (Media Access Control) address and The MAC Address that destination end MAC Address is connected the first port of first host by first interchanger is revised as the punching Prominent MAC Address, is carried on OpenFlow messages by the modified trustship arp response message for being sent to first host and is sent to First interchanger;The OpenFlow messages for carrying the trustship arp response message for being sent to second host are received, by mesh The MAC Address of the MAC Address second port that connects second host by the second switch with destination end MAC Address repair It is changed to institute's conflict MAC Address, the modified trustship arp response message for being sent to second host is carried on OpenFlow messages are simultaneously sent to the second switch.
15. device according to claim 9, which is characterized in that the trustship module is additionally operable to:To first interchanger Send the first source address conversion flow table item and the first destination address conversion flow table item;First source address converts flow table item, uses It is that first interchanger connects that the data message that source MAC is the conflict MAC Address, which is revised as source MAC, in instruction Connect the data message of the MAC Address of the first port of first host;First destination address converts flow table item, for referring to Show target MAC (Media Access Control) address it is that be revised as target MAC (Media Access Control) address be the conflict for the data message of MAC Address of the first port The data message of MAC Address;
The second source address conversion flow table item and the second destination address flow table item are sent to the second switch;Second source Flow table item is converted in location, is used to indicate and is revised as source MAC and is the data message that source MAC is the conflict MAC Address The second switch connects the data message of the MAC Address of the second port of second host;Second destination address Flow table item is converted, is used to indicate target MAC (Media Access Control) address for the purpose of the data message modification for the MAC Address for being the second port MAC Address is the data message of the conflict MAC Address.
16. device according to claim 9, which is characterized in that described device further includes logging modle, at least by institute It states and carries the transmitting terminal MAC Address of OpenFlow messages for replicating ARP protocol message, transmitting terminal IP address, broadcast domain, described The mark of first interchanger and first interchanger connect the first port of first host, record a host table ?.
17. a kind of machine readable storage medium, which is characterized in that the machine readable storage medium is stored with the executable finger of machine It enables, for the machine-executable instruction when being called and being executed by processor, the machine-executable instruction promotes the processor Realize claim 1 to 8 any one of them method.
CN201810424372.5A 2018-05-04 2018-05-04 Method and device for processing conflicting MAC addresses and machine-readable storage medium Active CN108810183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810424372.5A CN108810183B (en) 2018-05-04 2018-05-04 Method and device for processing conflicting MAC addresses and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810424372.5A CN108810183B (en) 2018-05-04 2018-05-04 Method and device for processing conflicting MAC addresses and machine-readable storage medium

Publications (2)

Publication Number Publication Date
CN108810183A true CN108810183A (en) 2018-11-13
CN108810183B CN108810183B (en) 2021-09-07

Family

ID=64091007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810424372.5A Active CN108810183B (en) 2018-05-04 2018-05-04 Method and device for processing conflicting MAC addresses and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN108810183B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600811A (en) * 2020-04-14 2020-08-28 新华三信息安全技术有限公司 Message processing method and device
CN112003965A (en) * 2020-09-15 2020-11-27 中标慧安信息技术股份有限公司 Method for detecting IP conflict of equipment in local area network based on ARP protocol
CN114301865A (en) * 2021-12-29 2022-04-08 迈普通信技术股份有限公司 Table item management method and device, network equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320267A (en) * 2014-10-29 2015-01-28 武汉绿色网络信息服务有限责任公司 ARP broadcast restraining system and method for achieving VxLAN based on SDN framework
US20150117451A1 (en) * 2013-10-30 2015-04-30 International Business Machines Corporation Communication between hetrogenous networks
CN104767685A (en) * 2015-04-17 2015-07-08 杭州华三通信技术有限公司 Flow forwarding method and device
CN104821923A (en) * 2015-05-15 2015-08-05 杭州华三通信技术有限公司 Method and device for transmitting upper-supply controller protocol message in SDN network
CN106302860A (en) * 2016-09-14 2017-01-04 上海斐讯数据通信技术有限公司 The methods, devices and systems that a kind of free address resolution protocol based on SDN sends
US20170295130A1 (en) * 2016-04-07 2017-10-12 Cisco Technology, Inc. Control plane based technique for handling multi-destination traffic in overlay networks
CN107623757A (en) * 2017-10-27 2018-01-23 新华三技术有限公司 Entry updating method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150117451A1 (en) * 2013-10-30 2015-04-30 International Business Machines Corporation Communication between hetrogenous networks
CN104320267A (en) * 2014-10-29 2015-01-28 武汉绿色网络信息服务有限责任公司 ARP broadcast restraining system and method for achieving VxLAN based on SDN framework
CN104767685A (en) * 2015-04-17 2015-07-08 杭州华三通信技术有限公司 Flow forwarding method and device
CN104821923A (en) * 2015-05-15 2015-08-05 杭州华三通信技术有限公司 Method and device for transmitting upper-supply controller protocol message in SDN network
US20170295130A1 (en) * 2016-04-07 2017-10-12 Cisco Technology, Inc. Control plane based technique for handling multi-destination traffic in overlay networks
CN106302860A (en) * 2016-09-14 2017-01-04 上海斐讯数据通信技术有限公司 The methods, devices and systems that a kind of free address resolution protocol based on SDN sends
CN107623757A (en) * 2017-10-27 2018-01-23 新华三技术有限公司 Entry updating method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600811A (en) * 2020-04-14 2020-08-28 新华三信息安全技术有限公司 Message processing method and device
CN112003965A (en) * 2020-09-15 2020-11-27 中标慧安信息技术股份有限公司 Method for detecting IP conflict of equipment in local area network based on ARP protocol
CN112003965B (en) * 2020-09-15 2021-07-27 中标慧安信息技术股份有限公司 Method for detecting IP conflict of equipment in local area network based on ARP protocol
CN114301865A (en) * 2021-12-29 2022-04-08 迈普通信技术股份有限公司 Table item management method and device, network equipment and computer readable storage medium
CN114301865B (en) * 2021-12-29 2023-07-21 迈普通信技术股份有限公司 Table entry management method, apparatus, network device and computer readable storage medium

Also Published As

Publication number Publication date
CN108810183B (en) 2021-09-07

Similar Documents

Publication Publication Date Title
EP3282649B1 (en) Data packet forwarding
JP5594171B2 (en) Communication processing apparatus, address learning program, and address learning method
CN103095546B (en) A kind of method, device and data center network processing message
US10686733B2 (en) System and method for virtual machine address association
EP3451597B1 (en) Packet forwarding
US10757076B2 (en) Enhanced network processing of virtual node data packets
US8792502B2 (en) Duplicate MAC address detection
CN103793359A (en) Method and system for virtual port communication
CN108810183A (en) Processing method, device and the machine readable storage medium of conflict MAC Address
US9847937B2 (en) Hardware acceleration for routing programs
US20120155485A1 (en) Efficient space utilization of distributed mac address tables in ethernet switches
US20180039505A1 (en) Preventing flow interruption caused by migration of vm
CN105991795B (en) ARP entry update method and device
US20190349293A1 (en) Managing Data Frames in Switched Networks
CN101924699A (en) Message forwarding method, system and provider edge equipment
JP2020027961A (en) Mirror packet transfer program and mirror packet transfer method
CN107896188A (en) Data forwarding method and device
CN103618778A (en) System and method for achieving data high concurrency through Linux virtual host
US9032063B2 (en) Dynamic port naming in a chassis
CN112422444B (en) Method and device for forwarding message across cards
CN111327509B (en) Information updating method and device
WO2016173196A1 (en) Method and apparatus for learning address mapping relationship
CN114979028B (en) Data packet processing method, device and storage medium
CN116185598A (en) Address processing method, address processing device, electronic equipment and readable storage medium
US10708166B2 (en) Method and a first device for managing data frames in switched networks

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