CN1791030A - Method for positioning target apparatus in two layer network - Google Patents

Method for positioning target apparatus in two layer network Download PDF

Info

Publication number
CN1791030A
CN1791030A CNA2005101356512A CN200510135651A CN1791030A CN 1791030 A CN1791030 A CN 1791030A CN A2005101356512 A CNA2005101356512 A CN A2005101356512A CN 200510135651 A CN200510135651 A CN 200510135651A CN 1791030 A CN1791030 A CN 1791030A
Authority
CN
China
Prior art keywords
destination device
mac address
message
location
source device
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
CNA2005101356512A
Other languages
Chinese (zh)
Other versions
CN100444557C (en
Inventor
郑高
滕利明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CNB2005101356512A priority Critical patent/CN100444557C/en
Publication of CN1791030A publication Critical patent/CN1791030A/en
Application granted granted Critical
Publication of CN100444557C publication Critical patent/CN100444557C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method to locate a device in two-layer network, which comprises: the source device active broadcasts in two-layer network the Mac address learning message contained the Mac address of target device; the latter receives the message and sends unicast message to source device when self Mac address according with the one contained in message; the source device locates target device according to the Mac address in unicast from target device and Mac address of target device. This invention is not dependent on whether there is Mac address of target device in source device to realize location exact to PC.

Description

A kind of method of locating destination device in the double layer network
Technical field
The present invention relates to the double layer network technical field, more specifically, relate to a kind of method of locating destination device in the double layer network.
Background technology
Along with computer technology and rapid development of network technology, the effect that network is brought into play in daily life, study and work is also increasing.The diverse network business of bringing has thus also obtained to popularize and promote in office and life.Network is when bringing great convenience to people, and network security problem also is subject to people's attention day by day.At present, the diverse network attack emerges in an endless stream, and especially various types of hacker's behaviors have caused great harm to network security especially.Hacker's existence is great threat to network security, and assault causes mechanical disorder, network paralysis through regular meeting, and also can bring enormous economic loss usually.
Double layer network is the pith in the network configuration, the network that it is made up of Layer 2 switch.In double layer network, a corresponding Internet protocol (IP) network segment of each Virtual Local Area Network, and isolate between the VLAN.For maintaining network fail safe better, be necessary the hacker is positioned, also brought the demand of location destination device in double layer network thus.Such as, in double layer network, when network is under attack,, may need to navigate to concrete personal computer (PC) for the port of fixer network attack source, so just need search pairing access device of this PC and port.For another example, in test network, when the integrity of a certain paths and positioning equipment fault, also may have the demand of location destination device.
In the prior art, mainly be to realize locating destination device in the double layer network by media interviews control location (Mac trace) technology.In this Mac location technology: at first, the user in source device, import the destination device that needs the location the Mac address and with source device and the corresponding VLAN of destination device, source device realizes locating step by step destination device by broadcasting location message in VLAN then.In this technology, source device depends on the Mac address that himself Mac address table is searched destination device.Therefore, if there is not the Mac address of destination device in the Mac of source device address table, this Mac location technology just can't be located destination device.
Simultaneously, because PC can't respond and transmit the location message, therefore utilize this Mac location technology can't navigate to concrete PC.And the realization of this Mac location technology also depends on concrete agreement, such as, depending on Cisco's device discovery protocol (CDP), this has just also caused great limitation to its applicability.
Summary of the invention
In view of this, main purpose of the present invention is to propose a kind of method of locating destination device in the double layer network, when not having the Mac address of destination device in the source device, realizes the location destination device.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method of locating destination device in the double layer network, this method may further comprise the steps:
A, source device be active broadcast destination device Mac address learning message in described double layer network, comprises the Mac address of destination device in the destination device Mac address learning message;
B, destination device receive described destination device Mac address learning message, and when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device Mac address learning message, send unicast message to described source device;
Described destination device is learnt and located to C, described source device according to described unicast message.
This method further comprises between steps A and B:
B1: after non-destination device receives described broadcasting packet, when the Mac address of determining himself be included in destination device Mac address in the destination device Mac address learning message when inequality, transmit described broadcasting packet to described destination device.
Described destination device Mac address learning message further comprises the life cycle (TTL) that a hop-by-hop successively decreases.
Source device described in the step C comprises according to unicast message location destination device:
Source device is broadcasted destination device location message in described double layer network, comprise the Mac address of destination device in the message of described destination device location;
After destination device is received this destination device location message, when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device location message, send the unicast message that realizes the location to source device.
The unicast message of described realization location comprises the destination device title and expression realizes the sign of location.
Step C comprises:
Source device is broadcasted destination device location message in described double layer network, comprise the Mac address of destination device in the message of described destination device location;
After non-destination device is received this destination device location message, when the Mac address of determining himself be included in destination device Mac address in the message of destination device location when inequality, to the unicast message of source device transmission, and transmit this destination device to described destination device and locate message about this non-destination device;
After destination device is received this destination device location message, when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device location message, send the unicast message that realizes the location to source device.
Described unicast message about non-destination device comprises the title and the outbound port thereof of described non-destination device; The unicast message of described realization location comprises the destination device title and expression realizes the sign of location.
This method further comprises:
In described source device and destination device, carry out Neighbor Discovery Protocol NDP in advance;
Step C comprises: source device is broadcasted PC location message in described double layer network, comprises the Mac address of PC to be positioned in the message of described PC location; After destination device is judged the Mac address that comprises this PC in its Mac address table, when the connectivity port of this PC of further judgement and destination device does not have neighbor information, locate this PC.
This method further comprises:
In described source device, non-destination device and destination device, carry out NDP in advance; Step C comprises: source device is broadcasted PC location message in described double layer network, comprises the Mac address of PC to be positioned in the message of described PC location;
After non-destination device is judged the Mac address that does not comprise this PC in its Mac address table, transmit this destination device location message to destination device;
After destination device is judged the Mac address that comprises this PC in its Mac address table, when the connectivity port of this PC of further judgement and destination device does not have neighbor information, locate this PC.
This method further comprises: preestablish timing, after source device in the steps A is being broadcasted destination device Mac address learning message, if do not receive back message using in described timing, then withdraw from this flow process.
As can be seen, in the present invention, source device is broadcasting destination device Mac address learning message in double layer network at first, wherein comprises the Mac address of destination device in this message from above technical scheme; Destination device receives destination device Mac address learning message, and when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device Mac address learning message, sends unicast message to source device; Source device is according to the Mac address of this unicast message aim of learning equipment, and then realization location destination device.This shows, use the present invention after, the Mac address that mutual by with destination device, source device can aim of learning equipment.Therefore, when in the source device during the initial Mac address that does not have a destination device, the present invention is by the Mac address of aim of learning equipment, and source device also can be located destination device.Therefore, whether the present invention has realized not relying on has the Mac of destination device address and locatees destination device in the source device, so be convenient to very much destination device is positioned.
In addition, in the present invention, whether the network equipment can have neighbor information according to the port of destination device and judge whether to navigate to the PC that is connected with destination device after receiving the location message.So, can navigate to concrete PC behind application the present invention, so positioning function is more powerful.
Simultaneously, realization of the present invention all is based on the double layer network structure on basis, and does not rely on specific proprietary protocol, and therefore with respect to prior art, applicability of the present invention has also obtained great raising.
Description of drawings
Fig. 1 is the exemplary method schematic flow sheet according to location of the present invention destination device;
Fig. 2 is the structural representation according to the double layer network of the embodiment of the invention;
Fig. 3 is the schematic flow sheet according to destination device in the location double layer network of the embodiment of the invention;
Fig. 4 is the schematic diagram according to PC in the location double layer network of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Main thought of the present invention is: source device active broadcast destination device Mac address learning message in double layer network at first includes the Mac address of destination device in this destination device Mac address learning message; Then, when destination device receives destination device Mac address learning message, and when determining that himself Mac address is identical with the destination device Mac address in being included in destination device Mac address learning message, destination device sends unicast message to source device; Source device is according to the Mac address of unicast message aim of learning equipment, and and then realizes destination device is positioned according to destination device Mac address.
Fig. 1 is the exemplary method schematic flow sheet according to location of the present invention destination device.As shown in Figure 1, this method may further comprise the steps:
Step 101: source device is active broadcast destination device Mac address learning message in double layer network, comprises the Mac address of destination device in this destination device Mac address learning message.
At first, double layer network herein both can be VLAN, also can be VPN.Simultaneously, those of ordinary skills can recognize that the present invention there is no any qualification to the type of double layer network, but the present invention can be applied in the double layer network of any type.And herein source device and destination device are preferably switch.But, those of ordinary skills can recognize that equally herein source device and destination device are not limited to switch, but can be double layer network entity arbitrarily.Simultaneously, the destination device Mac address learning message of source device broadcasting is preferably the Ethernet message.
In addition, the present invention is to the broadcast address and the indefinite of destination device Mac address learning message, and this broadcast address both can be a part of Mac address in the double layer network, also can be the whole Mac address in the double layer network.Yet, regardless of broadcast address, the Mac address, source of destination device Mac address learning message is the Mac address of source device, and include the Mac address of the destination device that needs the location in the destination device Mac address learning message, wherein need the Mac address of the destination device of locating to import by the user.Here, source device is realized study to the Mac address of destination device by active broadcast destination device Mac address learning message in double layer network.
Preferably, in destination device Mac address learning message, further be provided with the TTL that hop-by-hop successively decreases.More preferably, TTL is set to 16.That is, every TTL successively decreases 1 through a jumping, so this purpose Mac address learning message is jumped through 16 at most.Simultaneously, behind the broadcasting destination device Mac address learning message, source device can also preferably start timer, and preestablishes certain stipulated time in timer in network, if source device is not received back message using at the appointed time, then source device thinks that destination device is unreachable.
Step 102: destination device receives destination device Mac address learning message, and when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device Mac address learning message, sends unicast message to source device.
Here, destination device judges at first whether its oneself Mac address is identical with the destination device Mac address in the destination device Mac address learning message behind the destination device Mac address learning message that receives by source device broadcasting.Obviously, should be identical herein.After affirmation was identical, destination device stopped this Mac address learning message forwarding, and sent unicast message to source device.Has the sign that expression can reach destination device in preferred this unicast message.
Because destination device has been received the destination device Mac address learning message that is sent by source device, the Mac address and the corresponding ports thereof of source device have also just been learnt, thereby destination device is when sending unicast message, can in the Mac address table of himself, find the Mac address and the corresponding ports thereof of source device, so can send unicast message to source device according to the Mac address and the port thereof of source device.
Herein, preferred destination device also is the Ethernet message to the unicast message that source device sends.
Step 103: source device is according to the Mac address of unicast message aim of learning equipment, and according to the Mac address location destination device of destination device.
Here, source device after receiving the unicast message that sends by destination device, Mac address that just can aim of learning equipment.So far, source device is by the just Mac address of aim of learning equipment automatically of above-mentioned reciprocal process, thereby lays the foundation for following Mac address location destination device according to destination device.
Then, source device is broadcasted destination device location message in double layer network, comprises the Mac address of destination device in this destination device location message.
After destination device is received this destination device location message, when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device Mac address location message, send the unicast message of the sign that comprises destination device title and expression realization location destination device to source device, thereby realize the location destination device.
In the above process, can also comprise at least one network equipment between source device and the destination device, the network equipment can be transmitted destination device Mac address learning message.Particularly, the network equipment at first receives the destination device Mac address learning message that is sent by source device, judges then whether its oneself Mac address is identical with the destination device Mac address in this Mac address learning message.Obviously, should be inequality herein, then the network equipment continues to transmit destination device Mac address learning message.Simultaneously, learn the Mac address of destination device at source device, and realize locating in the purpose equipment according to the Mac address of destination device, after the network equipment between source device and the destination device is received this destination device location message, whether the Mac address of at first determining himself is identical with the destination device Mac address in being included in destination device Mac address learning message, obviously be inequality herein, when determine inequality after, the network equipment sends the unicast message that comprises this network equipment title and port thereof to source device, and continues to transmit this destination device location message.
Like this, when comprising the network equipment between source device and the destination device, the unicast message that source device can send according to the network equipment and the unicast message of destination device realize the location to destination device.
In the above process, when needs navigate to concrete PC, at first need to enable NDP between the all-network equipment, utilize NDP to learn the Mac address of neighbor switch automatically.At this moment, in step 103, after certain network equipment is received destination device location message, check the Mac address table of self, when Mac address that records destination device in the table and place port, this network equipment is at first checked the neighbor information of this port, if neighbor information is arranged, then continues to transmit destination device location message from this port; If there is not neighbor information, this moment, the network equipment was thought the equipment that will locate exactly that is connected with this port, inform in the unicast message of replying to source device and found the Mac address that will locate, thereby realization navigates to the purpose of concrete PC.
The exemplary method flow process of location destination device among the present invention has more than been described.Below in conjunction with instantiation, embodiments of the invention are carried out more concrete description.
Fig. 2 is the schematic diagram according to the double layer network structure of the embodiment of the invention.
As shown in Figure 2: comprise three interchanger SW1, SW2, SW3 in this demonstration network.SW1-PORT represents the port on SW1 and the SW1 that SW2 links to each other; SW2-PORT represents the port on SW2 and the SW2 that SW3 links to each other; SW1-Mac represents the Mac address of switch SW1, and SW2-Mac represents the Mac address of switch SW2, and SW3-Mac represents the Mac address of switch SW3.Suppose that herein this demonstration network is a vlan network.
,, suppose that the user need navigate to SW3 from SW1 herein, that is to say that the user need understand the detailed path from SW1 to SW3 in order to specify.Obviously, navigate to SW1 for the user from SW3, the present invention is suitable for too.
According to Fig. 2, Fig. 3 is the schematic flow sheet according to destination device in the location double layer network of the embodiment of the invention.As shown in Figure 3, this method may further comprise the steps:
Step 301: the user need import purpose Mac address (being SW3-Mac) at SW1, and the VLAN at SW1, SW2, SW3 place.
Here, because this VLAN is for being double layer network, so SW1, SW2, SW3 must be in same VLAN.
Step 302: in SW1, search the Mac address table of local switch, judged whether SW3-Mac, if having, then execution in step 307 and subsequent step thereof; If no, then execution in step 303 and subsequent step thereof.
, at first in the Mac of SW1 address table, search whether SW3-Mac is arranged here,, then directly realize locating SW3 according to this SW3-Mac if having; If no, then SW1 broadcasts SW3-Mac study message in vlan network.
This SW3-Mac study message is preferably the Ethernet message, and wherein the purpose reception Mac address of SW3-Mac study message is a broadcast address, and this broadcast address both can be a part of Mac address in the network, also can be the whole Mac address in the network.The source Mac of SW3-Mac study message is SW1-Mac, fills in purpose Mac (being the SW3-Mac of SW3) in the SW3-Mac study message content, and can learn to be provided with in the message TTL that hop-by-hop successively decreases at SW3-Mac.Preferably, TTL is set to 16.
Step 303:SW1 is after having assembled SW3-Mac study message, in the VLAN of user's input, initiatively this message is broadcasted away according to broadcast address, and preferably start the timer in the finite time,, think that then the SW3 purpose is unreachable if do not receive back message using at the appointed time;
Step 304:SW2 receives after this message, the purpose Mac (being SW3-Mac) that SW3-Mac is learnt in the message compares with the Mac address of self, whether identically check, obviously different herein, then SW2 is revised as 15 with the TTL that SW3-Mac learns in the message, and the Mac address, source of not revising message, and this SW3-Mac study message forwarded in VLAN, in the process of transmitting, get rid of the inbound port of SW2;
Step 305:SW3 receives after this SW3-Mac message, purpose Mac and the Mac of self that SW3-Mac is learnt in the message compare, obviously be identical herein, then do not continue to transmit SW3-Mac study message, but respond unicast message to SW1, purpose Mac fills out SW1-Mac in this unicast message, and source Mac fills out SW3-Mac.This unicast message is preferably the Ethernet message herein, and the preferred sign of representing to arrive this purpose Mac that adds in message content.
Because SW3 received the SW3-Mac study message of SW1, thereby the Mac address of having learnt SW1 with and the corresponding port, so when sending this unicast message, can in its Mac address table, find Mac address and the corresponding port thereof of SW1, according to outbound port unicast message be forwarded then.
Step 306:SW2 receives after this unicast message, because its purpose Mac is not SW2, directly transmits unicast message, the SW3-Mac of SW2 study simultaneously, and SW1 receives after this unicast message, learns SW3-Mac.
So far, by above reciprocal process, SW1 has just realized the Mac address of automatic study SW3, lays the foundation thereby locate SW3 for next step
, in step 310, describe in detail and how to utilize the Mac address of SW3 to locate SW3 in step 307.
Step 307:SW1 broadcasts SW3 location message in double layer network, wherein comprise SW3-Mac in the message of SW3 location.And the source Mac of SW3 location message is SW1-Mac, and purpose Mac is a broadcast address, and wherein this broadcast address both can be predefined a part of Mac address, also can be the whole Mac address in the network.The purpose Mac (being SW3-Mac) that comprises the needs location in the message of SW3 location, preferably in the message of SW3 location TTL being set also is 16.
After having assembled SW3 location message, SW1 searches the outbound port of SW1-Mac in the Mac address table of himself, then SW3 is located message and broadcast away, and preferably start the interior timer of finite time, if do not receive back message using at the appointed time, think that then purpose is unreachable;
Simultaneously, SW1 exports following information to user side:
TraceMac SW3-Mac information:
The switch name outbound port
----------- --------
SW1 SW1-PORT
Step 308:SW2 receives after this SW3 location message, that find the location is not the Mac of oneself, and then TTL subtracts 1, and searches the outbound port of SW2-Mac in the Mac address table of himself, and by this outbound port SW3 is located message and forward, and respond unicast message to SW1.The purpose Mac of this unicast message is SW1-Mac, and source Mac is SW2-Mac, and message content comprises this switch name SW2, and port SW2-PORT, and SW1 extracts message content after receiving this unicast message, print following information:
SW2 SW2-PORT
That step 309:SW3 receives is that SW2 transmits, behind the SW3 location message by SW1 broadcasting, the Mac address of destination device Mac address (being SW3-Mac) in this message with self compared, will find to locate just self, therefore no longer continue to transmit this SW3 location message.Simultaneously, to the SW1 unicast message, the purpose Mac of this unicast message is SW1-Mac, and source Mac is SW3-Mac, and message content has this switch name SW3, and sign is set shows and find the Mac address (Local) that will locate.
Step 310:SW1 receives that this unicast response message extracts message content, judges and has found the switch that will locate, prints following information:
SW3 Local
In sum, the complete information of printing on SW1 is as follows:
TraceMac SW3-Mac information:
The switch name outbound port
---------- --------
SW1 SW1-PORT
SW2 SW2-PORT
SW3 Local
So far, just realized SW3 position, location according to top type information.
In the above process, only the location to three equipment is described.Yet those of ordinary skills can recognize that for the equipment more than two or three, position fixing process of the present invention is suitable equally.
In the above process, described how specifically navigating to switch, when needs navigate to concrete PC, at first needed to carry out the NDP agreement between the all-network equipment, can realize then concrete PC is positioned.Below illustrate:
In network shown in Figure 2,, describe the process of this PC of location below in detail if SW3 has connected a PC.
At first, SW1 broadcasts PC location message in double layer network, and the destination device Mac address in the message of PC location is the Mac address of this PC at this moment.Receive as SW2 after the PC location message of SW1 transmission, SW2 at first searches the Mac address table of SW2, in its Mac address table, do not find the Mac address record of PC, then search the outbound port of self, can find that outbound port is SW2-PORT, check the neighbor information of this port then, because the NDP agreement of SW2 is opened, then this port has the information of neighbor switch SW3, then continues to transmit PC location message from outbound port SW2-PORT.
Receive as SW3 after the PC location message of SW2 forwarding, search the Mac address table of SW3, in the Mac of SW3 address table, find the Mac address record of PC, and the port that in the Mac address table, finds SW3 to be connected with PC, check the neighbor information of this port then, because this port is connected with PC, then this port does not have neighbor information, and then SW3 assert the PC that will locate just that is connected with this port.
When SW3 is connected with multiple pc, can realize location equally to concrete PC.Such as, as shown in Figure 4, SW3 has connected three PC, is respectively PC1, PC2 and PC3.At this moment, suppose that SW1 need navigate to PC2.
At first SW1 broadcasts PC location message in double layer network, and the destination device Mac address in the message of PC location is the Mac address of PC2 at this moment.Receive as SW2 after the PC location message of SW1 transmission, SW2 at first searches the Mac address table of SW2, in himself Mac address table, do not find the Mac address record of PC2, then search the outbound port of self, can find that outbound port is SW2-PORT, check the neighbor information of this port then, because the NDP agreement of SW2 is opened, then this port has the information of neighbor switch SW3, then continues to transmit PC2 location message from outbound port SW2-PORT.
Receive as SW3 after the PC2 location message of SW2 forwarding, search the Mac address table of self, in its Mac address table, find the connectivity port of Mac address record and PC2 and the SW3 of PC2, check the neighbor information of this port then, because this port is connected with PC2, then this port does not have neighbor information, and then SW3 assert the PC2 that will locate just that is connected with this port.So far, realized navigating to the purpose of PC2.
Obviously, when the number of PC be two or during greater than three, the method for above-mentioned location PC is suitable equally, therefore no longer gives unnecessary details.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of method of locating destination device in the double layer network is characterized in that, this method may further comprise the steps:
A, source device be active broadcast destination device media interviews control Mac address learning message in described double layer network, comprises the Mac address of destination device in the destination device Mac address learning message;
B, destination device receive described destination device Mac address learning message, and when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device Mac address learning message, send unicast message to described source device;
Described destination device is learnt and located to C, described source device according to described unicast message.
2, method according to claim 1 is characterized in that, this method further comprises between steps A and B:
B1: after non-destination device receives described broadcasting packet, when the Mac address of determining himself be included in destination device Mac address in the destination device Mac address learning message when inequality, transmit described broadcasting packet to described destination device.
3, method according to claim 1 is characterized in that, described destination device Mac address learning message further comprises TTL life cycle that a hop-by-hop successively decreases.
4, method according to claim 1 is characterized in that, source device described in the step C comprises according to unicast message location destination device:
Source device is broadcasted destination device location message in described double layer network, comprise the Mac address of destination device in the message of described destination device location;
After destination device is received this destination device location message, when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device location message, send the unicast message that realizes the location to source device.
5, method according to claim 4 is characterized in that, the unicast message of described realization location comprises the destination device title and expression realizes the sign of location.
6, method according to claim 2 is characterized in that, step C comprises:
Source device is broadcasted destination device location message in described double layer network, comprise the Mac address of destination device in the message of described destination device location;
After non-destination device is received this destination device location message, when the Mac address of determining himself be included in destination device Mac address in the message of destination device location when inequality, to the unicast message of source device transmission, and transmit this destination device to described destination device and locate message about this non-destination device;
After destination device is received this destination device location message, when the Mac address of determining himself is identical with the destination device Mac address in being included in destination device location message, send the unicast message that realizes the location to source device.
7, method according to claim 6 is characterized in that, described unicast message about non-destination device comprises the title and the outbound port thereof of described non-destination device; The unicast message of described realization location comprises the destination device title and expression realizes the sign of location.
8, method according to claim 1 is characterized in that, this method further comprises:
In described source device and destination device, carry out Neighbor Discovery Protocol NDP in advance;
Step C comprises: source device is broadcasted personal computer (PC) location message in described double layer network, comprises the Mac address of PC to be positioned in the message of described PC location; After destination device is judged the Mac address that comprises this PC in its Mac address table, when the connectivity port of this PC of further judgement and destination device does not have neighbor information, locate this PC.
9, method according to claim 2 is characterized in that, this method further comprises:
In described source device, non-destination device and destination device, carry out NDP in advance; Step C comprises: source device is broadcasted PC location message in described double layer network, comprises the Mac address of PC to be positioned in the message of described PC location;
After non-destination device is judged the Mac address that does not comprise this PC in its Mac address table, transmit this destination device location message to destination device;
After destination device is judged the Mac address that comprises this PC in its Mac address table, when the connectivity port of this PC of further judgement and destination device does not have neighbor information, locate this PC.
10, method according to claim 1, it is characterized in that this method further comprises: preestablish timing, after source device in the steps A is being broadcasted destination device Mac address learning message, if in described timing, do not receive back message using, then withdraw from this flow process.
CNB2005101356512A 2005-12-27 2005-12-27 Method for positioning target apparatus in two layer network Expired - Fee Related CN100444557C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101356512A CN100444557C (en) 2005-12-27 2005-12-27 Method for positioning target apparatus in two layer network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101356512A CN100444557C (en) 2005-12-27 2005-12-27 Method for positioning target apparatus in two layer network

Publications (2)

Publication Number Publication Date
CN1791030A true CN1791030A (en) 2006-06-21
CN100444557C CN100444557C (en) 2008-12-17

Family

ID=36788554

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101356512A Expired - Fee Related CN100444557C (en) 2005-12-27 2005-12-27 Method for positioning target apparatus in two layer network

Country Status (1)

Country Link
CN (1) CN100444557C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330463B (en) * 2008-06-25 2011-05-04 杭州华三通信技术有限公司 Method and apparatus for locating abnormal packet access point
CN104767603A (en) * 2014-01-02 2015-07-08 北京思博途信息技术有限公司 Method for providing network service, server and user terminal
CN106878258A (en) * 2016-12-14 2017-06-20 新华三技术有限公司 One kind attacks localization method and device
CN107547685A (en) * 2017-08-28 2018-01-05 新华三技术有限公司 Localization method, network management device and the electronic equipment of the network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004080567A (en) * 2002-08-21 2004-03-11 Matsushita Electric Ind Co Ltd Network terminal, address management server, and network communication method therefor
CN100356725C (en) * 2002-12-26 2007-12-19 华为技术有限公司 Managing method for network facilities
CN100492985C (en) * 2004-04-07 2009-05-27 北京润光泰力科技发展有限公司 Managing method of network apparatus based on access controlling layer of Ethernet medium
CN100364289C (en) * 2004-04-30 2008-01-23 华为技术有限公司 Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330463B (en) * 2008-06-25 2011-05-04 杭州华三通信技术有限公司 Method and apparatus for locating abnormal packet access point
CN104767603A (en) * 2014-01-02 2015-07-08 北京思博途信息技术有限公司 Method for providing network service, server and user terminal
CN106878258A (en) * 2016-12-14 2017-06-20 新华三技术有限公司 One kind attacks localization method and device
CN107547685A (en) * 2017-08-28 2018-01-05 新华三技术有限公司 Localization method, network management device and the electronic equipment of the network equipment

Also Published As

Publication number Publication date
CN100444557C (en) 2008-12-17

Similar Documents

Publication Publication Date Title
CN1433197A (en) Single access communication-to-multiple access communication converting device, method and program and monitoring system
CN101060493A (en) A method of private network user access the server in a private network through domain name
CN1801711A (en) Multicast group member identification method and apparatus
CN1551568A (en) Reliable delivery of multi-cast conferencing data
CN101051995A (en) Protection switching method based on no connection network
CN1750512A (en) Single broadcast reverse path repeating method
CN1957566A (en) Server for routing connection to client device
CN1578278A (en) Transport system for instant messaging
CN1913528A (en) P2P data message detection method based on character code
CN1630267A (en) Apparatus and method for providing VoIP service
CN1925493A (en) Method and device for processing ARP message
CN1697354A (en) Method for reliable transmitting data through multicast and unicast protocol, and host of receiving data
CN1856163A (en) Communication system with dialog board controller and its command transmitting method
CN1848792A (en) Method for realizing cross-mixed network multi-protocol tag exchange virtual special network
CN1960313A (en) Periphery devices of service provider of combining network address conversion, and method of application
CN101057460A (en) Server apparatus, mobile terminal, electric appliance, communication system, communication method, and program
CN1866863A (en) Vicinage finding method and system for network apparatus
CN1501659A (en) Communication device, edge router device, server device, communication system and communication method
CN1870568A (en) Method for implementing network address conversion anti-virus transition
CN101056267A (en) Layer 2 forwarding method and forwarding device
CN1809032A (en) Method of dynamically learning address on MAC layer
CN1791030A (en) Method for positioning target apparatus in two layer network
CN1946061A (en) Method and device for fast processing message
CN1741499A (en) Virtual circuit exchanging method based on MAC studying
CN1588927A (en) Method for large scale multimedia cut-in net gate

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HANGZHOU HUASAN COMMUNICATION TECHNOLOGY CO., LTD

Free format text: FORMER OWNER: HANGZHOU HUAWEI 3COM TECHNOLOGY CO., LTD.

Effective date: 20070803

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20070803

Address after: 310053, Hangzhou hi tech Industrial Development Zone, Zhejiang hi tech Industrial Park, No. six and No. 310 HUAWEI Hangzhou production base

Applicant after: Huasan Communication Technology Co., Ltd.

Address before: 310053, Hangzhou hi tech Industrial Development Zone, Zhejiang hi tech Industrial Park six and Lu Donghua for the 3Com company

Applicant before: Huawei Sankang Technology Co., Ltd., Hangzhou

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

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

Granted publication date: 20081217

Termination date: 20191227