[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102340451A - Trace route testing method, system, device and equipment - Google Patents

Trace route testing method, system, device and equipment Download PDF

Info

Publication number
CN102340451A
CN102340451A CN2011102981018A CN201110298101A CN102340451A CN 102340451 A CN102340451 A CN 102340451A CN 2011102981018 A CN2011102981018 A CN 2011102981018A CN 201110298101 A CN201110298101 A CN 201110298101A CN 102340451 A CN102340451 A CN 102340451A
Authority
CN
China
Prior art keywords
message
hop
ttl
trace message
trace
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
CN2011102981018A
Other languages
Chinese (zh)
Other versions
CN102340451B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110298101.8A priority Critical patent/CN102340451B/en
Publication of CN102340451A publication Critical patent/CN102340451A/en
Priority to PCT/CN2012/082187 priority patent/WO2013044827A1/en
Application granted granted Critical
Publication of CN102340451B publication Critical patent/CN102340451B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a trace route testing method, system, device and equipment. The method comprises the steps of: receiving a trace message with a message header carrying a TTL (Time to Live) value as N, wherein N represents the number of spacing equipment between a source mainframe and a target mainframe; copying the message; and adding 1 to the TTL value in a hop-ty-hop option in the original trace message; sending a TTL time-out message to the source main frame when the TTL value in the hop-ty-hop option is not more than the TTL value carried in the message header of the trace message; or else, stopping forwarding the message. At a target node, because a port number cannot be found for the message, a port unreachable message is sent to the source mainframe. Because only one trace message is transmitted in the trace test performed in the invention and used for modifying and completing the trace test according to the copy of the trace message, the number of the message to be transmitted is reduced, and the bandwidth burden is effectively alleviated.

Description

A kind of traceroute method of testing, system, device and equipment
Technical field
The present invention relates to data communication technology field, relate in particular to a kind of traceroute (Trace) method of testing, system, device and equipment.
Background technology
The Trace method is that (it can be used for the router between diagnostic test point and the destination host to network communication protocol for Transmission Control Protocol/Internet Protocol, a kind of Topology Discovery and diagnostic method relatively early in TCP/IP).
Router before E-Packet always with life span (the Time To Live of message; TTL) value subtracts 1; When ttl value was kept to 0, router then sent overtime the Internet Internet Control Message Protocol (Internet Control Message Protocol, the ICMP) message of TTL to source address.The principle that Trace realizes is exactly this characteristic according to router.
Fig. 1 is existing trace testing principle sketch map; When between PC, router R1~R3 being tested, source PC at first sends the probe messages of TTL=1 to R1, when R1 receives this probe messages and transmits; After ttl value in the probe messages subtracted 1 is 0; This moment, router R1 sent the TTL timeout packet to source PC, and corresponding router R2, R3 can receive the TTL=2 of source PC transmission and 3 probe messages, and it sends the TTL timeout packet to source PC respectively according to said process.Source PC sends the probe messages of TTL=n to purpose PC; Probe messages be an inaccessible User Datagram Protocol of destination slogan (User Datagram Protocol, UDP) message is because this probe messages is the inaccessible UDP message of port numbers; Therefore purpose PC can return a unreachable error message of port to source PC; Source PC is according to the source IP address and the type of the error message that receives, thereby definite Trace detection has arrived purpose PC, then Trace EOT.
Carry out Trace test through this way that increases TTL gradually, because destination host of every detection need send a plurality of messages of different ttl values successively, when destination host and source host are separated by a lot of individual routers; For example, when destination host and source host were separated by n router, then total message number of needing of detection was 2* (n+1); Therefore; A large amount of message serious waste of sending during detection the bandwidth resources of the network equipment, and the convergence slower, thereby cause detection efficient lower.In addition; Though when sending the Trace probe messages, can adopt and the hairdo method Trace probe messages of sending a plurality of different ttl values successively; But the total quantity of the Trace probe messages of sending is constant, still can't solve the problem of network equipment bandwidth resources waste.
Summary of the invention
The present invention provides a kind of traceroute method of testing, system, device and equipment, and is too much in order to the probe messages that the solution prior art is sent in carrying out the traceroute process, takies the problem of the network bandwidth.
The present invention provides a kind of traceroute method of testing, and said method comprises:
Receive Internet Protocol version 6 IPv6 traceroute trace message; Whether the destination address of judging this trace message is local address; Wherein carrying the life span ttl value in the heading of this trace message is N; And the ttl value that also carries in this trace message in the hop-by-hop options is M, and N is the maximum hop count of test, and M is not less than 1 integer;
When confirming the non-local address of destination address of this trace message, copy this trace message, and the ttl value in the hop-by-hop options in the original trace message is added 1 back forwarding; Judge that whether the ttl value add in this hop-by-hop options after 1 carries ttl value in the heading greater than the trace message; When in the ttl value in the hop-by-hop options is not more than the heading of trace message, carrying ttl value; The ttl value of heading in this trace message of copy is revised as 1 also continuation forwarding; The ttl value of heading subtracts 1 operation in the message repeating process; For the trace message of this copy, after subtracting 1, its ttl value becomes 0, to send the TTL timeout packet to source host according to the agreement regulation; When carrying ttl value in the heading of the ttl value in the hop-by-hop options greater than the trace message, stop forwarding message;
When the destination address of confirming this trace message is local address, to the unreachable message of source host transmit port.
The present invention provides a kind of traceroute testing apparatus, and said device comprises:
Receive judge module; Be used to receive Internet Protocol version 6 IPv6 traceroute trace message; Whether the destination address of judging this trace message is local address, and wherein carrying the life span ttl value in the heading of this trace message is N, and the ttl value that also carries in this trace message in the hop-by-hop options is M; N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer;
The copy update module is used for when confirming the non-local address of destination address of this trace message, copying this trace message, and the ttl value in the hop-by-hop options in the original trace message is added 1 back forwarding; Judge that whether the ttl value add in this hop-by-hop options after 1 carries ttl value in the heading greater than the trace message;
First sending module; When being used for carrying ttl value in the heading that ttl value when hop-by-hop options is not more than the trace message; Ttl value in this trace message of copy is revised as 1 also continues to transmit, the TTL to heading in the message repeating process subtracts 1 operation, for the trace message of copy; Become 0 after its ttl value subtracts 1, send the TTL timeout packet to source host according to the agreement regulation; When carrying ttl value in the heading of the ttl value in the hop-by-hop options greater than the trace message, stop message and transmit;
Second sending module is used for when the destination address of confirming this trace message is local address, to the unreachable message of source host transmit port.
The present invention provides a kind of network equipment, and the said network equipment comprises above-mentioned described device.
The present invention provides a kind of traceroute test macro, and said system comprises: the above-mentioned network equipment reaches the source host that communicates with this network equipment;
Source host; Be used to send Internet Protocol version 6 IPv6 traceroute trace message; Wherein carrying the life span ttl value in the heading of this trace message is N; And the ttl value that also carries in this trace message in the hop-by-hop options is M, and N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer; And reception TTL timeout packet and the unreachable message of port.
The present invention provides a kind of traceroute method of testing, system, device and equipment; This method of testing comprises: receive in the heading and carry the trace message that ttl value is N, wherein N is the amount of equipment of being separated by between source host and the destination host, when message is handled in non-this locality; This message is copied; And the ttl value in the hop-by-hop options in the original trace message is added 1 back transmit, and the ttl value in hop-by-hop options is not more than when carrying ttl value in the heading of trace message, sends the TTL timeout packet to source host; Otherwise, stop forwarding this message.And when this message is this locality processing message, because can not find port numbers, to the unreachable message of source host transmit port.Owing to when carrying out the trace test, only send a trace message in the present invention, according to copy, revise and accomplish the trace test, thereby saved the message amount of sending the trace message, effectively alleviated the pressure of bandwidth.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is existing trace testing principle sketch map;
Fig. 2 is the process sketch map of this trace test provided by the invention;
Fig. 3 is the form of hop-by-hop options heading;
Fig. 4 is the form of option in the hop-by-hop options heading among Fig. 3;
Fig. 5 is a trace testing principle sketch map provided by the invention;
Fig. 6 is a kind of traceroute testing apparatus structural representation provided by the invention;
Fig. 7 provides a kind of traceroute test system structure sketch map for the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In order effectively to save the network bandwidth, reduce the quantity that the trace probe messages is sent, the invention provides a kind of trace method of testing, system, device and equipment.
Fig. 2 is the process sketch map of this trace test provided by the invention, and this process may further comprise the steps:
S201: receive Internet Protocol version 6 IPv6 traceroute trace message; Wherein carrying the life span ttl value in the heading of this trace message is N; And the ttl value that also carries in this trace message in the hop-by-hop options is M; N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer.
S202: whether the destination address of judging this trace message is local address, when confirming the non-local address of destination address of this trace message, carries out step S203, otherwise, carry out step S207.
In addition, when source host sent the trace message, the ttl value in the hop-by-hop options of carrying in this message was set to 1 in the present invention.Certainly the initial value of TTL is set to other integer values and also is fine in the hop-by-hop options, judges whether that according to the ttl value in this hop-by-hop options continuing to send this trace message gets final product as long as how follow-up intermediate router and destination host are known.
S203: copy this trace message, and the ttl value in the hop-by-hop options in the original trace message is added 1 back forwarding.
In the present invention in order to realize sending a trace message; Each equipment that bar is jumped on the link all carries out the trace test; When each equipment (intermediate router or destination host) receives this trace message; Copy this trace message, judge whether to return the TTL timeout packet to source host to the trace message of this copy.And transmit processing for original trace message.
S204: judge that whether the ttl value add in this hop-by-hop options after 1 carries ttl value in the heading greater than the trace message, when judged result when being, carry out step S206, otherwise, carry out step S205.
Because this trace message whenever is forwarded once, the ttl value in its hop-by-hop options of carrying is upgraded, according to the ttl value in the hop-by-hop options of carrying in the trace message after upgrading, judge to source host and send the TTL timeout packet.
S205: the ttl value in this trace message that will copy is revised as 1 and when transmitting, the ttl value in this trace message of copy is subtracted 1 after, become 0 after its ttl value subtracts 1, send the TTL timeout packet according to the agreement regulation to source host.
S206: stop forwarding this message.
S207: to the unreachable message of source host transmit port.
In the present invention for middle router and destination host are tested; Source host is after sending the trace message; Record sends the time point of this trace message; According to said delivery time and receive moment of each error message, judge whether the equipment between source host and the destination host breaks down.Wherein this error message comprises TTL timeout packet and the unreachable message of port.
Concrete, in the present invention according to said delivery time and receive moment of each error message, judge whether the equipment between source host and the destination host breaks down, comprising:
According to each jumps t average time that sends the TTL timeout packet between said delivery time and this source host and the destination host, confirm to receive the time that each jumps the TTL timeout packet;
According to each times prior of jumping the TTL timeout packet, whether receive the TTL timeout packet that this jumping is returned, judge whether this jumping can reach.
In the present invention in order to save bandwidth, the trace message that source host sends, for having utilized Internet Protocol version 6 (IPv6) hop-by-hop options heading, this message at each equipment place of its process, all detects this message in the process of transmission.In this IPv6 basic agreement stack; The form of this hop-by-hop options heading is as shown in Figure 3; One by one in the option heading preceding 8 be the information of next heading, identified immediately following type at the next heading of hop-by-hop options heading back, extension header length is unit with 88 hytes; The length that does not comprise the hop-by-hop options heading of preceding 88 hytes is option afterwards.
Fig. 4 is the form of option in the hop-by-hop options heading among Fig. 3; Comprise option type, option and option data in this option; The option that in this option, comprises one or more TLV (Type-Length-Value) coding; The length of this part is variable, is the integral multiple of 88 hytes but will guarantee to make the length of whole hop-by-hop options heading.In addition, the option type that has also defined a hop-by-hop options heading in the present invention is the TTL option, is used in reference to be shown in several next-hop and to return the overtime error message of TTL, and the length of this option type is defined as 1 byte.
Fig. 5 is a trace testing principle sketch map provided by the invention; Source host is when sending the trace message, and in the heading of this IPv6 Trace message, carrying ttl value is N (for example being 4), to identify the maximum hop count that it can be tested; The test that the promptly maximum N of support jumps; Carry the TTL option data in the hop-by-hop options in this Trace message simultaneously, the TTL in this hop-by-hop options is appointed as 1, is illustrated in first next jumping and returns the TTL timeout packet.After the source host structure is accomplished this Trace message, this Trace message is sent, and write down the delivery time of this Trace message.
After the first hop router R1 receives this trace message; Adopt the IPv6 agreement that this message is resolved; According to the destination address of this trace message, judgement need be transmitted processing to this message, and owing to carry hop-by-hop options in this message; Confirm that this message is the trace message, need carry out trace and handle.
The first hop router R1 is a trace message copy earlier, and the value of the TTL in the hop-by-hop options in the original trace message is added 1, and the ttl value in this hop-by-hop options becomes 2 at this moment.Judge that 2 are not more than 4; Ttl value in the heading in the trace message of copy is revised as 1; Carrying out the process that message is transmitted afterwards, is 0 after in the time of forwarding the ttl value in the heading in this trace message being subtracted 1, and then this moment, the first hop router R1 sent the TTL timeout packet.
After receiving this trace message for the second hop router R2; Adopt the IPv6 agreement that this message is resolved, judgement need be transmitted processing to this message, and owing to carry hop-by-hop options in this message; Confirm that this message is the trace message, need carry out trace and handle.
The second hop router R2 is a trace message copy earlier, and the value of the TTL in the hop-by-hop options in the original trace message is added 1, and the ttl value in this hop-by-hop options becomes 3 at this moment.Judge that 3 are not more than 4; Ttl value in the heading in the trace message of copy is revised as 1; Carrying out the process that message is transmitted afterwards, is 0 after in the time of forwarding the ttl value in the heading in this trace message being subtracted 1, and then this moment, the second hop router R2 sent the TTL timeout packet.
To the 3rd hop router R3, it continues above-mentioned and first hop router and the second hop router identical operations, the trace message is sent to destination host after.Destination host is resolved this message, and judgement need be carried out this locality processing to this message, because can not find port numbers, to the unreachable message of source host transmit port.
Because each hop router all can send the TTL timeout packet to source host; Therefore in its hop-by-hop options, all include ttl value in each TTL timeout packet that source host receives; And comprise IPv6 address, source; Therefore source host can be with the ttl value in the TTL timeout packet that receives, and the time of reception that reaches IPv6 address, source and each TTL timeout packet is noted.
Concrete; To the two-way time of first hop router is to receive that first hop router returns the time and the time difference that sends the trace message of TTL timeout packet; Be designated as T1, be T2 the two-way time of corresponding second hop router, and it equals time and the time difference that sends the trace message that second hop router returns the TTL timeout packet; And the like, can confirm two-way time of each jumping.
And, in source host, be provided with the time-out time t of trace message, for first hop router corresponding overtime t two-way time, second jump corresponding overtime be 2t, it is Nt that corresponding N jumps the overtime of correspondence.When TTL timeout packet that the router that in this time-out time, does not receive corresponding jumping returns, confirm that then this hop router is unreachable.If source host has received the unreachable message of port that the destination address destination host returns, then the Trace test process finishes.If source host is never received the unreachable message of port that the destination host of destination address returns,, confirm that then the equipment between source host and the destination host breaks down up to reaching the max-timeout time (time-out time * maximum probe ttl value).
Fig. 6 is a kind of traceroute testing apparatus structural representation provided by the invention, and said device comprises:
Receive judge module 61; Be used to receive Internet Protocol version 6 IPv6 traceroute trace message; Whether the destination address of judging this trace message is local address, and wherein carrying the life span ttl value in the heading of this trace message is N, and the ttl value that also carries in this trace message in the hop-by-hop options is M; N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer;
Copy update module 62 is used for when confirming the non-local address of destination address of this trace message, copying this trace message, and the ttl value in the hop-by-hop options in the original trace message is added 1 back forwarding; Judge that whether the ttl value add in this hop-by-hop options after 1 carries ttl value in the heading greater than the trace message;
First sending module 63; When being used for carrying ttl value in the heading that ttl value when hop-by-hop options is not more than the trace message; Ttl value in this trace message of copy is revised as 1 also continues to transmit, the TTL to heading in the message repeating process subtracts 1 operation, for the trace message of copy; Become 0 after its ttl value subtracts 1, send the TTL timeout packet to source host according to the agreement regulation; When carrying ttl value in the heading of the ttl value in the hop-by-hop options greater than the trace message, stop message and transmit;
Second sending module 64 is used for when the destination address of confirming this trace message is local address, to the unreachable message of source host transmit port.
Said reception judge module 61, the initial value that specifically is used for receiving the ttl value in the hop-by-hop options of carrying of trace message is 1.
The present invention provides a kind of network equipment, and this network equipment comprises the described device of above-mentioned Fig. 6.
Fig. 7 provides a kind of traceroute test system structure sketch map for the present invention, and said system comprises: the above-mentioned network equipment 71 reaches the source host 72 that communicates with this network equipment;
Source host 72; Be used to send Internet Protocol version 6 IPv6 traceroute trace message; Wherein carrying the life span ttl value in the heading of this trace message is N; And the ttl value that also carries in this trace message in the hop-by-hop options is M, and N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer; And reception TTL timeout packet and the unreachable message of port.
Said source host 72 also is used to write down the delivery time that sends said trace message; According to said delivery time and receive moment of each error message, judge whether the equipment between source host and the destination host breaks down, wherein error message comprises: the unreachable message of TTL timeout packet and port.
Said source host 72 specifically is used for confirming to receive the time that each jumps the TTL timeout packet according to each jumps t average time that sends the TTL timeout packet between said delivery time and this source host and the destination host; According to each times prior of jumping the TTL timeout packet, whether receive the TTL timeout packet that this jumping is returned, judge whether this jumping can reach.
The present invention provides a kind of traceroute method of testing, system, device and equipment; This method of testing comprises: receive in the heading and carry the trace message that ttl value is N, wherein N is the amount of equipment of being separated by between source host and the destination host, when message is handled in non-this locality; This message is copied; And the ttl value in the hop-by-hop options in the original trace message is added 1 back transmit, and the ttl value in hop-by-hop options is not more than when carrying ttl value in the heading of trace message, sends the TTL timeout packet to source host; Otherwise, stop forwarding this message.And when this message is this locality processing message, because can not find port numbers, to the unreachable message of source host transmit port.Owing to when carrying out the trace test, only send a trace message in the present invention, according to copy, revise and accomplish the trace test, thereby saved the message amount of sending the trace message, effectively alleviated the pressure of bandwidth.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of accompanying claims of the present invention.

Claims (10)

1. a traceroute method of testing is characterized in that, said method comprises:
Receive Internet Protocol version 6 IPv6 traceroute trace message; Whether the destination address of judging this trace message is local address; Wherein carrying the life span ttl value in the heading of this trace message is N; And the ttl value that also carries in this trace message in the hop-by-hop options is M, and N is the maximum hop count of test, and M is not less than 1 integer;
When confirming the non-local address of destination address of this trace message, copy this trace message, and the ttl value in the hop-by-hop options in the original trace message is added 1 back forwarding; Judge that whether the ttl value add in this hop-by-hop options after 1 carries ttl value in the heading greater than the trace message; When in the ttl value in the hop-by-hop options is not more than the heading of trace message, carrying ttl value; The ttl value of heading in this trace message of copy is revised as 1 also continuation forwarding; The ttl value of heading subtracts 1 operation in the message repeating process; For the trace message of this copy, after subtracting 1, its ttl value becomes 0, to send the TTL timeout packet to source host according to the agreement regulation; When carrying ttl value in the heading of the ttl value in the hop-by-hop options greater than the trace message, stop forwarding message;
When the destination address of confirming this trace message is local address, to the unreachable message of source host transmit port.
2. the method for claim 1 is characterized in that, the initial value of the ttl value in the hop-by-hop options of carrying in the said trace message is 1.
3. the method for claim 1 is characterized in that, said method also comprises:
The source host record sends the delivery time of said trace message;
According to said delivery time and receive moment of each error message, judge whether the equipment between source host and the destination host breaks down, wherein this error message comprises: the unreachable message of TTL timeout packet and port.
4. method as claimed in claim 3 is characterized in that, and is said according to said delivery time and receive moment of each error message, judges whether the equipment between source host and the destination host breaks down, and comprising:
According to each jumps t average time that sends the TTL timeout packet between said delivery time and this source host and the destination host, confirm to receive the time that each jumps the TTL timeout packet;
According to each times prior of jumping the TTL timeout packet, whether receive the TTL timeout packet that this jumping is returned, judge whether this jumping can reach.
5. a traceroute testing apparatus is characterized in that, said device comprises:
Receive judge module; Be used to receive Internet Protocol version 6 IPv6 traceroute trace message; Whether the destination address of judging this trace message is local address, and wherein carrying the life span ttl value in the heading of this trace message is N, and the ttl value that also carries in this trace message in the hop-by-hop options is M; N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer;
The copy update module is used for when confirming the non-local address of destination address of this trace message, copying this trace message, and the ttl value in the hop-by-hop options in the original trace message is added 1 back forwarding; Judge that whether the ttl value add in this hop-by-hop options after 1 carries ttl value in the heading greater than the trace message;
First sending module; When being used for carrying ttl value in the heading that ttl value when hop-by-hop options is not more than the trace message; Ttl value in this trace message of copy is revised as 1 also continues to transmit, the TTL to heading in the message repeating process subtracts 1 operation, for the trace message of copy; Become 0 after its ttl value subtracts 1, send the TTL timeout packet to source host according to the agreement regulation; When carrying ttl value in the heading of the ttl value in the hop-by-hop options greater than the trace message, stop message and transmit;
Second sending module is used for when the destination address of confirming this trace message is local address, to the unreachable message of source host transmit port.
6. device as claimed in claim 5 is characterized in that, said reception judge module, and the initial value that specifically is used for receiving the ttl value in the hop-by-hop options of carrying of trace message is 1.
7. a network equipment is characterized in that, the said network equipment comprises aforesaid right requirement 5~6 arbitrary described devices.
8. traceroute test macro, said system comprises: aforesaid right requires the 7 described network equipments, and the source host that communicates with this network equipment;
Source host; Be used to send Internet Protocol version 6 IPv6 traceroute trace message; Wherein carrying the life span ttl value in the heading of this trace message is N; And the ttl value that also carries in this trace message in the hop-by-hop options is M, and N is the amount of equipment of being separated by between source host and the destination host, and M is not less than 1 integer; And reception TTL timeout packet and the unreachable message of port.
9. system as claimed in claim 8 is characterized in that, said source host also is used to write down the delivery time that sends said trace message; According to said delivery time and receive moment of each error message, judge whether the equipment between source host and the destination host breaks down, wherein error message comprises: the unreachable message of TTL timeout packet and port.
10. system as claimed in claim 9; It is characterized in that; Said source host specifically is used for confirming to receive the time that each jumps the TTL timeout packet according to each jumps t average time that sends the TTL timeout packet between said delivery time and this source host and the destination host; According to each times prior of jumping the TTL timeout packet, whether receive the TTL timeout packet that this jumping is returned, judge whether this jumping can reach.
CN201110298101.8A 2011-09-28 2011-09-28 Trace route testing method, system, device and equipment Expired - Fee Related CN102340451B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110298101.8A CN102340451B (en) 2011-09-28 2011-09-28 Trace route testing method, system, device and equipment
PCT/CN2012/082187 WO2013044827A1 (en) 2011-09-28 2012-09-27 Test method for trace route and system, apparatus and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110298101.8A CN102340451B (en) 2011-09-28 2011-09-28 Trace route testing method, system, device and equipment

Publications (2)

Publication Number Publication Date
CN102340451A true CN102340451A (en) 2012-02-01
CN102340451B CN102340451B (en) 2017-05-24

Family

ID=45515957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110298101.8A Expired - Fee Related CN102340451B (en) 2011-09-28 2011-09-28 Trace route testing method, system, device and equipment

Country Status (2)

Country Link
CN (1) CN102340451B (en)
WO (1) WO2013044827A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013044827A1 (en) * 2011-09-28 2013-04-04 中兴通讯股份有限公司 Test method for trace route and system, apparatus and device thereof
CN103516615A (en) * 2013-07-15 2014-01-15 中国人民解放军国防科学技术大学 Method and device for determining network topology
CN103516615B (en) * 2013-07-15 2016-11-30 中国人民解放军国防科学技术大学 Network topology determines method and apparatus
CN103763751B (en) * 2014-01-24 2017-05-17 广州杰赛科技股份有限公司 Data transmission method and system of wireless sensor network
CN106899597A (en) * 2017-03-02 2017-06-27 新华三技术有限公司 A kind of traceroute process method and apparatus
CN108259335A (en) * 2017-03-31 2018-07-06 新华三技术有限公司 Path detection method and apparatus
CN109067605A (en) * 2018-10-08 2018-12-21 郑州云海信息技术有限公司 A kind of storage subsystem method for diagnosing faults, device, terminal and storage medium
WO2022199365A1 (en) * 2021-03-25 2022-09-29 中兴通讯股份有限公司 Information processing method, and device and storage medium
WO2023279990A1 (en) * 2021-07-09 2023-01-12 华为技术有限公司 Packet transmission method, apparatus and system, network device, and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201611555A (en) * 2014-09-15 2016-03-16 Chunghwa Telecom Co Ltd Automatic packet characteristic analysis system for use in IPv6 (Internet protocol version 6) test and method thereof
CN106688209B (en) 2014-10-29 2020-12-01 柏思科技有限公司 Method and system for transmitting broadcast data
CN107872545B (en) * 2017-09-26 2022-12-06 中兴通讯股份有限公司 Message transmission method and device and computer readable storage medium
CN115296985B (en) * 2022-09-27 2022-12-16 广州医科大学附属第五医院(广州再生医学与健康广东省实验室附属医院) Breakpoint positioning method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083629A (en) * 2007-08-07 2007-12-05 华为技术有限公司 Method and router for positioning the last jump router and multicasting routing track
US20080212484A1 (en) * 2007-03-02 2008-09-04 Cisco Technology, Inc. Tracing connection paths through transparent proxies
CN101505230A (en) * 2008-01-31 2009-08-12 思科技术公司 Event triggered traceroute for optimized routing in a computer network
CN101771604A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Routing detection method, system and intermediate routing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340451B (en) * 2011-09-28 2017-05-24 中兴通讯股份有限公司 Trace route testing method, system, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212484A1 (en) * 2007-03-02 2008-09-04 Cisco Technology, Inc. Tracing connection paths through transparent proxies
CN101083629A (en) * 2007-08-07 2007-12-05 华为技术有限公司 Method and router for positioning the last jump router and multicasting routing track
CN101505230A (en) * 2008-01-31 2009-08-12 思科技术公司 Event triggered traceroute for optimized routing in a computer network
CN101771604A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Routing detection method, system and intermediate routing device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013044827A1 (en) * 2011-09-28 2013-04-04 中兴通讯股份有限公司 Test method for trace route and system, apparatus and device thereof
CN103516615A (en) * 2013-07-15 2014-01-15 中国人民解放军国防科学技术大学 Method and device for determining network topology
CN103516615B (en) * 2013-07-15 2016-11-30 中国人民解放军国防科学技术大学 Network topology determines method and apparatus
CN103763751B (en) * 2014-01-24 2017-05-17 广州杰赛科技股份有限公司 Data transmission method and system of wireless sensor network
CN106899597A (en) * 2017-03-02 2017-06-27 新华三技术有限公司 A kind of traceroute process method and apparatus
CN106899597B (en) * 2017-03-02 2020-02-11 新华三技术有限公司 Trace route processing method and device
WO2018177438A1 (en) * 2017-03-31 2018-10-04 新华三技术有限公司 Path detection
CN108259335A (en) * 2017-03-31 2018-07-06 新华三技术有限公司 Path detection method and apparatus
US11025535B2 (en) 2017-03-31 2021-06-01 New H3C Technologies Co., Ltd. Detecting path
CN109067605A (en) * 2018-10-08 2018-12-21 郑州云海信息技术有限公司 A kind of storage subsystem method for diagnosing faults, device, terminal and storage medium
CN109067605B (en) * 2018-10-08 2021-10-22 郑州云海信息技术有限公司 Storage subsystem fault diagnosis method and device, terminal and storage medium
WO2022199365A1 (en) * 2021-03-25 2022-09-29 中兴通讯股份有限公司 Information processing method, and device and storage medium
WO2023279990A1 (en) * 2021-07-09 2023-01-12 华为技术有限公司 Packet transmission method, apparatus and system, network device, and storage medium

Also Published As

Publication number Publication date
WO2013044827A1 (en) 2013-04-04
CN102340451B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN102340451A (en) Trace route testing method, system, device and equipment
KR102569305B1 (en) Data message detection method, device and system
CN101459594B (en) BFD packet transmitting method, link failure detection method and apparatus
US8971339B2 (en) Contents base switching system and contents base switching method
JP4840236B2 (en) Network system and node device
CN110034971B (en) Method and device for detecting service chain
CN100579034C (en) Method for reporting equipment information, system and device for obtaining equipment information
CN108964943B (en) Method and device for realizing IOAM packaging
WO2016045098A1 (en) Switch, controller, system and link quality detection method
EP3331205B1 (en) Data packet transmission method utilized in ipv6 network and device utilizing same
Shi et al. NDNLP: A link protocol for NDN
US10505846B2 (en) Resilient segment routing service hunting with TCP session stickiness
JP6598771B2 (en) Distributed data transmission in data networks
CN105743711A (en) Fault detection method and device for network path and network equipment
US8107388B2 (en) Route tracing program configured to detect particular network element making type of service modification
CN105577416B (en) Service function chain operation, management and maintenance method and node equipment
CN103797772A (en) Differentiated handling of data traffic with user-class dependent adaptation of network address lookup
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
CN111935009B (en) Data packet routing method, device, equipment, system and storage medium
CN105099938A (en) Determining method and device of congestion window in network
CN102739462B (en) Test message sending method and device
CN101808043B (en) Method and device for detecting service message forwarding state of TRUNK members
CN109076022B (en) Network address conversion device, setting request device, communication system, communication method, and storage medium storing program
CN101640635A (en) Method for avoiding message recombination in 6over4 tunnel and system therefor
CN112491647B (en) Switch message testing method, system and related device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170524

Termination date: 20190928

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