CN1870660A - Method and node equipment for updating address analytic protocol table entry - Google Patents

Method and node equipment for updating address analytic protocol table entry Download PDF

Info

Publication number
CN1870660A
CN1870660A CN 200610090036 CN200610090036A CN1870660A CN 1870660 A CN1870660 A CN 1870660A CN 200610090036 CN200610090036 CN 200610090036 CN 200610090036 A CN200610090036 A CN 200610090036A CN 1870660 A CN1870660 A CN 1870660A
Authority
CN
China
Prior art keywords
arp
unit
list item
realizes
information
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
CN 200610090036
Other languages
Chinese (zh)
Other versions
CN100496056C (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
Hangzhou Huawei 3Com Technology 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 Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CNB2006100900369A priority Critical patent/CN100496056C/en
Publication of CN1870660A publication Critical patent/CN1870660A/en
Application granted granted Critical
Publication of CN100496056C publication Critical patent/CN100496056C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a method for updating ARP items and a node device including: the node device receives a message for TC carrying with TC information and sends an ARP request against the items stored in itself to judge if it can receive the ARP response, if so, it stores said ARP items, otherwise, it deletes them.

Description

A kind of method of scheduler analytic protocol table entry and node device
Technical field
The present invention relates to the network communications technology, particularly relate to the method and the node device of a kind of scheduler analysis protocol (ARP) list item.
Background technology
In Ethernet, node device is all supported the ARP agreement usually, and preserves the ARP list item.At present, not only comprise the mapping relations information between IP address and hardware medium access control (MAC) address in the ARP list item in the node device, but also can comprise port information of Virtual Local Area Network and Ethernet etc.
When network just often, the port information in the ARP list item that each node device all can be preserved according to self be finished the IP forwarding of data.When topology of networks changes, such as, a node device fault makes when the network annexation changes that each node device then must upgrade the ARP list item of self preserving, so that guarantee follow-up IP forwarding of data.
Fig. 1 is the flow chart that upgrades the ARP list item in the prior art.Referring to Fig. 1, in the prior art, when topology of networks changes, realize that the process of upgrading the ARP list item may further comprise the steps:
Step 101: the equipment that perceives network topology change generates and to carry topology change (TC) message of change in topology information, and this TC message is sent in the network other node device.
Step 102: the node device that receives the TC message is directly deleted the relevant ARP list item in self according to the change in topology information of carrying in the TC message.
Step 103: when the node device that receives the TC message received the IP data, this node device sent the ARP request by broadcasting purpose MAC broadcast transmission mode, thereby triggers ARP study, sets up new ARP list item.
Here, described node device sends the ARP request by broadcasting purpose MAC broadcast transmission mode and is meant: node device does not write the target MAC (Media Access Control) address of particular sections point device in the packaged Ethernet head target MAC (Media Access Control) address of ARP request, but write full F, and ARP is asked to send to all adjacent node devices by all of the port of self.Accordingly, after each adjacent node device receives the ARP request, because that write in the packaged Ethernet head target MAC (Media Access Control) address of this ARP request is full F,, the ARP request is sent to all adjacent node devices by self all port then still with broadcast mode.
In addition, because node device is when receiving the TC message, deleted the ARP list item in self, so in this step, when node device receives the IP data, then can't finish forwarding according to the related port information in the ARP list item again, can only set up new ARP list item, thereby also finish the renewal of ARP list item accordingly by study.
After this, node device then can be transmitted the IP data according to the port information in the ARP list item that upgrades.
By above description as can be seen, in the prior art, when node device receives a TC message, all can carry out the processing of direct deletion ARP list item.Like this, if the disabled user attacks system by sending a large amount of TC messages, when causing node device to receive a large amount of TC messages at short notice, this node device is under the situation whether content of not considering the ARP list item changes, just directly with its deletion, therefore make that a large amount of correct ARP list items are deleted continually in the node device, and then caused following consequence:
1, owing to a large amount of correct ARP list items in the node device are deleted continually, when node device need send the ARP request, then can't find the target MAC (Media Access Control) address information in the corresponding A RP list item, therefore, can only send by broadcasting purpose MAC broadcast transmission mode, and other all node devices in the network also must send the ARP request message in the broadcast transmission mode, therefore, cause spreading unchecked of the interior broadcasting packet of network, consumed the resource of network greatly.
2, the ARP list item in node device deleted after, node device must relearn sets up new ARP, and before setting up new ARP, node device then can't be transmitted the IP data that receive, like this, if the ARP list item in the node device is deleted continually, and after each deletion, this node device all can't be carried out the IP forwarding of data, thereby causes network frequently to interrupt, and finally causes network unavailable.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of scheduler analytic protocol table entry, another object of the present invention is to provide a kind of node device, thereby avoids the ARP list item deleted continually.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method of scheduler analytic protocol table entry comprises:
A, node device receive the topology change TC message that carries change in topology information;
B, node device send the ARP request at the relative address analysis protocol ARP list item of preserving in self;
C, node device judge whether to receive arp reply, if, then keep described ARP list item, otherwise, described ARP list item deleted.
In step B, described transmission ARP request comprises: described node device sends the ARP request in broadcasting purpose medium access control MAC broadcast transmission mode.
In step B, described transmission ARP request comprises:
Described node device sends the ARP request in clean culture purpose MAC broadcast transmission mode, comprise: described node device is carried at the MAC Address in the described ARP list item in the target MAC (Media Access Control) address territory into the Ethernet head of described ARP request encapsulation, and by self all port this ARP request is sent to other node devices in the network.
In step B, after sending the ARP request, further comprise: other node devices in the described network are according to the target MAC (Media Access Control) address territory of the packaged Ethernet head of ARP request, and this ARP request is transmitted in clean culture.
In step C, described node device judges whether that the step that can receive arp reply comprises: whether node device is judged can receive arp reply in the time span of a setting.
In step C, node device judge can not receive arp reply after, and before the described ARP list item of deletion, further comprise: described node device is judged the number of times of the ARP request that has sent at described ARP list item, whether greater than predefined frequency threshold value, if, then carry out the step of the described ARP list item of deletion, otherwise, send ARP request at described ARP list item, return step C.
Relevant ARP list item is described in the step B: in the ARP list item that comprises the related port information of change in topology information, any one is the ARP list item of selected mistake not;
After step C executes described judgement, further comprise: return step B, in the ARP list item that is comprising the related port information of change in topology information, selected to finish behind the ARP list item.
In steps A, node device after waiting for the time span of setting, is carried out described step B after receiving the TC message.
Further comprise between steps A and step B: whether B0, node device monitoring receive the IP data, if, then carry out described step B, otherwise, step B0 returned.
Described relevant ARP list item is to comprise that change in topology information and IP data all relate to the ARP list item of port information.
A kind of node device comprises master control borad and interface board, comprises in the master control borad that Spanning-Tree Protocol STP realizes that unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
ARP in the master control borad realizes the unit, the ARP information that the need that are used for carrying according to TC message upgrade, at the relevant ARP list item of being preserved, send the ARP request, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the interface board realizes the unit;
ARP in the interface board realizes the unit, is used for keeping or delete the ARP list item of correspondence in self according to the reservation that receives or the ARP list item information of deletion.
A kind of node device comprises master control borad and interface board, comprises in the master control borad that STP realizes that unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
ARP in the master control borad realizes the unit, is used for after receiving TC message, and the ARP that this TC message is sent in the interface board realizes the unit, and according to the ARP list item information of reservation that receives or deletion, keeps or deletes ARP list item corresponding in self;
ARP in the interface board realizes the unit, the ARP information that the need that are used for carrying according to TC message upgrade, the relevant ARP list item of preserving at self, send the ARP request, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the master control borad realizes the unit.
A kind of node device, this node device comprise that the STP that is arranged in same veneer realizes that unit and ARP realize the unit,
STP realizes the unit, is used for being sent to ARP realization unit with carrying the TC message that needs to upgrade ARP information;
ARP realizes the unit, the ARP information that the need that are used for carrying according to TC message upgrade, the relevant ARP list item of preserving at self, send the ARP request, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item.
A kind of node device, this node device comprises master control borad and interface board, comprises in the master control borad that STP realizes that unit, IP data forwarding unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit, wherein,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
IP data forwarding unit in the master control borad, the ARP that the information that is used for the IP data that will receive is sent to master control borad realizes the unit;
ARP in the master control borad realizes the unit, the ARP information that relates to the IP data message that is used for ARP information that need to upgrade according to TC message, in self, find relevant ARP list item, send the ARP request at this relevant ARP list item, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the interface board realizes the unit;
ARP in the interface board realizes the unit, is used for keeping or delete the ARP list item of correspondence in self according to the reservation that receives or the ARP list item information of deletion.
A kind of node device, this node device comprises master control borad and interface board, comprises in the master control borad that STP realizes that unit and ARP realize the unit, comprises in the interface board that IP data forwarding unit and ARP realize the unit, wherein,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
ARP in the master control borad realizes the unit, is used for carrying the ARP that the TC message that needs to upgrade ARP information is sent to interface board and realizes the unit, and according to the ARP list item information of reservation that receives or deletion, keeps or deletes ARP list item corresponding in self;
IP data forwarding unit in the interface board is used for when receiving the IP data, and the ARP that the IP data message is sent in the interface board realizes the unit;
ARP in the interface board realizes the unit, the ARP information that relates to the IP data message that is used for ARP information that need to upgrade according to TC message, in self, find relevant ARP list item, send the ARP request at this relevant ARP list item, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the master control borad realizes the unit.
A kind of node device, this node device comprise that the STP that is arranged in same veneer realizes that unit, IP data forwarding unit and ARP realize the unit, wherein,
STP realizes the unit, is used for being sent to ARP realization unit with carrying the TC message that needs to upgrade ARP information;
IP data forwarding unit, the IP data message that is used for receiving are sent to ARP and realize the unit;
ARP realizes the unit, the ARP information that relates to the IP data message that is used for ARP information that need to upgrade according to TC message, in self, find relevant ARP list item, send the ARP request at this relevant ARP list item, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item.
This shows, in the present invention, node device is after receiving the TC message, it is not the ARP list item that directly deletion is correlated with, but after definite opposite equip. or link failure can't be beamed back arp reply, the corresponding ARP list item of deletion just is and if after determining that opposite equip. or link are normal and beaming back arp reply, then need not to carry out the process of deleting correct ARP list item meaninglessly.Therefore, even the disabled user attacks system by sending a large amount of TC messages, cause node device to receive a large amount of TC messages at short notice, this node device can not deleted correct ARP list item continually yet, and then has brought following beneficial effect:
1, because correct ARP list item can be not deleted continually in the node device, when node device need send the ARP request, then can find the target MAC (Media Access Control) address information in the corresponding A RP list item, therefore, can send by clean culture purpose MAC broadcast transmission mode, like this, all node devices of in the network other can show to transmit the ARP request according to MAC, and need not to send the ARP request in the broadcast transmission mode again, therefore, reduced the quantity of broadcasting packet in the network, the resource of having saved network.
2, because correct ARP list item can be not deleted continually in the node device, node device then need not to relearn sets up new ARP, and therefore, node device then can be transmitted the IP data that receive, avoid network frequently to interrupt, guaranteed the regular traffic flow process of network.
Description of drawings
Fig. 1 is the flow chart that upgrades the ARP list item in the prior art.
Fig. 2 is first kind of structural representation of node device in the present invention.
Fig. 3 is second kind of structural representation of node device in the present invention.
Fig. 4 is the third structural representation of node device in the present invention.
Fig. 5 is the 4th a kind of structural representation of node device in the present invention.
Fig. 6 is the 5th a kind of structural representation of node device in the present invention.
Fig. 7 is a flow chart of realizing upgrading the ARP list item in the embodiment of the invention 1 when being realized that by the ARP in the interface board reservation or deletion ARP list item are initiatively carried out in the unit.
Fig. 8 is a flow chart of realizing upgrading the ARP list item in the embodiment of the invention 2 at the 4th kind of structure of node device.
Embodiment
Existing techniques in realizing is upgraded the process of ARP list item, can make node device delete the ARP list item continually, frequently interrupts thereby cause in the network broadcasting packet to spread unchecked with network.Delete the ARP list item continually for fear of node device, the present invention proposes a kind of method of the ARP of renewal list item, its core concept is: after node device receives the TC message, at the relevant ARP list item of preserving in self, send the ARP request; Node device judges whether to receive arp reply, if, then keep described ARP list item, otherwise, described ARP list item deleted.
Wherein, sending the ARP request can be triggered by the TC message, that is to say, node device is initiatively carried out the step that sends described ARP request after receiving the TC message; Perhaps, send the ARP request and can that is to say that also node device is receiving the TC message, and after further receiving the IP data, carry out the step that sends described ARP request by the IP data-triggered.
Accordingly, the invention allows for node device.Fig. 2 is first kind of structural representation of node device in the present invention.Referring to Fig. 2, in the present invention, sending the ARP request can be triggered by the TC message, promptly promptly initiatively sends the ARP request after receiving the TC message.At this moment, node device inside can be realized with distributed frame, that is to say, node device inside comprises master control borad and interface board, comprise in the master control borad that STP realizes that unit and ARP realize the unit, comprise also in the interface board that ARP realizes the unit, the ARP in master control borad and the interface board realizes all preserving the ARP list item in the unit, includes in the ARP list item and transmits the required port information of IP data.
Fig. 3 is second kind of structural representation of node device in the present invention.Referring to Fig. 3, in the present invention, when transmission ARP request is triggered by the TC message, node device inside can be realized with centralized configuration, that is to say, STP realizes that unit and ARP realize that the unit is arranged in same veneer, and preserves the ARP list item in the ARP realization unit, includes in the ARP list item and transmits the required port information of IP data.
In the present invention, send the ARP request and can promptly after receiving the IP data, send the ARP request by the IP data-triggered.At this moment, node device inside can be realized with distributed frame, that is to say, node device inside comprises master control borad and interface board.At this moment, referring to Fig. 4, the structure of node device inside can for: comprise in the master control borad that STP realizes that unit, IP data forwarding unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit.Perhaps, referring to Fig. 5, the structure of node device inside also can for: comprise in the master control borad that STP realizes that unit and ARP realize the unit, comprises in the interface board that IP data forwarding unit and ARP realize the unit.
Fig. 6 is the 5th a kind of structural representation of node device in the present invention.Referring to Fig. 6, in the present invention, when sending the ARP request by the IP data-triggered, node device inside can be realized with centralized configuration, that is to say, STP realizes that unit, IP data forwarding unit and ARP realize that the unit all is arranged in same veneer, and preserves the ARP list item in the ARP realization unit, includes in the ARP list item and transmits the required port information of IP data.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Embodiment 1:
In the present embodiment, be example to send the ARP request by the triggering of TC message, implementation procedure of the present invention is described.
In the present invention, when the structure of node device inside as shown in Figure 2 the time, can realize that the unit initiatively realizes the processing that keeps or delete at the ARP list item by the ARP in the master control borad, the ARP in the sync cap plate realizes the unit then, thereby realizes renewal ARP list item; Perhaps, also can realize that the unit initiatively realizes the processing that keeps or delete at the ARP list item by the ARP in the interface board, the ARP in the synchronous master control board realizes the unit then, thereby realizes renewal ARP list item.When the structure of node device inside as shown in Figure 3 the time, then directly realize that by the ARP in the node device unit realizes the processing that keeps or delete at the ARP list item, need not synchronizing process.
Fig. 7 is a flow chart of realizing upgrading the ARP list item in the embodiment of the invention 1 when being realized that by the ARP in the interface board reservation or deletion ARP list item are initiatively carried out in the unit.Referring to Fig. 2 and Fig. 7, when the structure of node device inside as shown in Figure 2 the time, after topology of networks changed, to be realized that by the ARP in the interface board reservation is initiatively carried out in the unit or deletion ARP list item is an example, the present invention realized that the process of upgrading the ARP list item may further comprise the steps:
Step 701: in advance in each ARP list item that each ARP realizes preserving the unit, increase attribute updateflag, and the value of the updateflag that sets a property comprises FALSE and TRUE, and the initial value of the attribute updateflag of each ARP list item is set to FALSE.
In the present invention, when the value of attribute updateflag is FALSE, can identify the information that does not comprise the related port of network topology change in the ARP list item; When the value of attribute updateflag is TRUE, can identify the information that comprises the related port of network topology change in the ARP list item.
Here, referring to Fig. 2, all carry out the process of this step for the realization of the ARP in master control borad and interface board unit.
Step 702: when network topology structure changed, in node device, the STP in the master control borad realized that the unit receives the TC message that carries change in topology information.
Step 703: the ARP that the TC message that the STP realization unit in the master control borad will carry needs renewal ARP information is sent in the master control borad realizes the unit.
Here, the ARP information upgraded of the STP need realizing carrying in TC message the unit is to determine according to the change in topology information in its TC message that receives.
Step 704: the ARP that the TC message that the ARP realization unit in the master control borad will carry needs renewal ARP information is sent in the interface board realizes the unit.
Step 705: the ARP in the interface board realizes the ARP information that the unit upgrades according to need entrained in the TC message, and the value of the attribute updateflag of each relevant ARP list item is set to TRUE in self.
Step 706: ARP in the interface board realizes the unit after waiting for the time span of setting, and the value of attribute updateflag is to select an ARP list item in each ARP list item of TRUE from self.
Here, the time span of described wait setting can realize by timer.Such as, in step 707, the ARP in the interface board starts a timer after realizing that the unit receives the TC message, behind this timer expiry, carries out the step of the selection described in this step.
Step 707: the ARP in the interface board realizes the unit at current selected ARP list item, sends an ARP request.
Step 708: the ARP in the interface board realizes whether unit judges can receive the arp reply at current ARP request in the time span of a setting, if then execution in step 711, otherwise, execution in step 709.
Step 709: the ARP in the interface board realizes that unit judges is at current selected ARP list item, whether the number of times of the ARP request that has sent is greater than predefined frequency threshold value, if, then execution in step 710, otherwise, send an ARP request at current selected ARP list item, return step 708.
Step 710: the ARP in the interface board realizes the current selected ARP list item of element deletion, execution in step 712.
In above-mentioned steps 707 and step 710, described transmission ARP request mode can be a broadcasting purpose MAC broadcast transmission mode, promptly, identical with the processing mode of prior art, described ARP realizes that the unit does not write the target MAC (Media Access Control) address of the particular sections point device that comprises in the selected ARP list item in the packaged Ethernet head target MAC (Media Access Control) address of ARP request, but write full F, and ARP is asked to send to all adjacent node devices by all of the port of self.Accordingly, after each adjacent node device receives the ARP request, because that write in the packaged Ethernet head target MAC (Media Access Control) address of this ARP request is full F, then still in the broadcast transmission mode ARP request is sent to all adjacent node devices by self all of the port.
Described transmission ARP request mode can also be a clean culture purpose MAC broadcast transmission mode, promptly, different with the processing mode of prior art, described ARP realizes that the unit writes the target MAC (Media Access Control) address of the particular sections point device that comprises in the selected ARP list item in the packaged Ethernet head target MAC (Media Access Control) address of ARP request, and by all of the port of self ARP is asked to send to all adjacent node devices.Accordingly, after each adjacent node device receives the ARP request, because what write in the packaged Ethernet head target MAC (Media Access Control) address of this ARP request is the specific purpose MAC Address, therefore, no longer send, but adopt the clean culture pass-through mode to send, promptly according to this specific purpose MAC Address with broadcast mode, determine the route of ARP request, and send the ARP request according to determined route.As seen, this kind clean culture purpose MAC broadcast transmission mode can significantly reduce the quantity of broadcasting packet in the network, saves the resource of network.
Step 711: the ARP in the interface board realizes that the unit keeps current selected ARP list item, and the value of the attribute updateflag of current selected ARP list item is set to FALSE.
Here, ARP in the interface board realizes that the unit when keeping current selected ARP list item, can also further upgrade the inside of ARP list item according to the arp reply that receives, such as, upgrade port information or mac address information etc.
Step 712: ARP in the interface board realizes that the information of reservation that the unit will current selected ARP list item or deletion is sent to the ARP realization unit in the master control borad.
Step 713: the ARP in the master control borad realizes that the unit carries out synchronizing process, promptly according to the reservation or the deletion information that receive, keeps or delete the ARP list item of correspondence in self.
Step 714: ARP in the interface board realizes the value of attribute updateflag in the unit judges self is whether to have the not ARP list item of selected mistake in each ARP list item of TRUE, if then execution in step 715, otherwise, finish current flow process.
Step 715: ARP in the interface board realizes that the value of unit attribute updateflag from self is to select a not ARP list item of selected mistake in each ARP list item of TRUE, sends an ARP request at current selected ARP list item, returns step 708.
So far, then finished the process that the ARP list item is upgraded.
In above-mentioned process shown in Figure 7, be to realize that by the ARP in the interface board unit initiatively realizes the processing that keeps or delete at the ARP list item, the realization of the ARP in synchronous master control board unit then.Referring to Fig. 2, in the present invention, also can realize that the unit initiatively realizes the processing that keeps or delete at the ARP list item by the ARP in the master control borad, ARP in the sync cap plate realizes the unit then, its specific implementation process is identical with above-mentioned process shown in Figure 7, only need the interface board described in above-mentioned Fig. 7 is revised as master control borad, and master control borad is revised as interface board, and deletion step 707 gets final product.
Referring to Fig. 3, when the internal structure of node device as shown in Figure 3, be that master control borad and interface board are not distinguished in node device inside, when STP realizes that unit and ARP realize that the unit is arranged in a veneer, it is identical that the present invention realizes upgrading the principle of the process of ARP list item and above-mentioned process shown in Figure 7, after promptly realizing that by STP the unit receives the TC message that carries change in topology information, this TC message that carries change in topology information directly is sent to ARP realizes the unit, realize the processing that the unit is carried out above-mentioned reservation or deleted the ARP list item by ARP, and no longer include the reciprocal process that ARP in master control borad and the interface board realizes the unit, no longer include synchronizing process.
Embodiment 2:
In the present embodiment, be example to send the ARP request by the IP data-triggered, implementation procedure of the present invention is described.
Fig. 8 is a flow chart of realizing upgrading the ARP list item in the embodiment of the invention 2 at the 4th kind of structure of node device.Referring to Fig. 5 and Fig. 8, when the structure of node device inside as shown in Figure 5 the time, after topology of networks changes, being arranged in interface board and initiatively being carried out reservation or deleted the ARP list item by the ARP realization unit of interface board with IP data forwarding unit is example, and the present invention realizes that the process of upgrading the ARP list item may further comprise the steps:
Step 801~step 805 is all identical with all descriptions of step 701~step 705.
Step 806: after the IP data forwarding unit in the interface board received the IP data, the ARP that the IP data message is sent in the interface board realized the unit.
Here, same as the prior art, after the IP data forwarding unit in the interface board receives the IP message, also can the IP datagram literary composition be transmitted further according to the relevant ARP list item in the ARP realization unit.
Step 807: the ARP in the interface board realizes the unit after waiting for the time span of setting, and the value of dependency updateflag is set in the ARP list item of TRUE, selects to comprise the ARP list item of the related ARP information of IP data message.
Step 808~814 are all identical with all descriptions of step 707~step 713.
So far, then finished the process that the ARP list item is upgraded.
In above-mentioned process shown in Figure 8, IP data forwarding unit is arranged in interface board and initiatively carries out reservation or deletion ARP list item by the ARP realization unit of interface board, and the ARP in the synchronous master control board realizes the unit then.Referring to Fig. 4, in the present invention, IP data forwarding unit also can be arranged in master control borad and initiatively carry out reservation or deletion ARP list item by the ARP realization unit of master control borad, and the ARP in the sync cap plate realizes the unit then.Its specific implementation process is identical with above-mentioned process shown in Figure 8, only need the interface board described in above-mentioned Fig. 8 is revised as master control borad, and master control borad is revised as interface board, and deletion step 808 gets final product.
Referring to Fig. 6, when the internal structure of node device as shown in Figure 6, be that master control borad and interface board are not distinguished in node device inside, STP realizes the unit, when IP data forwarding unit and ARP realize that the unit is arranged in a veneer, it is identical that the present invention realizes upgrading the principle of the process of ARP list item and above-mentioned process shown in Figure 8, after promptly realizing that by STP the unit receives the TC message that carries change in topology information, this TC message that carries change in topology information directly is sent to ARP realizes the unit, when IP data forwarding unit receives the IP data, directly the IP data message is sent to ARP and realizes the unit, realize the processing that the unit is carried out above-mentioned reservation or deleted the ARP list item by ARP then, and no longer include the reciprocal process that ARP in master control borad and the interface board realizes the unit, no longer include synchronizing process.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1, a kind of method of scheduler analytic protocol table entry is characterized in that, this method comprises:
A, node device receive the topology change TC message that carries change in topology information;
B, node device send the ARP request at the relative address analysis protocol ARP list item of preserving in self;
C, node device judge whether to receive arp reply, if, then keep described ARP list item, otherwise, described ARP list item deleted.
2, method according to claim 1 is characterized in that, in step B, described transmission ARP request comprises: described node device sends the ARP request in broadcasting purpose medium access control MAC broadcast transmission mode.
3, method according to claim 1 is characterized in that, in step B, described transmission ARP request comprises:
Described node device sends the ARP request in clean culture purpose MAC broadcast transmission mode, comprise: described node device is carried at the MAC Address in the described ARP list item in the target MAC (Media Access Control) address territory into the Ethernet head of described ARP request encapsulation, and by self all port this ARP request is sent to other node devices in the network.
4, method according to claim 3, it is characterized in that, in step B, after sending the ARP request, further comprise: other node devices in the described network are according to the target MAC (Media Access Control) address territory of the packaged Ethernet head of ARP request, and this ARP request is transmitted in clean culture.
5, method according to claim 1 is characterized in that, in step C, described node device judges whether that the step that can receive arp reply comprises: whether node device is judged can receive arp reply in the time span of a setting.
6, method according to claim 1, it is characterized in that, in step C, node device judge can not receive arp reply after, and before the described ARP list item of deletion, further comprise: described node device is judged the number of times of the ARP request that has sent at described ARP list item, whether greater than predefined frequency threshold value, if, then carry out the step of the described ARP list item of deletion, otherwise, send ARP request at described ARP list item, return step C.
7, method according to claim 1 is characterized in that, relevant ARP list item is described in the step B: in the ARP list item that comprises the related port information of change in topology information, any one is the ARP list item of selected mistake not;
After step C executes described judgement, further comprise: return step B, in the ARP list item that is comprising the related port information of change in topology information, selected to finish behind the ARP list item.
According to claim 1 or 7 described methods, it is characterized in that 8, in steps A, node device after waiting for the time span of setting, is carried out described step B after receiving the TC message.
9, method according to claim 1 is characterized in that, further comprises between steps A and step B: whether B0, node device monitoring receive the IP data, if, then carry out described step B, otherwise, step B0 returned.
10, method according to claim 9 is characterized in that, described relevant ARP list item is to comprise that change in topology information and IP data all relate to the ARP list item of port information.
11, a kind of node device comprises master control borad and interface board, comprises in the master control borad that Spanning-Tree Protocol STP realizes that unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit, it is characterized in that,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
ARP in the master control borad realizes the unit, the ARP information that the need that are used for carrying according to TC message upgrade, at the relevant ARP list item of being preserved, send the ARP request, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the interface board realizes the unit;
ARP in the interface board realizes the unit, is used for keeping or delete the ARP list item of correspondence in self according to the reservation that receives or the ARP list item information of deletion.
12, a kind of node device comprises master control borad and interface board, comprises in the master control borad that STP realizes that unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit, it is characterized in that,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
ARP in the master control borad realizes the unit, is used for after receiving TC message, and the ARP that this TC message is sent in the interface board realizes the unit, and according to the ARP list item information of reservation that receives or deletion, keeps or deletes ARP list item corresponding in self;
ARP in the interface board realizes the unit, the ARP information that the need that are used for carrying according to TC message upgrade, the relevant ARP list item of preserving at self, send the ARP request, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the master control borad realizes the unit.
13, a kind of node device is characterized in that, this node device comprises that the STP that is arranged in same veneer realizes that unit and ARP realize the unit,
STP realizes the unit, is used for being sent to ARP realization unit with carrying the TC message that needs to upgrade ARP information;
ARP realizes the unit, the ARP information that the need that are used for carrying according to TC message upgrade, the relevant ARP list item of preserving at self, send the ARP request, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item.
14, a kind of node device is characterized in that, this node device comprises master control borad and interface board, comprises in the master control borad that STP realizes that unit, IP data forwarding unit and ARP realize the unit, comprises in the interface board that ARP realizes the unit, wherein,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
IP data forwarding unit in the master control borad, the ARP that the information that is used for the IP data that will receive is sent to master control borad realizes the unit;
ARP in the master control borad realizes the unit, the ARP information that relates to the IP data message that is used for ARP information that need to upgrade according to TC message, in self, find relevant ARP list item, send the ARP request at this relevant ARP list item, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the interface board realizes the unit;
ARP in the interface board realizes the unit, is used for keeping or delete the ARP list item of correspondence in self according to the reservation that receives or the ARP list item information of deletion.
15, a kind of node device is characterized in that, this node device comprises master control borad and interface board, comprises in the master control borad that STP realizes that unit and ARP realize the unit, comprises in the interface board that IP data forwarding unit and ARP realize the unit, wherein,
STP in the master control borad realizes the unit, is used for carrying the ARP realization unit that the TC message that needs renewal ARP information is sent to master control borad;
ARP in the master control borad realizes the unit, is used for carrying the ARP that the TC message that needs to upgrade ARP information is sent to interface board and realizes the unit, and according to the ARP list item information of reservation that receives or deletion, keeps or deletes ARP list item corresponding in self;
IP data forwarding unit in the interface board is used for when receiving the IP data, and the ARP that the IP data message is sent in the interface board realizes the unit;
ARP in the interface board realizes the unit, the ARP information that relates to the IP data message that is used for ARP information that need to upgrade according to TC message, in self, find relevant ARP list item, send the ARP request at this relevant ARP list item, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item, and the ARP that the ARP list item information that institute keeps or deletes is sent in the master control borad realizes the unit.
16, a kind of node device is characterized in that, this node device comprises that the STP that is arranged in same veneer realizes that unit, IP data forwarding unit and ARP realize the unit, wherein,
STP realizes the unit, is used for being sent to ARP realization unit with carrying the TC message that needs to upgrade ARP information;
IP data forwarding unit, the IP data message that is used for receiving are sent to ARP and realize the unit;
ARP realizes the unit, the ARP information that relates to the IP data message that is used for ARP information that need to upgrade according to TC message, in self, find relevant ARP list item, send the ARP request at this relevant ARP list item, and judge whether to receive arp reply, after determining to receive arp reply, keep described ARP list item, after determining to receive arp reply, delete described ARP list item.
CNB2006100900369A 2006-06-22 2006-06-22 Method and node equipment for updating address resolution protocol table item Expired - Fee Related CN100496056C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100900369A CN100496056C (en) 2006-06-22 2006-06-22 Method and node equipment for updating address resolution protocol table item

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100900369A CN100496056C (en) 2006-06-22 2006-06-22 Method and node equipment for updating address resolution protocol table item

Publications (2)

Publication Number Publication Date
CN1870660A true CN1870660A (en) 2006-11-29
CN100496056C CN100496056C (en) 2009-06-03

Family

ID=37444206

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100900369A Expired - Fee Related CN100496056C (en) 2006-06-22 2006-06-22 Method and node equipment for updating address resolution protocol table item

Country Status (1)

Country Link
CN (1) CN100496056C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094187B (en) * 2007-07-30 2010-06-09 杭州华三通信技术有限公司 Method, device, and operation board capable of learning address of medium access control
CN101150511B (en) * 2007-10-26 2011-09-07 杭州华三通信技术有限公司 Method and device for network node to transmit protocol packets
CN103118148A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and device for updating ARP (address resolution protocol) cache
CN104601474A (en) * 2015-01-28 2015-05-06 杭州华三通信技术有限公司 Method and device for processing topological changes
CN110062061A (en) * 2019-04-29 2019-07-26 清华大学 Address resolution mapping method based on IP/MAC exchange
CN111556179A (en) * 2020-04-28 2020-08-18 杭州迪普科技股份有限公司 ARP (Address resolution protocol) table item updating method and device
CN113286012A (en) * 2021-05-17 2021-08-20 新华三技术有限公司 ARP (Address resolution protocol) table item maintenance method and device
CN114710795A (en) * 2022-06-06 2022-07-05 希诺麦田技术(深圳)有限公司 ARP table optimization method, equipment and application of wireless ad hoc network

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094187B (en) * 2007-07-30 2010-06-09 杭州华三通信技术有限公司 Method, device, and operation board capable of learning address of medium access control
CN101150511B (en) * 2007-10-26 2011-09-07 杭州华三通信技术有限公司 Method and device for network node to transmit protocol packets
CN103118148A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and device for updating ARP (address resolution protocol) cache
CN103118148B (en) * 2013-01-31 2016-06-08 杭州华三通信技术有限公司 A kind of ARP buffering updating method and equipment
CN104601474A (en) * 2015-01-28 2015-05-06 杭州华三通信技术有限公司 Method and device for processing topological changes
CN104601474B (en) * 2015-01-28 2018-03-16 新华三技术有限公司 Handle the method and device of change in topology
CN110062061A (en) * 2019-04-29 2019-07-26 清华大学 Address resolution mapping method based on IP/MAC exchange
CN110062061B (en) * 2019-04-29 2020-06-19 清华大学 Address resolution mapping method based on IP/MAC exchange
CN111556179A (en) * 2020-04-28 2020-08-18 杭州迪普科技股份有限公司 ARP (Address resolution protocol) table item updating method and device
CN111556179B (en) * 2020-04-28 2023-04-28 杭州迪普科技股份有限公司 ARP (Address resolution protocol) table entry updating method and device
CN113286012A (en) * 2021-05-17 2021-08-20 新华三技术有限公司 ARP (Address resolution protocol) table item maintenance method and device
CN114710795A (en) * 2022-06-06 2022-07-05 希诺麦田技术(深圳)有限公司 ARP table optimization method, equipment and application of wireless ad hoc network
CN114710795B (en) * 2022-06-06 2022-08-26 希诺麦田技术(深圳)有限公司 ARP table optimization method, equipment and application of wireless ad hoc network

Also Published As

Publication number Publication date
CN100496056C (en) 2009-06-03

Similar Documents

Publication Publication Date Title
CN1870660A (en) Method and node equipment for updating address analytic protocol table entry
US20200287837A1 (en) Network device, controller, queue management method, and traffic management chip
CN1705313A (en) IP communications system and IP address allocation method
CN101068206A (en) Grouping exchange, network node, packet exchanging structure and data packet routing method
CN101035031A (en) Method and device for detecting the number of the shared access host
CN1852502A (en) Method for realizing load uniform in clustering system, system and storage controller
CN1633783A (en) Data communication system, data communication management device and method, and computer program
CN1921477A (en) Method and system for complicated flow classification of arrange cutted piece message
CN101030873A (en) Method and system for downloading data
CN1585382A (en) Apparatus and method for processing packets in wireless local area network access point
CN1794737A (en) Device for dynamically allocating variable length prefixes to network equipments of an ip-network.
CN1764193A (en) Method for renewing address analysis protocol rapidly
CN1866863A (en) Vicinage finding method and system for network apparatus
CN101060498A (en) A method for realizing the gateway Mac binding, assembly, gateway and layer 2 switch
CN1748400A (en) Method and system for reacting to a change of a UPnP device
CN1909553A (en) Information processing apparatus, communication control method, and communication control program
CN1503474A (en) Wireless insertion network system, method, and control equipment
CN1909482A (en) Method for realizing detection of DHCP service performance
CN1921491A (en) Method and equipment for preventing network attack by using address analytic protocol
CN1859197A (en) Method for determining QoS strategy
CN1946061A (en) Method and device for fast processing message
CN1913692A (en) Method for loading equipment software according to allocation
CN1835452A (en) Computer network strategy management system and strategy management method
CN1976289A (en) Program arranging method and system based on distributing network
CN1725707A (en) Method for managing distribution network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090603

Termination date: 20200622