CN104092614A - Method and device for updating address resolution information - Google Patents

Method and device for updating address resolution information Download PDF

Info

Publication number
CN104092614A
CN104092614A CN201410370550.2A CN201410370550A CN104092614A CN 104092614 A CN104092614 A CN 104092614A CN 201410370550 A CN201410370550 A CN 201410370550A CN 104092614 A CN104092614 A CN 104092614A
Authority
CN
China
Prior art keywords
address
main frame
forwarding
controller
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410370550.2A
Other languages
Chinese (zh)
Other versions
CN104092614B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410370550.2A priority Critical patent/CN104092614B/en
Publication of CN104092614A publication Critical patent/CN104092614A/en
Application granted granted Critical
Publication of CN104092614B publication Critical patent/CN104092614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for updating address resolution information. The method is applied to a controller for controlling forwarding equipment in a network. The method comprises the steps of receiving host computer address updating information, and recording a corresponding relationship between an updated IP (Internet protocol) address and an MAC (media access control) address of a host computer; deleting a forwarding entry comprising the recorded IP address and a forwarding entry comprising the recorded MAC address by using instruction forwarding equipment; after a forwarding message of which a destination address is the position of the host computer and which is uploaded by the forwarding equipment is received, transmitting a message carrying the recorded corresponding relationship between the IP address and the MAC address of the host computer to a source address of the uploaded forwarding message. According to the technical scheme, ARP (address resolution protocol) caches of other host computers can be timely updated when the address of the host computers is changed, and the broadcasting of a free ARP message can be avoided, so that the burst broadcasting traffic is reduced, and the performance of the network is improved.

Description

