CN103874105A - Path tracking method and system, and gateway equipment - Google Patents

Path tracking method and system, and gateway equipment Download PDF

Info

Publication number
CN103874105A
CN103874105A CN201210529534.4A CN201210529534A CN103874105A CN 103874105 A CN103874105 A CN 103874105A CN 201210529534 A CN201210529534 A CN 201210529534A CN 103874105 A CN103874105 A CN 103874105A
Authority
CN
China
Prior art keywords
destination host
host
source host
direct
gateway 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
CN201210529534.4A
Other languages
Chinese (zh)
Other versions
CN103874105B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210529534.4A priority Critical patent/CN103874105B/en
Publication of CN103874105A publication Critical patent/CN103874105A/en
Application granted granted Critical
Publication of CN103874105B publication Critical patent/CN103874105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

An embodiment of the invention discloses a path tracking method and system, and gateway equipment. The specific method is as follows: when a method for being connected with a destination host is detected to be a direct connection method according to a received destination host address in detection data from a source host, a data link layer path tracking request is sent to the destination host, an MAC address of equipment located in a data link layer path is obtained; a time-out message carrying the MAC address is sent to the source host; and the source host sends the detection data to the destination host according to the received time-out message carrying the MAC address. The source host receives a port-unreachable response message sent by the destination host, and confirms that the destination host is detected. Direct end-to-end path detection can be realized, the problem that any path detection tool in the prior art cannot realize an end-to-end path test is solved, path data can be provided more accurately, and thus effective support is provided for network operation and maintenance.

Description

