A path tracing method, system and gateway device
A gateway device and path tracking technology, applied in electrical components, wireless communication, etc., can solve the problems of complex control and management, inability to detect the existence of data link layer switch devices, source host and target host detection, etc., to achieve accurate path data. Effect
- 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 flowchart of a path tracking method disclosed in the first embodiment of the present invention, and includes the following steps:
[0054] Step 101: According to the target host address in the received detection data from the source host, when it is detected that the method of connecting to the target host is direct connection, a data link layer path tracking request is sent to the target host to obtain the data link MAC address of the device in the route layer path;
[0055] Step 102: Send a timeout message carrying the MAC address to the source host.
[0056] Preferably, the method further 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, the step 101 includes:
[0060] Obtain the address i...
Embodiment 2
[0066] In order to describe the method provided by the present invention in more detail, a specific scenario is used to describe the scenario diagram such as figure 2 A path tracing scenario 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. The equipment is two switches. Specific methods such as Figure 3A , Figure 3B , Figure 3C with Figure 3D The first path detection processing method flowchart, the second path detection processing method flowchart, the third path detection processing method flowchart, and the final path confirmation detection method flowchart are described in respectively. The entire path detection method includes: first path detection processing , The second path detection processing, the third path detection processing and the final path confirmation detection, specifically:
[0067] ...
Embodiment 3
[0098] The present invention also provides a gateway device, specifically as Figure 4 As shown in a schematic structural diagram of a disclosed gateway device, it specifically includes: a detection module 301 and a first processing module 302,
[0099] The detection module 301 is configured to detect whether the method of connecting to the target host is a direct connection method according to the target host address in the received detection data from the source host;
[0100] The first processing module 302 is configured to send a data link layer path tracing request to the target host when the detection module detects the direct connection mode, obtain the MAC address of the device located in the data link layer path, and send the The timeout packet of the MAC address is sent to the source host.
[0101] Preferably, the detection module 301 includes: an acquisition sub-module 301A for acquiring address information of the gateway device and address information of the target host; ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