The method and apparatus of scheduler resolving information
Technical field
The application relates to network communications technology field, relates in particular to a kind of method and apparatus of scheduler resolving information.
Background technology
In recent years, the increase of data center's region scale and Business Processing demand, more and more for the application of Clustering, the server in cluster need to be in two layers of network that can reach.Meanwhile, the application of Intel Virtualization Technology, on the convenience and flexibility basis that bring service deployment, the migration problem of virtual machine also becomes the problem that needs consideration.In order to ensure the continuity of virtual machine bearer service, the IP address before and after virtual machine (vm) migration is conventionally constant, and the migration of virtual machine also need to be in same two layers of network that can reach in this case.These two kinds of technology are not only required in and in data center, realize large-scale double layer network access, and require to realize wider double layer network expansion between data center yet.
And universal due to technology such as cloud computings, the frequent and scope of data center's virtual machine (vm) migration increases day by day, and therefore the scale of double layer network becomes increasing, and the double layer network territory of large-scale Internet firm even can reach 100,000 nodes.In the double layer network of such scale, the propagation of broadcasting packet can cause very large flow, affects network performance, may form broadcast storm and cause network paralysis in serious situation.
Summary of the invention
In view of this, the application provides a kind of method of scheduler resolving information, is applied on the controller of network central control forwarding unit processed, comprising:
Receiving Host address lastest imformation, record upgrades the IP address of aft engine and the corresponding relation of MAC (Media Access Control, media access control) address;
Instruction forwarding unit is deleted the forwarding-table item that comprises recorded IP address and the forwarding-table item that comprises recorded MAC Address;
After the E-Packeting taking described main frame as destination address of receiving that forwarding unit uploads, upload the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to.
The method of the another kind of scheduler resolving information that the application provides, be applied in network, be controlled by the controller and with the direct-connected forwarding unit of main frame on, comprising:
Dam from the gratuitous ARP packet of main frame;
Receive controller and delete the instruction of forwarding-table item, described instruction comprises IP address and MAC Address;
Deletion comprises the IP address in described instruction or comprises the forwarding-table item of the MAC Address in described instruction;
Receive the message of the corresponding relation that carries IP address and MAC Address of self-controller, be transmitted to the main frame that controller is specified.
The application also provides a kind of device of scheduler resolving information, is applied on the controller of network central control forwarding unit processed, comprising:
Receiving element is upgraded in address, and for Receiving Host address lastest imformation, record upgrades the IP address of aft engine and the corresponding relation of MAC Address;
List item delete instruction unit, deletes the forwarding-table item that comprises recorded IP address and the forwarding-table item that comprises recorded MAC Address for instruction forwarding unit;
Address information issues unit, for after the E-Packeting taking described main frame as destination address of receiving that forwarding unit uploads, uploads the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to.
The device of the another kind of scheduler resolving information that the application provides, be applied in network, be controlled by the controller and with the direct-connected forwarding unit of main frame on, comprising:
The gratuitous ARP unit that dams, for damming from the gratuitous ARP packet of main frame;
Delete instruction receiving element, the instruction of deleting forwarding-table item for receiving controller, described instruction comprises IP address and MAC Address;
Delete instruction performance element, for deleting the IP address that comprises described instruction or the forwarding-table item that comprises the MAC Address in described instruction;
Address information retransmission unit, for receiving the message of the corresponding relation that carries IP address and MAC Address of self-controller, is transmitted to the main frame that controller is specified.
From above technical scheme, in the application's embodiment, controller is obtaining after host address lastest imformation, delete the forwarding-table item relevant to this host address in forwarding unit, send to like this message of this main frame will be uploaded to controller, controller with mode of unicast upgrade need to the arp cache of the node of this main-machine communication, thereby the arp cache of other main frame that upgrades in time can either change in the address of main frame time, can avoid again the broadcast of gratuitous ARP packet, the broadcast traffic that has reduced burst, has improved network performance.
Brief description of the drawings
Fig. 1 is a kind of networking structure exemplary plot of the application's application scenarios;
Fig. 2 is the flow chart that is applied in the method for the scheduler resolving information on controller in the application's embodiment;
Fig. 3 is the flow chart that is applied in the method for the scheduler resolving information on forwarding unit in the application's embodiment;
Fig. 4 is a kind of hardware structure diagram of controller or forwarding unit;
Fig. 5 is the building-block of logic of a kind of device that is applied in the scheduler resolving information on controller that the embodiment of the present application provides;
Fig. 6 is the building-block of logic of a kind of device that is applied in the scheduler resolving information on forwarding unit that the embodiment of the present application provides.
Embodiment
A kind of structure of two layers of Ethernet as shown in Figure 1, controller 10 is connected with forwarding unit 31, forwarding unit 32, forwarding unit 33 respectively by forwarding unit 20, and main frame 41 accesses this double layer networks by forwarding unit 32, main frame 43 by forwarding unit 33 by forwarding unit 31, main frame 42.Controller 10 is controlled each forwarding unit, comprises interpolation, deletion, amendment forwarding-table item, query statistic information, and E-Packet by forwarding unit etc.; Each forwarding unit carries out message repeating according to the forwarding-table item of the machine, and reports message, oneself state and other content that need to report to controller 10 of not mating forwarding-table item to controller 10.
Wherein, controller 10 and each forwarding unit can be the network nodes with corresponding function, may be that physical equipment may be also virtual unit; Each main frame is by the terminal node of forwarding unit access network, comprises the various terminals that access in wired or wireless mode, can be physical terminal, can be also virtual terminal.
In Ethernet, a main frame will send message to another main frame, need to first know the other side's IP address and MAC Address.The basic function of ARP (Address Resolution Protocol, address resolution protocol) agreement is the IP address by destination host, and the MAC Address of query aim main frame, to ensure the carrying out of communication.Main frame can be safeguarded an arp cache table in the machine conventionally, is used for preserving the IP address of other main frame and the corresponding relation of MAC Address, until the overtime rear deletion of list item.
For example, in the arp cache of main frame 43, preserve the IP address of main frame 41 and the corresponding relation of MAC Address.If main frame 41 has obtained new IP address, before the overtime deletion of address resolution information of the main frame 41 of preserving in main frame 43, main frame 43 sends to the message of main frame 41 cannot arrive main frame 41 because IP address is wrong.Occur for fear of this situation, when main frame 41 changes in its IP address, can generate gratuitous ARP packet and in double layer network broadcast transmission, notify the IP address of other main frame oneself and the corresponding relation of MAC Address that variation has occurred, allow upgrade in time the arp cache of the machine of other main frame.The source IP address encapsulating in gratuitous ARP packet and object IP address are all the current IP addresses of main frame that sends message, and the source MAC of encapsulation is the current MAC Address of main frame that sends message, and target MAC (Media Access Control) address is broadcast address.
In some other situation, main frame also can send gratuitous ARP packet, carrys out the address resolution information of other main frame renewal oneself in informing network.For example, main frame 42 is master-slave back-up clusters of two physical server compositions, externally use same IP address, when master server break-off and by replace its when operation from server, the MAC Address of cluster can become the MAC Address from server from the MAC Address of master server, now, can send gratuitous ARP packet from server, upgrade the arp cache of other main frame.
In prior art, gratuitous ARP packet sends with the forms of broadcasting, concerning the numerous double layer network of number of host, can cause sizable flow, affects network performance.If there are multiple main frames to initiate gratuitous ARP in the short time, may cause the broadcast storm of whole double layer network, message cannot normally be forwarded.
A kind of method that the present embodiment proposes new scheduler resolving information solves the problems referred to above.Method in the present embodiment is applied to (network as shown in Figure 1) in the network that comprises controller and forwarding unit, and controller is controlled forwarding unit, and main frame is by forwarding unit access network.Operate in flow process on controller as shown in Figure 2, operate in flow process on the forwarding unit direct-connected with main frame as shown in Figure 3.
On controller, step S210, Receiving Host address lastest imformation, record upgrades the IP address of aft engine and the corresponding relation of MAC Address.
With the direct-connected forwarding unit of main frame on, step S310, dams from the gratuitous ARP packet of main frame.
Controller can be learnt main frame generation address change (comprising that MAC Address changes and IP address change) by following several modes, and obtains changing IP address and the MAC Address of aft engine:
1) conventionally on controller, understand the information of preserving main frame in network, comprise IP address and the MAC Address of main frame.In the time that the address of main frame changes, can be by the host information of preserving on network management personnel's change control device, thus controller can be learnt the address change of main frame, and IP address and MAC Address after obtaining changing.
Under this implementation, the forwarding unit (as the forwarding unit 31 in Fig. 1, forwarding unit 32 and forwarding unit 33) that directly connects main frame is being received after the gratuitous ARP packet of the main frame transmission that address changes, this gratuitous ARP packet dams, in other words this gratuitous ARP packet is abandoned, no longer broadcast.
2), if network comprises network management device, in the time that the address of main frame changes, network management device can obtain this information immediately conventionally.Can send to controller the notice that host address upgrades by network management device, and inform IP address and MAC Address after controller main frame upgrades.
Under this implementation, the forwarding unit that directly connects main frame is receiving that after the gratuitous ARP packet of the main frame transmission that address changes, this gratuitous ARP packet that dams, no longer broadcasts.
3) in the time that the address of main frame changes, directly connecting on the forwarding unit of main frame, by the gratuitous ARP packet unicast forwarding from main frame to controller.
First the gratuitous ARP packet that main frame sends with the forms of broadcasting arrives the forwarding unit being directly connected with it, and forwarding unit this ARP message that dams no longer sends with the forms of broadcasting, but by its unicast forwarding to controller.Like this, just avoid the diffusion of this gratuitous ARP packet in whole double layer network.
Controller receives the gratuitous ARP packet of forwarding unit unicast forwarding, learns that the address of main frame changes, and extracts IP address after main frame upgrades and the corresponding relation of MAC Address, and record this corresponding relation from gratuitous ARP packet.
On controller, step S220, instruction forwarding unit is deleted the forwarding-table item that comprises recorded IP address and the forwarding-table item that comprises recorded MAC Address.
Controller issues the instruction of deleting forwarding-table item to each forwarding unit, make forwarding unit delete the list item that the machine forwarding flow table comprises the list item of recorded IP address and comprises recorded MAC Address.
On forwarding unit, step S320, receives the instruction of controller deletion forwarding-table item, and the instruction of controller comprises IP address and MAC Address.
On forwarding unit, step S330, the delete instruction of implementation controller, deletes the forwarding-table item that comprises the IP address in instruction or comprise the MAC Address in instruction.
Receive that after the instruction of controller deletion forwarding-table item, forwarding unit, according to the forwarding flow table of IP address search the machine in instruction, if the IP address in the IP address and instruction in list item is identical, is deleted this list item.In forwarding flow table, there is the identical list item in IP address in and instruction may use this IP address by other main frame (main frame that non-address changes) before conventionally meaning, delete after this list item, when follow-up forwarding unit is received taking this IP address as the message of destination address, because there is no corresponding list item in forwarding flow table, this message can be reported to controller.
Similarly, forwarding unit is searched the forwarding flow table of the machine according to MAC Address in instruction, if the MAC Address in the MAC Address and instruction in list item is identical, delete this list item.In forwarding flow table, there is the list item that in and instruction, MAC Address is identical conventionally to mean that variation has occurred in the IP address of main frame, delete after this list item, when follow-up forwarding unit is received the message taking this MAC Address as destination address, because there is no corresponding list item in forwarding flow table, this message can be reported to controller.
In other words, after step S220, step S320, step S330, receive that at forwarding unit the main frame changing taking address is after the message of destination address, can be by this message repeating to controller.
On controller, step S230, after the E-Packeting taking described main frame as destination address of receiving that forwarding unit uploads, uploads the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to.
As previously mentioned, forwarding unit by the main frame changing taking address as destination address forward message be uploaded to controller.The main frame changing taking address is the MAC Address object IP address message (for example main frame changed the situation of IP address) different from the IP address of this main frame of record of this main frame of record as E-Packeting of destination address may be target MAC (Media Access Control) address; Also be likely that object IP address is the IP address of this main frame of record and the target MAC (Media Access Control) address message (for example server cluster the situation of active and standby switching occur) different from the MAC Address of this main frame of record.
After controller is received and is uploaded and E-Packet, find that the object IP address of this message and the corresponding relation of target MAC (Media Access Control) address are different with the corresponding relation recording, the message of corresponding relation that carries recorded IP address and MAC Address is sent to and uploads the source address E-Packeting.
Controller can adopt self-defining form to encapsulate the corresponding relation of IP address and MAC Address, as long as upload, the main frame of the source address that E-Packets can correctly be understood and the arp cache of upgrading the machine of certificate.Controller also can adopt existing message form to encapsulate the corresponding relation of this IP address and MAC Address, for example, controller can be taking the IP address of record and MAC Address as source address, generate APR response message to upload the source address that E-Packets as destination address, receives that the main frame of arp reply message will upgrade the arp cache of the machine according to ARP agreement.
In one implementation, controller generates gratuitous ARP packet according to the corresponding relation of record, generate gratuitous ARP packet with IP address and the MAC Address of main frame of record, and instruction forwarding unit is to the gratuitous ARP packet of uploading the source address unicast forwarding that E-Packets and generating.In the time sending to forwarding unit the gratuitous ARP packet generating, controller can be specified the outgoing interface of gratuitous ARP packet on forwarding unit, thereby this gratuitous ARP packet is sent to and uploads the source address E-Packeting with clean culture form.Particularly, controller is to sending with uploading the forwarding unit that the source address that E-Packets is connected the gratuitous ARP packet generating, and specifies described equipment to send the outgoing interface of this gratuitous ARP packet.In OpenFlow (open flows) agreement, controller has had this function.
On forwarding unit, step S340, reception carrys out the message of the corresponding relation that carries IP address and MAC Address of self-controller, is transmitted to the main frame that controller is specified.
If controller carries the corresponding relation of IP address and MAC Address with unicast message, can be using uploading the source address that E-Packets as the destination address of this unicast message, thus specify the main frame that receives this unicast message.Forwarding unit is being received after this unicast message, forwards according to destination address, and this unicast message can arrive the main frame that controller is specified.
Controller also can adopt the specified main frame of alternate manner notice forwarding unit.For example, if controller is carried on the corresponding relation of IP address and MAC Address in gratuitous ARP packet, because gratuitous ARP packet is broadcasting packet, controller can be uploaded according to arrival the path of the source address main frame that E-Packets, and specifies the outgoing interface of unicast forwarding gratuitous ARP packet to forwarding unit.The instruction of forwarding unit implementation controller, the outgoing interface unicast forwarding of specifying from controller carrys out the gratuitous ARP packet of self-controller, and the mode that gratuitous ARP packet can clean culture sends to uploads the source node E-Packeting.
The main frame of uploading the source address that E-Packets receives the message of the corresponding relation that carries IP address and MAC Address of self-controller, parse the corresponding relation of IP address and MAC Address, according to the arp cache of renewal the machine, next time when uploading the main frame initiating communication of the destination address that E-Packets, by the IP address and the MAC Address that use after upgrading.
Taking the network shown in Fig. 1 as example, the idiographic flow of a kind of possible execution mode of the application is described below.
1) MAC Address of main frame 41 is MAC-41, and on a certain moment main frame 41, the IP address of configuration changes, and becomes IP-Alt from IP-Org.Main frame 41 using MAC-41 as source MAC, using broadcast address as target MAC (Media Access Control) address, using IP-Alt as source IP address and object IP address generate gratuitous ARP packet and send.
2) gratuitous ARP packet that main frame 41 sends arrives forwarding unit 31, and forwarding unit 31 no longer sends this gratuitous ARP packet with broadcast mode, and this free APR message clean culture is sent to controller 10.
3) controller 10 is received gratuitous ARP packet, records IP address and the corresponding relation of MAC Address, i.e. IP-Alt and MAC-41 after main frame 41 upgrades.
4) controller 10, to forwarding unit 20, forwarding unit 31, forwarding unit 32,33 times forwarding list item delete instructions of forwarding unit, makes its deletion comprise the forwarding-table item and the forwarding-table item that comprises MAC-41 of IP-Alt.
5) the remove entries instruction of forwarding unit 20, forwarding unit 31, forwarding unit 32, forwarding unit 33 implementation controllers 10, deletes the forwarding-table item that comprises IP-Alt and the forwarding-table item that comprises MAC-41.
6) main frame 43 sends message to main frame 41, because the address resolution information of main frame 41 in the arp cache of main frame 43 is still IP-Org and MAC-41, therefore in the message taking main frame 41 as destination address object IP address as IP-Org, target MAC (Media Access Control) address be MAC-41.
7) object IP address is that the message that IP-Org, target MAC (Media Access Control) address are MAC-41 arrives forwarding unit 33, and forwarding unit 33 fails to find the list item of this message destination address of coupling in its forwarding flow table, therefore this message is uploaded to controller 10.
8) controller 10 receive object IP address be IP-Org, target MAC (Media Access Control) address to be MAC-41 upload E-Packets, by searching the IP address of record and the corresponding relation of MAC Address, learn that variation has occurred in this address of uploading the destination host E-Packeting.Controller 10 is taking the IP address ip-Alt of the main frame 41 of record as source IP address and object IP address, taking the MAC Address MAC-41 of the main frame 41 that records as source MAC, generate gratuitous ARP packet using broadcast address as target MAC (Media Access Control) address.
9) controller 10 is found out the forward-path that arrives main frame 43, the gratuitous ARP packet of generation is forwarded by forwarding unit 20 and forwarding unit 33, and the gratuitous ARP packet that generated with the outgoing interface unicast forwarding of specifying of instruction forwarding unit 20 and forwarding unit 33; Meanwhile, controller generates the forwarding-table item of corresponding IP-Alt and MAC-41, moves as being sent to forwarding unit 20.
10) instruction of forwarding unit 20 and forwarding unit 33 implementation controllers 10, the gratuitous ARP packet that controller 10 is generated sends to main frame 43.
11) main frame 43 is received gratuitous ARP packet, is IP-Alt and MAC-41 by the address resolution information updating of main frame 41 in the arp cache of the machine.
12) follow-up, when main frame 43 sends message to main frame 41, adopt upgrade after arp cache, in the message taking main frame 41 as destination address object IP address as IP-Alt, target MAC (Media Access Control) address be MAC-41; This message arrives after forwarding unit 33, the corresponding IP-Alt issuing according to controller 10 and the forwarding-table item of MAC-41, and this message arrives forwarding unit 20.
13) forwarding unit 20, carrying out after list item delete instruction, does not have the forwarding-table item corresponding to IP-Alt and MAC-41, thereby by this message up sending controller 10; Controller 10 finds the main frame with address ip-Alt and MAC-41 and is connected on forwarding unit 31, issues the forwarding-table item corresponding to IP-Alt and MAC-41 to forwarding unit 20, moves as being sent to forwarding unit 31.
14) this message is sent to forwarding unit 31 by forwarding unit 20; Forwarding unit 31 sends it to main frame 41.
Visible, the application's embodiment is after controller knows that host address changes, delete the forwarding-table item relevant to this host address in forwarding unit, like this in the time that other main frame need to be with this main-machine communication, send to the message of this main frame will be uploaded to controller, controller can according to the demand of business, with mode of unicast upgrade need to the arp cache of other main frame of this main-machine communication.The mechanism that host A RP buffer memory is upgraded in this timesharing as required can either make communication service substantially not be subject to the impact of address change, has avoided again the broadcast of gratuitous ARP packet on the impact of network performance, has especially reduced the network storm that the broadcast traffic of burst causes.
Realize corresponding with above-mentioned flow process, the present embodiment also provides the device of two kinds of scheduler resolving informations, operate in respectively on the controller and forwarding unit being connected in network, these two kinds of devices can be realized by software, also can realize by the mode of hardware or software and hardware combining.Being embodied as example with software, as the device on a logical meaning, is by the CPU of controller or forwarding unit, corresponding computer program instructions to be read to operation in internal memory to form.Say from hardware view, except the CPU shown in Fig. 4, internal memory and nonvolatile memory, controller or forwarding unit also comprise other hardware conventionally, as being responsible for forwarding chip of processing message processing etc.; May be also distributed equipment from hardware configuration controller or forwarding unit, may comprise that multiple interface cards are to carry out the expansion of message processing at hardware view.
Figure 5 shows that the device of a kind of scheduler resolving information that the present embodiment provides, be applied on the controller of network central control forwarding unit processed, comprise that address renewal receiving element, list item delete instruction unit and address information issue unit, wherein: receiving element is upgraded for Receiving Host address lastest imformation in address, and record upgrades the IP address of aft engine and the corresponding relation of MAC Address; The forwarding-table item that comprises recorded IP address and the forwarding-table item that comprises recorded MAC Address are deleted for instruction forwarding unit in list item delete instruction unit; Address information issues unit for after the E-Packeting taking described main frame as destination address of receiving that forwarding unit uploads, and uploads the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to.
In one embodiment, described address is upgraded receiving element and is comprised network notice receiver module, for receiving the host address update notification from Network Management Equipment.
In another embodiment, described address is upgraded receiving element and is comprised gratuitous ARP receiver module, for receiving the gratuitous ARP packet of forwarding unit unicast forwarding.
Described address information issues unit and may further include gratuitous ARP generation module and clean culture instruction module, wherein: gratuitous ARP generation module is for generating gratuitous ARP packet according to the IP address of described main frame of record and the corresponding relation of MAC Address; Clean culture instruction module uploads to described the gratuitous ARP packet that the source address unicast forwarding that E-Packets generates for forwarding unit described in instruction.
The described message taking described main frame as destination address, comprising: target MAC (Media Access Control) address is the MAC Address of the described main frame of record, and the object IP address message different from the IP address of the described main frame of record; Or object IP address is the IP address of described main frame of record, and the target MAC (Media Access Control) address message different from the MAC Address of the described main frame of record.
The embodiment of the present application also provides a kind of device of scheduler resolving information, be applied in network, be controlled by the controller and with the direct-connected forwarding unit of main frame on, as shown in Figure 6, this device comprises gratuitous ARP dam unit, delete instruction receiving element, delete instruction performance element and address information retransmission unit, wherein: the gratuitous ARP unit that dams, for damming from the gratuitous ARP packet of main frame; Delete instruction receiving element is deleted the instruction of forwarding-table item for receiving controller, described instruction comprises IP address and MAC Address; Delete instruction performance element is for deleting the IP address that comprises described instruction or the forwarding-table item that comprises the MAC Address in described instruction; Address information retransmission unit is used for the message of the corresponding relation that carries IP address and MAC Address that receives self-controller, is transmitted to the main frame that controller is specified.
In one embodiment, described device can also comprise gratuitous ARP uploading unit, for by the gratuitous ARP packet unicast forwarding from main frame to controller.
The message of the corresponding relation of the described IP of carrying address and MAC Address is gratuitous ARP packet; Now, described address information retransmission unit specifically for: described in the outgoing interface unicast forwarding of specifying from controller, carry out the gratuitous ARP packet of self-controller.
From the execution mode of above the whole bag of tricks and device, can find out, with respect to broadcast transmission gratuitous ARP packet in prior art, the application's embodiment middle controller is obtaining after host address lastest imformation, delete the forwarding-table item relevant to this host address in forwarding unit, thereby can learn which main frame need to change the main-machine communication of address, and upgrade the arp cache of this or these main frame with mode of unicast, in substantially not affecting network service, reduce broadcast traffic, avoided the broadcast storm causing because of gratuitous ARP packet.
The foregoing is only the application's preferred embodiment, not in order to limit the application, all within the application's spirit and principle, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of the application's protection.

