CN107370838A - ARP proxy machinery of consultation and device, ARP proxy method and apparatus - Google Patents

ARP proxy machinery of consultation and device, ARP proxy method and apparatus Download PDF

Info

Publication number
CN107370838A
CN107370838A CN201610319341.4A CN201610319341A CN107370838A CN 107370838 A CN107370838 A CN 107370838A CN 201610319341 A CN201610319341 A CN 201610319341A CN 107370838 A CN107370838 A CN 107370838A
Authority
CN
China
Prior art keywords
arp
heartbeat
bag
arp proxy
identified
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.)
Withdrawn
Application number
CN201610319341.4A
Other languages
Chinese (zh)
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.)
Beijing Xinwei Telecom Technology Inc
Original Assignee
Beijing Xinwei Telecom Technology Inc
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 Beijing Xinwei Telecom Technology Inc filed Critical Beijing Xinwei Telecom Technology Inc
Priority to CN201610319341.4A priority Critical patent/CN107370838A/en
Publication of CN107370838A publication Critical patent/CN107370838A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of ARP proxy machinery of consultation and device, ARP proxy method and apparatus.The ARP proxy method includes:Receive ARP request bag;According to the MAC Address in the ARP request bag, local mac address table is inquired about;Own if the MAC Address is tunneling terminal, and the ARP proxy is identified as activated state, then the ARP request bag is acted on behalf of;Own if the MAC Address is tunneling terminal, and the ARP proxy is identified as inactive state, then the ARP request bag is forwarded into the tunneling terminal.ARP proxy machinery of consultation provided in an embodiment of the present invention and device, ARP proxy method and apparatus effectively solve the problems, such as the business confusion in ARP proxy.

Description