A kind of route tracing method, system and a kind of gateway device
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of route tracing method, system and a kind of gateway device.
Background technology
Along with the develop rapidly of ICT (information and communication technology), computer network has become people's indispensable part of living.Once network communication is broken down, may cause the work state that paralyses, people's work and life are sustained a loss.In the time that network breaks down, usually adopt tracking route Traceroute instrument to locate the occurrence positions of failure problems.Specifically adopt message survey from source host to destination host the path of process, whether can reach to check that network connects, and the Primary Location network position of breaking down; And Adoption Network layer is followed the trail of route Traceroute IP instrument, survey the path with IP address designation from source host to destination host in different segment; Adopt data link layer to follow the trail of route Traceroute MAC instrument, survey the path with MAC Address mark from source host to destination host in the same network segment.So realize network layer to the source host between data link layer to all path tracings between destination host, must adopt Traceroute IP instrument and Traceroute MAC instrument.
Prior art is in the time realizing path detection end to end, must first adopt Traceroute IP instrument to survey network layer path, adopt again Traceroute MAC instrument to survey data link layer path, could realize path end to end surveys, and while adopting separately Traceroute IP instrument, the IP address information that can only obtain gateway device, cannot detect the existence of data link layer switch equipment; And while adopting separately Traceroute MAC instrument, but cannot survey the source host of different segment and destination host, road is through being confined in the middle of the same network segment, in the time that the path between two main frames that belong to different segment is surveyed, detection will report an error, and therefore both independent uses all cannot complete path detection end to end.And the method in existing this tracking path is complicated in control and management, cannot directly detective path be passed to source host, make source host control initiative poor.
Summary of the invention
In order to address the above problem, the object of the invention is to provide a kind of route tracing method, system and a kind of gateway device, can realize separately between network layer and data link layer, path is surveyed end to end, the method and device can, quick detection path, and active transfer detective path is to source host, so that source host carries out control and management, safeguard to provide more reliably for the network operation to ensure.
The invention provides a kind of route tracing method, comprising:
According to receive from the destination host address in the detection data of source host, when the mode that linking objective main frame detected is direct-connected mode, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment;
Transmission is carried the timeout packet of described MAC Address to source host.
Preferably, described transmission is carried the timeout packet of described MAC Address to after source host, also comprises:
Source host, according to the timeout packet that carries described MAC Address receiving, sends detection data to destination host;
Source host receives the unreachable response message of port that destination host sends, and confirms to have detected destination host.
Preferably, it is characterized in that, described basis receive from the destination host address in the detection data of source host, the mode that linking objective main frame detected is direct-connected mode, comprising:
Obtain the address information of gateway device and the address information of destination host;
Whether identification gateway device and destination host, at the same network segment, if at the same network segment, are direct-connected mode.
Preferably, also comprise:
According to receive from the destination host address in the detection data of source host, when the mode that linking objective main frame detected is not direct-connected mode, send timeout packet to source host, so that source host sends next detection data.
The present invention also provides a kind of gateway device, comprising:
Detection module, the destination host address of the detection data from source host receiving for basis, whether the mode that detects linking objective main frame is direct-connected mode;
The first processing module, while being direct-connected mode for detecting when detection module, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, send the timeout packet that carries described MAC Address to source host.
Preferably, described detection module, comprising:
Obtain submodule, for obtaining the address information of gateway device and the address information of destination host;
Recognin module, for whether identifying gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode.
Preferably, also comprise:
The second processing module, while being not direct-connected mode, sends timeout packet to source host, so that source host sends next detection data for detecting when detection module.
The present invention also provides a kind of path tracing system, comprising:
Detecting devices, target device and gateway, described gateway comprises at least one gateway device;
Described gateway device, comprising: detection module and the first processing module,
Detection module, the destination host of the detection data receiving for basis, whether the mode that detects linking objective main frame is direct-connected mode;
The first processing module, while being direct-connected mode for detecting when detection module, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, send the timeout packet that carries described MAC Address to source host.Described detecting devices, for initiating detective path request;
Described target device, for processing the detection data receiving.
Preferably, described detecting devices, comprising:
Send submodule, according to the timeout packet that carries described MAC Address receiving, send detection data to target device for detecting devices;
Receive submodule, the unreachable response message of port sending for receiving target equipment, confirms to have detected target device.
Preferably, described target device, comprising:
Detection sub-module, for upper layer application corresponding to the detection data receiving sending to according to port numbers;
Feedback submodule, for feeding back to detecting devices by inaccessible port response message.
Preferably, also comprise:
The second processing module, while being not direct-connected mode, sends timeout packet to source host, so that source host sends next detection data for detecting when detection module.
Preferably, described detection module, comprising:
Obtain submodule, for obtaining the address information of gateway device and the address information of destination host;
Recognin module, for whether identifying gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode.
Can find out by above-described embodiment, a kind of path provided by the invention detection method, system and a kind of gateway device, according to receive from the destination host address in the detection data of source host, when the mode that linking objective main frame detected is direct-connected mode, show that now gateway device is the gateway at destination host place, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, transmission is carried the timeout packet of described MAC Address to source host, make source host directly obtained between destination host two-layer equipment in path and the routing information of three-layer equipment, finally completing path end to end surveys, therefore adopt method provided by the invention to realize path detection end to end, avoid carrying out when cross-layer path is surveyed adopting different instruments between two three-layer networks, to transform the problem causing, solve any one detective path instrument in prior art and all cannot realize the problem of path testing end to end, path data can be provided more accurately, for network O&M provides effective support.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of route tracing method flow chart that the embodiment of the present invention one discloses;
Fig. 2 is a kind of path tracing scene graph that the embodiment of the present invention two discloses;
Fig. 3 A is the first path detection processing method flow chart that the embodiment of the present invention two discloses;
Fig. 3 B is the second path detection processing method flow chart that the embodiment of the present invention two discloses;
Fig. 3 C is the Third Road footpath detection processing method flow chart that the embodiment of the present invention two discloses;
Fig. 3 D is that detection method flow chart is confirmed in the final path that the embodiment of the present invention two discloses;
Fig. 4 is the structural representation of a kind of gateway device of disclosing of the embodiment of the present invention three;
Fig. 5 is a kind of path tracing system framework figure that the embodiment of the present invention four discloses.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
Embodiment mono-
Refer to Fig. 1, a kind of route tracing method flow chart that it discloses for the embodiment of the present invention one, comprises the following steps:
Step 101: according to receive from the destination host address in the detection data of source host, when the mode that linking objective main frame detected is direct-connected mode, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment;
Step 102: send the timeout packet that carries described MAC Address to source host.
Preferably, described method, also comprises:
Source host, according to the timeout packet that carries described MAC Address receiving, sends detection data to destination host;
Source host receives the unreachable response message of port that destination host sends, and confirms to have detected destination host.
Preferably, described step 101 comprises:
Obtain the address information of gateway device and the address information of destination host;
Whether identification gateway device and destination host, at the same network segment, if at the same network segment, are direct-connected mode.
Preferably, described detection data can be control protocol ICMP request message between User Agreement datagram or net, can certainly be can realize surveying object any data mode, concrete and be not construed as limiting.
By the method providing in above-described embodiment one, can by gateway device detect self whether with destination host in the same network segment, if, can obtain the MAC Address of the two-layer equipment such as switch in the path from gateway device to destination host, then return to a timeout packet to source host, the MAC Address that described timeout packet comprises all two-layer equipments, so that source host, according to the timeout packet receiving, send detection data to destination host, confirm to detect destination host thereby obtain the inaccessible response message of port.
Realizing end with end while communicate by letter, can direct detection to the path of three-layer equipment and two-layer equipment, the problem of having avoided the different instrument of cross-layer detection employing to cause, can provide path data, more accurately for network O&M provides effective support.
Embodiment bis-
For more detailed description method provided by the invention, be described with concrete scene, scene graph is a kind of path tracing scene graph as shown in Figure 2, in communication path between source host and destination host, comprise three three-layer equipments and two two-layer equipments, three three-layer equipments are three gateway devices, and two two-layer equipments are two switches.Concrete grammar is as confirmed detection method flow chart in the first path detection processing method flow chart of describing respectively in Fig. 3 A, Fig. 3 B, Fig. 3 C and Fig. 3 D, the second path detection processing method flow chart, Third Road footpath detection processing method flow chart and final path, whole path detection method comprises: the first path is surveyed and processed, the second path is surveyed and processed, the detection of Third Road footpath is processed and final path is confirmed to survey, and is specially:
The first path is surveyed and is processed:
Step 1A: the detection data that the first gateway device reception sources main frame sends, TTL is 1;
Step 1B: the life span ttl value in described detection data is subtracted to 1 processing, and the difference obtaining is 0, abandons this detection data;
Step 1C: detecting the mode of linking objective main frame, is not direct-connected mode, sends timeout packet, adds 1 detection data so that source host resends ttl value;
The second path is surveyed and is processed:
Step 2A: the first gateway device receives TTL that source host the sends detection data that is 2, subtract 1 processing, obtaining difference is not 0, the detection data that is 1 by TTL passes to the second gateway device;
Step 2B: the second gateway device is 1 detection data by receiving TTL, carries out TTL and subtracts 1 processing, and obtaining difference is 0, abandons this detection data;
Step 2C: the second gateway device detects the mode of linking objective main frame, is not direct-connected mode, sends timeout packet, adds 1 detection data so that source host resends ttl value;
Third Road footpath is surveyed and is processed:
Step 3A: the first gateway device receives TTL that source host the sends detection data that is 3, subtract 1 processing, obtaining difference is not 0, the detection data that is 2 by TTL passes to the second gateway device;
Step 3B: the second gateway device is 2 detection data by receiving TTL, carries out TTL and subtracts 1 processing, and obtaining difference is 1, and the detection data that is 1 by TTL passes to the 3rd gateway device;
Step 3C: the detection data that the 3rd gateway device is 1 by the TTL receiving, carry out TTL and subtract 1 processing, obtaining difference is 0, abandons detection data;
Step 3D: the 3rd gateway device detects the mode of linking objective main frame, is direct-connected mode, sends the request of data link layer path tracing to described destination host;
Step 3E: the 3rd gateway device obtains and is arranged in data link layer path all devices, the first switch and the second switch mac address, and send the timeout packet that carries described all switch mac address to source host, so that source host carries out the confirmation of final path;
Final path is confirmed to survey:
Step 4A: source host is according to the timeout packet that carries described two switch mac address that receives, send TTL and be 4 and the user data that carries out of use user data port numbers 33333 offer destination host;
Step 4B: source host obtains the unreachable response message of port that destination host sends, confirmation path is surveyed successfully.
Preferably, described detection data is: control protocol ICMP request message between User Agreement datagram or net.
Preferably, described step 1C, comprising: obtain the address information of the first gateway device and the address information of destination host; Whether identifying the first gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode, if inconsistent, not direct-connected mode.
Preferably, described step 2C, comprising: obtain the address information of the second gateway device and the address information of destination host; Whether identifying the second gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode,
If inconsistent, not direct-connected mode.
Preferably, described step 3D, comprising: obtain the 3rd address information of gateway device and the address information of destination host; Whether identifying the 3rd gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode, if inconsistent, not direct-connected mode.
Whether concrete identification gateway device and destination host be at the same network segment, can be by the former positions in two network addresss of contrast, to judge that both are whether in the same network segment, specifically judge that several the concrete agreements of basis have different requirements, in this no limit, can certainly carry out in other way the whether judgement at the same network segment, can be also to judge by other means whether gateway device is the gateway of target device.
Preferably, described detection data can be control protocol ICMP request message between User Agreement datagram or net, can certainly be can realize surveying any data mode of object, does not specifically limit.
And the first path detection of the present invention is processed, processing is surveyed in the second path and Third Road footpath is surveyed in processing: carry out TTL and subtract 1 processing, obtaining difference is 0, abandon detection data, only that the gateway device that receives this detection data for judgement is last gateway device, at concrete application scenarios, adopt the concrete data that can realize detection object, this judges that processing procedure can be different, the present embodiment only provides this kind of form, and other forms do not limit at this.
Because the present embodiment is for concrete application scenarios, as shown in Figure 2, described the first gateway device and described the second gateway device, with destination host not in the same network network segment, so be not direct-connected mode.And the 3rd gateway device and destination host are in the same network network segment, it is direct-connected mode.Preferably, described method, also comprise: destination host, after receiving user datagram, detect the destination slogan numerical value of datagram with upper layer application corresponding to specified data report, due to the destination slogan position 33333 of datagram, port numbers super large, any one application program of destination host is not all used this port, and destination host will produce the inaccessible response message of a port, and sends to source host.
Preferably, described method, also comprises: destination host, receive control protocol ICMP request message between net, and destination host will produce ICMP response message, and sends to source host.Preferably, described final path is confirmed to survey, and can also comprise:
Step 4C: source host is according to the timeout packet that carries described two switch mac address receiving, and between the net that transmission TTL is 4, control protocol ICMP request message is to destination host;
Step 4D: source host obtains the ICMP response message that destination host sends, confirmation path is surveyed successfully.
Can find out by above-described embodiment two, send detection data by source host, three gateway devices are after receiving detection data, do corresponding processing, whether and to detect be direct-connected mode with destination host, finally detect the IP address of source host to all two-layer equipment MAC Address in end-to-end communication link between destination host and three-layer equipment, realizing path end to end surveys, solve any one detective path instrument in prior art and all cannot realize the problem of path testing end to end, certainly the present embodiment has only provided a kind of situation, in practical application, between source host and destination host, can have multiple multiple gateway device is not only three, the principle that specific implementation principle provides according to the present embodiment.
Embodiment tri-
The present invention also provides a kind of gateway device, specifically, as shown in the structural representation of a kind of gateway device of Fig. 4 announcement, specifically comprises: detection module 301 and the first processing module 302,
Detection module 301, the destination host address of the detection data from source host receiving for basis, whether the mode that detects linking objective main frame is direct-connected mode;
The first processing module 302, while being direct-connected mode for detecting when detection module, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, send the timeout packet that carries described MAC Address to source host.
Preferably, described detection module 301 comprises: obtain submodule 301A, for obtaining the address information of gateway device and the address information of destination host;
Recognin module 301B, for whether identifying gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode.
Preferably, described device also comprises:
The second processing module, while being not direct-connected mode, sends timeout packet to source host, so that source host sends next detection data for detecting when detection module.
Concrete recognin module, can judge according to whether former of the network address of gateway device and destination host are consistent, if unanimously illustrate that current gateway device is the gateway of destination host, is direct-connected mode, if inconsistent, not direct-connected mode; Certainly concrete several judgements are according to agreement regulation, at this and be not construed as limiting, and, can be also by other any one modes, whether be the mode of destination host gateway as long as can judge current gateway equipment.
Known by above-described embodiment three, described gateway device is in the time realizing end-to-end path detection, can avoid adopting two kinds of different prospecting tools, judgement by gateway device to the network address of destination host and self network address, whether belong to the network segment at destination host place, if it is by sending link layer path probe requests thereby, can obtain in the communication path with destination host, such as the MAC Address of all two-layer equipments such as switch, then the timeout packet that carries MAC Address is fed back to source host, so that carrying out last confirmation, source host surveys processing.
Embodiment tetra-
The present invention also provides a kind of path tracing system, and described system specifically as shown in Figure 5, comprises:
Detecting devices 401, gateway 402 and target device 403;
Described detecting devices 401, for initiating detective path request;
Described gateway 402, comprises at least one gateway device, and described gateway device, comprising: detection module and the first processing module,
Described detection module, the destination host of the detection data receiving for basis, whether the mode that detects linking objective main frame is direct-connected mode;
Described detection module, comprising:
Obtain submodule, for obtaining the address information of gateway device and the address information of destination host;
Recognin module, for whether identifying gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode.
Described the first processing module, while being direct-connected mode for detecting when detection module, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, send the timeout packet that carries described MAC Address to source host.
Described gateway device, also comprises: the second processing module, while being not direct-connected mode, sends timeout packet to source host, so that source host sends next detection data for detecting when detection module.
Described target device 403, for processing the detection data receiving.
Preferably, described detection data is:
Control protocol ICMP request message between User Agreement datagram or net.
Preferably, in the time that described detection data is User Agreement datagram, described detecting devices 401, comprising:
Send submodule 401A, for according to the timeout packet that carries described MAC Address receiving, send ttl value add 1 and the detection data that carries out of use user data port numbers to destination host;
Receive submodule 401B, the unreachable response message of port sending for receiving target equipment, confirms to have detected destination host.
Preferably, between described detection data is for net, when control protocol ICMP request message, described detecting devices 401, comprising:
Send submodule 401C, for according to the timeout packet that carries described MAC Address receiving, send ttl value and add between 1 net control protocol ICMP request message to destination host;
Receive submodule 401D, the ICMP response message sending for receiving target equipment, confirms to have detected destination host.
Preferably, described detection data can be control protocol ICMP request message between User Agreement datagram or net, can certainly be can realize surveying object any data mode, concrete and be not construed as limiting.
Preferably, described target device 403, comprising:
Detection sub-module 403A, for upper layer application corresponding to the detection data receiving sending to according to port numbers;
Feedback submodule 403B, for feeding back to detecting devices by inaccessible port response message.
Preferably, between described detection data is for net, when control protocol ICMP request message, described target device, comprising:
Detection sub-module 403C, for upper layer application corresponding to the detection data receiving sending to according to port numbers;
Feedback submodule 403D, for feeding back to detecting devices by ICMP response message.
The system of describing in embodiment tetra-, can send detection data by detecting devices, described detection data is control protocol ICMP request message between User Agreement datagram or net, process through gateway device, detecting devices obtains the routing information with the communication link of target device, according to the routing information obtaining, send detection data to target device, target device is through processing, inaccessible port response message or ICMP response message are fed back to detecting devices, and detecting devices confirms to have detected target device; Can realize path end to end by said system and survey, easy to use, save Internet resources simultaneously.
Above a kind of route tracing method provided by the present invention and a kind of gateway device are described in detail, applied specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (12)

1. a route tracing method, is characterized in that, comprising:
According to receive from the destination host address in the detection data of source host, when the mode that linking objective main frame detected is direct-connected mode, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment;
Transmission is carried the timeout packet of described MAC Address to source host.
2. method according to claim 1, is characterized in that, described transmission is carried the timeout packet of described MAC Address to after source host, also comprises:
Source host, according to the timeout packet that carries described MAC Address receiving, sends detection data to destination host;
Source host receives the unreachable response message of port that destination host sends, and confirms to have detected destination host.
3. method according to claim 1, is characterized in that, described basis receive from the destination host address in the detection data of source host, the mode that linking objective main frame detected is direct-connected mode, comprising:
Obtain the address information of gateway device and the address information of destination host;
Whether identification gateway device and destination host, at the same network segment, if at the same network segment, are direct-connected mode.
4. method according to claim 1, is characterized in that, also comprises:
According to receive from the destination host address in the detection data of source host, when the mode that linking objective main frame detected is not direct-connected mode, send timeout packet to source host, so that source host sends next detection data.
5. a gateway device, is characterized in that, comprising:
Detection module, the destination host address of the detection data from source host receiving for basis, whether the mode that detects linking objective main frame is direct-connected mode;
The first processing module, while being direct-connected mode for detecting when detection module, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, send the timeout packet that carries described MAC Address to source host.
6. gateway device according to claim 5, is characterized in that, described detection module, comprising:
Obtain submodule, for obtaining the address information of gateway device and the address information of destination host;
Recognin module, for whether identifying gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode.
7. gateway device according to claim 5, is characterized in that, also comprises:
The second processing module, while being not direct-connected mode, sends timeout packet to source host, so that source host sends next detection data for detecting when detection module.
8. a path tracing system, is characterized in that, comprising:
Detecting devices, target device and gateway, described gateway comprises at least one gateway device;
Described gateway device comprises: detection module and the first processing module, and described detection module, the destination host address of the detection data from source host receiving for basis, whether the mode that detects linking objective main frame is direct-connected mode; Described the first processing module, while being direct-connected mode for detecting when detection module, send the request of data link layer path tracing to described destination host, obtain the MAC Address that is arranged in data link layer path equipment, send the timeout packet that carries described MAC Address to source host;
Described detecting devices, for initiating detective path request;
Described target device, for processing the detection data receiving.
9. system according to claim 8, is characterized in that, described detecting devices, comprising:
Send submodule, according to the timeout packet that carries described MAC Address receiving, send detection data to target device for detecting devices;
Receive submodule, the unreachable response message of port sending for receiving target equipment, confirms to have detected target device.
10. system according to claim 8, is characterized in that, described target device, comprising:
Detection sub-module, for upper layer application corresponding to the detection data receiving sending to according to port numbers;
Feedback submodule, for feeding back to detecting devices by inaccessible port response message.
11. gateway devices according to claim 8, is characterized in that, also comprise:
The second processing module, while being not direct-connected mode, sends timeout packet to source host, so that source host sends next detection data for detecting when detection module.
System described in 12. according to Claim 8 or 11, is characterized in that, described detection module, comprising:
Obtain submodule, for obtaining the address information of gateway device and the address information of destination host;
Recognin module, for whether identifying gateway device and destination host at the same network segment, if at the same network segment, is direct-connected mode.
CN201210529534.4A 2012-12-10 2012-12-10 A kind of route tracing method, system and a kind of gateway device Active CN103874105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210529534.4A CN103874105B (en) 2012-12-10 2012-12-10 A kind of route tracing method, system and a kind of gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210529534.4A CN103874105B (en) 2012-12-10 2012-12-10 A kind of route tracing method, system and a kind of gateway device

