Path tracking method and system, and gateway equipment
A gateway device and path tracking technology, applied in electrical components, wireless communication, etc., can solve the problems of complex control management, inability to complete end-to-end path detection, poor control initiative of the source host, etc., and achieve the effect of accurate path data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] see figure 1 , which is a flow chart of a path tracking method disclosed in Embodiment 1 of the present invention, including the following steps:
[0054]Step 101: According to the target host address in the detection data received from the source host, when it is detected that the way to connect to the target host is direct connection, send a data link layer path tracing request to the target host, and obtain the The MAC address of the device in the road layer path;
[0055] Step 102: Send a timeout message carrying the MAC address to the source host.
[0056] Preferably, the method also includes:
[0057] The source host sends detection data to the target host according to the received timeout message carrying the MAC address;
[0058] The source host receives the port unreachable response message sent by the target host, and confirms that the destination host has been detected.
[0059] Preferably, said step 101 includes:
[0060] Obtain the address information ...
Embodiment 2
[0066] In order to describe the method provided by the present invention in more detail, it is described in a specific scene, and the scene diagram is as follows figure 2 A path tracing scene diagram is shown. In the communication path between the source host and the target host, there are three layer-3 devices and two layer-2 devices. The three layer-3 devices are three gateway devices, and two layer-2 devices are The device is two switches. Specific methods such as Figure 3A , Figure 3B , Figure 3C with Figure 3D The flow chart of the first path detection processing method, the flow chart of the second path detection processing method, the flow chart of the third path detection processing method and the flow chart of the final path confirmation detection method respectively described in , the entire path detection method includes: the first path detection processing , the second path detection processing, the third path detection processing and the final path confir...
Embodiment 3
[0098] The present invention also provides a gateway device, specifically as Figure 4 As shown in the structural schematic diagram of a disclosed gateway device, it specifically includes: a detection module 301 and a first processing module 302,
[0099] A detection module 301, configured to detect whether the method of connecting to the target host is direct connection according to the address of the target host in the received detection data from the source host;
[0100] The first processing module 302 is used to send a data link layer path tracking request to the target host when the detection module detects that it is a direct connection mode, obtain the MAC address of the device located in the data link layer path, and send the request carrying the The MAC address timeout message is sent to the source host.
[0101] Preferably, the detection module 301 includes: an acquisition sub-module 301A, configured to acquire the address information of the gateway device and the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