Claims (16)

1. a method for scheduler resolving information, is applied on the controller of network central control forwarding unit processed, it is characterized in that, described method comprises:
Receiving Host address lastest imformation, record upgrades the IP address of aft engine and the corresponding relation of media access control MAC address;
Instruction forwarding unit is deleted the forwarding-table item that comprises recorded IP address and the forwarding-table item that comprises recorded MAC Address;
After the E-Packeting taking described main frame as destination address of receiving that forwarding unit uploads, upload the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to.
2. method according to claim 1, is characterized in that, described Receiving Host address lastest imformation, comprising: receive the host address update notification from Network Management Equipment.
3. method according to claim 1, is characterized in that, described Receiving Host address lastest imformation, comprising: the free ARP message that receives forwarding unit unicast forwarding.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, describedly upload the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to, comprising:
Generate gratuitous ARP packet according to the IP address of described main frame of record and the corresponding relation of MAC Address;
Described in instruction, forwarding unit uploads to described the gratuitous ARP packet that the source address unicast forwarding that E-Packets generates.
5. method according to claim 1, is characterized in that, the described message taking described main frame as destination address, comprising:
Target MAC (Media Access Control) address is the MAC Address of the described main frame of record, and the object IP address message different from the IP address of the described main frame of record; Or
Object IP address is the IP address of the described main frame of record, and the target MAC (Media Access Control) address message different from the MAC Address of the described main frame of record.
6. a method for scheduler resolving information, be applied in network be controlled by the controller and with the direct-connected forwarding unit of main frame on, it is characterized in that, described method comprises:
Dam from the free ARP message of main frame;
Receive controller and delete the instruction of forwarding-table item, described instruction comprises IP address and media access control MAC address;
Deletion comprises the IP address in described instruction or comprises the forwarding-table item of the MAC Address in described instruction;
Receive the message of the corresponding relation that carries IP address and MAC Address of self-controller, be transmitted to the main frame that controller is specified.
7. method according to claim 6, is characterized in that, described method also comprises: by the gratuitous ARP packet unicast forwarding from main frame to controller.
8. according to the method described in claim 6 or 7 any one, it is characterized in that, described in carry the corresponding relation of IP address and MAC Address message be gratuitous ARP packet;
Described future self-controller the message repeating of the corresponding relation that carries IP address and the MAC Address main frame of specifying to controller, comprising: the gratuitous ARP packet that carrys out self-controller described in the outgoing interface unicast forwarding of specifying from controller.
9. a device for scheduler resolving information, is applied on the controller of network central control forwarding unit processed, it is characterized in that, described device comprises:
Receiving element is upgraded in address, and for Receiving Host address lastest imformation, record upgrades the IP address of aft engine and the corresponding relation of media access control MAC address;
List item delete instruction unit, deletes the forwarding-table item that comprises recorded IP address and the forwarding-table item that comprises recorded MAC Address for instruction forwarding unit;
Address information issues unit, for after the E-Packeting taking described main frame as destination address of receiving that forwarding unit uploads, uploads the source address E-Packeting by carrying the IP address of described main frame of record and the message of the corresponding relation of MAC Address described in sending to.
10. device according to claim 9, is characterized in that, described address is upgraded receiving element and comprised: network notice receiver module, and for receiving the host address update notification from Network Management Equipment.
11. devices according to claim 9, is characterized in that, described address is upgraded receiving element and comprised: free ARP receiver module, and for receiving the gratuitous ARP packet of forwarding unit unicast forwarding.
12. according to the device described in claim 9 to 11 any one, it is characterized in that, described address information issues unit and comprises:
Gratuitous ARP generation module, for generating gratuitous ARP packet according to the IP address of described main frame of record and the corresponding relation of MAC Address;
Clean culture instruction module, uploads to described the gratuitous ARP packet that the source address unicast forwarding that E-Packets generates for forwarding unit described in instruction.
13. devices according to claim 9, is characterized in that, the described message taking described main frame as destination address, comprising:
Target MAC (Media Access Control) address is the MAC Address of the described main frame of record, and the object IP address message different from the IP address of the described main frame of record; Or
Object IP address is the IP address of the described main frame of record, and the target MAC (Media Access Control) address message different from the MAC Address of the described main frame of record.
The device of 14. 1 kinds of scheduler resolving informations, be applied in network, be controlled by the controller and with the direct-connected forwarding unit of main frame on, it is characterized in that, described device comprises:
The free ARP unit that dams, for damming from the gratuitous ARP packet of main frame;
Delete instruction receiving element, the instruction of deleting forwarding-table item for receiving controller, described instruction comprises IP address and media access control MAC address;
Delete instruction performance element, for deleting the IP address that comprises described instruction or the forwarding-table item that comprises the MAC Address in described instruction;
Address information retransmission unit, for receiving the message of the corresponding relation that carries IP address and MAC Address of self-controller, is transmitted to the main frame that controller is specified.
15. devices according to claim 14, is characterized in that, described device also comprises: gratuitous ARP uploading unit, for by the gratuitous ARP packet unicast forwarding from main frame to controller.
16. according to the device described in claims 14 or 15 any one, it is characterized in that, described in carry the corresponding relation of IP address and MAC Address message be gratuitous ARP packet;
Described address information retransmission unit specifically for: described in the outgoing interface unicast forwarding of specifying from controller, carry out the gratuitous ARP packet of self-controller.
CN201410370550.2A 2014-07-30 2014-07-30 The method and apparatus for updating address resolution information Active CN104092614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410370550.2A CN104092614B (en) 2014-07-30 2014-07-30 The method and apparatus for updating address resolution information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410370550.2A CN104092614B (en) 2014-07-30 2014-07-30 The method and apparatus for updating address resolution information