ARP proxy machinery of consultation and device, ARP proxy method and apparatus
Technical field
The present embodiments relate to mobile communication technology field, more particularly to a kind of ARP proxy machinery of consultation With device, ARP proxy method and apparatus.
Background technology
When main frame is exchanged visits between each other, originating end wants broadcast Address Resolution agreement (Address resolution Protocol, ARP) request, to obtain medium access control (the Media access of destination or next-hop Control, MAC) address communicated.ARP proxy mechanism is a kind of following mechanism:Gateway device generation The main frame that managing to go directly carries out response to ARP request, with the MAC Address proxy target main frame of oneself MAC Address.
Fig. 1 shows the scene for performing ARP proxy in cellular networks.Referring to Fig. 1, mobile terminal 11 Relative to the 12 corresponding cell of anchor base station belonged to originally with it, there occurs the movement of position, it is moved to Serving cell corresponding to serving BS 13.Now, mobile terminal is possible to execution and changes anchor operation, also It is to say, base station corresponding to other cells is chosen to be the new anchor base station of itself by mobile terminal, and no longer with original The anchor base station 12 come is anchor.In the prior art, under abnormal environment, original anchor base station 12 may not Receive mobile terminal 11 has changed anchor operation.That is, changing anchor in mobile terminal execution operates it Afterwards, if receiving the ARP request for mobile terminal 11, anchor base station 12 still can be to the ARP Request is acted on behalf of.So, the business for having resulted in ARP proxy business is chaotic.
The content of the invention
For above-mentioned technical problem, the embodiments of the invention provide a kind of ARP proxy machinery of consultation and device, ARP proxy method and apparatus, to solve the problems, such as the business confusion in ARP proxy.
In a first aspect, the embodiments of the invention provide a kind of ARP proxy machinery of consultation, methods described includes:
Tunnel is established between the serving BS of network side;
Heartbeat request bag is continuously transmitted to the serving BS by the tunnel;
If within a specified time receiving heartbeat response bag corresponding with the heartbeat request bag, ARP is changed Agent identification is activated state;
If continuous multiple heartbeat request Bao Junwei receive corresponding heartbeat response bag within the specified time, Change the ARP proxy and be identified as inactive state.
Second aspect, the embodiment of the present invention additionally provide a kind of ARP proxy consulting device, described device bag Include:
Tunnel building module, for establishing tunnel between the serving BS of network side;
Request sending module, for continuously transmitting heartbeat request bag to the serving BS by the tunnel;
Active module, if within a specified time receiving heartbeat response bag corresponding with the heartbeat request bag, Then modification ARP proxy is identified as activated state;
Inactive module, if being received for continuous multiple heartbeat request Bao Junwei within the specified time correspondingly Heartbeat response bag, then change the ARP proxy and be identified as inactive state.
The third aspect, the embodiment of the present invention additionally provide a kind of ARP proxy method, and methods described includes:
Receive ARP request bag;
According to the MAC Address in the ARP request bag, local mac address table is inquired about;
Own if the MAC Address is tunneling terminal, and the ARP proxy is identified as activated state, Then the ARP request bag is acted on behalf of;
Own if the MAC Address is tunneling terminal, and the ARP proxy is identified as inactive state, The ARP request bag is then forwarded to the tunneling terminal.
Fourth aspect, the embodiment of the present invention additionally provide a kind of ARP proxy device, and described device includes:
Request receiving module, for receiving ARP request bag;
Address lookup module, for the MAC Address in the ARP request bag, inquire about local Mac address table;
Proxy module, if it is that tunneling terminal owns for the MAC Address, and the ARP proxy Activated state is identified as, then the ARP request bag is acted on behalf of;
Forwarding module, if it is that tunneling terminal owns for the MAC Address, and the ARP proxy Inactive state is identified as, then the ARP request bag is forwarded to the tunneling terminal.
ARP proxy machinery of consultation provided in an embodiment of the present invention and device, ARP proxy method and apparatus, By continuously transmitting heartbeat request bag, the working condition of confirmed service base station to serving BS, and passing through After heartbeat response bag corresponding with the heartbeat request bag, mark ARP proxy as activated state, from And the ARP proxy operation to terminal is normally performed, the business for effectively avoiding ARP proxy business is mixed Disorderly.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the present invention Other features, objects and advantages will become more apparent upon:
Fig. 1 is the network architecture diagram that ARP proxy is carried out in the mobile communications network that prior art provides;
Fig. 2 is the flow chart for the ARP proxy machinery of consultation that first embodiment of the invention provides;
Fig. 3 is the stream that request sends operation in the ARP proxy machinery of consultation that second embodiment of the invention provides Cheng Tu;
Fig. 4 is the flow chart of activation manipulation in the ARP proxy machinery of consultation that third embodiment of the invention provides;
Fig. 5 is the flow of inactive operation in the ARP proxy machinery of consultation that fourth embodiment of the invention provides Figure;
Fig. 6 is the flow chart for the ARP proxy machinery of consultation that fifth embodiment of the invention provides;
Fig. 7 is the flow chart for the ARP proxy method that sixth embodiment of the invention provides;
Fig. 8 is the structure chart for the ARP proxy consulting device that seventh embodiment of the invention provides;
Fig. 9 is the structure chart for the ARP proxy device that eighth embodiment of the invention provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this The specific embodiment of place description is used only for explaining the present invention, rather than limitation of the invention.Also need in addition It is noted that for the ease of description, part related to the present invention illustrate only in accompanying drawing and not all knot Structure.
First embodiment
Present embodiments provide a kind of technical scheme of ARP proxy machinery of consultation.The ARP proxy is consulted Method is performed by ARP proxy machinery of consultation device, and the ARP proxy machinery of consultation device is integrated in anchorage Among standing.
Referring to Fig. 2, the ARP proxy machinery of consultation includes:
Tunnel is established between S21, and the serving BS of network side.
For the normal transmission of spanning gateway data, anchor base station is firstly the need of the serving BS current with mobile terminal Between establish tunnel.
The foundation in tunnel is typically to be initiated by serving BS.Specifically, anchor of the serving BS to mobile terminal Base station sends tunnel building request bag.Anchor base station is after above-mentioned tunnel building request bag is received, to transmission The serving BS feedback tunnel building response bag of the tunnel building request bag.Serving BS receive it is described After tunnel building response bag, the tunnel between anchor base station and serving BS is formally established.
S22, heartbeat request bag is continuously transmitted to the serving BS by the tunnel.
Establish after the tunnel, anchor base station is continuous to the serving BS by the tunnel established Send heartbeat request bag.So-called continuous transmission, refers to be spaced at every fixed time, just to the service Base station sends a heartbeat request bag.More specifically, a heartbeat inspecting timer can be started, whenever During the heartbeat inspecting timer expiry, just a heartbeat request bag is sent to the serving BS.
S23, if within a specified time receiving heartbeat response bag corresponding with the heartbeat request bag, change ARP proxy is identified as activated state.
The ARP proxy mark is used to refer to show ARP proxy operation whether is performed to specific mobile terminal Identification field.The ARP proxy, which identifies possible state, includes activated state and inactive state.
Beginning timing is unwrapped from have sent a heartbeat request to the serving BS, if within the specified time, The anchor base station have received from the serving BS, heartbeat response corresponding with the heartbeat request bag Bag, then illustrate that the ARP proxy operation of the anchor base station is still effective for the mobile terminal.Now, The local ARP proxy of modification anchor base station is identified as activated state.
S24, if continuous multiple heartbeat request Bao Junwei receive corresponding heartbeat response within the specified time Bag, then change the ARP proxy and be identified as inactive state.
If within one continuous time, for continuous multiple heartbeat request bags on order of transmission, all do not have Have and within a specified time receive corresponding heartbeat response bag, then illustrate the anchor base station for the shifting The ARP proxy operation of dynamic terminal is invalid.Now, the local ARP proxy of anchor base station is changed to be identified as Inactive state.
Tunnel is established between the serving BS that the present embodiment passes through network side, by the tunnel to the clothes Business base station continuously transmits heartbeat request bag, if within a specified time receiving the heart corresponding with the heartbeat request bag Response bag is jumped, then changes ARP proxy and is identified as activated state, if continuous multiple heartbeat request Bao Junwei are in institute Heartbeat response bag corresponding to being received in specified time is stated, then changes the ARP proxy and is masked as inactive state, To avoid the business confusion of ARP proxy business from providing the foundation.
Second embodiment
The present embodiment further provides ARP proxy negotiation side based on the above embodiment of the present invention Request sends a kind of technical scheme of operation in method.In the technical scheme, by the tunnel to the clothes Business base station, which continuously transmits heartbeat request bag, to be included:If the heartbeat inspecting timer is not actuated, described in startup Heartbeat inspecting timer;After heartbeat inspecting timer expiry, sent by the tunnel to the serving BS One heartbeat request bag;Reset the heartbeat inspecting timer;Repeat aforesaid operations.
Referring to Fig. 3, continuously transmitting heartbeat request bag to the serving BS by the tunnel includes:
S31, if the heartbeat inspecting timer is not actuated, start the heartbeat inspecting timer.
In the present embodiment, in order to ensure the accurate measuring and calculating of specified time in previous embodiment, there is provided heartbeat Monitor timer.The heartbeat inspecting timer has fixed overtime duration to set.It is that is, heavy every time After putting the heartbeat inspecting timer, by regular time length, the heartbeat inspecting timer can surpass When.
The heartbeat request bag is sent, it is necessary to start the heartbeat prison in order to ensure to be spaced at every fixed time Survey timer.That is, when needing to continuously transmit heartbeat request bag to serving BS, it is necessary to check institute State whether heartbeat inspecting timer has been started up.If the heartbeat inspecting timer is not actuated, need by It starts.
S32, after heartbeat inspecting timer expiry, a heart is sent to the serving BS by the tunnel Jump request bag.
In each heartbeat inspecting timer expiry, the heartbeat request bag is sent to the serving BS, is protected The transmission for carrying out the heartbeat request bag is at regular intervals demonstrate,proved.
S33, reset the heartbeat inspecting timer.
After completing the transmission to the heartbeat request bag every time, the heartbeat inspecting timer is reset, So as to calculate to the transmission time of next heartbeat request bag.
S34, repeat S32 and S33 operation.
In the state of the heartbeat inspecting timer keeps starting, above-mentioned S32 and S33 operation is repeated, It is achieved thereby that heartbeat request bag is transmitted at regular intervals.
The tunnel being repeated up between anchor base station and serving BS of operation to above-mentioned S32 and S33 is stopped.
The present embodiment is by resetting heartbeat inspecting timer, and in heartbeat inspecting timer expiry, to institute State serving BS and send heartbeat request bag, realize and heartbeat request bag is continuously transmitted with Fixed Time Interval.
3rd embodiment
The present embodiment further provides ARP proxy negotiation side based on the above embodiment of the present invention A kind of technical scheme of activation manipulation in method.In the technical scheme, if within a specified time receive with it is described Heartbeat response bag corresponding to heartbeat request bag, then change ARP proxy and be identified as activated state, including:If institute Before stating heartbeat inspecting timer expiry, heartbeat response bag corresponding with the heartbeat request bag is received, judges institute ARP proxy is stated to identify whether as inactive state;If the ARP proxy is identified as inactive state, change The ARP proxy is identified as activated state.
Referring to Fig. 4, if within a specified time receiving volume heartbeat response bag corresponding with the heartbeat request bag, Modification ARP proxy, which is identified as activated state, to be included:
S41, if before the heartbeat inspecting timer expiry, receive the heart corresponding with the heartbeat request bag Response bag is jumped, judges that the ARP proxy is identified whether as inactive state.
If before corresponding heartbeat inspecting timer expiry, anchor base station have received corresponding with heartbeat request bag Heartbeat response bag, illustrate anchor base station to the operation of the ARP proxy of mobile terminal still effectively, it is necessary to by ARP Agent identification is revised as activated state.
Specifically, anchor base station checks the ARP proxy mark, it is so as to judge that the ARP proxy identifies No is inactive state.
S42, if the ARP proxy is identified as inactive state, change the ARP proxy be identified as it is sharp State living.
By being checked to the ARP proxy mark, if judging, the ARP proxy is identified as inactive state, Then need to change the ARP proxy and be identified as activated state;If judging, the ARP proxy is identified as activated state, Further operation need not then be performed.
The present embodiment is corresponding with the heartbeat request bag by before the heartbeat inspecting timer expiry, receiving Heartbeat response bag, judge whether the ARP proxy mark is inactive state, and when the ARP generations When reason is identified as inactive state, changes the ARP proxy and be identified as activated state, realize the ARP generations Reason identifies the change by inactive state to activated state.
Fourth embodiment
The present embodiment further provides ARP proxy negotiation side based on the above embodiment of the present invention A kind of technical scheme of inactive operation in method.In the technical scheme, if continuous multiple heartbeat request Bao Jun Heartbeat response bag corresponding to not received within the specified time, then change the ARP proxy be identified as it is non- Activated state includes:If continuous three heartbeat request Bao Junwei before the heartbeat inspecting timer expiry, are received To heartbeat response bag corresponding with the heartbeat request bag, judge that the ARP proxy is identified whether as activation State;If the ARP proxy mark is activated state, changes the ARP proxy and be identified as inactive state.
Referring to Fig. 5, if continuous multiple heartbeat request Bao Junwei receive corresponding heartbeat within the specified time Response bag, then changing the ARP proxy and being identified as inactive state includes:
S51, if continuous three heartbeat request Bao Junwei receive before the heartbeat inspecting timer expiry Heartbeat response bag corresponding with the heartbeat request bag, judges that the ARP proxy is identified whether as activated state.
If three continuous heartbeat request bags, not before its corresponding heartbeat inspecting timer expiry, Heartbeat response bag corresponding with the heartbeat request bag is received, illustrates ARP of the anchor base station to mobile terminal Agent operation is no longer valid, it is necessary to which ARP proxy mark is revised as into inactive state.
Specifically, anchor base station checks its ARP proxy mark being locally stored, so as to judge the ARP generations Reason is identified whether as activated state.
S52, if the ARP proxy mark be activated state, change the ARP proxy be identified as it is non-swash State living.
By being checked to the ARP proxy mark, if judging, the ARP proxy is identified as activated state, Then need to change the ARP proxy and be identified as inactive state;If it is non-sharp to judge that the ARP proxy is identified as State living, then need not perform further operation.
The present embodiment by when continuous three heartbeat request Bao Junwei are before the heartbeat inspecting timer expiry, Receive heartbeat response bag corresponding with the heartbeat request bag, judge the ARP proxy identify whether as Activated state, and when the ARP proxy mark is activated state, change the ARP proxy be identified as it is non- Activated state, realize change of the ARP proxy mark by activated state to inactive state.
5th embodiment
The present embodiment further provides ARP proxy negotiation side based on the above embodiment of the present invention Another technical scheme of method.In the technical scheme, the ARP proxy machinery of consultation also includes:If The tunnel end packet of serving BS transmission is received, then stops the heartbeat inspecting timer, does not retransmit institute Heartbeat request bag is stated, and deletes the ARP proxy mark.
Referring to Fig. 6, the ARP proxy machinery of consultation includes:
Tunnel is established between S61, and the serving BS of network side.
S62, heartbeat request bag is continuously transmitted to the serving BS by the tunnel.
S63, if within a specified time receiving heartbeat response bag corresponding with the heartbeat request bag, change ARP proxy is identified as activated state.
S64, if continuous multiple heartbeat request Bao Junwei receive corresponding heartbeat response within the specified time Bag, then change the ARP proxy and be identified as inactive state.
S65, if receiving the tunnel end packet of serving BS transmission, stop the heartbeat inspecting timer, The heartbeat request bag is not retransmited, and deletes the ARP proxy mark.
It is to establish any time behind tunnel between the serving BS, once the anchor base station receives institute The tunnel end packet of serving BS transmission is stated, then the anchor base station stops the heartbeat inspecting timer, stops The heartbeat request bag continuously transmits, while deletes the ARP proxy mark.That is, once receive The tunnel end packet sent to the serving BS, the anchor base station stop the ARP to the mobile terminal Agent operation.
The present embodiment is by after the tunnel end packet that serving BS is sent is received, stopping the heartbeat prison Timer is surveyed, is not sending the heartbeat request bag, and deletes the ARP proxy mark, so as to stop Stop and the ARP of mobile terminal has been stopped operation.
Sixth embodiment
Present embodiments provide a kind of technical scheme of ARP proxy method.It is described in the technical scheme ARP proxy method includes:Receive ARP request bag;According to the MAC Address in the ARP request bag, Inquire about local mac address table;Own if the MAC Address is tunneling terminal, and the ARP Agent identification is activated state, then the ARP request bag is acted on behalf of;If the MAC Address is tunnel Operational terminal owns, and the ARP proxy is identified as inactive state, then forwards the ARP request bag To the tunneling terminal;Own if the MAC Address is work at present terminal, to the ARP Request bag is acted on behalf of;If not inquiring the MAC Address in the mac address table, abandon The ARP request bag.
Referring to Fig. 7, the ARP proxy method includes:
S71, receive ARP request bag.
The ARP request bag is for asking the MAC Address using the anchor base station as the mobile terminal of anchor Request bag.The ARP request bag can be any network element device in network.
S72, according to the MAC Address in the ARP request bag, inquire about local mac address table.
The mac address table stored in the anchor base station includes all using this base station as the mobile terminal of anchor MAC Address.After the ARP request bag is received, the mac address table is inquired about, to determine Whether the ARP request bag is for the mobile terminal using this base station as anchor.
S73, if the MAC Address be tunneling terminal own, and the ARP proxy be identified as it is sharp State living, then act on behalf of to the ARP request bag.
The tunneling terminal refers to there is what is had built up between its corresponding serving BS and this base station The mobile terminal in tunnel.Own if the MAC Address belongs to the tunneling terminal, and its is right The ARP proxy answered is identified as activated state, illustrates that anchor base station operates for the ARP proxy of above-mentioned mobile terminal Still effectively, the ARP request bag is acted on behalf of.
S74, if the MAC Address be tunneling terminal own, and the ARP proxy be identified as it is non- Activated state, then the ARP request bag is forwarded to the tunneling terminal.
Own if the MAC Address belongs to tunneling terminal, and corresponding ARP proxy is identified as Inactive state, illustrate that ARP proxy operation of the anchor base station for above-mentioned mobile terminal is invalid.Now, The ARP request bag is transmitted to the tunneling terminal by anchor base station, and no longer the ARP request is entered Row agency.
S75, own if the MAC Address is work at present terminal, the ARP request bag is carried out Agency.
Work at present terminal refers to that this base station provides the terminal of service for it.If the ARP request bag It is the work at present terminal for the anchor base station, that is, the MAC Address is work at present terminal institute Have, then agent operation is performed to the ARP request bag.
S76, if not inquiring the MAC Address in the mac address table, abandon the ARP Request bag.
The MAC Address is inquired in the mac address table that anchor base station stores not thereon, illustrates institute It is unrelated with this base station to state ARP request bag, anchor base station selection abandons the ARP request bag.
The present embodiment is by receiving ARP request bag, according to the MAC Address in the ARP request bag, Local mac address table is inquired about, when the MAC Address is that tunneling terminal owns, and the ARP Agent identification is activated state, and the ARP request is acted on behalf of, when the MAC Address is tunneling Terminal owns, and the ARP proxy is identified as inactive state, the ARP request bag is forwarded to described Tunneling terminal, when the MAC Address be work at present terminal own, the ARP request bag is entered Row agency, and the MAC Address ought not be inquired in the mac address table, abandon the ARP Request bag, it is achieved thereby that determining whether to carry out generation to the ARP request according to ARP proxy mark Reason, the business for avoiding ARP proxy business are chaotic.
7th embodiment
Present embodiments provide a kind of technical scheme of ARP proxy consulting device.Referring to Fig. 8, in the technology In scheme, the ARP proxy consulting device includes:Tunnel building module 81, request sending module 82, Active module 83 and inactive module 84.
The tunnel building module 81 is used to establish tunnel between the serving BS of network side.
The request sending module 82 please for continuously transmitting heartbeat to the serving BS by the tunnel Seek bag.
If the active module 83 is used within a specified time receive heartbeat corresponding with the heartbeat request bag Response bag, then change ARP proxy and be identified as activated state.
Received if the inactive module 84 is used for continuous multiple heartbeat request Bao Junwei within the specified time To corresponding heartbeat response bag, then change the ARP proxy and be identified as inactive state.
Optionally, the request sending module 82 includes:Bag sending submodule, timer reset submodule And repeat submodule.
After the bag sending submodule is used for heartbeat inspecting timer expiry, by the tunnel to the service Base station sends a heartbeat request bag.
The timer resets submodule and is used to reset the heartbeat inspecting timer.
The submodule that repeats is used to repeat aforesaid operations.
Optionally, the request sending module 82 also includes:Timer starts submodule.
If it is not actuated for the heartbeat inspecting timer that the timer starts submodule, start the heart Jump monitor timer.
Optionally, the active module 83 includes:First mark checks submodule and the first mark modification Module.
If first mark checks that submodule is used for before the heartbeat inspecting timer expiry, receive and institute Heartbeat response bag corresponding to heartbeat request bag is stated, judges that the ARP proxy is identified whether as inactive state.
If the first mark modification submodule is identified as inactive state for the ARP proxy, change The ARP proxy is identified as activated state.
Optionally, the inactive module 84 includes:Second mark checks submodule and the second mark modification Submodule.
Second mark checks that if submodule is supervised for continuous three heartbeat request Bao Junwei in the heartbeat Before surveying timer expiry, heartbeat response bag corresponding with the heartbeat request bag is received, judges the ARP Whether agent identification is activated state.
If it is activated state that the second mark modification submodule, which is used for ARP proxy mark, institute is changed State ARP proxy and be identified as inactive state.
Optionally, the ARP proxy consulting device also includes:Stopping modular 85.
If tunnel end packet of the stopping modular 85 for receiving serving BS transmission, described in stopping Heartbeat inspecting timer, the heartbeat request bag is not retransmited, and delete the ARP proxy mark.
8th embodiment
Present embodiments provide a kind of technical scheme of ARP proxy device.Referring to Fig. 9, in the technical scheme In, the ARP proxy device includes:Request receiving module 91, address lookup module 92, proxy module 93 and forwarding module 94.
The request receiving module 91 is used to receive ARP request bag.
The address lookup module 92 is used for the MAC Address in the ARP request bag, and inquiry is originally The mac address table on ground.
If it is that tunneling terminal owns that the proxy module 93, which is used for the MAC Address, and the ARP Agent identification is activated state, then the ARP request bag is acted on behalf of.
If it is that tunneling terminal owns that the forwarding module 94, which is used for the MAC Address, and the ARP Agent identification is inactive state, then the ARP request bag is forwarded into the tunneling terminal.
Optionally, the ARP proxy device also includes:Local terminal proxy module 95 and discard module 96.
If it is that work at present terminal owns that the local terminal proxy module 95, which is used for the MAC Address, Then the ARP request bag is acted on behalf of.
If the discard module 96 is used to not inquire the MAC Address in the mac address table, Then abandon the ARP request bag.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for this area skill For art personnel, the present invention can have various changes and change.All institutes within spirit and principles of the present invention Any modification, equivalent substitution and improvements of work etc., should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. ARP proxy machinery of consultation, it is characterised in that including:
    Tunnel is established between the serving BS of network side;
    Heartbeat request bag is continuously transmitted to the serving BS by the tunnel;
    If within a specified time receiving heartbeat response bag corresponding with the heartbeat request bag, ARP is changed Agent identification is activated state;
    If continuous multiple heartbeat request Bao Junwei receive corresponding heartbeat response bag within the specified time, Change the ARP proxy and be identified as inactive state.
  2. 2. according to the method for claim 1, it is characterised in that by the tunnel to the service Base station, which continuously transmits heartbeat request bag, to be included:
    After heartbeat inspecting timer expiry, a heartbeat request is sent to the serving BS by the tunnel Bag;
    Reset the heartbeat inspecting timer;
    Repeat aforesaid operations.
  3. 3. according to the method for claim 2, it is characterised in that by the tunnel to the service Base station, which continuously transmits heartbeat request bag, also to be included:
    If the heartbeat inspecting timer is not actuated, start the heartbeat inspecting timer.
  4. 4. according to the method for claim 2, it is characterised in that if within a specified time receiving and institute Heartbeat response bag corresponding to heartbeat request bag is stated, then modification ARP proxy, which is identified as activated state, includes:
    If before the heartbeat inspecting timer expiry, heartbeat response corresponding with the heartbeat request bag is received Bag, judges that the ARP proxy is identified whether as inactive state;
    If the ARP proxy is identified as inactive state, changes the ARP proxy and be identified as activated state.
  5. 5. according to the method for claim 2, it is characterised in that if continuous multiple heartbeat request Bao Jun Heartbeat response bag corresponding to not received within the specified time, then change the ARP proxy be identified as it is non- Activated state includes:
    If continuous three heartbeat request Bao Junwei before the heartbeat inspecting timer expiry, receive with it is described Heartbeat response bag corresponding to heartbeat request bag, judge that the ARP proxy is identified whether as activated state;
    If the ARP proxy mark is activated state, changes the ARP proxy and be identified as inactive state.
  6. 6. according to the method for claim 2, it is characterised in that also include:
    If receiving the tunnel end packet of serving BS transmission, stop the heartbeat inspecting timer, no longer The heartbeat request bag is sent, and deletes the ARP proxy mark.
  7. A kind of 7. ARP proxy consulting device, it is characterised in that including:
    Tunnel building module, for establishing tunnel between the serving BS of network side;
    Request sending module, for continuously transmitting heartbeat request bag to the serving BS by the tunnel;
    Active module, if within a specified time receiving heartbeat response bag corresponding with the heartbeat request bag, Then modification ARP proxy is identified as activated state;
    Inactive module, if being received for continuous multiple heartbeat request Bao Junwei within the specified time correspondingly Heartbeat response bag, then change the ARP proxy and be identified as inactive state.
  8. A kind of 8. ARP proxy method, it is characterised in that including:
    Receive ARP request bag;
    According to the MAC Address in the ARP request bag, local mac address table is inquired about;
    Own if the MAC Address is tunneling terminal, and the ARP proxy is identified as activated state, Then the ARP request bag is acted on behalf of;
    Own if the MAC Address is tunneling terminal, and the ARP proxy is identified as inactive state, The ARP request bag is then forwarded to the tunneling terminal.
  9. 9. according to the method for claim 8, it is characterised in that also include:
    Own if the MAC Address is work at present terminal, the ARP request bag is acted on behalf of;
    If not inquiring the MAC Address in the mac address table, the ARP request is abandoned Bag.
  10. A kind of 10. ARP proxy device, it is characterised in that including:
    Request receiving module, for receiving ARP request bag;
    Address lookup module, for the MAC Address in the ARP request bag, inquire about local Mac address table;
    Proxy module, if it is that tunneling terminal owns for the MAC Address, and the ARP proxy Activated state is identified as, then the ARP request bag is acted on behalf of;
    Forwarding module, if it is that tunneling terminal owns for the MAC Address, and the ARP proxy Inactive state is identified as, then the ARP request bag is forwarded to the tunneling terminal.