Publications (2)

Publication Number Publication Date
CN103874105A true CN103874105A (en) 2014-06-18
CN103874105B CN103874105B (en) 2017-09-08

Family

ID=50912148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210529534.4A Active CN103874105B (en) 2012-12-10 2012-12-10 A kind of route tracing method, system and a kind of gateway device

Country Status (1)

Country Link
CN (1) CN103874105B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016197950A1 (en) * 2015-06-11 2016-12-15 华为技术有限公司 Route detection method, router device and system
CN107623629A (en) * 2016-07-15 2018-01-23 华为技术有限公司 A kind of restoring method and equipment for flowing forward-path
CN112822198A (en) * 2021-01-15 2021-05-18 中国电子科技集团公司第十五研究所 Multi-layer protocol network beacon implantation detection method for tracing application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931565A (en) * 2009-06-23 2010-12-29 中兴通讯股份有限公司 Network segment detection method and device
CN102045190A (en) * 2009-10-21 2011-05-04 杭州华三通信技术有限公司 Network topology discovery method and device
CN102265554A (en) * 2011-06-20 2011-11-30 华为技术有限公司 Tracing method, device and system for second layer multicasting route

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931565A (en) * 2009-06-23 2010-12-29 中兴通讯股份有限公司 Network segment detection method and device
CN102045190A (en) * 2009-10-21 2011-05-04 杭州华三通信技术有限公司 Network topology discovery method and device
CN102265554A (en) * 2011-06-20 2011-11-30 华为技术有限公司 Tracing method, device and system for second layer multicasting route

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
J.QUITTEK,K.WHITE: "《IETF,RFC4560》", 31 December 2006 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016197950A1 (en) * 2015-06-11 2016-12-15 华为技术有限公司 Route detection method, router device and system
CN107623629A (en) * 2016-07-15 2018-01-23 华为技术有限公司 A kind of restoring method and equipment for flowing forward-path
CN107623629B (en) * 2016-07-15 2020-03-10 华为技术有限公司 Restoration method and device for stream forwarding path
CN112822198A (en) * 2021-01-15 2021-05-18 中国电子科技集团公司第十五研究所 Multi-layer protocol network beacon implantation detection method for tracing application
CN112822198B (en) * 2021-01-15 2021-11-12 中国电子科技集团公司第十五研究所 Multi-layer protocol network beacon implantation detection method for tracing application