Publications (2)

Publication Number Publication Date
CN104092614A true CN104092614A (en) 2014-10-08
CN104092614B CN104092614B (en) 2017-07-04

Family

ID=51640296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410370550.2A Active CN104092614B (en) 2014-07-30 2014-07-30 The method and apparatus for updating address resolution information

Country Status (1)

Country Link
CN (1) CN104092614B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767841A (en) * 2015-04-30 2015-07-08 杭州华三通信技术有限公司 Method for updating address resolution protocol table item in software-defined network and gateway equipment
CN104869553A (en) * 2015-05-22 2015-08-26 上海斐讯数据通信技术有限公司 Electronic equipment discovery method and apparatus, and router
CN105634955A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Method and apparatus for updating flow table
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
CN108833604A (en) * 2018-05-28 2018-11-16 新华三技术有限公司 A kind of list item update method and device
CN111404843A (en) * 2020-03-05 2020-07-10 广东睿江云计算股份有限公司 Optimization method and system for processing ARP data packet under IASS network platform
CN111683068A (en) * 2020-05-27 2020-09-18 深信服科技股份有限公司 Method for positioning lost host, protection device, network security equipment and medium
CN112929241A (en) * 2021-03-26 2021-06-08 新华三信息安全技术有限公司 Network testing method and device
CN112994948A (en) * 2021-03-31 2021-06-18 杭州迪普科技股份有限公司 Silent dual-computer switching method, silent dual-computer switching device, silent dual-computer switching equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050198242A1 (en) * 2004-01-05 2005-09-08 Viascope Int. System and method for detection/interception of IP collision
US20100271980A1 (en) * 2009-04-24 2010-10-28 Sriganesh Kini Pay-As-You-Grow Gradual Cutover Method To Scale A Provider Bridge Network To A VPLS Or Provider Backbone Bridging Network
CN102075591A (en) * 2010-12-21 2011-05-25 华为技术有限公司 Method, device and system for acquiring media access control address
CN102291320A (en) * 2011-09-29 2011-12-21 杭州华三通信技术有限公司 MAC (media access control) address learning method and edge device
CN103259732A (en) * 2013-04-03 2013-08-21 北京邮电大学 SDN broadcast processing method triggering agent based on ARP event
CN103516821A (en) * 2012-06-25 2014-01-15 中国移动通信集团公司 Address resolution method, corresponding system, switch, and server
CN103560962A (en) * 2013-11-04 2014-02-05 神州数码网络(北京)有限公司 Method for automatically updating host routing table entries of Ethernet switch and switch
CN103560961A (en) * 2013-11-04 2014-02-05 神州数码网络(北京)有限公司 Method for dynamically updating host routing table entries of Ethernet switch and switch
WO2014032620A1 (en) * 2012-08-31 2014-03-06 Hangzhou H3C Technologies Co., Ltd. Virtual mac address, mask-based, packet forwarding

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050198242A1 (en) * 2004-01-05 2005-09-08 Viascope Int. System and method for detection/interception of IP collision
US20100271980A1 (en) * 2009-04-24 2010-10-28 Sriganesh Kini Pay-As-You-Grow Gradual Cutover Method To Scale A Provider Bridge Network To A VPLS Or Provider Backbone Bridging Network
CN102075591A (en) * 2010-12-21 2011-05-25 华为技术有限公司 Method, device and system for acquiring media access control address
US20130044754A1 (en) * 2010-12-21 2013-02-21 Huawei Technologies Co., Ltd. Method, apparatus and system for acquiring media access control address
CN102291320A (en) * 2011-09-29 2011-12-21 杭州华三通信技术有限公司 MAC (media access control) address learning method and edge device
CN103516821A (en) * 2012-06-25 2014-01-15 中国移动通信集团公司 Address resolution method, corresponding system, switch, and server
WO2014032620A1 (en) * 2012-08-31 2014-03-06 Hangzhou H3C Technologies Co., Ltd. Virtual mac address, mask-based, packet forwarding
CN103259732A (en) * 2013-04-03 2013-08-21 北京邮电大学 SDN broadcast processing method triggering agent based on ARP event
CN103560962A (en) * 2013-11-04 2014-02-05 神州数码网络(北京)有限公司 Method for automatically updating host routing table entries of Ethernet switch and switch
CN103560961A (en) * 2013-11-04 2014-02-05 神州数码网络(北京)有限公司 Method for dynamically updating host routing table entries of Ethernet switch and switch

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634955A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Method and apparatus for updating flow table
CN105634955B (en) * 2014-11-05 2020-01-14 中兴通讯股份有限公司 Flow table updating method and device
CN104767841A (en) * 2015-04-30 2015-07-08 杭州华三通信技术有限公司 Method for updating address resolution protocol table item in software-defined network and gateway equipment
CN104767841B (en) * 2015-04-30 2018-03-23 新华三技术有限公司 The method and gateway device of items of address analyzing protocol table are updated in software defined network
CN104869553A (en) * 2015-05-22 2015-08-26 上海斐讯数据通信技术有限公司 Electronic equipment discovery method and apparatus, and router
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
CN106302860B (en) * 2016-09-14 2020-04-10 上海斐讯数据通信技术有限公司 SDN-based free address resolution protocol sending method, device and system
CN108833604A (en) * 2018-05-28 2018-11-16 新华三技术有限公司 A kind of list item update method and device
CN111404843A (en) * 2020-03-05 2020-07-10 广东睿江云计算股份有限公司 Optimization method and system for processing ARP data packet under IASS network platform
CN111683068A (en) * 2020-05-27 2020-09-18 深信服科技股份有限公司 Method for positioning lost host, protection device, network security equipment and medium
CN112929241A (en) * 2021-03-26 2021-06-08 新华三信息安全技术有限公司 Network testing method and device
CN112994948A (en) * 2021-03-31 2021-06-18 杭州迪普科技股份有限公司 Silent dual-computer switching method, silent dual-computer switching device, silent dual-computer switching equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN104092614B (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN104092614A (en) Method and device for updating address resolution information
US10798760B2 (en) Method for controlling network slice, forwarding device, control device, and communications system
US10587494B2 (en) Network control method and apparatus
JP2016540448A (en) Virtual extended LAN communication method, apparatus, and system
CN113170005B (en) Method and device for supporting selective forwarding of messages in a network of communicatively coupled communication devices
US10819659B2 (en) Direct replying actions in SDN switches
CN104618194A (en) Software definition network message monitoring method, SDN controller and switching devices
US10686701B2 (en) Packet transmission method and device, and communications system
US10855648B2 (en) Methods and apparatus for operating and managing a constrained device within
CN105162704A (en) Multicast replication method and device in Overlay network
CN104320345A (en) Method and device for collecting topological information in SDN network
WO2018068588A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
CN103916277A (en) Method and device for not interrupting forwarding service in rebooting process
CN109309617A (en) Disaster tolerance switching method, relevant device and computer storage medium
WO2016149880A1 (en) Data reading method, equipment and system
US10270607B2 (en) Method and system for roamed client device handling
US11533604B2 (en) Method and system for controlling ID identifier network mobility based on programmable switch
KR20140125224A (en) Method and node apparatus for collecting information in contents network based on information centric networking
CN114640973A (en) Communication method and device
WO2015070763A1 (en) Self-establishing method and apparatus for x2 interface
KR101588530B1 (en) Method and apparatus of network monitoring in software defined network(sdn) environment
CN102938704A (en) Access management method, device and system
CN115865844A (en) Virtual-real combined dynamic flow scheduling method and device based on SDN and NDN
CN103167051A (en) Method and system for identity position mapping relationship maintenance
JP2024524833A (en) Message processing method, apparatus, network device and medium

Legal Events

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

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant