CN102868615B - The method and system of message transmission between a kind of local area network (LAN) - Google Patents
The method and system of message transmission between a kind of local area network (LAN) Download PDFInfo
- Publication number
- CN102868615B CN102868615B CN201210344876.9A CN201210344876A CN102868615B CN 102868615 B CN102868615 B CN 102868615B CN 201210344876 A CN201210344876 A CN 201210344876A CN 102868615 B CN102868615 B CN 102868615B
- Authority
- CN
- China
- Prior art keywords
- lan
- equipment
- area network
- local area
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides the method and system of message transmission between a kind of local area network (LAN).In described method, the first local area network (LAN) and other at least two local area network (LAN)s are connected, described method comprises: when receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquire about the ARP information of the second equipment; If inquire the ARP information of the second equipment, then send the address resolution information of described second equipment to the first equipment; Otherwise, to each LAN broadcast for inquiring about the request of the second device A RP information, and after receiving the response to described request feedback, send ARP information in described response to described first equipment, and described response is resolved, obtain the local area network (LAN) belonging to the second equipment; When receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, send described message.
Description
Technical field
The present invention relates to network communication field, particularly relate to the method and system of message transmission between a kind of local area network (LAN).
Background technology
Fig. 1 is the structural representation of hub-spoke (HUB-SPOKE) networking in prior art, this sentences enterprise headquarters and enterprise branch is described, wherein branch of large enterprise has more enterprise branch, as financial institution, they are in order to ensure the privacy of business data, usually all can apply for private line service to meet to operator the HUB-SPOKE star net forming of " enterprise-branch " branch, thus the LAN of each branch is connected in this larger LAN of general headquarters.
Summary of the invention
The method and system of message transmission between local area network (LAN) provided by the invention, the technical problem that solve is the two layers of networking application how realizing local area network (LAN) and multiple local area network (LAN).
For solving the problems of the technologies described above, the invention provides following technical scheme:
A method for message transmission between local area network (LAN), the first local area network (LAN) and other at least two local area network (LAN)s are connected, and described method comprises:
When receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquire about the ARP information of the second equipment;
If inquire the ARP information of the second equipment, then send the address resolution information of described second equipment to the first equipment; Otherwise, to each LAN broadcast for inquiring about the request of the second device A RP information, and after receiving the response to described request feedback, send ARP information in described response to described first equipment, and described response is resolved, obtain the local area network (LAN) belonging to the second equipment;
When receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, send described message.
Preferably, described method also has following features: described first local area network (LAN) and other at least two local area network (LAN)s are connected by ethernet network EoIP tunnel,
Preferably, described method also has following features: described first local area network (LAN) and other at least two local area network (LAN)s are connected by the EoIP tunnel that the same router of described first local area network (LAN) is corresponding.
Preferably, described method also has following features: described first local area network (LAN) and described at least two the EoIP tunnels between other local area network (LAN)s are that on the same router of described first local area network (LAN), same port is corresponding.
Preferably, described method also has following features: described method also comprises:
Before sending message to EoIP tunnel, data are encrypted, and send the message after described encryption by EoIP tunnel; And
After the message after receiving encryption, the message after encryption is decrypted, and sends the message after deciphering.
Preferably, described method also has following features: described method also comprises:
Receiving after to described response, recording the ARP information of described second equipment;
When the inquiry request of the 3rd equipment in the first local area network (LAN) of receiving to the second equipment, send the ARP information of the second equipment of local record to described 3rd equipment.
Preferably, described method also has following features: described method also comprises:
Continue not carried out timing by the time used to the ARP information of each equipment of local record and affiliated LAN Information;
According to timing result, delete and do not reached the ARP information of each equipment of the threshold value pre-set and affiliated LAN Information by the time used.
Preferably, described method also has following features: described method also comprises:
When receiving the request of ARP information of a certain equipment of the 4th equipment query that other local area network (LAN)s send, or, when receiving the message that described 4th equipment sends, record the ARP information of described 4th equipment and affiliated LAN Information.
A system for message transmission between local area network (LAN), the first local area network (LAN) and other at least two local area network (LAN)s are connected, and the system in described first local area network (LAN) comprises:
Inquiry unit, during for receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquires about the ARP information of the second equipment;
First dispensing device, is connected with described inquiry unit, for when finding the ARP information of the second equipment, then sends the address resolution information of described second equipment to the first equipment;
Broadcaster, is connected with described inquiry unit, for when not finding the ARP information of the second equipment, to each LAN broadcast for inquiring about the request of the second device A RP information;
Processing unit, for being connected with described broadcaster, for after receiving the response to described request feedback, sending ARP information in described response to described first equipment, and resolving described response, obtaining the local area network (LAN) belonging to the second equipment;
Second dispensing device, for when receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, sends described message.
Preferably, described system also has following features: described first local area network (LAN) and other at least two local area network (LAN)s are connected by ethernet network EoIP tunnel,
Preferably, described system also has following features: described first local area network (LAN) and other at least two local area network (LAN)s are connected by the EoIP tunnel that the same router of described first local area network (LAN) is corresponding.
Preferably, described system also has following features: described first local area network (LAN) and described at least two the EoIP tunnels between other local area network (LAN)s are that on the same router of described first local area network (LAN), same port is corresponding.
Preferably, described system also has following features: described system also comprises:
Encryption device, for before sending message to EoIP tunnel, is encrypted data, and sends the message after described encryption by EoIP tunnel; And
Decryption device, for after the message after receiving encryption, is decrypted the message after encryption, and sends the message after deciphering.
Preferably, described system also has following features: described system also comprises:
First tape deck, for receiving after to described response, is recording the ARP information of described second equipment;
3rd dispensing device, for when the inquiry request of the 3rd equipment in the first local area network (LAN) of receiving to the second equipment, sends the ARP information of the second equipment of local record to described 3rd equipment.
Preferably, described system also has following features: described system also comprises:
Time set, continues not carried out timing by the time used for the ARP information of each equipment to local record and affiliated LAN Information;
Delete device, is connected with described time set, for according to timing result, deletes and is not reached the ARP information of each equipment of the threshold value pre-set and affiliated LAN Information by the time used.
Preferably, described system also has following features: described system also comprises:
Second tape deck, for when receiving the request of ARP information of a certain equipment of the 4th equipment query that other local area network (LAN)s send, or, when receiving the message that described 4th equipment sends, record the ARP information of described 4th equipment and affiliated LAN Information.
Embodiment provided by the invention, at the first local area network (LAN) internal maintenance for the APR information of the equipment of each opposite end and affiliated LAN Information, thus construct the information of mac address forwarding table and ARP inquiry list item on switch, realize the object of being accessed mutually by the MAC Address of two layers, and then realize two layers of networking application of a local area network (LAN) and multiple local area network (LAN).
Accompanying drawing explanation
Fig. 1 is the structural representation of hub-spoke networking in prior art;
Fig. 2 is the schematic flow sheet of the embodiment of the method for message transmission between local area network (LAN) provided by the invention;
Fig. 3 is the schematic flow sheet of the embodiment of the method for message transmission between local area network (LAN) provided by the invention;
Fig. 4 is the structural representation after improving system shown in Figure 3;
Fig. 5 is the structural representation of the system embodiment of message transmission between local area network (LAN) provided by the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Fig. 2 is the schematic flow sheet of the embodiment of the method for message transmission between local area network (LAN) provided by the invention.Shown in Fig. 2, embodiment of the method comprises: the first local area network (LAN) and other at least two local area network (LAN)s are connected, and described method comprises:
Step 201, when receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquire about the ARP information of the second equipment;
If found, then perform step 203; Otherwise, perform step 204 ~ 205;
Step 203, send the address resolution information of described second equipment to the first equipment, then, perform step 206;
Step 204, to each LAN broadcast for inquiring about the request of the second device A RP information;
Step 205, receive to described request feedback response after, send ARP information in described response to described first equipment, and described response resolved, obtain the local area network (LAN) belonging to the second equipment, then, perform step 206;
Step 206, when receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, send described message.
As seen from the above, at the first local area network (LAN) internal maintenance for the APR information of the equipment of each opposite end and affiliated LAN Information, thus construct the information of mac address forwarding table and ARP inquiry list item on switch, realize the object of being accessed mutually by the MAC Address of two layers, and then realize two layers of networking application of a local area network (LAN) and multiple local area network (LAN).
Consider that traditional forms of enterprises's private line service rate are quite expensive, and the lifting of current IP networks bandwidth and safe practice is universal, increasing enterprise selects relatively cheap Internet public network as transmission network.If selection three layers of IP tunneling technique (as L2TP, GRE, IPSec) rebuilds the change that HUB-SPOKE secure network will certainly cause original topology of local area network (LAN), therefore under the prerequisite of original topology not changing local area network (LAN) in prior art, the effect of saving operation cost is reached by following means, specific as follows:
Described first local area network (LAN) and other at least two local area network (LAN)s are connected by ethernet network EoIP (EthernetOverIP) tunnel.
Fig. 3 for provided by the invention to the structural representation after network improvement shown in Fig. 1.System shown in Figure 3 is the HUB-SPOKE network model behind the EoIP tunnel specified in employing existing protocol RFC3378.Because EoIP tunnel is mainly used for the bridge joint being carried out by two Ethernet nets in logic by IP network, make the equipment in two networks can as in same local area network (LAN), ensure that two networks can be accessed mutually by the long-range MAC passing through two layers, meet the demand not changing the original topology of enterprise.Wherein in prior art RFC3378 agreement to EOIP realize principle and mechanism is set forth.
For in the networking structure shown in Fig. 3, need for each branch purchases the router that is supported EOIP bridge joint in general headquarters, enterprise needs to pay larger fund cost for this reason, and configuration effort is heavy.For this reason, improvement project is proposed.
For the transmission medium between the first local area network (LAN) and other local area network (LAN)s, namely described two EOIP tunnels, are that same router is corresponding.
Fig. 4 is the structural representation after improving system shown in Figure 3.Wherein in system shown in Figure 4, at general headquarters export deployment center router, dispose branch router at each branch outlet place; Center router public network address is 1.1.1.1, Branch_A public network address be 2.1.1.1, Branch_B public network address is 3.1.1.1; Then will there is following configuration according to EOIP principle that original RFC3378 sets forth as shown in table 1:
Table 1
Wherein in table 1, cunicular direction of the traffic is: all from LAN side joint receive flow be from then on sent to opposite end in tunnel; All flows received from EOIP tunnel are sent to LAN side;
Specifically, can be that this router two ports are corresponding, as corresponding in port one EOIP_TO_A, the corresponding EOIP_TO_B of port 2, or, corresponding by same port, as two EOIP tunnels all corresponding ports 1.
If at least two the corresponding same port in tunnel, in management router process, has the use number of saving port, reduces configuration complexity, the effect of convenient management.
Therefore further improvement project is proposed:
Described first local area network (LAN) and described at least two the EoIP tunnels between other local area network (LAN)s are that on the same router of described first local area network (LAN), same port is corresponding.
For ensureing the safety of tunneling data, can carry out in encapsulation process to data, be encrypted the data of transmission, and accordingly, once receive the data after encryption, also need to be decrypted enciphered data, therefore, described embodiment of the method also comprises:
Before sending the first message to EoIP tunnel, data are encrypted, and send the first message after described encryption by EoIP tunnel; And
After the message after receiving encryption, the message after encryption is decrypted, and and message after sending deciphering.
Such as, Internet protocol security IPSec technology can be adopted to ensure information safety.
The problem that equipment causes message transmitting time long because initiating ARP inquiry request in the first local area network (LAN), proposes to improve as follows:
Receiving after to described response, recording the ARP information of described second equipment;
When the inquiry request of the 3rd equipment in the first local area network (LAN) of receiving to the second equipment, send the ARP information of the second equipment of local record to described 3rd equipment.
When needing when there being other equipment in the first local area network (LAN) to communicate with the second equipment, corresponding equipment is fed back to by the ARP information of record, avoid and again ask to other LAN broadcasts, avoid spreading unchecked of ARP inquiry, the equipment that to respond in time again in this local area network (LAN) is to the acquisition of ARP information.This shows, if the ARP information of the second equipment of the router records in the first local area network (LAN), and feed back to corresponding equipment when needed, it acts as the role of an ARP proxy.
Certainly, reduce ARP and ask the scheme of spreading unchecked to also have another, specific as follows:
When receiving the request of ARP information of a certain equipment of the 4th equipment query that other local area network (LAN)s send, or, during the message that the 4th equipment that receives sends, record the ARP information of described 4th equipment and affiliated LAN Information.
In message when communicating to this locality by gathering the external world, the information of specific fields, obtains in the future useful to local transmission information, thus reduces the transmission times of local ARP request.
This shows, in other local area network (LAN)s of local record, the information of each equipment can be obtained by two kinds of modes (comprising ARP information and affiliated LAN Information):
A kind of is initiatively, namely by asking to each LAN broadcast ARP;
Another kind is passive, namely when receiving the message that external lan sends to this locality, by the parsing to this message, obtains above-mentioned information.
Certainly, in actual applications, along with the expansion of network size, the number of carrying out the local area network (LAN) communicated with the first local area network (LAN) can constantly increase, accordingly, in other local area network (LAN)s that the router of the first local area network (LAN) records, the information of equipment is also in continuous increase, for these information, safeguard pressure also in continuous increase, and when searching required ARP or affiliated LAN Information from these maintenance relations, because quantity is too much, query time how long problem also can be caused.For the problems referred to above existed, following solution is proposed:
Continue not carried out timing by the time used to the ARP information of each equipment of local record and affiliated LAN Information;
According to timing result, delete and do not reached the ARP information of each equipment of the threshold value pre-set and affiliated LAN Information by the time used.
Specifically, such scheme is removed in time by the corresponding relation do not used in a period of time, ensures that corresponding relation volume is on the router in a rational scope, thus convenient management and inquiry.
And threshold value herein can rule of thumb obtain, as being set to 2 ~ 3 minutes.
It should be noted that, message is above all the message that the equipment of a local area network (LAN) sends to the equipment of first local area network (LAN), namely usually said unicast message, the L 2 broadcast of asking for non-ARP and multicast frame, the router of the first local area network (LAN) carries out copying the above-mentioned broadcast of transmission or multicast message for each EOIP destination address existed.
With an application example, embodiment of the method provided by the invention is described further below:
The network that this application example adopts is similar to system shown in Figure 4, and difference is the EOIP tunnel in this application example, Center router only creating a point-to-multipoint (P2MP), namely configures source address, a multiple destination address; The configuration of each branch office router remains unchanged, i.e. the EOIP tunnel type of branch or P2P type, see table 2:
Table 2
For Center, the local area network (LAN) belonging to equipment is undertaken identifying by the tunnel of correspondence, if send to certain equipment the tunnel that message uses source address 1.1.1.1, destination address 2.1.1.1, then represents that this equipment belongs to Branch_A; Send to certain equipment the tunnel that message uses source address 1.1.1.1, destination address 3.1.1.1, then represent that this equipment belongs to Branch_B.
With following scene in order to be illustrated, wherein general headquarters have main frame HOST_1 (MAC_1) and HOST_2 (MAC_2), branch A to have main frame HOST_3 (MAC_3), and branch B has main frame HOST_4 (MAC_4).
When HOST_1 initiates the access to HOST_3, HOST_1 triggers ARP inquiry first, and this ARP query message is broadcasting packet, after Center router receives this message, to automatically deliver to EOIP_P2MP interface, forwarding process will copy a ARP query message for each destination address;
Branch A receives the ARP query message from general headquarters from EOIP tunnel, and now just the IP address of HOST1, mac address information can be recorded in mac address table corresponding to EOIP, in like manner branch B also can record above-mentioned information;
After HOST_3 replys the ARP request message of HOST_1, arp response message can get back to Center router by EOIP tunnel; Can record the MAC Address of HOST_3 and IP address after Center router receives this message in mac address table corresponding to 2.1.1.1, specifically see table 3, and can not there is any response in the inquiry for HOST_2 that branch B receives from general headquarters;
| Index | Main frame destination address | Main frame MAC | EOIP tunnel destination address |
| 1 | HOST_3 | MAC_3 | 2.1.1.1 |
| 2 | HOST_4 | MAC_4 | 3.1.1.1 |
Table 3
Learn the information of HOST_3 at general headquarters HOST_1 after, general headquarters HOST_1 sends ethernet frame to HOST_3, after Center router receives this frame, belong to destination address 2.1.1.1's by inquiring this MAC according to this frame target MAC (Media Access Control) address, therefore will carry out EOIP encapsulation according to source 1.1.1.1, object 2.1.1.1 to this ethernet frame, and send to the router of branch A;
The router of branch A, after receiving this ethernet frame, is transmitted to HOST_3.
The above-mentioned general headquarters that complete communicated with the first time of branch, when general headquarters communicate with HOST_3 afterwards, owing to being recorded in the information of HOST_3, only need inquiring about and just can directly be sent by corresponding EoIP tunnel.
When general headquarters have other main frames HOST_2 also to initiate the ARP of HOST_3 inquiry, Center router inquires about list item corresponding to the MAC of HOST_3 from the ARP information of local record, and the ARP information of the HOST_2 inquired is fed back to HOST_2;
After HOST_2 generates corresponding ethernet frame according to this list item, and after this ethernet frame appears at branch A, the MAC Address of HOST_2 and IP address can be recorded in mac address table corresponding to 1.1.1.1 after the router of branch A receives this message, specifically see table 4, and this ethernet frame is sent to HOST_3.
| Index | Main frame destination address | Main frame MAC | EOIP tunnel destination address |
| 1 | HOST_1 | MAC_1 | 1.1.1.1 |
| 2 | HOST_2 | MAC_2 | 1.1.1.1 |
Table 4
The information that wherein in table 4, MAC_1 is corresponding obtains when receiving the broadcast of ARP request, the information that MAC_2 is corresponding gets when receiving MAC_2, this shows, for branch office router, the ARP information of an equipment and affiliated LAN Information can be obtained by two aspects, namely the ARP request received, and from the message that a certain equipment receives.
For each list item in above-mentioned table 3 and table 4, all there is the lifetime in it, automatically will delete list item after the lifetime terminates; Need to refresh list item, i.e. lifetime reclocking after MAC address entries is queried hit.
Fig. 5 is the structural representation of the system embodiment of message transmission between local area network (LAN) provided by the invention.In system shown in Figure 5 embodiment, the first local area network (LAN) and other at least two local area network (LAN)s are connected, and the system in described first local area network (LAN) comprises:
Inquiry unit 501, during for receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquires about the ARP information of the second equipment;
First dispensing device 502, is connected with described inquiry unit 501, for when finding the ARP information of the second equipment, then sends the address resolution information of described second equipment to the first equipment;
Broadcaster 503, is connected with described inquiry unit 501, for when not finding the ARP information of the second equipment, to each LAN broadcast for inquiring about the request of the second device A RP information;
Processing unit 504, for being connected with described broadcaster 503, for after receiving the response to described request feedback, sending ARP information in described response to described first equipment, and resolving described response, obtaining the local area network (LAN) belonging to the second equipment;
Dispensing device 505, for when receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, sends described message.
Wherein, described first local area network (LAN) and other at least two local area network (LAN)s are connected by ethernet network EoIP tunnel,
Wherein, described first local area network (LAN) and other at least two local area network (LAN)s are connected by the EoIP tunnel that the same router of described first local area network (LAN) is corresponding.
Wherein, described first local area network (LAN) and described at least two the EoIP tunnels between other local area network (LAN)s be described first local area network (LAN) same router on same port corresponding.
Wherein, described system also comprises:
Encryption device, for before sending message to EoIP tunnel, is encrypted data, and sends the message after described encryption by EoIP tunnel; And
Decryption device, for after the message after receiving encryption, is decrypted the message after encryption, and sends the message after deciphering.
Wherein, described system also comprises:
First tape deck, for receiving after to described response, is recording the ARP information of described second equipment;
3rd dispensing device, for when the inquiry request of the 3rd equipment in the first local area network (LAN) of receiving to the second equipment, sends the ARP information of the second equipment of local record to described 3rd equipment.
Wherein, described system also comprises:
Time set, continues not carried out timing by the time used for the ARP information of each equipment to local record and affiliated LAN Information;
Delete device, is connected with described time set, for according to timing result, deletes and is not reached the ARP information of each equipment of the threshold value pre-set and affiliated LAN Information by the time used.
Wherein, described system also comprises:
Second tape deck, for when receiving the request of ARP information of a certain equipment of the 4th equipment query that other local area network (LAN)s send, or, when receiving the message that described 4th equipment sends, record the ARP information of described 4th equipment and affiliated LAN Information.
As seen from the above, at the first local area network (LAN) internal maintenance for the APR information of the equipment of each opposite end and affiliated LAN Information, thus construct the information of mac address forwarding table and ARP inquiry list item on switch, realize the object of being accessed mutually by the MAC Address of two layers, and then realize two layers of networking application of a local area network (LAN) and multiple local area network (LAN).
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range described in claim.
Claims (14)
1. the method for message transmission between local area network (LAN), it is characterized in that, the first local area network (LAN) and other at least two local area network (LAN)s are connected, and described method comprises:
When receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquire about the ARP information of the second equipment;
If inquire the ARP information of the second equipment, then send the address resolution information of described second equipment to the first equipment; Otherwise, to each LAN broadcast for inquiring about the request of the second device A RP information, and after receiving the response to described request feedback, send ARP information in described response to described first equipment, and described response is resolved, obtain the local area network (LAN) belonging to the second equipment;
When receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, send described message;
Described first local area network (LAN) and other at least two local area network (LAN)s are connected by ethernet network EoIP tunnel.
2. method according to claim 1, is characterized in that, described first local area network (LAN) and other at least two local area network (LAN)s are connected by the EoIP tunnel that the same router of described first local area network (LAN) is corresponding.
3. method according to claim 1, is characterized in that, described first local area network (LAN) and at least two EoIP tunnels between other local area network (LAN)s are that on the same router of described first local area network (LAN), same port is corresponding.
4., according to the arbitrary described method of claim 2 to 3, it is characterized in that, described method also comprises:
Before sending message to EoIP tunnel, data are encrypted, and send the message after described encryption by EoIP tunnel; And
After message after receiving encryption, the message after encryption is decrypted, and sends the message after deciphering.
5. method according to claim 1, is characterized in that, described method also comprises:
After receiving the response to described request feedback, record the ARP information of described second equipment;
When the inquiry request of the 3rd equipment in the first local area network (LAN) of receiving to the second equipment, send the ARP information of the second equipment of local record to described 3rd equipment.
6. method according to claim 1 or 5, it is characterized in that, described method also comprises:
Continue not carried out timing by the time used to the ARP information of each equipment of local record and affiliated LAN Information;
According to timing result, delete and do not reached the ARP information of each equipment of the threshold value pre-set and affiliated LAN Information by the time used.
7. method according to claim 1, is characterized in that, described method also comprises:
When receiving the request of ARP information of a certain equipment of the 4th equipment query that other local area network (LAN)s send, or, when receiving the message that described 4th equipment sends, record the ARP information of described 4th equipment and affiliated LAN Information.
8. the system of message transmission between local area network (LAN), it is characterized in that, the first local area network (LAN) and other at least two local area network (LAN)s are connected, and the system in described first local area network (LAN) comprises:
Inquiry unit, during for receiving the ARP information of the second equipment in other local area network (LAN)s of the first equipment query in the first local area network (LAN), the ARP information of each equipment preserved in advance from this locality, inquires about the ARP information of the second equipment;
First dispensing device, is connected with described inquiry unit, for when finding the ARP information of the second equipment, then sends the address resolution information of described second equipment to the first equipment;
Broadcaster, is connected with described inquiry unit, for when not finding the ARP information of the second equipment, to each LAN broadcast for inquiring about the request of the second device A RP information;
Processing unit, for being connected with described broadcaster, for after receiving the response to described request feedback, sending ARP information in described response to described first equipment, and resolving described response, obtaining the local area network (LAN) belonging to the second equipment;
Second dispensing device, for when receiving the message that the first equipment sends according to described ARP information, according to the local area network (LAN) belonging to the second equipment of local record, sends described message;
Described first local area network (LAN) and other at least two local area network (LAN)s are connected by ethernet network EoIP tunnel.
9. system according to claim 8, is characterized in that, described first local area network (LAN) and other at least two local area network (LAN)s are connected by the EoIP tunnel that the same router of described first local area network (LAN) is corresponding.
10. system according to claim 8, is characterized in that, described first local area network (LAN) and at least two EoIP tunnels between other local area network (LAN)s are that on the same router of described first local area network (LAN), same port is corresponding.
System described in 11. according to Claim 8 to 10 are arbitrary, it is characterized in that, described system also comprises:
Encryption device, for before sending message to EoIP tunnel, is encrypted data, and sends the message after described encryption by EoIP tunnel; And
Decryption device, after the message after receiving encryption, is decrypted the message after encryption, and sends the message after deciphering.
12. systems according to claim 8, is characterized in that, described system also comprises:
First tape deck, for after receiving the response to described request feedback, records the ARP information of described second equipment;
3rd dispensing device, for when the inquiry request of the 3rd equipment in the first local area network (LAN) of receiving to the second equipment, sends the ARP information of the second equipment of local record to described 3rd equipment.
System described in 13. according to Claim 8 or 12, is characterized in that, described system also comprises:
Time set, continues not carried out timing by the time used for the ARP information of each equipment to local record and affiliated LAN Information;
Delete device, is connected with described time set, for according to timing result, deletes and is not reached the ARP information of each equipment of the threshold value pre-set and affiliated LAN Information by the time used.
14. systems according to claim 8, is characterized in that, described system also comprises:
Second tape deck, for when receiving the request of ARP information of a certain equipment of the 4th equipment query that other local area network (LAN)s send, or, when receiving the message that described 4th equipment sends, record the ARP information of described 4th equipment and affiliated LAN Information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210344876.9A CN102868615B (en) | 2012-09-17 | 2012-09-17 | The method and system of message transmission between a kind of local area network (LAN) |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210344876.9A CN102868615B (en) | 2012-09-17 | 2012-09-17 | The method and system of message transmission between a kind of local area network (LAN) |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102868615A CN102868615A (en) | 2013-01-09 |
| CN102868615B true CN102868615B (en) | 2016-04-20 |
Family
ID=47447217
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210344876.9A Active CN102868615B (en) | 2012-09-17 | 2012-09-17 | The method and system of message transmission between a kind of local area network (LAN) |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102868615B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105763414B (en) * | 2016-01-27 | 2019-07-09 | 新华三技术有限公司 | A kind of learning method and device of list item |
| CN105791457B (en) * | 2016-02-26 | 2019-04-09 | 新华三技术有限公司 | A kind of data processing method and device |
| CN108023802B (en) * | 2016-11-01 | 2020-11-10 | 中国移动通信集团广东有限公司 | Data transmission system and method |
| CN108833612B (en) * | 2018-09-03 | 2021-06-15 | 武汉虹信科技发展有限责任公司 | Local area network equipment communication method based on ARP protocol |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1411210A (en) * | 2002-03-08 | 2003-04-16 | 华为技术有限公司 | Method of acting address analytic protocol Ethernet Switch in application |
| CN1589060A (en) * | 2004-09-30 | 2005-03-02 | 西安西电捷通无线网络通信有限公司 | Method for realizing self surrogate function for mobile node |
| CN1642151A (en) * | 2004-01-05 | 2005-07-20 | 华为技术有限公司 | Network safety system and method |
| CN1972230A (en) * | 2006-11-09 | 2007-05-30 | 杭州华为三康技术有限公司 | A broadcasting method and access controller for wireless LAN address resolution protocol |
| CN101488964A (en) * | 2009-02-20 | 2009-07-22 | 杭州华三通信技术有限公司 | Method, system and router for implementing address resolution and double layered communication |
| CN103650427A (en) * | 2011-07-08 | 2014-03-19 | 阿尔卡特朗讯公司 | Centralized system for routing ethernet packets over an internet protocol network |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB0106919D0 (en) * | 2001-03-20 | 2001-05-09 | Marconi Comm Ltd | Access networks |
| US8532108B2 (en) * | 2009-09-30 | 2013-09-10 | Alcatel Lucent | Layer 2 seamless site extension of enterprises in cloud computing |
| CN102143068B (en) * | 2011-03-01 | 2014-04-02 | 华为技术有限公司 | Method, device and system for learning MAC (Media Access Control) address |
-
2012
- 2012-09-17 CN CN201210344876.9A patent/CN102868615B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1411210A (en) * | 2002-03-08 | 2003-04-16 | 华为技术有限公司 | Method of acting address analytic protocol Ethernet Switch in application |
| CN1642151A (en) * | 2004-01-05 | 2005-07-20 | 华为技术有限公司 | Network safety system and method |
| CN1589060A (en) * | 2004-09-30 | 2005-03-02 | 西安西电捷通无线网络通信有限公司 | Method for realizing self surrogate function for mobile node |
| CN1972230A (en) * | 2006-11-09 | 2007-05-30 | 杭州华为三康技术有限公司 | A broadcasting method and access controller for wireless LAN address resolution protocol |
| CN101488964A (en) * | 2009-02-20 | 2009-07-22 | 杭州华三通信技术有限公司 | Method, system and router for implementing address resolution and double layered communication |
| CN103650427A (en) * | 2011-07-08 | 2014-03-19 | 阿尔卡特朗讯公司 | Centralized system for routing ethernet packets over an internet protocol network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102868615A (en) | 2013-01-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9525563B2 (en) | Forwarding packets in an edge device | |
| US8386772B2 (en) | Method for generating SAK, method for realizing MAC security, and network device | |
| US7310730B1 (en) | Method and apparatus for communicating an encrypted broadcast to virtual private network receivers | |
| CN101286990B (en) | Forwarding method and apparatus of double-layer multicast | |
| CN102546666B (en) | The method preventing IGMP from cheating and to attack and device | |
| CN101163088B (en) | Multicast data transmitting method and equipment | |
| CN103944867A (en) | Dynamic host configuration protocol (DHCP) message processing method, device and system | |
| CN102868615B (en) | The method and system of message transmission between a kind of local area network (LAN) | |
| CN102790811A (en) | Method and device capable of transversing NAT equipment in monitoring network | |
| CN101557337A (en) | Network tunnel establishing method, data transmission method, communication system and relevant equipment | |
| CN102905199B (en) | A kind of multicast service realizing method and equipment thereof | |
| US20140369349A1 (en) | Dvpn large-scale networking and spoke | |
| CN113132170A (en) | Data management method and system, associated subsystem and computer readable medium | |
| WO2008105834A4 (en) | Re-encrypting policy enforcement point | |
| CN115277200B (en) | Multi-node key auto-negotiation management method for link layer transparent encryption system | |
| US8190887B2 (en) | Cable network system and method for controlling security in cable network encrypted dynamic multicast session | |
| CN109245982B (en) | A real-time exchange system for internal and external network data based on one-way splitting and stateless end-to-end connection | |
| CN101610254A (en) | Multicast user permission control method, multicast authentication server and access device | |
| CN102546429A (en) | Method and system for authenticating intra-site automatic tunnel addressing protocol (ISATAP) tunnels based on dynamic host configuration protocol (DHCP) monitoring | |
| CN102594882A (en) | Neighbor discovery proxy method and system based on Dynamic Host Configuration Protocol for Internet Protocol Version 6 (DHCPv6) monitoring | |
| CN104641594B (en) | Multicast message updates | |
| CN105897542B (en) | A tunnel establishment method and video monitoring system | |
| CN100479371C (en) | Method of broadcast transmitting message and an exchange equipment | |
| KR101329968B1 (en) | Method and system for determining security policy among ipsec vpn devices | |
| CN109547392B (en) | Encryption access method and system supporting multi-user isolation in SDN network |
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 |