Also Published As

Publication number Publication date
CN103874105B (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN101247321B (en) Method, device and system for routing diagnosis in network based on diameter protocol
KR101177203B1 (en) Mapless global traffic load balancing via anycast
CN104168193B (en) A kind of method and routing device of Virtual Router Redundancy Protocol fault detect
CN103166852B (en) The route tracing method of LSP and routing device in MPLS network
CN104796298A (en) SDN (Software Defined Network) network fault analyzing method and device
CN103179192A (en) Method, system and NAT (network address translation) for forwarding message about virtual server migration
CN101771604B (en) Routing detection method, system and intermediate routing device
CN104243320A (en) Method and device for optimizing network access paths
CN104601394A (en) Business chain connectivity detection method, device and system
CN103036702A (en) Network segment crossing N+1 backup method and network segment crossing N+1 backup device
CN104539902A (en) IPC remote access method and system
CN106685693A (en) Network anomaly detection method, system and network device
CN108600051A (en) BGP Anycast cluster service quality detection methods and detecting devices
CN104683493A (en) Method for passing through network address translation and connection intermediary system
CN103874105A (en) Path tracking method and system, and gateway equipment
CN110768862B (en) Cloud platform physical link connectivity detection device, method and system
CN102739462B (en) Test message sending method and device
CN106230667B (en) VTEP keep-alive detection method and device
CN108141381B (en) System and method to coordinate cable test results with cable test configuration
CN102769552B (en) A kind of method by transmission BFD message during BFD detection LSP and equipment
CN102918807B (en) Method and routing equipment for BFD session establishment
CN104506405B (en) The method and device of cross-domain access
CN109863723A (en) It connects and restores there are the automatic network in the case of multiple network interfaces
CN105763391A (en) Conversation data flow processing system and method, and related equipment
CN100518116C (en) Directly connected network promulgating method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant