CN102594943A - Method and device for realizing address resolution protocol (ARP) interception - Google Patents

Method and device for realizing address resolution protocol (ARP) interception Download PDF

Info

Publication number
CN102594943A
CN102594943A CN2012100730518A CN201210073051A CN102594943A CN 102594943 A CN102594943 A CN 102594943A CN 2012100730518 A CN2012100730518 A CN 2012100730518A CN 201210073051 A CN201210073051 A CN 201210073051A CN 102594943 A CN102594943 A CN 102594943A
Authority
CN
China
Prior art keywords
arp
information
message
local
strange land
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
CN2012100730518A
Other languages
Chinese (zh)
Other versions
CN102594943B (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 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 CN201210073051.8A priority Critical patent/CN102594943B/en
Publication of CN102594943A publication Critical patent/CN102594943A/en
Application granted granted Critical
Publication of CN102594943B publication Critical patent/CN102594943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for realizing address resolution protocol (ARP) interception. The ARP information sharing of a site network can be realized by utilizing any bearing message such as an intermediate system to intermediate system (ISIS) protocol message, so that the number of ARP request messages broadcast in a core network can be effectively suppressed. Moreover, an edge device of each site network can intercept the ARP information of a remote host from the bearing message, and simultaneously learn the media access control (MAC) information of the remote host so as to learn the MAC information of the remote host as early as possible to avoid the condition that the edge device not timely learning the MAC information of the remote host discards an ARP response message returned by the remote host and further avoid the repeated broadcasting of an ARP request message corresponding to the ARP response message which cannot be returned in the core network.

Description

Be used to the method and apparatus of realizing that ARP intercepts
Technical field
The present invention relates to ARP (Address Resolution Protocol, address resolution protocol) technology, particularly be used to the method and apparatus of realizing that ARP intercepts.
Background technology
Interconnected in order to realize a plurality of data centers strange land, a kind of EVI (Ethernet Virtualization Interconnection, Ethernet virtual is interconnected) scheme has been proposed in the prior art.
In the EVI scheme, each data center forms local station network (or being referred to as private network), and, interconnected between each station network through two layers of core network (or being referred to as public network) realizations.Fig. 1 is interconnected through core network with station network 1~3 to be the networking mode that example shows the EVI scheme.
And each station network all has ED (Edge Device, edge device), and the ED in each station network is used to realize that message is from this station network to core network and the forwarding from core network to this station network; Core network is formed with EVI Link between the ED of per two station networks, EVI Link can be any one virtual link such as virtual ethernet interconnecting link for example, and every EVI Link is used to realize the message transmissions between the ED of station network at its two ends.Fig. 2 is connected to example in twos with ED1~3 respectively with EVI Link1~3 and shows the ED connected mode in the EVI scheme.
To be based on two layers of virtual link interconnected because core network is realized between each station network; Therefore; The ED of each station network all need be according to MAC (Media Access Control; The medium access control) address realizes transmitting, and correspondingly, just needs the Host (main frame) in the different station networks to obtain ARP information each other through mutual ARP request message and arp response message.
Between the Host of different station networks in the process of mutual ARP request message and arp response message:
At first, the ED of the site-local network at the Host of ARP request message source end place can be broadcast to this ARP request message the ED of each strange land station network in core network after receiving this ARP request message;
Then, the ED of each strange land station network can broadcast this ARP request message respectively in the station network of the strange land at its place receive this ARP request message from core network after;
After this; Have only the Host of ARP request message destination just can respond the arp reply message to its ED that belongs to the strange land station network; Correspondingly; The ED of strange land, this Host place station network can respond this arp reply message the ED of site-local network at the Host place of the end to ARP request message source through the mode of clean culture;
At last, the ED of the site-local network at the Host of ARP request message source end place can respond the Host of the end to ARP request message source so that this Host gets access to corresponding ARP information from the arp reply message with this arp reply message.
Fig. 3 shows an instance that obtains ARP information, this instance with the Host1_1 in the station network 1 be the Host of ARP request message source end, Host2 in the station network 2 is that the Host of ARP request message destination is an example.
According to above-mentioned principle, when the Host in station network is arranged need obtain the ARP information of the Host in the station network of strange land, all need be in core network the broadcast arp request message.Like this, will cause occurring in the core network a large amount of ARP request messages.
Prior art is in order to reduce the broadcast arp request message in core network, can carry out ARP to the arp reply message of clean culture in the ARP request message of broadcasting in the core network and the core network by the ED of each station network and intercept.
Thereby based on the ARP information of the Host in the strange land station network that listens to, the ED of each station network can be to the ARP request message of the Host in the site-local network and Host generation in the site-local network is answered.Like this, the ARP request message of being answered by generation just need not to be broadcast in the core network again.
Illustrated among Fig. 4 based on ARP and intercepted an instance of realizing that generation is answered; In this example; Listen to the ARP information of Host2 in the arp reply message of the ED1 of station network 1 from Fig. 3 and answer to Host1_2 generation; Listen to the ARP information of Host1_1 in the ARP request message of the ED2 of station network 2 from Fig. 3 and answer, listen to the ARP information of Host1_1 in the ARP request message of the ED3 of station network 3 from Fig. 3 and answer to Host3 generation to Host2 generation.
It is thus clear that prior art utilizes ARP to intercept can to support local generation to answer, reduce the ARP request message of in core network, broadcasting thereby answer through local generation.
But ARP of the prior art intercepts the arp reply message that places one's entire reliance upon the ARP request message of in core network, broadcasting and respond to the clean culture of ARP request message, thereby this ARP intercepts mode and has following deficiency:
1, for each station network; If the ARP request message that the Host in the site-local network sends was not broadcasted in core network; Do not received then that the ED of the strange land station network of the arp reply message that this Host responds promptly can't listen to the ARP information of this Host, and still can the ARP request message to this Host have been broadcasted in core network.
2, for ED not turn-on data stream trigger the situation of study; Need between the ED of each station network through ISIS (Intermediate System to Intermediate System; Intermediate System-to-Intermediate System) LSP of agreement (Link state Protocol Data Unit, Link State Protocol Data Unit) comes mutual study to belong to the MAC information of the Host in the station network separately; Correspondingly; The ED of each station network has only the MAC information of from LSP, having learnt the Host in the station network of strange land, can confirm the corresponding EVI Link between the ED with strange land, this Host place station network so that produce flow between this Host in each Host and the strange land station network in the site-local network.So; For each station network; When the Host in the site-local network when the Host of ARP request message source end responds the arp reply message; If the ED of site-local network this moment does not fail to learn the MAC information of the Host of this ARP request message source end owing to receiving LSP, then can be with this arp reply packet loss, like this; Will cause the Host of this ARP request message source end can send the ARP request message once more owing to do not receive the arp reply message for a long time, also in core network, broadcast once more, thereby can be increased in the quantity of the ARP request message of broadcasting in the core network owing to repeated broadcast.
Summary of the invention
In view of this, the present invention provides a kind of method and apparatus of realizing that ARP intercepts of being used to.
A kind of method of realizing that ARP intercepts of being used to provided by the invention comprises:
Intercept the ARP information of local host step a1, the ARP message in the site-local network;
The ARP information of step b1, the local host that will from the ARP message in the site-local network, listen to is carried in the bearing message and through realizing based on virtual link between each station network that two layers of interconnected core network are distributed to bearing message the edge device of each strange land station network;
Step c1, from the edge device of strange land station network bearing message, intercept the ARP information of strange land main frame through the core network issue.
Further comprise:
The MAC information of study local host step a2, the ARP message in the site-local network;
Step c2, from the edge device of strange land station network MAC information through study strange land main frame the bearing message of core network issue.
Further comprise:
Step a3, the record ARP information that listens to of said step a1 and said step a2 learn in the local information storehouse of this machine MAC information also are respectively ARP information and the corresponding ageing timer of MAC maintenance of information that writes down in the local information storehouse;
If the ARP information that writes down in the local information storehouse before the ageing timer of correspondence is overtime, is listened to by said step a1 not only or MAC information is learnt before the ageing timer of correspondence is overtime but also by said step a2, then the ageing timer of correspondence is restarted;
If the corresponding ageing timer of ARP information that writes down in the local information storehouse or MAC information is overtime, then with this ARP information in the local information storehouse or MAC information deletion, and produce this ARP information or the overtime fail message of MAC obsolescence of information in the expression local information storehouse;
Step b3, will represent that ARP information or the overtime fail message of MAC obsolescence of information are carried on the edge device that is distributed to each strange land station network in the bearing message and through the core network message;
Step c3, the MAC information that the record ARP information that listens to of said step c1 and said step c2 learn in the information bank of the strange land of this machine; If from the bearing message that core network receives, carry fail message, then with the ARP information or the MAC information deletion of strange land main frame corresponding in the strange land information bank of this machine.
Said ARP message comprises: gratuitous ARP packet, ARP request message and arp reply message.
Further comprise:
Step a41, when said step a1 listens to the ARP information of local host from gratuitous ARP packet; The sign of in by the bearing message of the ARP information that carries this local host of said step b1 issue, carrying the expression gratuitous ARP packet, and the broadcasting of cancellation gratuitous ARP packet in core network;
Step c41, when carrying the sign of said expression gratuitous ARP packet in the bearing message, according to the corresponding gratuitous ARP packet of the sign of said expression gratuitous ARP packet structure, and trigger this gratuitous ARP request broadcasting in the site-local network of structure.
Further comprise:
Step a42, when said step a1 listens to the ARP information of local host from the ARP request message; If this ARP request message the ARP information of the strange land main frame that will ask be not recorded in the strange land information bank of this machine; Then in by the bearing message of the ARP information that carries this local host of said step b1 issue, carry the sign of expression ARP request message and the solicited message in the ARP request message, and the broadcasting of cancellation ARP request message in core network;
Step c42, when sign that carries said expression ARP request message in the bearing message and described request information, according to the corresponding ARP request message of the sign of said expression ARP request message and described request information structuring, and trigger this ARP request message broadcasting in the site-local network of structure.
Further comprise:
Step a43, when said step a1 listens to the ARP information of local host from the arp reply message, trigger this clean culture of arp reply message in core network.
Bearing message has TLV, and the entrained all the elements of bearing message all are carried among the TLV.
Bearing message is the ISIS protocol massages.
The SIS protocol massages is LSP.
A kind of device of realizing that ARP intercepts of being used to provided by the invention comprises:
Local ARP intercepts module, intercepts the ARP information of local host the ARP message in the site-local network;
Local information release module, the ARP information that said local ARP is intercepted the local host that listens to the ARP message of module in the site-local network are carried in the bearing message and through realizing based on virtual link between each station network that two layers of interconnected core network are distributed to bearing message the edge device of each strange land station network;
Strange land ARP intercepts module, from the bearing message of edge device through the core network issue of strange land station network, intercepts the ARP information of strange land main frame.
Further comprise:
The local information study module, the MAC information of study local host the ARP message in the site-local network;
Strange land information learning module is from the edge device of the strange land station network MAC information through study strange land main frame the bearing message of core network issue.
Further comprise:
The local information maintenance module, the said local ARP of record intercepts the MAC information that ARP information that module listens to and said local mac study module learn and is respectively ARP information and the corresponding ageing timer of MAC maintenance of information that writes down in the local information storehouse in the local information storehouse of this machine;
Module listens to or MAC information is learnt before the ageing timer of correspondence is overtime but also by said local mac study module if the ARP information that writes down in the local information storehouse was intercepted by said local ARP not only before the ageing timer of correspondence is overtime, then the ageing timer of correspondence is restarted;
If the corresponding ageing timer of ARP information that writes down in the local information storehouse or MAC information is overtime, then with this ARP information in the local information storehouse or MAC information deletion, and produce this ARP information or the overtime fail message of MAC obsolescence of information in the expression local information storehouse;
The fail message release module is carried on the edge device that is distributed to each strange land station network in the bearing message and through the core network message with expression ARP information or the overtime fail message of MAC obsolescence of information;
Strange land maintenance of information module, the said strange land ARP of record intercepts the MAC information that ARP information that module listens to and said strange land mac learning modules learn arrive in the information bank of the strange land of this machine; If from the bearing message that core network receives, carry fail message, then with the ARP information or the MAC information deletion of strange land main frame corresponding in the strange land information bank of this machine.
Said ARP message comprises: gratuitous ARP packet, ARP request message and arp reply message.
Further comprise:
Local gratuitous ARP module; When said local ARP intercepts module and from gratuitous ARP packet, listens to the ARP information of local host, in by the bearing message of the ARP information that carries this local host of said local information release module issue, carry the sign of expression gratuitous ARP packet and cancel the broadcasting of gratuitous ARP packet in core network;
Strange land gratuitous ARP module; When carrying the sign of said expression gratuitous ARP packet in the bearing message, according to the corresponding gratuitous ARP packet of the sign structure of said expression gratuitous ARP packet, also this gratuitous ARP request broadcasting in the site-local network of triggering structure.
Further comprise:
Local ARP request module; When said local ARP intercepts module and from the ARP request message, listens to the ARP information of local host; If the ARP information of the strange land main frame that this ARP request message institute will ask did not listen to from bearing message, then in by the bearing message of the ARP information that carries this local host of said local information release module issue, carry sign and the solicited message in the ARP request message of representing the ARP request message and cancel the broadcasting of ARP request message in core network;
Strange land ARP request module; When sign that carries the said ARP of expression request message in the bearing message and described request information, according to sign and corresponding ARP request message, also this ARP request message broadcasting in the site-local network of triggering structure of described request information structuring of said expression ARP request message.
Further comprise:
Local arp reply module when said local ARP intercepts module and from the arp reply message, listens to the ARP information of local host, triggers this clean culture of arp reply message in core network.
Bearing message has TLV, and the entrained all the elements of bearing message all are carried among the TLV.
Bearing message is the ISIS protocol massages.
The ISIS protocol massages is LSP.
As above visible; In the present invention; The edge device of each station network can both listen to the ARP information of local host and utilize bearing message the ARP information of local host to be distributed to the edge device of strange land station network through core network from the ARP message in the site-local network; Correspondingly, the edge device of each station network also can both listen to the ARP information of strange land main frame from the bearing message that the edge device of strange land station network is issued.Thus; Just can realize the ARP information sharing of each station network; So; As long as the ARP information of the local host that the edge device of each station network can listen to; Just can be, thereby make the edge device of different zone network need not will in core network, broadcast to the ARP request message of this local host again but can directly carry out generation and answer through the edge device of bearing message with the ARP information synchronization of this local host to different zone network, thus can more effectively be suppressed at the quantity of the ARP request message of broadcasting in the core network.
And in the present invention, the edge device of each station network can also be learnt the MAC information of strange land main frame when from bearing message, intercepting the ARP information of strange land main frame, especially in this bearing message, also carry under the situation of ARP solicited message.Thus; Can make the edge device of each station network can learn the MAC information of strange land main frame as soon as possible; Thereby the situation of the arp reply packet loss that can avoid as much as possible will responding to this strange land main frame owing to fail in time to learn the MAC information of strange land main frame occurs, and then avoids can't responding and causing corresponding ARP request message repeated broadcast in core network owing to the arp reply message.
In addition, in the present invention, the edge device of each station network can be preserved the ARP information of local host and the ARP information and the MAC information of MAC information and strange land main frame respectively.Wherein, The ARP information of local host and MAC information can be through the maintenances of wearing out of intercepting to the ARP message in the site-local network, and can also utilize bearing message to notify the edge device of strange land station network as aging ARP information during with MAC information; Correspondingly, the ARP information of strange land main frame and MAC information be strange land capable of using station network edge device issue be used to realize the maintenance of wearing out of above-mentioned bearing message.Thus, can in each station network, realize management by synchronization in time to ARP information and MAC information.
Description of drawings
Fig. 1 is an example schematic of the networking mode of existing EVI scheme;
Fig. 2 is an example schematic of the ED connected mode of existing EVI scheme;
Fig. 3 obtains an example schematic of ARP information each other for the Host of different station networks in the existing EVI scheme;
Fig. 4 intercepts an example schematic of carrying out for answering for the ED of each station network in the existing EVI scheme based on ARP;
Fig. 5 is the principle sketch map of the method that is used in the embodiment of the invention realize that ARP intercepts;
Fig. 6 is the sketch map of the instance one of the method that is used in the embodiment of the invention realize that ARP intercepts;
Fig. 7 is the sketch map of the instance two of the method that is used in the embodiment of the invention realize that ARP intercepts;
Fig. 8 is the sketch map of the instance three of the method that is used in the embodiment of the invention realize that ARP intercepts;
Fig. 9 is the structural representation of the device that is used in the embodiment of the invention realize that ARP intercepts.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, to further explain of the present invention.
Be used in the embodiment of the invention realizing that method that ARP intercepts can be applied in the ED of station network, and specifically comprise:
1, the collection of local information; Promptly; In the station network of this locality, for example intercept the ARP information of local Host all kinds of ARP messages such as gratuitous ARP packet, ARP request message and arp reply message; Alternatively, can also from the ARP message in the site-local network, learn the MAC information of local host.And the MAC information of the ARP information of the every playscript with stage directions ground Host that listens to and the every playscript with stage directions ground Host that learns all can be recorded in the local information storehouse of this machine.
2, the issue of local information, that is, the ARP information of the local Host that will from the ARP message in the station network of this locality, listen to is carried in the bearing message, and is distributed to the ED of each strange land station network through the bearing message that core network will carry ARP information.Wherein, Bearing message can be to have any one protocol massages of TLV (Type-Length-Value, type-length-value) coded message, for example ISIS protocol massages, BGP (Border Gateway Protocol; Border Gateway Protocol) message etc.; Correspondingly, ARP information can be carried in TLV (Type-Length-Value, the type-length-value) coded message of bearing message.In embodiments of the present invention, preferably select for use the ISIS protocol massages as bearing message, the ISIS protocol massages of selecting for use can be the LSP of ISIS agreement, also can be other ISIS protocol massages such as HLO (Hello) message for example.
3, strange land information collecting; Promptly; From the ED of strange land station network bearing message, intercept the ARP information of strange land Host through the core network issue, alternatively, can also be from the ED of strange land station network MAC information through study strange land Host the bearing message of core network issue.And the MAC information of the ARP information of every the strange land Host that listens to and every the strange land Host that learns all can be recorded in the strange land information bank of this machine, and the ARP information of the strange land Host that writes down in the information bank of strange land is used for answering to local generation.
Fig. 5 is the illustrative diagram of the method that is used in the embodiment of the invention realize that ARP intercepts.Be example with station network 1~3 that comprises 3 data centers and the LSP that selects the ISIS agreement for use as bearing message among Fig. 5; Station network 1 has the ED1 of Host1 (its ARP information is that ARP1, MAC information are Mac1) and this method of application; Station network 2 has the ED2 of Host2 (its ARP information is that ARP2, MAC information are Mac2) and this method of application, and station network 3 has the ED3 of Host3 (its ARP information is that ARP3, MAC information are Mac3) and this method of application.
In Fig. 5:
Intercept the ARP information A RP1 of local Host1 the ARP message of ED1 in site-local network 1 and learn the MAC information Mac1 of local Host1, the ARP information A RP1 of local Host1 and MAC information Mac1 are kept in the local information storehouse of ED1;
And the ARP information A RP1 of the local Host1 that ED1 will listen to from the ARP message in the site-local network 1 is carried on the ED3 of station network 3 in ED2 and the strange land of the station network 2 that is distributed to the strange land among the LSP of ISIS agreement and through the core network message;
And; ED1 also intercepts the ARP information A RP2 of strange land Host2, from the LSP of ED3 through the core network issue of the station network 3 in strange land, intercepts the ARP information A RP3 of strange land Host3 from the LSP of ED2 through the core network issue of the station network 2 in strange land, ARP information A RP3 and the MAC information Mac3 of the ARP information A RP2 of strange land Host2 and MAC information Mac2 and strange land preservation Host3 all are kept in the strange land information bank of ED1.
ED2 and ED3 are in like manner.
As above visible; Because the edge device of each station network can both listen to the ARP information of local host and utilize bearing message the ARP information of local host to be distributed to the edge device of strange land station network through core network from the ARP message in the site-local network; And the edge device of each station network also can both listen to the ARP information of strange land main frame from the bearing message that the edge device of strange land station network is issued, therefore:
The ARP information of each station network can be shared each other; As long as the ARP information of the local host that the edge device of each station network can be heard; Just can be through the edge device of bearing message literary composition with ARP information synchronization to the different zone network of this local host; Thereby the edge device that makes different zone network need not will in core network, broadcast to the ARP request message of this local host again but can directly carry out generation and answer, thereby can more effectively be suppressed at the quantity of the ARP request message of broadcasting in the core network.
As previously mentioned, be used in the embodiment of the invention to realize that method that ARP intercepts when realizing that this locality is intercepted, can listen to the ARP information of local host from various ARP messages such as gratuitous ARP packet, ARP request message, arp reply message.
Below, at first combine instance one to explain that the gratuitous ARP packet to this locality carries out the situation that intercept this locality.
Wherein, in the situation that the gratuitous ARP packet of this locality is intercepted, can further comprise special processing, that is: to gratuitous ARP packet
When every ED listens to the ARP information of local Host from gratuitous ARP packet; In the bearing message of the ARP information that carries this this locality Host that needs are issued, carry the sign of expression gratuitous ARP packet, and cancel the broadcasting of this gratuitous ARP packet in core network; The sign of this expression gratuitous ARP packet can together be carried among the TLV of bearing message with ARP information;
Correspondingly; When carrying the sign of representing gratuitous ARP packet in the bearing message that the ED of the strange land network that every ED receives issues, according to the corresponding gratuitous ARP packet of this sign structure, the also broadcasting of gratuitous ARP packet in the site-local network of triggering structure.
That is to say that above-mentioned special processing to gratuitous ARP packet mainly is to realize the ARP request function in order to utilize bearing message to substitute gratuitous ARP packet, so that reduce the gratuitous ARP packet that should in core network, broadcast at this moment.
Fig. 6 is the sketch map of the instance one of the method that is used in the embodiment of the invention realize that ARP intercepts.The gratuitous ARP packet that instance one shown in Fig. 6 has comprised this locality carries out the situation that intercept this locality, and with the station network 1~3 at 3 data centers and select for use the LSP of ISIS agreement to be issued as example as bearing message.
In Fig. 6; Station network 1 has the ED1 of Host1 (its ARP information is that ARP1, MAC information are Mac1) and this method of application; Station network 2 has the ED2 of Host2 (its ARP information is that ARP2, MAC information are Mac2) and this method of application, and station network 3 has the ED3 of Host3 (its ARP information is that ARP3, MAC information are Mac3) and this method of application.
And the Host1 in the station network 1 starts after adding station network 1, and the Host 3 in startup, the station network 3 after adding station network 2 of the Host2 in the station network 2 starts after adding station network 3.
Because every Host after startup, can broadcast gratuitous ARP packet immediately in its place station network, therefore:
The ED1 of station network 1 can start the gratuitous ARP packet of back broadcasting in site-local network 1 from local Host1; Listen to the ARP information A RP1 of local Host1 and learn the MAC information Mac1 of local Host1, the ARP information A RP1 of local Host1 and MAC information Mac1 are kept in the local information storehouse of ED1; The ED1 of station network 1 can also be carried on the sign of the ARP information A RP1 of the local Host1 that from this gratuitous ARP packet, listens to and expression gratuitous ARP packet among the TLV of LSP and be distributed to the ED2 of strange land station network 2 and the ED3 of strange land station network 3, and cancels the broadcasting of this gratuitous ARP packet in core network;
The ED2 of station network 2 can start the MAC information Mac2 that listens to the ARP information A RP2 of local Host2 the gratuitous ARP packet of in site-local network 2, broadcasting the back and learn local Host2 from local Host2, and the ARP information A RP2 of local Host2 and MAC information Mac2 are kept in the local information storehouse of ED2; The ED2 of station network 2 can also be carried on the sign of the ARP information A RP2 of the local Host2 that from this gratuitous ARP packet, listens to and expression gratuitous ARP packet among the TLV of LSP and be distributed to the ED1 of strange land station network 1 and the ED3 of strange land station network 3, and cancels the broadcasting of this gratuitous ARP packet in core network;
The ED3 of station network 3 can start the MAC information Mac3 that listens to the ARP information A RP3 of local Host3 the gratuitous ARP packet of in site-local network 3, broadcasting the back and learn local Host3 from local Host3, and the ARP information A RP3 of local Host3 and MAC information Mac3 are kept in the local information storehouse of ED3; The ED3 of station network 3 can also be carried on the sign of the ARP information A RP3 of the local Host3 that from this gratuitous ARP packet, listens to and expression gratuitous ARP packet among the TLV of LSP and be distributed to the ED1 of strange land station network 1 and the ED3 of strange land station network 3, and cancels the broadcasting of this gratuitous ARP packet in core network.
Through after the said process:
The ED1 of station network 1 listen in can LSP strange land Host2 ARP information A RP2 and strange land Host3 ARP information A RP3 and learn the MAC information Mac2 of strange land Host2 and the MAC information Mac3 of strange land Host3, the ARP information A RP3 of the ARP information A RP2 of strange land Host2 and MAC information Mac2 and strange land Host3 and MAC information Mac3 are kept in the strange land information bank of ED1; And, the sign structure Host2 of the expression gratuitous ARP packet that the ED1 of station network 1 can also carry according to LSP and the gratuitous ARP packet of Host3 and the gratuitous ARP packet of in the station network 1 of this locality, broadcasting Host2 and Host3;
The ED2 of station network 2 listen in can LSP strange land Host1 ARP information A RP1 and strange land Host3 ARP information A RP3 and learn the MAC information Mac1 of strange land Host1 and the MAC information Mac3 of strange land Host3, the ARP information A RP3 of the ARP information A RP1 of strange land Host1 and MAC information Mac1 and strange land Host3 and MAC information Mac3 are kept in the strange land information bank of ED2; And, the sign structure Host1 of the expression gratuitous ARP packet that the ED2 of station network 2 can also carry according to LSP and the gratuitous ARP packet of Host3 and the gratuitous ARP packet of in the station network 2 of this locality, broadcasting Host1 and Host3;
The ED3 of station network 3 listen in can LSP strange land Host1 ARP information A RP1 and strange land Host2 ARP information A RP2 and learn the MAC information Mac1 of strange land Host1 and the MAC information Mac2 of strange land Host2, the ARP information A RP2 of the ARP information A RP1 of strange land Host1 and MAC information Mac1 and strange land Host2 and MAC information Mac2 are kept in the strange land information bank of ED3; And, the sign structure Host1 of the expression gratuitous ARP packet that the ED3 of station network 3 can also carry according to LSP and the gratuitous ARP packet of Host2 and the gratuitous ARP packet of in the station network 3 of this locality, broadcasting Host1 and Host2.
Visible through instance as shown in Figure 6; Local ARP information is outwards issued through the LSP that intercepts and utilize to local gratuitous ARP packet respectively in ED1~3; ARP information A RP1~3 of Host1~3 can be shared after it adds station network immediately, avoid at core network broadcast arp request message thereby make ED1~3 to answer through local generation.And, also realize that through LSP the function of gratuitous ARP packet avoids the broadcasting of gratuitous ARP packet in core network.
In the practical application; When the gratuitous ARP packet from this locality listens to the ARP information of local Host; The ED that the bearing message of issue is mainly used in the strange land station network increases the ARP information of strange land Host in its strange land information bank, therefore, and the bearing message of the ARP information that carries the local Host that listens to from local gratuitous ARP packet; Can further carry the type of message of an expression " ARP increase ", this type of message can together be carried among the TLV of bearing message with ARP information.
Below, combine instance two to explain that ARP request message and arp reply message to this locality carry out the situation that intercept this locality again.
Wherein, in the situation that the ARP request message of this locality is intercepted, can further comprise special processing, that is: to the ARP request message
When every ED listens to the ARP information of local Host from the ARP request message; If this ARP request message the ARP information of the strange land Host that will ask be not recorded in the strange land information bank of this machine; Then in the bearing message of the ARP information that carries this this locality Host that needs are issued, carry the sign of expression ARP request message and the solicited message in the ARP request message, and cancel this broadcasting of ARP request message in core network; This sign and solicited message all can together be carried among the TLV of bearing message with ARP information;
Correspondingly, when carrying above-mentioned solicited message in the bearing message of the ED of the strange land network that every ED receives issue, according to the corresponding ARP request message of this solicited message structure, the also broadcasting of ARP request message in the site-local network of triggering structure.
That is to say that above-mentioned special processing to the ARP request message mainly is to realize the ARP request function in order to utilize bearing message to substitute the ARP request message, so that reduce the ARP request message that should in core network, broadcast at this moment.
Fig. 7 is the sketch map of the instance two of the method that is used in the embodiment of the invention realize that ARP intercepts.Instance two shown in Fig. 7 has comprised ARP request message of this locality and arp reply message has been carried out the situation that intercept this locality, and with the station network 1~3 at 3 data centers and to select the LSP of ISIS agreement for use be example as bearing message.
In Fig. 7; Station network 1 has the ED1 of Host1 (its ARP information is that ARP1, MAC information are Mac1) and this method of application; Station network 2 has the ED2 of Host2 (its ARP information is that ARP2, MAC information are Mac2) and this method of application, and station network 3 has the ED3 of Host3 (its ARP information is that ARP3, MAC information are Mac3) and this method of application.
And; Host1 in the station network 1 promptly accomplished startup and has sent gratuitous ARP packet before adding station network 1; Host2 in the station network 2 i.e. completion before adding station network 2 starts and has sent gratuitous ARP packet, and the Host3 in the station network 3 promptly accomplished startup and sent gratuitous ARP packet before adding station network 3.
Correspondingly, the ED1 of station network 1 can not receive the gratuitous ARP packet of local Host1, thereby just can from gratuitous ARP packet, not listen to the ARP information A RP1 of local Host1 yet and pass through the LSP issue; The ED2 of station network 2 can not receive the gratuitous ARP packet of local Host2, thereby just can from gratuitous ARP packet, not listen to the ARP information A RP2 of local Host2 yet and pass through the LSP issue; The ED3 of station network 3 can not receive the gratuitous ARP packet of local Host3, thereby just can from gratuitous ARP packet, not listen to the ARP information A RP3 of local Host3 yet and pass through the LSP issue.Therefore, ED1~ED3 does not all listen to the ARP information of strange land Host this moment.
Suppose that the Host3 of station network 3 need be to the Host1 of station network 1 acquisition request ARP information:
At first; Host3 can send the ARP request message to ED3 in station network 3; Correspondingly; The ED3 of station network 3 can listen to the ARP information A RP3 of local Host3 and learn the MAC information Mac3 of local Host3 from the ARP request message of local Host3, the ARP information A RP3 of local Host3 and MAC information Mac3 are kept in the local information storehouse of ED3; The ED3 of station network 3 can also be carried on the ARP information A RP3 of the local Host3 that from this ARP request message, listens among the TLV of LSP and be distributed to the ED1 of strange land station network 1 and the ED2 of strange land station network 2; Correspondingly, ED3 also can cancel this broadcasting of ARP request message in core network;
Preferably, when ED3 listens to the ARP information A RP3 of local Host3 from the ARP request message, can judge in its strange land information bank whether record this moment this ARP request message the ARP information A RP1 of the strange land Host1 that will ask;
If have, then can be directly to local Host3 for the ARP information A RP1 that answers Host1;
If do not have; Then represent this ARP request message the ARP information of the strange land Host1 that will ask from LSP, do not listen to; Thereby in the TLV of the LSP of the ARP information A RP3 that carries local Host3 of its issue, further carry the sign of expression ARP request message and the solicited message (IP that comprises strange land Host1) in this ARP request message; Like this; Be that this LSP capable of using substitutes this APR request message and realizes the ARP request function and need not this APR request message to be broadcast in the core network again, thereby further reduce the quantity of the ARP request message of in core network, broadcasting.
Then; The ED2 of the ED1 of station network 1 and station network 2 all can listen to the ARP information A RP3 of strange land Host3 and learn the MAC information Mac3 of strange land Host3 from the LSP of ED3 issue, the ARP information A RP3 of strange land Host3 and MAC information Mac3 can be kept in the strange land information bank of ED1 and ED2 at this moment respectively;
And; When in ED1 and ED2 find the LSP of ED3 issue, also carrying the sign of expression ARP request message and solicited message that aforementioned Host1 institute will ask, can also in site- local network 1 and 2, broadcast this ARP request message (the purpose IP of this ARP request message is the IP of the Host1 in the solicited message) that constructs according to the ARP request message that sign and this solicited message of expression ARP request message are constructed Host1 respectively; Correspondingly; Host1 is as the destination of this ARP request message; Can respond the arp reply message to ED1 behind its this ARP request message of in receiving station network 1, broadcasting, and can not give a response behind this ARP request message that Host2 broadcasts in receiving station network 2.
After this; The ED1 of station network 1 can listen to the ARP information A RP1 of local Host1 and learn the MAC information Mac1 of local Host1 from this arp reply message, the ARP information A RP1 of local Host1 and MAC information Mac1 are kept in the local information storehouse of ED1; The ED1 of station network 1 can also be carried on the ARP information A RP1 of the local Host1 that from this arp reply message, listens among the TLV of LSP and be distributed to the ED2 of strange land station network 2 and the ED3 of strange land station network 3.
And; Because ED1 had learnt the MAC information of the strange land Host3 of strange land station network 3 before the arp reply message that receives local Host1 response; ED1 also can unicast to the arp reply message that local Host1 responds to strange land Host3 the ED3 of strange land station network 3; Thereby guarantee the normal response of this arp reply message, to avoid not causing corresponding ARP request message to be broadcasted once more at core network owing to strange land Host3 receives the arp reply message for a long time.
Certainly, also can the employing mode identical with the ARP request message for the arp reply message with gratuitous ARP packet, promptly substitute the function of arp reply message by LSP.But, if adopt the mode of clean culture arp reply message, then make LSP carry few relatively information, can alleviate the burden in the core network like this.
At last; The ED3 of the ED2 of station network 2 and station network 3 all can listen to the ARP information A RP1 of strange land Host1 and learn the MAC information Mac1 of strange land Host1 from the LSP of ED1 issue, the ARP information A RP1 of strange land Host1 and MAC information Mac1 can be kept in the strange land information bank of ED2 and ED3 at this moment respectively;
And the ED3 of station network 3 also can be transmitted to local Host3 with the arp reply message that strange land Host1 responds, thereby makes local Host3 can normally receive this arp reply message, and therefrom obtain the ARP information A RP1 of strange land Host1.
Visible through instance as shown in Figure 7 two; ED3 outwards issues through the LSP that intercepts and utilize to local ARP request message; Can make the ARP information A RP3 of Host3 be shared to ED1 and ED2; ED1 outwards issues through the LSP that intercepts and utilize to local arp reply message; Can make the ARP information A RP1 of Host1 be shared to ED2 and ED3; Thereby the ARP information A RP3 that makes ED1 and ED2 to answer Host3 through local generation respectively avoids broadcasting at core network to the ARP request message of Host3, and, make ED2 and ED3 to avoid through the ARP information A RP1 that local generation is answered Host1 broadcasting at core network to the ARP request message of Host1.
And; Because ED1 can also learn the MAC information Mac3 of strange land Host3 when from LSP, intercepting the ARP information A RP3 of strange land Host3; Thereby the situation of the arp reply packet loss that can avoid will responding to this strange land Host3 owing to fail in time to learn the MAC information Mac3 of strange land Host3 occurs, and then avoids can't responding and causing corresponding ARP request message repeated broadcast in core network owing to the arp reply message.
In the practical application; When the ARP request message from this locality listens to the ARP information of local Host; As long as also have corresponding request information in the bearing message of issue, then this bearing message also is used to represent acquisition request ARP information except the ED that is used for the strange land station network increases the ARP information of strange land Host at its strange land information bank; Therefore; The bearing message of the ARP information that carries the local Host that listens to from local ARP request message, can further carry the type of message of an expression " ARP request ", this type of message can together be carried among the TLV of bearing message with ARP information; And when the arp reply message from this locality listens to the ARP information of local Host; The ED that the bearing message of issue is mainly used in the strange land station network increases the ARP information of strange land Host in its strange land information bank; Therefore; The bearing message of the ARP information that carries the local Host that listens to from local arp reply message, can further carry the type of message of an expression " ARP increase ", this type of message can together be carried among the TLV of bearing message with ARP information.
In addition, be used in the embodiment of the invention to realize method that ARP intercepts not only can realize each station network ARP information share the study with MAC information, can also realize synchronous renewal.The process that should upgrade synchronously comprise after maintenance, the local information storehouse to the local information storehouse changes issue and to the maintenance of strange land information bank.
1, the maintenance to the local information storehouse comprises: every ED is respectively ARP information and the corresponding ageing timer of MAC maintenance of information that writes down in the local information storehouse;
If the ARP information that writes down in the local information storehouse was listened to from the ARP message of this locality not only before the ageing timer of correspondence is overtime or MAC information before the ageing timer of correspondence is overtime but also from the ARP message of this locality, be learned to, then the ageing timer of correspondence is restarted;
If the ageing timer of ARP information that writes down in the local information storehouse or MAC information correspondence is overtime, then produce this ARP information of expression or the overtime fail message of MAC obsolescence of information.
In the practical application, the timing length of the pairing ageing timer of ARP information can less than MAC information the timing length of corresponding ageing timer.
2, the issue after the local information storehouse changes comprises: every ED is carried on the ED that is distributed to each strange land station network in the bearing message and through the core network message with expression ARP information or this overtime fail message of MAC obsolescence of information when having above-mentioned fail message to produce.
3, the maintenance of strange land information bank comprises: every ED is if carry fail message from the bearing message that core network receives, then with ARP information or the MAC information deletion of strange land Host corresponding in the strange land information bank of this machine.
Below, explain in conjunction with three pairs of above-mentioned synchronous renewals of instance.
Fig. 8 is the sketch map of the instance three of the method that is used in the embodiment of the invention realize that ARP intercepts.Instance three shown in Fig. 8 is with the station network 1~3 at 3 data centers and to select the LSP of ISIS agreement for use be example as bearing message.
In Fig. 8; The ED1 of station network 1 has write down local Host1 in its local information storehouse ARP information is that ARP1 and MAC information are Mac1, and in its strange land information bank, has write down the ARP information A RP2 of strange land Host2 and ARP information A RP3 and the MAC information Mac3 of MAC information Mac2 and strange land Host3; The ED2 of station network 2 has write down local Host2 in its local information storehouse ARP information is that ARP2 and MAC information are Mac2, and in its strange land information bank, has write down the ARP information A RP1 of strange land Host1 and ARP information A RP3 and the MAC information Mac3 of MAC information Mac1 and strange land Host3; The ED3 of station network 3 has write down local Host3 in its local information storehouse ARP information is that ARP3 and MAC information are Mac3, and in its strange land information bank, has write down the ARP information A RP1 of strange land Host1 and ARP information A RP2 and the MAC information Mac2 of MAC information Mac1 and strange land Host2.
Suppose; The ARP information of local Host1 in the station network 1 by ARP1 change to ARP1 ', its MAC information changes to Mac1 ' by Mac1, cause and listen to the former ARP information A RP1 of local Host1 the long-time not ARP message in station network 1 of ED1, also can't learn the former MAC information Mac1 of local Host1; Correspondingly; Just cause the ageing timer of former ARP information A RP1 and MAC information Mac1 of corresponding Host1 in the local information storehouse of ED1 all overtime; Therefore; ED1 can delete and produce corresponding fail message with former ARP information A RP1 and the MAC information Mac1 of local Host1 in its local information storehouse; And, former ARP information A RP1 and the MAC information Mac1 of the local Host1 of expression this overtime fail message that wears out is carried among the LSP and through the core network message and is distributed to the ED2 of each strange land station network 2 and the ED3 of strange land station network 3.
After this; The ED3 of the ED2 of strange land station network 2 and strange land station network 3 can receive this LSP of ED1 issue and finds to carry fail message this LSP from core network; Therefore, ARP information A RP1 and the MAC information Mac1 with strange land Host1 corresponding in minute another edition of a book machine strange land information bank deletes.
Visible through instance as shown in Figure 8 three; When the ARP of Host1 information and MAC information change; ED1~3 can be synchronously with this Host1 original ARP information A RP1 and MAC information Mac1 deletion, thereby can avoid because the ED2 in strange land and ED3 in time do not delete this Host1 original ARP information A RP1 and MAC information Mac1 causes to Host2 and Host3 for the ARP information of answering mistake.
More than, be detailed description to the method that is used in the embodiment of the invention realize that ARP intercepts.Because this method can realize with computer program, therefore, a kind of device of realizing that ARP intercepts of being used to is provided accordingly also in the embodiment of the invention, this device can be carried among the ED of any station network.
Fig. 9 is the structural representation of the device that is used in the embodiment of the invention realize that ARP intercepts.As shown in Figure 9, be used in the embodiment of the invention realize that the device that ARP intercepts comprises:
Local ARP intercepts module, is used for the ARP information that ARP message in the site-local network is intercepted local Host;
The local mac study module is used for the MAC information of the local Host of ARP message study in the site-local network;
Wherein, local ARP intercepts the MAC information that ARP information that module listens to and said local mac study module learn and can be recorded in the local information storehouse of this machine;
The local information release module, the ARP information that is used for local ARP is intercepted the local Host that the ARP message of module in the site-local network listen to is carried on the ED that bearing message is distributed to each strange land station network the bearing message and through core network;
Wherein, ARP information can be carried in the TLV coded message of bearing message, and bearing message can be the message of ISIS agreement, like LSP;
Strange land ARP intercepts module, and the ED that is used for the station network from the strange land intercepts the ARP information of strange land Host through the bearing message of core network issue;
Mac learning module in strange land is used for the MAC information of the ED of the station network from the strange land through the bearing message study strange land Host of core network issue;
Wherein, strange land ARP intercept ARP information that module listens to and strange land mac learning modules learn to MAC information can be recorded in the strange land information bank of this machine, and be used for local generation and answer.
For said apparatus, be used to realize that the ARP message of intercepting and learning in this locality can be gratuitous ARP packet, ARP request message and arp reply message.Wherein, in the situation that the ARP request message of this locality is intercepted, can further comprise handled, correspondingly just need further comprise like lower module to gratuitous ARP request message, ARP request message, arp reply message:
Local gratuitous ARP module; When local ARP intercepts module and from gratuitous ARP packet, listens to the ARP information of local Host; In by the bearing message of the ARP information that carries this local host of local information release module issue, carry the sign of expression gratuitous ARP packet, and cancel the broadcasting of this gratuitous ARP in core network; Wherein, this sign of expression gratuitous ARP packet can be carried among the TLV of bearing message with ARP information in the lump;
Strange land gratuitous ARP module is when carrying the sign of above-mentioned expression gratuitous ARP packet, according to the corresponding gratuitous ARP packet of this sign structure, the also broadcasting of this gratuitous ARP packet in the site-local network of triggering structure in the bearing message;
Local ARP request module; When local ARP intercepts module and from the ARP request message, listens to the ARP information of local Host; If this ARP request message the ARP information of the strange land Host that will ask from bearing message, do not listen to; Then in by the bearing message of the ARP information that carries this local host of local information release module issue, carry the sign of expression ARP request message and the solicited message in the ARP request message, and, this broadcasting of ARP request in core network cancelled; Wherein, this solicited message in this sign of expression ARP request message and the ARP request can be carried among the TLV of bearing message with ARP information in the lump;
Strange land ARP request module; When sign that carries above-mentioned expression ARP request message in the bearing message and solicited message, according to this sign and corresponding ARP request message, also this ARP request message broadcasting in the site-local network of triggering structure of this solicited message structure;
Local arp reply module when local ARP intercepts module and from the arp reply message, listens to the ARP information of local Host, triggers this clean culture of arp reply message in core network.
In the practical application; If the ARP information that bearing message is carried is from gratuitous ARP packet of this locality or arp reply message, to listen to; Then the bearing message of issue can further be carried the type of message of an expression " ARP increase ", and this type of message can together be carried among the TLV of bearing message with ARP information; If the bearing message ARP information of carrying is the ARP request message from this locality listen to and this bearing message also carry corresponding request information; Then can further carry the type of message of an expression " ARP request " in the bearing message of issue, this type of message can together be carried among the TLV of bearing message with ARP information.
In addition, in order to realize the synchronous renewal of information, may further include:
The local information maintenance module is used in the local information storehouse of this machine local ARP of record and intercepts the MAC information that ARP information that module listens to and local mac study module learn and be respectively the ARP information that writes down in the local information storehouse and the ageing timer of MAC maintenance of information correspondence; Wherein, the timing length of the pairing ageing timer of ARP information can less than MAC information the timing length of corresponding ageing timer;
Module listens to or MAC information is learnt before the ageing timer of correspondence is overtime but also by the local mac study module if the ARP information that writes down in the local information storehouse was intercepted by local ARP not only before the ageing timer of correspondence is overtime, then the ageing timer of correspondence is restarted;
If the corresponding ageing timer of ARP information that writes down in the local information storehouse or MAC information is overtime, then with this ARP information in the local information storehouse or MAC information, produce this ARP information or the overtime fail message of MAC obsolescence of information in the expression local information storehouse;
The fail message release module is used for expression ARP information or the overtime fail message of MAC obsolescence of information is carried on bearing message and be distributed to the edge device of each strange land station network through the core network message;
Maintenance of information module in strange land is used in the strange land of this machine information bank record strange land ARP and intercepts the MAC information that ARP information that module listens to and strange land mac learning modules learn arrive; If from the bearing message that core network receives, carry fail message, then with ARP information or the MAC information deletion of strange land Host corresponding in the strange land information bank of this machine.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (20)

1. one kind is used to the method that realizes that ARP intercepts, it is characterized in that, comprising:
Intercept the ARP information of local host step a1, the ARP message in the site-local network;
The ARP information of step b1, the local host that will from the ARP message in the site-local network, listen to is carried in the bearing message and through realizing based on virtual link between each station network that two layers of interconnected core network are distributed to bearing message the edge device of each strange land station network;
Step c1, from the edge device of strange land station network bearing message, intercept the ARP information of strange land main frame through the core network issue.
2. method according to claim 1 is characterized in that, further comprises:
The MAC information of study local host step a2, the ARP message in the site-local network;
Step c2, from the edge device of strange land station network MAC information through study strange land main frame the bearing message of core network issue.
3. method according to claim 2 is characterized in that, further comprises:
Step a3, the record ARP information that listens to of said step a1 and said step a2 learn in the local information storehouse of this machine MAC information also are respectively ARP information and the corresponding ageing timer of MAC maintenance of information that writes down in the local information storehouse;
If the ARP information that writes down in the local information storehouse before the ageing timer of correspondence is overtime, is listened to by said step a1 not only or MAC information is learnt before the ageing timer of correspondence is overtime but also by said step a2, then the ageing timer of correspondence is restarted;
If the corresponding ageing timer of ARP information that writes down in the local information storehouse or MAC information is overtime, then with this ARP information in the local information storehouse or MAC information deletion, and produce this ARP information or the overtime fail message of MAC obsolescence of information in the expression local information storehouse;
Step b3, will represent that ARP information or the overtime fail message of MAC obsolescence of information are carried on the edge device that is distributed to each strange land station network in the bearing message and through the core network message;
Step c3, the MAC information that the record ARP information that listens to of said step c1 and said step c2 learn in the information bank of the strange land of this machine; If from the bearing message that core network receives, carry fail message, then with the ARP information or the MAC information deletion of strange land main frame corresponding in the strange land information bank of this machine.
4. method according to claim 3 is characterized in that, said ARP message comprises: gratuitous ARP packet, ARP request message and arp reply message.
5. method according to claim 4 is characterized in that, further comprises:
Step a41, when said step a1 listens to the ARP information of local host from gratuitous ARP packet; The sign of in by the bearing message of the ARP information that carries this local host of said step b1 issue, carrying the expression gratuitous ARP packet, and the broadcasting of cancellation gratuitous ARP packet in core network;
Step c41, when carrying the sign of said expression gratuitous ARP packet in the bearing message, according to the corresponding gratuitous ARP packet of the sign of said expression gratuitous ARP packet structure, and trigger this gratuitous ARP request broadcasting in the site-local network of structure.
6. method according to claim 4 is characterized in that, further comprises:
Step a42, when said step a1 listens to the ARP information of local host from the ARP request message; If this ARP request message the ARP information of the strange land main frame that will ask be not recorded in the strange land information bank of this machine; Then in by the bearing message of the ARP information that carries this local host of said step b1 issue, carry the sign of expression ARP request message and the solicited message in the ARP request message, and the broadcasting of cancellation ARP request message in core network;
Step c42, when sign that carries said expression ARP request message in the bearing message and described request information, according to the corresponding ARP request message of the sign of said expression ARP request message and described request information structuring, and trigger this ARP request message broadcasting in the site-local network of structure.
7. method according to claim 3 is characterized in that, further comprises:
Step a43, when said step a1 listens to the ARP information of local host from the arp reply message, trigger this clean culture of arp reply message in core network.
8. according to any described method in the claim 1 to 7, it is characterized in that bearing message has TLV, the entrained all the elements of bearing message all are carried among the TLV.
9. method according to claim 8 is characterized in that, bearing message is the ISIS protocol massages.
10. method according to claim 9 is characterized in that, the ISIS protocol massages is LSP.
11. one kind is used to the device of realizing that ARP intercepts, it is characterized in that, comprising:
Local ARP intercepts module, intercepts the ARP information of local host the ARP message in the site-local network;
Local information release module, the ARP information that said local ARP is intercepted the local host that listens to the ARP message of module in the site-local network are carried in the bearing message and through realizing based on virtual link between each station network that two layers of interconnected core network are distributed to bearing message the edge device of each strange land station network;
Strange land ARP intercepts module, from the bearing message of edge device through the core network issue of strange land station network, intercepts the ARP information of strange land main frame.
12. device according to claim 11 is characterized in that, further comprises:
The local information study module, the MAC information of study local host the ARP message in the site-local network;
Strange land information learning module is from the edge device of the strange land station network MAC information through study strange land main frame the bearing message of core network issue.
13. device according to claim 12 is characterized in that, further comprises:
The local information maintenance module, the said local ARP of record intercepts the MAC information that ARP information that module listens to and said local mac study module learn and is respectively ARP information and the corresponding ageing timer of MAC maintenance of information that writes down in the local information storehouse in the local information storehouse of this machine;
Module listens to or MAC information is learnt before the ageing timer of correspondence is overtime but also by said local mac study module if the ARP information that writes down in the local information storehouse was intercepted by said local ARP not only before the ageing timer of correspondence is overtime, then the ageing timer of correspondence is restarted;
If the corresponding ageing timer of ARP information that writes down in the local information storehouse or MAC information is overtime, then with this ARP information in the local information storehouse or MAC information deletion, and produce this ARP information or the overtime fail message of MAC obsolescence of information in the expression local information storehouse;
The fail message release module is carried on the edge device that is distributed to each strange land station network in the bearing message and through the core network message with expression ARP information or the overtime fail message of MAC obsolescence of information;
Strange land maintenance of information module, the said strange land ARP of record intercepts the MAC information that ARP information that module listens to and said strange land mac learning modules learn arrive in the information bank of the strange land of this machine; If from the bearing message that core network receives, carry fail message, then with the ARP information or the MAC information deletion of strange land main frame corresponding in the strange land information bank of this machine.
14. device according to claim 13 is characterized in that, said ARP message comprises: gratuitous ARP packet, ARP request message and arp reply message.
15. device according to claim 14 is characterized in that, further comprises:
Local gratuitous ARP module; When said local ARP intercepts module and from gratuitous ARP packet, listens to the ARP information of local host, in by the bearing message of the ARP information that carries this local host of said local information release module issue, carry the sign of expression gratuitous ARP packet and cancel the broadcasting of gratuitous ARP packet in core network;
Strange land gratuitous ARP module; When carrying the sign of said expression gratuitous ARP packet in the bearing message, according to the corresponding gratuitous ARP packet of the sign structure of said expression gratuitous ARP packet, also this gratuitous ARP request broadcasting in the site-local network of triggering structure.
16. device according to claim 14 is characterized in that, further comprises:
Local ARP request module; When said local ARP intercepts module and from the ARP request message, listens to the ARP information of local host; If the ARP information of the strange land main frame that this ARP request message institute will ask did not listen to from bearing message, then in by the bearing message of the ARP information that carries this local host of said local information release module issue, carry sign and the solicited message in the ARP request message of representing the ARP request message and cancel the broadcasting of ARP request message in core network;
Strange land ARP request module; When sign that carries the said ARP of expression request message in the bearing message and described request information, according to sign and corresponding ARP request message, also this ARP request message broadcasting in the site-local network of triggering structure of described request information structuring of said expression ARP request message.
17. device according to claim 14 is characterized in that, further comprises:
Local arp reply module when said local ARP intercepts module and from the arp reply message, listens to the ARP information of local host, triggers this clean culture of arp reply message in core network.
18. according to any described device in the claim 11 to 17, it is characterized in that bearing message has TLV, the entrained all the elements of bearing message all are carried among the TLV.
19. device according to claim 18 is characterized in that, bearing message is the ISIS protocol massages.
20. device according to claim 19 is characterized in that, the ISIS protocol massages is LSP.
CN201210073051.8A 2012-03-19 2012-03-19 Method and device for realizing address resolution protocol (ARP) interception Active CN102594943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210073051.8A CN102594943B (en) 2012-03-19 2012-03-19 Method and device for realizing address resolution protocol (ARP) interception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210073051.8A CN102594943B (en) 2012-03-19 2012-03-19 Method and device for realizing address resolution protocol (ARP) interception

Publications (2)

Publication Number Publication Date
CN102594943A true CN102594943A (en) 2012-07-18
CN102594943B CN102594943B (en) 2014-10-22

Family

ID=46483136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210073051.8A Active CN102594943B (en) 2012-03-19 2012-03-19 Method and device for realizing address resolution protocol (ARP) interception

Country Status (1)

Country Link
CN (1) CN102594943B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857588A (en) * 2012-09-17 2013-01-02 杭州华三通信技术有限公司 Processing method and apparatus for address resolution protocol ARP information
CN103118148A (en) * 2013-01-31 2013-05-22 杭州华三通信技术有限公司 Method and device for updating ARP (address resolution protocol) cache
CN103369064A (en) * 2013-07-03 2013-10-23 杭州华三通信技术有限公司 Method and equipment for learning ARP (Address Resolution Protocol) entries
CN103973833A (en) * 2014-05-05 2014-08-06 杭州华三通信技术有限公司 Method and device for updating ARP cache
CN104734960A (en) * 2013-12-20 2015-06-24 中国移动通信集团公司 Message processing method and controller equipment
CN105791457A (en) * 2016-02-26 2016-07-20 杭州华三通信技术有限公司 Data processing method and apparatus
CN107547677A (en) * 2017-06-15 2018-01-05 新华三技术有限公司 ARP proxy method and apparatus
US10298538B2 (en) 2014-10-09 2019-05-21 Hewlett Packard Enterprise Development Lp Address resolution

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866923A (en) * 2006-02-24 2006-11-22 华为技术有限公司 Method and system for realizing binding interface edge-to-edge pseudo wire simulation service
CN1992672A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method for preventing network interruption caused by address aging and time inconformity
CN101488964A (en) * 2009-02-20 2009-07-22 杭州华三通信技术有限公司 Method, system and router for implementing address resolution and double layered communication
CN102291320A (en) * 2011-09-29 2011-12-21 杭州华三通信技术有限公司 MAC (media access control) address learning method and edge device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992672A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method for preventing network interruption caused by address aging and time inconformity
CN1866923A (en) * 2006-02-24 2006-11-22 华为技术有限公司 Method and system for realizing binding interface edge-to-edge pseudo wire simulation service
CN101488964A (en) * 2009-02-20 2009-07-22 杭州华三通信技术有限公司 Method, system and router for implementing address resolution and double layered communication
CN102291320A (en) * 2011-09-29 2011-12-21 杭州华三通信技术有限公司 MAC (media access control) address learning method and edge device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857588A (en) * 2012-09-17 2013-01-02 杭州华三通信技术有限公司 Processing method and apparatus for address resolution protocol ARP information
CN102857588B (en) * 2012-09-17 2015-09-09 杭州华三通信技术有限公司 The processing method of ARP information and device
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
CN103369064B (en) * 2013-07-03 2016-08-31 杭州华三通信技术有限公司 The learning method of a kind of ARP and equipment
CN103369064A (en) * 2013-07-03 2013-10-23 杭州华三通信技术有限公司 Method and equipment for learning ARP (Address Resolution Protocol) entries
CN104734960A (en) * 2013-12-20 2015-06-24 中国移动通信集团公司 Message processing method and controller equipment
CN104734960B (en) * 2013-12-20 2018-02-23 中国移动通信集团公司 A kind of message processing method and controller equiment
CN103973833A (en) * 2014-05-05 2014-08-06 杭州华三通信技术有限公司 Method and device for updating ARP cache
US10298538B2 (en) 2014-10-09 2019-05-21 Hewlett Packard Enterprise Development Lp Address resolution
CN105791457A (en) * 2016-02-26 2016-07-20 杭州华三通信技术有限公司 Data processing method and apparatus
CN105791457B (en) * 2016-02-26 2019-04-09 新华三技术有限公司 A kind of data processing method and device
CN107547677A (en) * 2017-06-15 2018-01-05 新华三技术有限公司 ARP proxy method and apparatus
CN107547677B (en) * 2017-06-15 2020-09-08 新华三技术有限公司 ARP proxy method and device

Also Published As

Publication number Publication date
CN102594943B (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN102594943B (en) Method and device for realizing address resolution protocol (ARP) interception
CN104283980B (en) A kind of address resolution protocol pickup method and device
CN102291320B (en) MAC (media access control) address learning method and edge device
US9071458B2 (en) Dual adjacency between edge devices at a network site
CN104378296A (en) Message forwarding method and device
CN103685006A (en) Packet forwarding method for edge device and edge device
CN102859973A (en) Method, apparatus and system for address resolution
CN102263704A (en) Topology construction method and device supporting layer 2 interconnection of data centers
CN102932499A (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN102025522B (en) Method for realizing multicast between different IP domains and boundary gateway router
CN108540386B (en) Method and device for preventing service flow interruption
CN102394825B (en) Method and device for processing message
CN103685007B (en) A kind of mac learning method when edge device message forwards and edge device
CN103780494B (en) A kind of user information acquiring method and device
CN102647360A (en) Method and equipment for transmitting messages in VRRPE (virtual router redundancy protocol equilibrium)
CN102201963B (en) Media access control-forced forwarding method and functional unit
CN106375211B (en) Exchange data processing method and interchanger in VRRP load-balancing scenario
CN103414642B (en) A kind of forwarding information maintaining method and equipment
CN102638408A (en) Method for sending topology change (TC) message and method and device for refreshing forwarding table
CN103200119B (en) A kind of Ethernet virtual interconnection site inner load sharing method and edge device
CN103795635A (en) Processing method, device and system for controlling message broadcast
CN102859947A (en) Method, apparatus and system for neighbor discovery
CN102857435B (en) Method and device for forwarding three-layer data flow in data center site
EP2860916B1 (en) Method for notifying transmission path information and route bridging
CN103354567A (en) Method for synchronizing media access control (MAC) addresses and device

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

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.

CP03 Change of name, title or address