CN201610319341.4A 2016-05-13 2016-05-13 ARP proxy machinery of consultation and device, ARP proxy method and apparatus Withdrawn CN107370838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610319341.4A CN107370838A (en) 2016-05-13 2016-05-13 ARP proxy machinery of consultation and device, ARP proxy method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610319341.4A CN107370838A (en) 2016-05-13 2016-05-13 ARP proxy machinery of consultation and device, ARP proxy method and apparatus

Publications (1)

Publication Number Publication Date
CN107370838A true CN107370838A (en) 2017-11-21

Family

ID=60304764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610319341.4A Withdrawn CN107370838A (en) 2016-05-13 2016-05-13 ARP proxy machinery of consultation and device, ARP proxy method and apparatus

Country Status (1)

Country Link
CN (1) CN107370838A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466323A (en) * 2002-09-12 2004-01-07 联想(北京)有限公司 Method for searching serivice in realizing dynamic network connection and sharing recource in home network
US7095746B1 (en) * 2000-06-14 2006-08-22 Arris International, Inc. Method and apparatus for sub-network devices without direct layer-2 communication and coupled to a common forwarding agent interface to communicate through layer-3
CN101616075A (en) * 2009-06-19 2009-12-30 成都华程信息技术有限公司 The ARP proxy technology
CN102572013A (en) * 2012-02-16 2012-07-11 神州数码网络(北京)有限公司 Method and system for realizing proxy address resolution protocol (ARP) based on gratuitous ARP
CN105208586A (en) * 2014-06-24 2015-12-30 北京信威通信技术股份有限公司 Anchor base station management method based on anchor base station pool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7095746B1 (en) * 2000-06-14 2006-08-22 Arris International, Inc. Method and apparatus for sub-network devices without direct layer-2 communication and coupled to a common forwarding agent interface to communicate through layer-3
CN1466323A (en) * 2002-09-12 2004-01-07 联想(北京)有限公司 Method for searching serivice in realizing dynamic network connection and sharing recource in home network
CN101616075A (en) * 2009-06-19 2009-12-30 成都华程信息技术有限公司 The ARP proxy technology
CN102572013A (en) * 2012-02-16 2012-07-11 神州数码网络(北京)有限公司 Method and system for realizing proxy address resolution protocol (ARP) based on gratuitous ARP
CN105208586A (en) * 2014-06-24 2015-12-30 北京信威通信技术股份有限公司 Anchor base station management method based on anchor base station pool

Similar Documents

Publication Publication Date Title
US8144687B2 (en) Method, apparatus and system for establishing a direct route between agents of a sender node and a receiver node
EP2426956B1 (en) Data transferring method, system and related network device based on proxy mobile (pm) ipv6
US7020465B2 (en) Controlling hand-off in a mobile node with two mobile IP clients
KR100911946B1 (en) A method of configuring a communication device, a network element and a communication device
JPWO2005069559A1 (en) Dynamic network management apparatus and dynamic network management method
CN105227693A (en) The collocation method of a kind of DNS of mobile device and device
DE60320105D1 (en) CONNECTING MOBILE NETWORK NODES OF THE NEXT GENERATION VIA NETWORKS OF PREVIOUS GENERATION TO NETWORKS NEXT GENERATION
US20050086371A1 (en) Method for transmitting data from server of virtual private network to mobile node
CN101316205A (en) Method for triggering safety tunnel establishment and device thereof
CN107370838A (en) ARP proxy machinery of consultation and device, ARP proxy method and apparatus
JP4317559B2 (en) Communication apparatus and communication method
JP2003018185A (en) Mobile ip communication system, mobile ip communication method, network repeater system and terminal for mobile object
CN101534289A (en) Method, node device and system for traversing firewall
CN102045235A (en) Method for realizing routing optimization and access router
US20060039407A1 (en) Session continuity
JP4791402B2 (en) Mobile communication system and mobile communication program
KR100780072B1 (en) Method and Apparatus for a managing end devices in a wireless personal area network
JP2005064877A (en) Mobile radio terminal, area notification server, and wireless access network switching method
Shon et al. Towards the implementation of reliable data transmission for 802.15. 4-based wireless sensor networks
CN102149086B (en) Address updating method for mobile IP (internet protocol) node and IP node device
CN101141386B (en) Routing optimization managing method and device
FI121725B (en) Network-initiated PDP context activation
JP3861885B2 (en) Mobile terminal and packet transmission method
JP2005318060A (en) Registration method of mobile ip communication terminal to ha and/or communication opposite party terminal, and communication terminal
JP4791401B2 (en) Mobile communication system and mobile communication program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171121