JP2010154130A - Routing authentication device, routing authentication system, routing authentication method and program thereof - Google Patents

Routing authentication device, routing authentication system, routing authentication method and program thereof Download PDF

Info

Publication number
JP2010154130A
JP2010154130A JP2008328769A JP2008328769A JP2010154130A JP 2010154130 A JP2010154130 A JP 2010154130A JP 2008328769 A JP2008328769 A JP 2008328769A JP 2008328769 A JP2008328769 A JP 2008328769A JP 2010154130 A JP2010154130 A JP 2010154130A
Authority
JP
Japan
Prior art keywords
packet
node
edge
nodes
route
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
JP2008328769A
Other languages
Japanese (ja)
Other versions
JP4746672B2 (en
Inventor
Naoki Tateishi
直規 立石
Mitsuo Tawara
光穂 田原
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2008328769A priority Critical patent/JP4746672B2/en
Publication of JP2010154130A publication Critical patent/JP2010154130A/en
Application granted granted Critical
Publication of JP4746672B2 publication Critical patent/JP4746672B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To facilitate routing authentication on a network comprising a plurality of relay nodes. <P>SOLUTION: A routing authentication device 10 transmits a packet of TTL=n to an edge node 50 constituting the network first. After receiving an acknowledgement response for the packet, the routing authentication device decreases the value of TTL of a packet to be transmitted by one at each time in a manner of n-1 and n-2, and performs routing authentication from the identification information of a relay node which has sent back a response (notice of discard of a packet) for the transmitted packet. Namely, routing is authenticated from the side of the edge node 50 in the order of a relay node 40 one hop before the edge node and a relay node 30 further one hop before it. At this time, the routing authentication device 10 omits packet transmission to a part where routing is repeated, so that the number of packets for the routing authentication can be decreased to shorten a time needed for the routing authentication. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ネットワークの経路確認技術に関する。   The present invention relates to a network route confirmation technique.

従来からネットワーク上において、経路確認装置からエッジノードへ、TTL(Time To Live)を任意の値に設定したパケットを送り、パケットが流れる際に通過する中継ノードを知ることで経路確認を行う方法(Traceroute、非特許文献1参照)が知られている。ここで、TTLとはパケットの有効期間を表す値であり、中継ノードはそのパケットを受信すると、そのTTLの値を1減少させ、次の中継ノードへ転送する。ここで、中継ノードがTTLの値を1減少させた結果、TTLの値が0になった場合、中継ノードはそのパケットを廃棄し、このパケットの廃棄通知を送信元(経路確認装置)へ送信する。   Conventionally, a method for confirming a route by sending a packet in which a TTL (Time To Live) is set to an arbitrary value from a route confirmation device to an edge node on a network and knowing a relay node that passes when the packet flows ( Traceroute, see Non-Patent Document 1) is known. Here, TTL is a value representing the valid period of a packet, and when the relay node receives the packet, the TTL value is decreased by 1 and transferred to the next relay node. Here, when the TTL value becomes 0 as a result of the relay node decrementing the TTL value by 1, the relay node discards the packet and transmits a discard notification of the packet to the transmission source (route confirmation device). To do.

ここで、図8を用いて、経路確認装置100がTracerouteにより、経路確認を行う方法を説明する。図8は、経路確認装置がTracerouteにより、経路確認を行う方法を概念的に示した図である。ここでは、経路確認装置100からエッジノード50へのパケット転送にあたり、中継ノード20,30,…,40を通過する場合を例に説明する。また、経路確認装置100からエッジノード50までのホップ数=nとする。まず、経路確認装置100は、エッジノード50宛にTTLを1に設定したパケットを送信し、エッジノード50の確認応答を要求する。ここで、パケットが中継ノード20に到達すると、中継ノード20はTTLを0に設定した廃棄通知を経路確認装置100へ返す。経路確認装置100は、このような廃棄通知の受信によりエッジノード50への経路上に中継ノード20が存在することを確認する。また、この中継ノード20は、エッジノード50へパケットを送信する際に、1番目に通過する中継ノード(ホップ数が1の中継ノード)であることを確認する。同様に、経路確認装置100においてTTLを1加算した(つまり、TTL=2を設定した)パケットを送信すると、中継ノード30から廃棄通知が送信され、経路確認装置100は、この中継ノード30へのホップ数が2であることを確認する。   Here, with reference to FIG. 8, a method in which the route confirmation device 100 performs route confirmation using Traceroute will be described. FIG. 8 is a diagram conceptually showing a method of route confirmation by the route confirmation device using Traceroute. Here, a case where the packet is transferred from the route confirmation device 100 to the edge node 50 through the relay nodes 20, 30,..., 40 will be described as an example. Further, the number of hops from the route confirmation device 100 to the edge node 50 is assumed to be n. First, the path confirmation device 100 transmits a packet in which the TTL is set to 1 to the edge node 50 and requests a confirmation response from the edge node 50. Here, when the packet reaches the relay node 20, the relay node 20 returns a discard notification in which the TTL is set to 0 to the route confirmation device 100. The route confirmation device 100 confirms that the relay node 20 exists on the route to the edge node 50 by receiving such a discard notification. In addition, when the relay node 20 transmits a packet to the edge node 50, the relay node 20 confirms that the relay node 20 is the first relay node that passes through (a relay node with a hop count of 1). Similarly, when the route confirmation device 100 transmits a packet in which TTL is added by 1 (that is, TTL = 2 is set), a discard notification is transmitted from the relay node 30, and the route confirmation device 100 transmits the packet to the relay node 30. Confirm that the number of hops is two.

経路確認装置100は、以上のような処理を、エッジノード50からの確認通知を受信できるまで繰り返すことで、経路確認装置100からエッジノード50までの間でどの中継ノードを経由するかを知ることができる。つまり、経路確認装置100からエッジノード50までの経路確認を行うことができる。なお、ここで送信するパケットは、例えば、ICMP(Internet Control Message Protocol、非特許文献2参照)、UDP(User Datagram Protocol)、TCP(Transmission Control Protocol)等のパケットである。また、複数のエッジノード50への経路を同時に確認する方法として、複数のエッジノード50へ同時にパケットを送信する方法もある。   The route confirmation device 100 repeats the above processing until the confirmation notification from the edge node 50 can be received, thereby knowing which relay node is routed between the route confirmation device 100 and the edge node 50. Can do. That is, the route confirmation from the route confirmation device 100 to the edge node 50 can be performed. The packet transmitted here is, for example, a packet such as ICMP (Internet Control Message Protocol, see Non-Patent Document 2), UDP (User Datagram Protocol), TCP (Transmission Control Protocol), or the like. Further, as a method for simultaneously confirming routes to a plurality of edge nodes 50, there is a method for transmitting packets to a plurality of edge nodes 50 at the same time.

ここで、経路確認装置100がツリー構造のネットワークの経路確認を行う場合には、以下のような処理を行う。図9は、ツリー構造のネットワークの構成例を示した図である。   Here, when the route confirmation device 100 confirms the route of the tree-structured network, the following processing is performed. FIG. 9 is a diagram illustrating a configuration example of a tree-structured network.

このようなツリー構造のネットワークにおいて、経路確認装置100が、Tracerouteにより、経路確認装置100からエッジノード50(50A〜50P)までの経路確認を行う場合、経路確認装置100は、エッジノード50(50A〜50P)それぞれへ、TTLの値を1から順に1ずつ加算したパケットを送信する。   In the network having such a tree structure, when the route confirmation device 100 performs route confirmation from the route confirmation device 100 to the edge node 50 (50A to 50P) by Traceroute, the route confirmation device 100 uses the edge node 50 (50A). To 50P), a packet in which the TTL values are added one by one in order is transmitted to each.

例えば、経路確認装置100は、ホップ数=n−3の中継ノード20A,20Bへの経路を確認するために、TTLをn−3に設定したパケットをエッジノード50(50A〜50P)宛に送信する。ホップ数=n−3の中継ノード20A,20Bは、これらのパケットを廃棄するので、これらのパケットの廃棄通知を経路確認装置100へ返す。つまり、中継ノード20Aは、エッジノード50(50A〜50H)宛のパケットそれぞれについての廃棄通知を経路確認装置100へ返す。また、中継ノード20Bは、エッジノード50(50I〜50P)宛のパケットそれぞれについての廃棄通知を経路確認装置100へ返す。   For example, in order to confirm the route to the relay nodes 20A and 20B with the number of hops = n−3, the route confirmation device 100 transmits a packet in which the TTL is set to n−3 to the edge node 50 (50A to 50P). To do. Since the relay nodes 20A and 20B with the number of hops = n−3 discard these packets, they return a discard notification of these packets to the route confirmation device 100. That is, the relay node 20A returns a discard notification for each packet addressed to the edge node 50 (50A to 50H) to the path confirmation device 100. Further, the relay node 20B returns a discard notification for each of the packets addressed to the edge nodes 50 (50I to 50P) to the route confirmation device 100.

また、経路確認装置100は、ホップ数=n−2の中継ノード30A,30Bへの経路を確認するために、TTL=n−2に設定したパケットをエッジノード50(50A〜50P)へ送信する。ホップ数=n−2の中継ノード30A,30Bは、これらのパケットを廃棄するので、このパケットの廃棄通知を経路確認装置100へ返す。つまり、中継ノード30Aは、エッジノード50(50A〜50H)宛のパケットそれぞれについての廃棄通知を経路確認装置100へ返す。また、中継ノード30Bも、エッジノード50(50I〜50P)宛のパケットそれぞれについての廃棄通知を経路確認装置100へ返す。   Further, the path confirmation device 100 transmits the packet set to TTL = n−2 to the edge node 50 (50A to 50P) in order to confirm the path to the relay nodes 30A and 30B with the number of hops = n−2. . The relay nodes 30A and 30B with the number of hops = n−2 discard these packets, and return a discard notification of this packet to the route confirmation device 100. That is, the relay node 30A returns a discard notification for each packet addressed to the edge node 50 (50A to 50H) to the route confirmation device 100. The relay node 30B also returns a discard notification for each packet addressed to the edge node 50 (50I to 50P) to the route confirmation device 100.

さらに、経路確認装置100は、ホップ数=n−1の中継ノード40A〜40Dへの経路を確認するために、TTL=n−1に設定したパケットをエッジノード50(50A〜50P)へ送信する。そして、ホップ数=n−1の中継ノード40A〜40Dは、これらのパケットを廃棄するので、中継ノード40Aは、エッジノード50(50A〜50D)宛のパケットそれぞれの廃棄通知を経路確認装置100へ返す。また、中継ノード40Bは、エッジノード50(50E〜50H)宛のパケットについての廃棄通知を経路確認装置100へ返す。さらに、中継ノード40Cも自身に接続するエッジノード50(50I〜50L)宛のパケットそれぞれについての廃棄通知を経路確認装置100へ返し、中継ノード40Dも自身に接続するエッジノード50(50M〜50P)宛のパケットそれぞれについての廃棄通知を経路確認装置100へ返す。経路確認装置100は、中継ノード20,30,40からのパケットの廃棄通知を受信すると、この受信した廃棄通知が、どのようなTTLの値を設定したパケットの廃棄通知か、どのエッジノード50宛のパケットの廃棄通知か、また、その廃棄通知の送信元の中継ノードはどの中継ノードかを判断して、図9に示すような経路を把握する。また、経路確認装置100は、TTL=nのパケットを各エッジノード50宛に送信し、これらのエッジノード50からの応答確認を受信することで、各エッジノード50が稼動しているか否かを確認する。
RFC1393、Traceroute Using an IP Option、[online]、[平成20年11月19日検索]、インターネット<URL: http://www.rfcsearch.org/rfcview?lookup_type=RFC&lookup_num=1393> RFC792、INTERNET CONTROL MESSAGE PROTOCOL、[online]、[平成20年11月19日検索]、インターネット、<URL: http://www.rfcsearch.org/rfcview?lookup_type=RFC&lookup_num=792 >
Further, the path confirmation device 100 transmits the packet set to TTL = n−1 to the edge node 50 (50A to 50P) in order to confirm the path to the relay nodes 40A to 40D with the number of hops = n−1. . Then, since the relay nodes 40A to 40D with the number of hops = n−1 discard these packets, the relay node 40A sends a discard notification of each packet addressed to the edge node 50 (50A to 50D) to the route confirmation device 100. return. Further, the relay node 40B returns a discard notification for the packet addressed to the edge node 50 (50E to 50H) to the route confirmation device 100. Further, the relay node 40C also returns a discard notification for each packet addressed to the edge node 50 (50I to 50L) connected to the route confirmation apparatus 100, and the relay node 40D also connects to the edge node 50 (50M to 50P) connected to itself. A discard notification for each addressed packet is returned to the route confirmation device 100. When receiving the packet discard notification from the relay nodes 20, 30, and 40, the route confirmation device 100 determines whether the received discard notification is a packet discard notification for which a TTL value is set or which edge node 50 is addressed. 9 and the relay node that is the transmission source of the discard notification is determined, and the route as shown in FIG. 9 is grasped. Further, the path confirmation device 100 transmits a packet of TTL = n to each edge node 50 and receives a response confirmation from these edge nodes 50 to determine whether or not each edge node 50 is operating. Check.
RFC1393, Traceroute Using an IP Option, [online], [Search November 19, 2008], Internet <URL: http://www.rfcsearch.org/rfcview?lookup_type=RFC&lookup_num=1393> RFC792, INTERNET CONTROL MESSAGE PROTOCOL, [online], [November 19, 2008 search], Internet, <URL: http://www.rfcsearch.org/rfcview?lookup_type=RFC&lookup_num=792>

しかし、経路確認装置が、Tracerouteにより経路確認を行う場合、パケット送信後、中継ノードすべてからの廃棄通知を待たなくてはならない。ここで、経路確認装置から送信するパケットの数は、ネットワーク内のエッジノード数および中継ノードの数に比例して多くなるので、ネットワーク内のエッジノード数および中継ノードの数が多くなると、各中継ノードからの廃棄通知(およびエッジノードからの応答確認)の待ち時間も長くなる。よって、経路確認装置がネットワークの経路確認のために要する時間も長くなるという問題がある。このような問題は、図9に示すように、ツリー構造のネットワークの経路確認において特に顕著である。   However, when the route confirmation device performs route confirmation by Traceroute, it must wait for discard notifications from all the relay nodes after packet transmission. Here, the number of packets transmitted from the route confirmation device increases in proportion to the number of edge nodes and relay nodes in the network. Therefore, when the number of edge nodes and relay nodes in the network increases, each relay The waiting time for the discard notification from the node (and the response confirmation from the edge node) also becomes longer. Therefore, there is a problem that the time required for the route confirmation device to confirm the route of the network becomes longer. Such a problem is particularly conspicuous in the route confirmation of a network having a tree structure as shown in FIG.

そこで、本発明は、前記した問題を解決し、経路確認装置がネットワークの経路確認を行う際の時間を短縮することを目的とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the above-described problems and reduce the time when the route confirmation device performs network route confirmation.

前記した課題を解決するため、請求項1に記載の発明は、複数のエッジノードおよびこれらエッジノードへのパケットを転送する複数の中継ノードを含んでなるネットワークにおいて、エッジノード宛に所定のTTL(Time To Live)の値を設定したパケットを送信し、このパケットを廃棄した中継ノードから受信したパケットの廃棄通知をもとに、このパケットが転送される経路を確認する経路確認装置であって、エッジノードの識別情報と、ノード間接続情報とを記憶する記憶部と、送信したパケットの廃棄通知またはエッジノードからの当該パケットの受信の確認応答を受信したとき、当該経路確認装置から、廃棄通知または確認応答の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信する処理を、廃棄通知または確認応答を受信するたび、このTTLの値が1になるまで繰り返す送信パケット制御部と、パケットを送信するパケット送信部と、送信したパケットに対する廃棄通知および確認応答を受信するパケット受信部と、送信したパケットに対する廃棄通知または確認応答を受信したとき、この廃棄通知または確認応答の送信元のノードの識別情報と、当該送信したパケットに設定したTTLの値と、当該送信したパケットの宛先のエッジノードの識別情報と、記憶部に記憶されたノード間接続情報とに基づき、同じエッジノードに接続するノードであり、かつ、当該経路確認装置からのホップ数の差が1ホップであるノード同士を隣接するノードとして判断し、その判断結果に基づき、ネットワークにおいてパケットが転送されるノードおよびそのノードの当該経路確認装置からのホップ数を示したノード間接続情報を作成し、記憶部に記憶するノード間接続判定部とを備え、送信パケット制御部は、パケットを送信するとき、ノード間接続情報を参照して、そのパケットの宛先を、廃棄通知または確認応答の送信元のノード経由で接続するエッジノードのうち、いずれかのエッジノード宛とすることを特徴とする。   In order to solve the above-described problem, the invention described in claim 1 is a network including a plurality of edge nodes and a plurality of relay nodes that transfer packets to the edge nodes. A route confirmation device that transmits a packet in which a value of (Time To Live) is set and confirms a route to which the packet is forwarded based on a packet discard notification received from a relay node that has discarded the packet. When a storage unit for storing edge node identification information and inter-node connection information, and a discard notification of a transmitted packet or an acknowledgment of reception of the packet from the edge node are received, a discard notification is issued from the route confirmation device. Alternatively, a process for transmitting a packet in which the value of the number of hops minus 1 to the transmission source node of the confirmation response is set to TTL is notified as a discard notification or Each time an acknowledgment is received, a transmission packet control unit that repeats until the TTL value becomes 1, a packet transmission unit that transmits a packet, a packet reception unit that receives a discard notification and an acknowledgment for the transmitted packet, and a transmission When a discard notification or acknowledgment for a received packet is received, the identification information of the node from which the discard notification or acknowledgment is transmitted, the TTL value set in the transmitted packet, and the destination edge node of the transmitted packet Adjacent nodes that are connected to the same edge node and that have a difference in the number of hops from the route confirmation device based on the identification information of the node and the inter-node connection information stored in the storage unit And a node to which a packet is transferred in the network based on the determination result Internode connection information indicating the number of hops from the route confirmation device of the corresponding node is created and stored in the storage unit, and the transmission packet control unit transmits the packet between the nodes. With reference to the connection information, the destination of the packet is addressed to any one of the edge nodes connected via the node that is the source of the discard notification or confirmation response.

請求項5に記載の発明は、複数のエッジノードおよびこれらエッジノードへのパケットを転送する複数の中継ノードを含んでなるネットワークにおいて、エッジノードの識別情報と、ノード間接続情報とを記憶する記憶部を備え、エッジノード宛に所定のTTL(Time To Live)の値を設定したパケットを送信し、このパケットを廃棄した中継ノードから受信したパケットの廃棄通知をもとに、このパケットが転送される経路を確認する経路確認装置が、送信したパケットに対する廃棄通知またはエッジノードからの当該パケットの受信の確認応答を受信するステップと、送信したパケットの廃棄通知または確認応答を受信したとき、ノード間接続情報を参照して、パケットの宛先を、廃棄通知または確認応答の送信元のノード経由で接続するエッジノードのうち、いずれかのエッジノード宛としたパケットを送信するステップと、送信したパケットに対する廃棄通知または確認応答の送信元のノードの識別情報と、当該送信したパケットに設定したTTLの値と、当該送信したパケットの宛先のエッジノードの識別情報とに基づき、同じエッジノードに接続するノードであり、かつ、当該経路確認装置からのホップ数の差が1ホップであるノード同士を隣接するノードとして判断し、その判断結果に基づき、ネットワークにおいてパケットが転送されるノードを示したノード間の接続情報を作成し、記憶部に記憶するステップとを、廃棄通知または確認応答を受信するたび、このTTLの値が1になるまで繰り返す経路確認方法とした。   According to a fifth aspect of the present invention, in a network including a plurality of edge nodes and a plurality of relay nodes that transfer packets to the edge nodes, the storage for storing the identification information of the edge nodes and the internode connection information A packet with a predetermined TTL (Time To Live) value sent to the edge node, and the packet is forwarded based on the packet discard notification received from the relay node that discarded the packet. When the route confirmation device for confirming the route to be received receives a discard notification for the transmitted packet or a confirmation response for reception of the packet from the edge node, and when receiving the discard notification or confirmation response for the transmitted packet, Referring to the connection information, the packet destination is connected via the node that sent the discard notification or acknowledgment. A step of transmitting a packet addressed to any one of the edge nodes, the identification information of the source node of the discard notification or acknowledgment for the transmitted packet, the TTL value set in the transmitted packet, Based on the identification information of the destination edge node of the transmitted packet, nodes that are connected to the same edge node and that have a difference in the number of hops from the route confirmation device as one hop are adjacent nodes. The step of creating connection information between nodes indicating nodes to which packets are forwarded in the network based on the determination result and storing the information in the storage unit, and receiving the discard notification or confirmation response, The route confirmation method is repeated until the value of 1 becomes 1.

このようにすることで、経路確認装置の送信パケット制御部は、ネットワークのエッジノードに接続する中継ノードの1ホップ以上手前の中継ノード(つまり、経路確認装置からエッジノードまでのホップ数をnとした場合、ホップ数=1〜n−2の中継ノード)を確認するためのパケットを送信するとき、この中継ノード経由で接続するエッジノードのうち、いずれかのエッジノードとしたパケットを送信すればよい。なお、この中継ノード経由で接続するエッジノードとは、当該中継ノードと1ホップ以上で接続することである。つまり、経路確認装置は、経路確認において、エッジノードの2ホップ以上手前の中継ノードを確認するとき、そのネットワーク内のすべてのエッジノードを宛先としたパケットを送信する必要がなくなる。よって、例えば、図9に示したネットワークにおいて、経路確認装置はTTL=n−2としたパケットを送信するとき、(1)エッジノード50A〜50Dのうちいずれか1つのエッジノードを宛先としたパケットと、(2)エッジノード50E〜50Hのうちいずれか1つのエッジノードを宛先としたパケットと、(3)エッジノード50I〜50Lのうちいずれか1つのエッジノードを宛先としたパケットと、(4)エッジノード50M〜50Pのうちいずれか1つのエッジノードを宛先としたパケットとの4つのパケットを送信し、このパケットに対する廃棄通知の受信を待てばよい。つまり、経路確認装置がネットワークの経路確認を行うとき、多くのパケットを送信する必要がなくなり、また、これらのパケットの応答を待ち時間も短縮できる。   In this way, the transmission packet control unit of the route confirmation device can set the number of hops from the route confirmation device to the edge node as n as one or more hops before the relay node connected to the edge node of the network. In this case, when transmitting a packet for confirming the number of hops = 1 to n−2 relay node, if a packet with one of the edge nodes connected via this relay node is transmitted, Good. Note that the edge node connected via the relay node is connected to the relay node in one or more hops. That is, when the route confirmation device confirms a relay node two or more hops before the edge node in route confirmation, it is not necessary to transmit a packet destined for all edge nodes in the network. Thus, for example, in the network shown in FIG. 9, when the path confirmation device transmits a packet with TTL = n−2, (1) a packet destined for any one of the edge nodes 50A to 50D (2) a packet destined for any one of the edge nodes 50E to 50H, (3) a packet destined for any one of the edge nodes 50I to 50L, and (4 ) Four packets including a packet destined for any one of the edge nodes 50M to 50P may be transmitted, and reception of a discard notification for this packet may be awaited. That is, when the route confirmation device confirms the route of the network, it is not necessary to transmit many packets, and the response time of these packets can be shortened.

請求項2に記載の発明は、請求項1に記載の経路確認装置において、パケット送信部が最初に送信したパケットに対し、当該パケットの廃棄通知を受信したとき、送信パケット制御部は、当該経路確認装置から、この廃棄通知の送信元のノードまでのホップ数+1の値を、パケットのTTLに設定して送信する処理を、廃棄通知を受信するたび、エッジノードからの確認応答を受信するまで実行し、エッジノードそれぞれからの確認応答を受信したとき、送信パケット制御部は、パケット送信部が最初に送信したパケットに対する廃棄通知の送信元である第1のノードを始点として、当該経路確認装置から、中継装置までのホップ数−1の値を、パケットのTTLに設定し、第1のノード経由で接続するエッジノードのうち、いずれかエッジノードを宛先としたパケットを送信する処理を、TTLの値が1になるまで実行することを特徴とする。   According to a second aspect of the present invention, in the route confirmation device according to the first aspect, when the packet transmission unit receives a discard notification of the packet for the first packet transmitted by the packet transmission unit, the transmission packet control unit Processing for setting the hop count +1 value from the confirmation device to the transmission source node of the discard notification in the TTL of the packet and transmitting it, every time a discard notification is received, until a confirmation response is received from the edge node When a confirmation response is received from each edge node, the transmission packet control unit starts from the first node that is the transmission source of the discard notification for the packet transmitted first by the packet transmission unit. To the relay device, the value of the hop count minus 1 is set in the TTL of the packet, and one of the edge nodes connected via the first node The process of transmitting the packet in which the over-de destined, the TTL value and executes until 1.

このようにすることで、経路確認装置が最初に送信したパケットのTTLの値が、ネットワークのエッジノードまでのホップ数よりも小さかったため、エッジノードまで到達せず、中継ノード(第1のノード)からのパケットの廃棄通知を受信したとき、まず、Tracerouteにより、この第1のノードからエッジノードまでの経路確認を行う。そして、その後、第1のノードから経路確認装置までの経路確認を行う。つまり、経路確認装置は、最初のパケットの送信後、廃棄通知を受信したとき、Tracerouteにより、第1の中継ノードからエッジノードまでの経路確認を行う。その後、中継ノード(第1のノード)へ送信したパケットのTTLの値からその値を1つずつ減らしながらパケットを送信して、経路確認装置から第1のノードまでの経路確認を行う。よって、経路確認装置は、この経路確認装置からエッジノードまでのホップ数が分からない場合であっても、ネットワークの経路確認を行うことができる。   By doing in this way, since the TTL value of the packet first transmitted by the route confirmation device is smaller than the number of hops to the edge node of the network, the edge node is not reached and the relay node (first node) When the packet discard notification is received from the first node, first, the route from the first node to the edge node is confirmed by Traceroute. Then, the route confirmation from the first node to the route confirmation device is performed. That is, the route confirmation device performs route confirmation from the first relay node to the edge node by Traceroute when receiving a discard notification after transmitting the first packet. Thereafter, the packet is transmitted while reducing the value of the TTL of the packet transmitted to the relay node (first node) one by one, and the route confirmation from the route confirmation device to the first node is performed. Therefore, the route confirmation device can confirm the route of the network even when the number of hops from the route confirmation device to the edge node is unknown.

請求項3に記載の発明は、請求項1または請求項2に記載の経路確認装置において、送信パケット制御部が、エッジノード経由で接続する第1のノードから、この第1のノードに接続するすべてのエッジノード宛のパケットに関する廃棄通知を受信したとき、当該経路確認装置から、廃棄通知の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信する処理を、廃棄通知を受信するたび、このTTLの値が1になるまで繰り返し、パケットの送信処理後、次に、廃棄通知の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信するまでの間に、当該経路確認装置から、エッジノードまでのホップ数の値をTTLに設定したエッジノード宛パケットを送信する処理を実行することを特徴とする。   According to a third aspect of the present invention, in the route confirmation device according to the first or second aspect, the transmission packet control unit connects to the first node from the first node connected via the edge node. When receiving a discard notification related to a packet addressed to all edge nodes, a process for transmitting a packet in which the value of the number of hops minus 1 from the path confirmation device to the node that transmitted the discard notification is set to TTL is performed. Is repeated until the TTL value becomes 1, and after the packet transmission process, until the next packet is transmitted with the hop count minus 1 value set to TTL to the source node of the discard notification. During this period, a process for transmitting a packet addressed to the edge node in which the value of the number of hops to the edge node is set to TTL is executed from the route confirmation device.

このようにすることで、経路確認装置は、パケットを送信してから、そのパケットの廃棄通知の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信するまでの間の時間を利用して、エッジノードに到達するパケット(エッジノード宛パケット)を送信する。よって、経路確認装置は、ネットワークの経路確認の合間の時間を利用してエッジノードの稼動確認行うことができる。   By doing in this way, the route confirmation device, after transmitting a packet, until transmitting a packet in which the value of the hop number minus 1 to the transmission source node of the discard notification of the packet is set to TTL A packet that reaches the edge node (packet addressed to the edge node) is transmitted using time. Therefore, the route confirmation device can perform the operation confirmation of the edge node by using the time between the route confirmations of the network.

請求項4に記載の発明は、請求項1ないし請求項3のいずれか1項に記載の経路確認装置と、経路確認装置からのパケットを受信する複数のエッジノードおよび中継ノードとを含んでなる経路確認システムとした。   The invention according to claim 4 comprises the route confirmation device according to any one of claims 1 to 3, and a plurality of edge nodes and relay nodes that receive packets from the route confirmation device. A route confirmation system was adopted.

このようにすることで、請求項1ないし請求項3のいずれか1項に記載の経路確認装置を含む経路確認システムを実現できる。   By doing in this way, the path | route confirmation system containing the path | route confirmation apparatus of any one of Claim 1 thru | or 3 is realizable.

請求項6に記載の発明は、請求項5に記載の経路確認方法をコンピュータである経路確認装置に実行させるためのプログラムとした。   The invention according to claim 6 is a program for causing a route confirmation device, which is a computer, to execute the route confirmation method according to claim 5.

このようなプログラムによれば、一般的なコンピュータに請求項5に記載の経路確認方法を実行させることができる。   According to such a program, it is possible to cause a general computer to execute the route confirmation method according to claim 5.

本発明によれば、経路確認装置がネットワークの経路確認のために送信するパケット数を低減できるので、ネットワークの経路確認に要する時間を短縮することができる。また、経路確認に伴うネットワークの輻輳も抑制できる。   According to the present invention, the number of packets transmitted by the route confirmation device for confirming the route of the network can be reduced, so that the time required for confirming the route of the network can be shortened. In addition, network congestion associated with route confirmation can be suppressed.

<第1の実施の形態>
以下、本発明を実施するための最良の形態(以下、実施の形態という)を第1の実施の形態から第3の実施の形態に分けて説明する。
<First Embodiment>
Hereinafter, the best mode for carrying out the present invention (hereinafter referred to as an “embodiment”) will be described by dividing it from the first embodiment to the third embodiment.

まず、図1を用いて、第1の実施の形態の経路確認装置の動作概要を説明する。図1は、第1の実施の形態の経路確認装置を含むネットワーク(システム)の構成例を示した図である。ここでは、ネットワークが、エッジノード50(50A,50B,50C,50D,50E,50F,50G,50H)と、このエッジノード50間を接続する中継ノード40(40A,40B),30と、経路確認装置10とを含む場合を例に説明する。ここで経路確認装置10は、中継ノード40経由で、エッジノード50それぞれへ所定のTTLの値を設定したパケット(試験用パケット)を送信し、その応答(パケットの廃棄通知または確認応答)を受信することで、経路確認装置10から各エッジノード50までの経路を確認する。なお、経路確認装置10A,10Bについては、第2の実施の形態および第3の実施の形態の項で説明する。   First, the outline of the operation of the route confirmation apparatus according to the first embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating a configuration example of a network (system) including a route confirmation device according to the first embodiment. Here, the network includes edge nodes 50 (50A, 50B, 50C, 50D, 50E, 50F, 50G, 50H), relay nodes 40 (40A, 40B), 30 that connect the edge nodes 50, and route confirmation. A case including the device 10 will be described as an example. Here, the route confirmation device 10 transmits a packet (test packet) in which a predetermined TTL value is set to each of the edge nodes 50 via the relay node 40 and receives a response (packet discard notification or confirmation response). Thus, the route from the route confirmation device 10 to each edge node 50 is confirmed. The route confirmation devices 10A and 10B will be described in the sections of the second embodiment and the third embodiment.

ここで、経路確認装置10からエッジノード50までのホップ数=nであり、中継ノード40(40A,40B)までのホップ数=n−1であり、中継ノード30までのホップ数=n−2であるものとする。   Here, the number of hops from the route confirmation device 10 to the edge node 50 = n, the number of hops to the relay node 40 (40A, 40B) = n−1, and the number of hops to the relay node 30 = n−2. Suppose that

(1)まず、経路確認装置10は、エッジノード50A〜50H宛にTTL=nを設定したパケットを送信する。そして、このエッジノード50A〜50Hからの当該パケットの確認応答の受信により、エッジノード50A〜50Hの存在を確認する。   (1) First, the route confirmation device 10 transmits a packet in which TTL = n is set to the edge nodes 50A to 50H. And presence of edge node 50A-50H is confirmed by reception of the confirmation response of the said packet from this edge node 50A-50H.

(2)エッジノード50A〜50Hの存在の確認後、経路確認装置10は、TTL=n−1(TTLの値を1減らした値)を設定したパケットを、エッジノード50A〜50H宛に送信する。そして、経路確認装置10は、この中継ノード40A,40Bからのパケットの廃棄通知の受信結果により、このエッジノード50A〜50Dに接続する中継ノードが中継ノード40Aであり、また、このエッジノード50E〜50Hに接続する中継ノードが中継ノード40Bであると判断する。つまり、経路確認装置10から送信したTTL=n−1のパケットは、エッジノード50A〜50Hまで到達せず、ホップ数=n−1の中継ノード40A,40Bにおいて廃棄される。よって、経路確認装置10は、中継ノード40Aから、この中継ノード40Aにおいてエッジノード50A〜50D宛のパケットを廃棄した旨の廃棄通知を受信し、これによりエッジノード50A〜50Dは中継ノード40Aと接続することが確認できる。また、同様に、経路確認装置10は、中継ノード40Bから、この中継ノード40Bにおいてエッジノード50E〜50H宛のパケットを廃棄した旨の廃棄通知を受信し、これによりエッジノード50E〜50Hは中継ノード40Bと接続することが確認できる。   (2) After confirming the presence of the edge nodes 50A to 50H, the path confirmation device 10 transmits a packet in which TTL = n−1 (a value obtained by subtracting TTL from 1) is set to the edge nodes 50A to 50H. . Then, in the route confirmation device 10, the relay node connected to the edge nodes 50A to 50D is the relay node 40A based on the reception result of the packet discard notification from the relay nodes 40A and 40B, and the edge node 50E to It is determined that the relay node connected to 50H is the relay node 40B. That is, the packet with TTL = n−1 transmitted from the route confirmation device 10 does not reach the edge nodes 50A to 50H, and is discarded at the relay nodes 40A and 40B with the number of hops = n−1. Therefore, the route confirmation device 10 receives a discard notification from the relay node 40A that the packets destined for the edge nodes 50A to 50D are discarded at the relay node 40A, whereby the edge nodes 50A to 50D are connected to the relay node 40A. It can be confirmed. Similarly, the route confirmation device 10 receives a discard notification from the relay node 40B that the packets addressed to the edge nodes 50E to 50H are discarded at the relay node 40B, and the edge nodes 50E to 50H thereby receive the relay node. It can confirm that it connects with 40B.

(3)次に、経路確認装置10は、中継ノード40A,40Bの1ホップ手前の中継ノード30を調べるために、TTL=n−2を設定したパケットを送信する。ここで、経路確認装置10は、例えば、TTL=n−2でエッジノード50D宛のパケットと、エッジノード50G宛のパケットとを送信し、中継ノード30からの廃棄通知により、中継ノード40A,40Bに接続する中継ノード30を判断する。   (3) Next, the route confirmation device 10 transmits a packet in which TTL = n−2 is set in order to check the relay node 30 one hop before the relay nodes 40A and 40B. Here, the path confirmation device 10 transmits, for example, a packet addressed to the edge node 50D and a packet addressed to the edge node 50G with TTL = n−2, and relay nodes 40A and 40B according to a discard notification from the relay node 30. The relay node 30 to be connected to is determined.

すなわち、経路確認装置10は、前記した(2)の処理により、中継ノード40Aは、エッジノード50A〜50Dに接続し、中継ノード40Bは、エッジノード50E〜50Hに接続することを確認している。よって、経路確認装置10は、TTL=n−2で、エッジノード50A〜50Dのいずれか(例えば、エッジノード50D)を宛先としたパケットと、エッジノード50E〜50Hのいずれか(例えば、エッジノード50G)を宛先としたパケットとを送信する。つまり、経路確認装置10はエッジノード50A〜50Hすべてに宛てたパケットを送信する必要はない。そして、経路確認装置10は、中継ノード30から、これらのパケットの廃棄通知を受信し、その受信結果により、中継ノード40A,40Bがこの中継ノード30と接続することを確認する。   That is, the route confirmation device 10 confirms that the relay node 40A is connected to the edge nodes 50A to 50D and the relay node 40B is connected to the edge nodes 50E to 50H by the process (2) described above. . Therefore, the path confirmation device 10 has TTL = n−2 and a packet destined for one of the edge nodes 50A to 50D (for example, the edge node 50D) and one of the edge nodes 50E to 50H (for example, the edge node). 50G) as a destination. In other words, the route confirmation device 10 does not need to transmit packets addressed to all the edge nodes 50A to 50H. Then, the route confirmation device 10 receives the discard notification of these packets from the relay node 30, and confirms that the relay nodes 40A and 40B are connected to the relay node 30 based on the reception result.

なお、ここでは図示を省略したが、ネットワーク内の中継ノード30の1ホップ手前に中継ノード(つまり、ホップ数=n−3の中継ノード)がある場合、この中継ノードと、中継ノード30との接続について確認するときには以下のようにすればよい。すなわち、経路確認装置10は、TTL=n−2のパケットに対する廃棄通知の結果から、中継ノード30はエッジノード50A〜50H宛のパケットを転送する中継ノードであることが分かるので、エッジノード50A〜50Hのいずれかを宛先とした、TTL=n−3のパケットを送信する。そして、そのホップ数=n−3の中継ノードからの当該パケットの廃棄通知を受信すると、その受信結果から、ホップ数=n−3の中継ノードがどの中継ノードと接続しているのかを確認する。   Although illustration is omitted here, if there is a relay node (that is, a relay node with the number of hops = n−3) one hop before the relay node 30 in the network, the relay node and the relay node 30 When checking the connection, the following should be done. That is, since the route confirmation device 10 knows that the relay node 30 is a relay node that forwards packets addressed to the edge nodes 50A to 50H from the result of the discard notification for the packet with TTL = n−2, the edge node 50A to A packet of TTL = n−3 destined for any one of 50H is transmitted. Then, when receiving the discard notification of the packet from the relay node with the number of hops = n−3, it is confirmed from the reception result to which relay node the relay node with the number of hops = n−3 is connected. .

経路確認装置10が以上のような処理を実行することで、ネットワーク内の経路確認装置10からエッジノード50までの経由する中継ノード(経路)を確認するために送信するパケット数を低減することができる。よって、ネットワークの経路確認に要する時間を短縮できる。   By executing the processing as described above, the route confirmation device 10 can reduce the number of packets to be transmitted to confirm the relay node (route) from the route confirmation device 10 to the edge node 50 in the network. it can. Therefore, the time required for confirming the network route can be shortened.

<構成>
次に、このような経路確認装置10の構成を、図2のブロック図を用いて説明する。図2は、図1の経路確認装置の構成を示したブロック図である。
<Configuration>
Next, the configuration of such a route confirmation apparatus 10 will be described with reference to the block diagram of FIG. FIG. 2 is a block diagram showing the configuration of the route confirmation device of FIG.

図2に示すように経路確認装置10の機能は、大きく、処理部11と、通信部12と、記憶部13と、入出力部14とに分けられる。   As shown in FIG. 2, the function of the route confirmation device 10 is roughly divided into a processing unit 11, a communication unit 12, a storage unit 13, and an input / output unit 14.

処理部11は、この経路確認装置10全体の制御を司り、ここでは主にエッジノード50宛にパケットを送信したパケットの応答(パケットの廃棄通知)により、経路確認装置10からエッジノード50までの経路確認を行う。通信部12は、処理部11から出力されたパケットをエッジノード50宛に送信したり、中継ノード30,40(図1参照)から、そのパケットに対する応答を受信したりする。記憶部13は、ネットワーク内のエッジノード50の識別情報(アドレス)や、処理部11により確認された経路(ノード間接続情報131)等を記憶する。入出力部14は、この経路確認装置10への各種指示入力や、記憶部13に記憶された情報を外部装置へ出力したりするための入出力インタフェースである。   The processing unit 11 controls the entire route confirmation device 10. Here, the processing unit 11 mainly transmits a packet addressed to the edge node 50 from the route confirmation device 10 to the edge node 50 based on a packet response (packet discard notification). Check the route. The communication unit 12 transmits the packet output from the processing unit 11 to the edge node 50 and receives a response to the packet from the relay nodes 30 and 40 (see FIG. 1). The storage unit 13 stores identification information (address) of the edge node 50 in the network, a route (internode connection information 131) confirmed by the processing unit 11, and the like. The input / output unit 14 is an input / output interface for inputting various instructions to the route confirmation device 10 and outputting information stored in the storage unit 13 to an external device.

処理部11は、この経路確認装置10が備えるCPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。通信部12は、NIC(Network Interface Card)等の通信インタフェースにより構成される。さらに、記憶部13は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。入出力部14は、入出力インタフェースから構成される。また、この経路確認装置10をプログラム実行処理により実現する場合、記憶部13には、この経路確認装置10の機能を実現するためのプログラムが格納される。   The processing unit 11 is realized by a program execution process by a CPU (Central Processing Unit) included in the route confirmation device 10 or a dedicated circuit. The communication unit 12 includes a communication interface such as a NIC (Network Interface Card). Further, the storage unit 13 includes a storage medium such as a random access memory (RAM), a read only memory (ROM), a hard disk drive (HDD), and a flash memory. The input / output unit 14 includes an input / output interface. When the route confirmation device 10 is realized by a program execution process, the storage unit 13 stores a program for realizing the function of the route confirmation device 10.

このような経路確認装置10の処理部11は、コントロール部111と、送信パケット制御部112と、ノード間接続判定部113と、表示処理部114とを含んで構成される。   The processing unit 11 of the route confirmation device 10 includes a control unit 111, a transmission packet control unit 112, an inter-node connection determination unit 113, and a display processing unit 114.

コントロール部111は、処理部11全体の制御を司る。また、送信パケット制御部112は、通信部12経由で、エッジノード50宛に送信したパケットの応答(中継ノード30,40(図1参照)からの廃棄通知またはエッジノード50からの確認応答)を受信したとき、この応答を返してきたノード(中継ノードまたはエッジノード50)までのホップ数−1の値をTTLに設定したパケットを生成する。そして、生成したパケットをパケット送信部121経由で送信する。このような処理をTTLの値が1になるまで繰り返す。このとき、送信パケット制御部112は、このパケットの宛先を、この応答を返してきた中継ノードに接続するエッジノード50のうち、いずれか1つのエッジノード50宛とする。例えば、応答としてパケットの廃棄通知を返してきた中継ノードが、図9の中継ノード30A,30Bであった場合、この中継ノード30Aに接続するエッジノード50とは、エッジノード50A〜50Hであり、この中継ノード30Bに接続するエッジノード50とは、エッジノード50I〜50Pである。したがって、送信パケット制御部112が、TTL=n−3のパケットを送信するときには、エッジノード50A〜50Hのいずれかを設定したパケットと、エッジノード50I〜50Pのいずれかを設定したパケットとを送信すればよい。なお、この中継ノード30に、どのようなエッジノード50が接続しているかは、それまでに送信したパケットに対する応答に基づきノード間接続判定部113により作成されたノード間接続情報131(ネットワークの各ノード間の接続関係を示した情報)を参照することで確認することができる。   The control unit 111 controls the entire processing unit 11. Further, the transmission packet control unit 112 sends a response of a packet transmitted to the edge node 50 via the communication unit 12 (discard notification from the relay nodes 30 and 40 (see FIG. 1) or confirmation response from the edge node 50). When the packet is received, a packet is generated in which the value of hop count-1 to the node (relay node or edge node 50) that has returned this response is set to TTL. Then, the generated packet is transmitted via the packet transmission unit 121. Such processing is repeated until the value of TTL becomes 1. At this time, the transmission packet control unit 112 sets the destination of this packet to one of the edge nodes 50 connected to the relay node that has returned this response. For example, when the relay nodes that have returned a packet discard notification as a response are the relay nodes 30A and 30B in FIG. 9, the edge nodes 50 connected to the relay node 30A are the edge nodes 50A to 50H. The edge nodes 50 connected to the relay node 30B are edge nodes 50I to 50P. Therefore, when the transmission packet control unit 112 transmits a packet with TTL = n−3, it transmits a packet in which any one of the edge nodes 50A to 50H is set and a packet in which any one of the edge nodes 50I to 50P is set. do it. Note that what kind of edge node 50 is connected to the relay node 30 is determined by the inter-node connection information 131 (each of the networks) created by the inter-node connection determination unit 113 based on the response to the packet transmitted so far. This can be confirmed by referring to the information) showing the connection relationship between the nodes.

ノード間接続判定部113は、通信部12経由で各ノード(中継ノード30,40またはエッジノード50)から受信した応答(廃棄通知または確認応答)を参照して、各ノード間の接続関係を判断する。つまり、送信パケット制御部112は、各ノードへパケットを送信すると、この送信パケットの宛先のエッジノード50の識別情報およびTTLの値を記憶部13に一時的に記憶しておく。そして、ノード間接続判定部113は、この送信パケットの応答を受信すると、記憶部13に記憶しておいた当該送信パケットの宛先のエッジノード50の識別情報およびTTLの値と、記憶部13に記憶されたノード間接続情報131とを用いて、この送信パケットの応答の送信元のノードのうち、その送信パケットの宛先のエッジノード50と同じエッジノード50に接続し、かつ、ホップ数の差が1ホップであるノード同士を隣接するノードとして判断する。そして、その判断結果をノード間接続情報131に書き込む。   The inter-node connection determination unit 113 refers to the response (discard notification or confirmation response) received from each node (relay node 30, 40 or edge node 50) via the communication unit 12, and determines the connection relationship between the nodes. To do. That is, when the transmission packet control unit 112 transmits a packet to each node, the transmission packet control unit 112 temporarily stores the identification information of the destination edge node 50 of the transmission packet and the TTL value in the storage unit 13. Upon receiving the response to the transmission packet, the internode connection determination unit 113 stores the identification information and the TTL value of the destination edge node 50 of the transmission packet stored in the storage unit 13, and the storage unit 13. Using the stored inter-node connection information 131, the node connected to the same edge node 50 as the destination edge node 50 of the transmission packet among the transmission source nodes of the response of the transmission packet, and the difference in the number of hops Are determined as adjacent nodes. Then, the determination result is written in the inter-node connection information 131.

例えば、図1に示した例でいうと、経路確認装置10は、TTL=n−1の送信パケットに対する応答により、ホップ数=n−1の中継ノードは中継ノード40A,40Bであり、中継ノード40Aはエッジノード50A〜50Dに接続し、中継ノード40Bはエッジノード50E〜50Hに接続することを確認する。この場合において、経路確認装置10がTTL=n−2のパケットをエッジノード50D,50G宛に送信した場合を考える。ここでは、中継ノード30の1ホップ先のノードは中継ノード40A,40Bであるので、この中継ノード40A,40Bが、中継ノード30に接続する中継ノードの候補である。ここで、経路確認装置10が、エッジノード50D宛の送信パケットとエッジノード50G宛の送信パケットとの両方の送信パケットの廃棄通知を中継ノード30から受信したとき、経路確認装置10は、中継ノード30は中継ノード40A,40Bに接続することが分かるので、これらのノード同士が隣接するものとしてノード間接続情報131に情報を書き込む。   For example, in the example illustrated in FIG. 1, the route confirmation device 10 determines that the relay nodes with the hop count = n−1 are the relay nodes 40A and 40B according to the response to the transmission packet with TTL = n−1. It is confirmed that 40A is connected to the edge nodes 50A to 50D, and the relay node 40B is connected to the edge nodes 50E to 50H. In this case, consider a case where the route confirmation device 10 transmits a packet with TTL = n−2 to the edge nodes 50D and 50G. Here, since the nodes one hop ahead of the relay node 30 are the relay nodes 40A and 40B, the relay nodes 40A and 40B are candidates for the relay node connected to the relay node 30. Here, when the route confirmation device 10 receives from the relay node 30 the discard notification of both the transmission packet addressed to the edge node 50D and the transmission packet addressed to the edge node 50G, the route confirmation device 10 30 knows that it is connected to the relay nodes 40A and 40B, so that information is written in the internode connection information 131 on the assumption that these nodes are adjacent to each other.

図2の表示処理部114は、入出力部14からの指示入力に基づきコントロール部111経由でノード間接続情報131の内容を読み出す。そして、読み出した内容を入出力部14経由で外部の出力装置(例えば、液晶モニタ)へ出力する。これにより、この経路確認装置10のユーザは、ネットワークの経路を視覚的に確認することができる。   The display processing unit 114 in FIG. 2 reads the contents of the internode connection information 131 via the control unit 111 based on the instruction input from the input / output unit 14. Then, the read contents are output to an external output device (for example, a liquid crystal monitor) via the input / output unit 14. Thereby, the user of this route confirmation device 10 can visually confirm the route of the network.

通信部12は、パケット送信部121およびパケット受信部122を備える。このパケット送信部121は、送信パケット制御部112からコントロール部111経由で出力されたパケットを、エッジノード50宛に送信する。また、パケット受信部122は、エッジノード50からの確認応答および中継ノード30,40からのパケットの廃棄通知を受信し、コントロール部111へ出力する。   The communication unit 12 includes a packet transmission unit 121 and a packet reception unit 122. The packet transmission unit 121 transmits the packet output from the transmission packet control unit 112 via the control unit 111 to the edge node 50. Further, the packet receiving unit 122 receives the confirmation response from the edge node 50 and the packet discard notification from the relay nodes 30 and 40, and outputs them to the control unit 111.

記憶部13は、ノード間接続情報131およびエッジノード情報132を記憶する。   The storage unit 13 stores internode connection information 131 and edge node information 132.

ノード間接続情報131は、経路確認装置10から各エッジノード50までの経路を示した情報であり、どのエッジノード50とどの中継ノードとが接続され、どの中継ノード同士が接続されているかや、各ノードの経路確認装置10からのホップ数等を示した情報である。このノード間接続情報131は、ノード間接続判定部113がノード間の接続状態を確認するたびに更新され、最終的には経路確認装置10から各エッジノード50までの経路(ノード間の接続関係)を示した情報(例えば、図1や図9に例示したようなネットワーク構成図)が記述される。   The inter-node connection information 131 is information indicating a route from the route confirmation device 10 to each edge node 50, which edge node 50 is connected to which relay node, which relay node is connected, This is information indicating the number of hops from the route confirmation device 10 of each node. This inter-node connection information 131 is updated every time the inter-node connection determination unit 113 confirms the connection state between the nodes, and finally the path from the path confirmation device 10 to each edge node 50 (the connection relation between the nodes). ) (For example, a network configuration diagram illustrated in FIGS. 1 and 9) is described.

エッジノード情報132は、ネットワーク内のエッジノード50の識別情報(例えば、エッジノード50のアドレス情報)を示した情報である。このエッジノード情報132は、予め入出力部14経由で入力される。   The edge node information 132 is information indicating identification information (for example, address information of the edge node 50) of the edge node 50 in the network. The edge node information 132 is input via the input / output unit 14 in advance.

入出力部14は、処理部11からの出力結果を外部装置(例えば、出力装置等)へ出力したり、入力装置(図示省略)から入力された情報を処理部11へ出力したりする。   The input / output unit 14 outputs an output result from the processing unit 11 to an external device (for example, an output device), and outputs information input from an input device (not shown) to the processing unit 11.

<処理手順>
次に、図2を参照しつつ、図3を用いて、このような経路確認装置10の処理手順を説明する。図3は、図2の経路確認装置の処理手順を示したフローチャートである。なお、ここでは、エッジノード情報132は、入出力部14経由で既に入力済みであるものとする。また、この経路確認装置10から各エッジノード50までのホップ数nを経路確認装置10に設定済みであるものとする。
<Processing procedure>
Next, the processing procedure of such a route confirmation apparatus 10 will be described using FIG. 3 with reference to FIG. FIG. 3 is a flowchart showing a processing procedure of the route confirmation apparatus of FIG. Here, it is assumed that the edge node information 132 has already been input via the input / output unit 14. Further, it is assumed that the number n of hops from the route confirmation device 10 to each edge node 50 has been set in the route confirmation device 10.

まず、経路確認装置10の入出力部14からの指示入力に基づき、送信パケット制御部112は、コントロール部111およびパケット送信部121経由で、TTL=nを設定したパケット(試験パケット)を各エッジノード50へ送信する(S11)。このときのパケットの宛先となるエッジノード50の識別情報は、エッジノード情報132から読み出して設定する。   First, based on an instruction input from the input / output unit 14 of the route confirmation device 10, the transmission packet control unit 112 transmits a packet (test packet) in which TTL = n is set to each edge via the control unit 111 and the packet transmission unit 121. It transmits to the node 50 (S11). The identification information of the edge node 50 that is the destination of the packet at this time is read from the edge node information 132 and set.

そして、送信パケット制御部112は、各エッジノード50からの応答確認の受信を待ち(S12)、各エッジノード50からの応答確認を受信したとき(S12のYes)、この受信結果を記憶部13のノード間接続情報131に記憶する。なお、S11でパケットを送信してから所定時間経過しても応答確認を受信できなかったときは、その旨をノード間接続情報131に記憶する。そして、送信パケット制御部112は、各エッジノード50宛のパケットを生成し(S13)、このパケットのTTLの値を、前回設定した値よりも1減らして、エッジノード50宛に送信する(S14)。つまり、送信パケット制御部112は、この経路確認装置10からみて、エッジノード50の1ホップ手前のノード(例えば、図1の中継ノード40A,40B)に到達するパケットを送信する。送信パケット制御部112は、送信したパケットのTTLの値と、宛先のエッジノード50の識別情報とを記憶部13の所定領域に記録しておく。   Then, the transmission packet control unit 112 waits for reception of a response confirmation from each edge node 50 (S12). When receiving a response confirmation from each edge node 50 (Yes in S12), the transmission packet control unit 112 stores the reception result in the storage unit 13 Is stored in the inter-node connection information 131. If a response confirmation cannot be received even after a predetermined time has elapsed since the packet was transmitted in S11, that fact is stored in the internode connection information 131. Then, the transmission packet control unit 112 generates a packet addressed to each edge node 50 (S13), reduces the TTL value of this packet by 1 from the previously set value, and transmits the packet to the edge node 50 (S14). ). That is, the transmission packet control unit 112 transmits a packet that reaches a node one hop before the edge node 50 (for example, the relay nodes 40A and 40B in FIG. 1) as viewed from the route confirmation device 10. The transmission packet control unit 112 records the TTL value of the transmitted packet and the identification information of the destination edge node 50 in a predetermined area of the storage unit 13.

次に、送信パケット制御部112は、S14で送信したパケットに対し、各中継ノードからの当該パケットの廃棄通知の受信を待つ(S15)。ここで各中継ノードからの廃棄通知を受信したとき(S15のYes)、ノード間接続判定部113は、この廃棄通知と、今まで作成したノード間接続情報131とを参照して、この廃棄通知の送信元の中継ノードに隣接する中継ノードを判断し、ノード間接続情報131を作成する(S16)。このS16における、ノード間接続判定処理の詳細は後記する。   Next, the transmission packet control unit 112 waits for reception of the packet discard notification from each relay node for the packet transmitted in S14 (S15). Here, when a discard notification is received from each relay node (Yes in S15), the inter-node connection determination unit 113 refers to the discard notification and the inter-node connection information 131 created so far, and refers to the discard notification. The relay node adjacent to the source relay node is determined, and the internode connection information 131 is created (S16). Details of the inter-node connection determination process in S16 will be described later.

次に、送信パケット制御部112は、前回送信したパケットのTTLの値が1ではないことを確認すると(S17のNo)、この中継ノード経由で接続するいずれかのエッジノード50宛のパケットを生成する(S18)。一方、送信パケット制御部112は、前回送信したパケットのTTLの値が1であるときには(S17のYes)、処理を終了する。つまり、経路確認装置10は、1ホップ目の中継ノードまで、すべての経路が確認済みなので処理を終了する。   Next, when the transmission packet control unit 112 confirms that the TTL value of the previously transmitted packet is not 1 (No in S17), it generates a packet addressed to any one of the edge nodes 50 connected via this relay node. (S18). On the other hand, when the TTL value of the previously transmitted packet is 1 (Yes in S17), the transmission packet control unit 112 ends the process. That is, the route confirmation device 10 ends the processing because all the routes have been confirmed up to the first-hop relay node.

そして、S18に続いて、送信パケット制御部112は、TTLの値を1減らし、S18で生成したパケットを送信する(S19)。そして、S15へ戻り、各中継ノードからの当該パケットの廃棄通知の受信を待つ。   Subsequently to S18, the transmission packet control unit 112 decreases the value of TTL by 1, and transmits the packet generated in S18 (S19). Then, the process returns to S15 and waits for reception of a discard notification of the packet from each relay node.

ここで、S16における、ノード間接続判定処理の詳細を、図1を参照しつつ説明する。例えば、図1に示すネットワーク構成において、経路確認装置10が、中継ノード40Aからエッジノード50A〜50D宛のパケットの廃棄通知を受信し、中継ノード40Bからエッジノード50E〜50Hのパケットの廃棄通知を受信したとき、ノード間接続判定部113は、ノード間の接続関係を以下のように判断する。すなわち、図2の送信パケット制御部112は、中継ノード40Aからエッジノード50A〜50D宛のパケットの廃棄通知を受信したとき、ノード間接続情報131を参照してエッジノード50A〜50Dのホップ数(n)を確認すると、中継ノード40Aとのホップ数との差は1なので、中継ノード40Aは、エッジノード50A〜50Dに隣接するノードと判断する。また、同様に、送信パケット制御部112は、中継ノード40Bからエッジノード50E〜50H宛のパケットの廃棄通知を受信したとき、ノード間接続判定部113はノード間接続情報131を参照して、エッジノード50E〜50Hのホップ数(n)を確認すると、中継ノード40Bとのホップ数の差は1なので、ノード間接続判定部113は、中継ノード40Bが、エッジノード50E〜50Hに隣接するノードと判断する。そして、ノード間接続情報131は、この判断結果をノード間接続情報131に書き込む。   Here, the details of the inter-node connection determination process in S16 will be described with reference to FIG. For example, in the network configuration shown in FIG. 1, the route confirmation device 10 receives a discard notification of packets addressed to the edge nodes 50A to 50D from the relay node 40A, and notifies the discard notification of the packets of the edge nodes 50E to 50H from the relay node 40B. When received, the inter-node connection determination unit 113 determines the connection relationship between the nodes as follows. That is, when receiving a packet discard notification addressed to the edge nodes 50A to 50D from the relay node 40A, the transmission packet control unit 112 in FIG. 2 refers to the internode connection information 131 and determines the number of hops of the edge nodes 50A to 50D ( When n) is confirmed, the difference from the number of hops with the relay node 40A is 1, so the relay node 40A determines that the node is adjacent to the edge nodes 50A to 50D. Similarly, when the transmission packet control unit 112 receives a discard notification of packets addressed to the edge nodes 50E to 50H from the relay node 40B, the inter-node connection determination unit 113 refers to the inter-node connection information 131 and determines the edge When the number of hops (n) of the nodes 50E to 50H is confirmed, the difference in the number of hops from the relay node 40B is 1. Therefore, the internode connection determination unit 113 determines that the relay node 40B is connected to the node adjacent to the edge nodes 50E to 50H. to decide. Then, the inter-node connection information 131 writes this determination result in the inter-node connection information 131.

また、同様に、図1の経路確認装置10が、中継ノード30からエッジノード50D,50G宛のパケットの廃棄通知を受信したとき、ノード間接続情報131を参照して、中継ノード40A,40Bのホップ数(n−1)およびこの中継ノード40A,40Bそれぞれに接続するエッジノード50を確認する。ここで、この中継ノード30と中継ノード40A,40Bとのホップ数との差は1であり、かつ、エッジノード50Dは、中継ノード40Aに接続し、エッジノード50Gは中継ノード40Bに接続することが分かるので、ノード間接続判定部113は、この中継ノード30が、中継ノード40A,40Bに隣接するノードと判断する。   Similarly, when the path confirmation device 10 of FIG. 1 receives a discard notification of packets addressed to the edge nodes 50D and 50G from the relay node 30, the internode connection information 131 is referred to and the relay nodes 40A and 40B The number of hops (n-1) and the edge node 50 connected to each of the relay nodes 40A and 40B are confirmed. Here, the difference between the number of hops between the relay node 30 and the relay nodes 40A and 40B is 1, and the edge node 50D is connected to the relay node 40A, and the edge node 50G is connected to the relay node 40B. Therefore, the internode connection determination unit 113 determines that the relay node 30 is a node adjacent to the relay nodes 40A and 40B.

以上説明した経路確認装置10によれば、ネットワーク内の経路確認を行うとき、この経路確認装置10からn−2ホップ以内の中継ノードの経路確認については、エッジノード50すべてを宛先としたパケットを送信する必要がなくなる。よって、経路確認装置10は経路確認のために送信するパケット数を低減でき、また、当該パケットの受信確認のための待ち時間も低減できるので、経路確認に要する時間を低減できる。   According to the route confirmation device 10 described above, when confirming a route in the network, for route confirmation of a relay node within n-2 hops from the route confirmation device 10, a packet addressed to all the edge nodes 50 is used. No need to send. Therefore, the route confirmation device 10 can reduce the number of packets to be transmitted for route confirmation, and can also reduce the waiting time for confirmation of reception of the packet, thereby reducing the time required for route confirmation.

<第2の実施の形態>
次に、本発明の第2の実施の形態を説明する。第2の実施の形態の経路確認装置10Aは、最初にエッジノード50宛に送信するパケットのTTLの値として、任意の値を設定したパケットを送信する。そして、そのパケットに対する応答が、確認応答であるか(つまりエッジノード50に到達したか)否かにより、経路確認装置10Aは、その後の処理を変えることを特徴とする。このときの処理手順の概要を、図4を用いて説明する。図4は、第2の実施の形態の経路確認装置の処理手順の概要を説明した図である。ネットワーク構成は、図9と同じである。
<Second Embodiment>
Next, a second embodiment of the present invention will be described. The route confirmation device 10A according to the second embodiment transmits a packet in which an arbitrary value is set as the TTL value of the packet transmitted to the edge node 50 first. Then, the route confirmation device 10A is characterized in that the subsequent processing is changed depending on whether or not the response to the packet is a confirmation response (that is, whether the response has reached the edge node 50). An outline of the processing procedure at this time will be described with reference to FIG. FIG. 4 is a diagram illustrating an outline of a processing procedure of the route confirmation device according to the second embodiment. The network configuration is the same as in FIG.

図4に例示するネットワーク構成において、経路確認装置10Aは、最初に、例えば、TTL=3を設定したパケットをエッジノード50A〜50P宛に送信する。ここで、図4に示すネットワーク構成では、経路確認装置10Aは、中継ノード40A〜40D(経路確認装置10からのホップ数=3の中継ノード)それぞれから、当該パケットの廃棄通知を受信する。これにより、経路確認装置10Aは、エッジノード50までのホップ数が3より大きいことを確認する。(1)よって、まず、経路確認装置10Aは、従来のTracerouteにより、エッジノード50までの経路確認を行う。つまり、経路確認装置10Aは、TTLの値を1つずつ増加させたパケットを送信する。そして、TTLの値を増加させ送信したパケットに対する応答をもとにノード間接続情報131を更新する。このような処理を各エッジノード50からの確認応答を受信できるまで繰り返す。例えば、図4に示すネットワーク構成の場合、エッジノード50のホップ数=4なので、TTL=4を設定したパケットを送信すると、各エッジノード50からの確認応答を受信する。そして、経路確認装置10Aは、最初に送信したパケットに対する中継ノード40(40A〜40D)からの廃棄通知および各エッジノード50からの応答確認に基づき、符号401に示すような経路を確認する。確認した経路は、ノード間接続判定部113がノード間接続情報131に記録する。   In the network configuration illustrated in FIG. 4, the path confirmation device 10A first transmits, for example, packets set with TTL = 3 to the edge nodes 50A to 50P. Here, in the network configuration illustrated in FIG. 4, the route confirmation device 10 </ b> A receives a discard notification of the packet from each of the relay nodes 40 </ b> A to 40 </ b> D (the number of hops from the route confirmation device 10 = 3). Thereby, the route confirmation device 10A confirms that the number of hops to the edge node 50 is larger than three. (1) Therefore, the route confirmation device 10A first confirms the route to the edge node 50 by the conventional Traceroute. That is, the route confirmation device 10A transmits a packet in which the TTL value is incremented by one. Then, the internode connection information 131 is updated based on the response to the transmitted packet with the TTL value increased. Such a process is repeated until an acknowledgment from each edge node 50 can be received. For example, in the case of the network configuration shown in FIG. 4, since the number of hops of the edge node 50 is 4, when a packet in which TTL = 4 is set is transmitted, an acknowledgment from each edge node 50 is received. Then, the route confirmation device 10A confirms the route as indicated by reference numeral 401 based on the discard notification from the relay node 40 (40A to 40D) and the response confirmation from each edge node 50 for the packet transmitted first. The inter-node connection determination unit 113 records the confirmed path in the inter-node connection information 131.

(2)次に、経路確認装置10Aは、第1の実施の形態と同様にTTLの値を1つずつ減少させながら、中継ノード40から経路確認装置10Aまでの経路を確認する。つまり、経路確認装置10Aは、TTL=2のパケットを送信→このパケットの廃棄通知を中継ノード30(30A,30B)から受信→受信確認後、TTL=1のパケットを送信→このパケットの廃棄通知を中継ノード20(20A,20B)から受信という処理を繰り返すことで、符号402に示すような経路を確認する。確認した経路は、ノード間接続判定部113がノード間接続情報131に記録する。   (2) Next, the route confirmation device 10A confirms the route from the relay node 40 to the route confirmation device 10A while decreasing the value of TTL one by one as in the first embodiment. That is, the route confirmation device 10A transmits a packet with TTL = 2 → receives a discard notification of this packet from the relay node 30 (30A, 30B) → transmits a packet with TTL = 1 after confirming reception → a notification of discard of this packet Is repeated from the relay node 20 (20A, 20B), thereby confirming a route as indicated by reference numeral 402. The inter-node connection determination unit 113 records the confirmed path in the inter-node connection information 131.

なお、経路確認装置10Aが、TTL=2のパケットを送信するときには、(1)で確認した経路をもとに、ホップ数=3の中継ノード40(40A〜40D)経由で接続するエッジノード50を確認する。そして、その確認結果から、エッジノード50A〜50Dのいずれかのエッジノード50宛のパケットと、エッジノード50E〜50Hのいずれかのエッジノード50宛のパケットと、エッジノード50I〜50Lのいずれかのエッジノード50宛のパケットと、エッジノード50A〜50Dのいずれかのエッジノード50宛のパケットとを生成し、送信する。また、TTL=1のパケットを送信するときには、TTL=2のパケットに対する廃棄通知の内容から確認できた経路から、エッジノード50A〜50Hのいずれかのエッジノード50宛のパケットと、エッジノード50I〜50Pのいずれかのエッジノード50宛のパケットとを生成し、送信すればよい。   When the route confirmation device 10A transmits a packet with TTL = 2, the edge node 50 connected via the relay node 40 (40A to 40D) with the number of hops = 3 based on the route confirmed in (1). Confirm. Based on the confirmation result, the packet addressed to any one of the edge nodes 50A to 50D, the packet addressed to any one of the edge nodes 50E to 50H, and any one of the edge nodes 50I to 50L. A packet addressed to the edge node 50 and a packet addressed to any one of the edge nodes 50A to 50D are generated and transmitted. Further, when transmitting a packet with TTL = 1, a packet addressed to any one of the edge nodes 50A to 50H and the edge nodes 50I to 50I through a path confirmed from the contents of the discard notification for the packet with TTL = 2. A packet addressed to any one of the edge nodes 50 of 50P may be generated and transmitted.

このようにすることで、経路確認装置10Aは、各エッジノード50までのホップ数が分からない場合であっても経路確認を行うことができ、また、経路確認のために送信するパケット数も低減できる。よって、経路確認装置10Aが経路確認に要する時間を低減できる。   By doing so, the route confirmation device 10A can confirm the route even when the number of hops to each edge node 50 is not known, and the number of packets transmitted for route confirmation is also reduced. it can. Therefore, the time required for the route confirmation device 10A to confirm the route can be reduced.

<処理手順>
次に、図2を参照しつつ、図5を用いて、経路確認装置10Aの処理手順を説明する。図5は、第2の実施の形態の経路確認装置の処理手順を示すフローチャートである。
<Processing procedure>
Next, the processing procedure of the route confirmation apparatus 10A will be described with reference to FIG. FIG. 5 is a flowchart illustrating a processing procedure of the route confirmation device according to the second embodiment.

まず、経路確認装置10Aの送信パケット制御部112は、TTL=n(nは、2以上の任意の自然数)を設定し、各エッジノード50へパケットを送信する(S21)。次に、送信パケット制御部112は、各エッジノード50宛に送信したパケットに対する応答として、このパケットの廃棄通知を受信したとき(S22のYes)、この廃棄通知に関する情報をノード間接続情報131に記憶しておく。次に、送信パケット制御部112は、TTLの値を1増やしたパケットを、各エッジノード50宛に送信し(S24)、この送信したパケットに対する確認応答または廃棄通知の受信を待つ(S25)。そして、確認応答または廃棄通知を受信すると(S25のYes)、ノード間接続判定部113は、この受信した確認応答または廃棄通知をもとにノード間の接続関係を判断し、ノード間接続情報131を作成する(S26)。そして、送信パケット制御部112は、S24でパケット送信後、所定時間以内にすべてのエッジノード50からの確認応答が受信できたことが確認できると(S27のYes)、図3のS13以降と同様の処理を行う。つまり、経路確認装置10Aは、ホップ数=n−1の中継ノードから、ホップ数=1の中継ノードまでの経路確認を行う。   First, the transmission packet control unit 112 of the route confirmation device 10A sets TTL = n (n is an arbitrary natural number of 2 or more), and transmits a packet to each edge node 50 (S21). Next, when the transmission packet control unit 112 receives a discard notification of this packet as a response to the packet transmitted to each edge node 50 (Yes in S22), information regarding this discard notification is sent to the inter-node connection information 131. Remember. Next, the transmission packet control unit 112 transmits a packet whose TTL value is increased by 1 to each edge node 50 (S24), and waits for reception of an acknowledgment or a discard notification for the transmitted packet (S25). When the confirmation response or the discard notification is received (Yes in S25), the inter-node connection determination unit 113 determines the connection relationship between the nodes based on the received confirmation response or the discard notification, and the inter-node connection information 131 is obtained. Is created (S26). When the transmission packet control unit 112 confirms that the confirmation responses from all the edge nodes 50 have been received within a predetermined time after transmitting the packet in S24 (Yes in S27), the same as S13 and subsequent steps in FIG. Perform the process. That is, the route confirmation device 10A performs route confirmation from the relay node with the number of hops = n−1 to the relay node with the number of hops = 1.

また、S27で、送信パケット制御部112において、S24でパケット送信後、所定時間以内に、すべてのエッジノード50からは確認応答が受信できなかったが(S27のNo)、受信した応答がすべて確認応答であることが確認できたとき(S28のYes)、つまり、受信した応答にパケットの廃棄通知が含まれていなかったとき、図3のS13以降と同様の処理を行う。すなわち、送信パケット制御部112は、各エッジノード50へパケットを送信したが、エッジノード50の故障等によりすべてのエッジノード50からは確認応答が受信できない場合もある。このような場合、経路確認装置10Aは、受信した応答がすべて確認応答であること(つまり、受信した応答に廃棄通知が含まれてないこと)の確認できた段階で、図3のS13以降と同様の処理を実行する。   Also, in S27, the transmission packet control unit 112 did not receive confirmation responses from all the edge nodes 50 within a predetermined time after transmitting the packet in S24 (No in S27), but all received responses were confirmed. When the response is confirmed (Yes in S28), that is, when the received response does not include a packet discard notification, the same processing as S13 and after in FIG. 3 is performed. That is, although the transmission packet control unit 112 transmits a packet to each edge node 50, there may be a case where confirmation responses cannot be received from all the edge nodes 50 due to a failure of the edge node 50 or the like. In such a case, the path confirmation device 10A can confirm that all received responses are confirmation responses (that is, the received response does not include a discard notification), and after S13 in FIG. A similar process is executed.

一方、S28において、送信パケット制御部112が受信した応答のすべてが確認応答でなかったとき(S28のNo)、つまり、受信した応答に、S24で送信したパケットの廃棄通知が含まれていた場合、S24へ戻る。   On the other hand, when all of the responses received by the transmission packet control unit 112 are not confirmation responses in S28 (No in S28), that is, when the received response includes a discard notification of the packet transmitted in S24. , Return to S24.

なお、S22で各エッジノード50宛に送信したパケットに対する応答として、このパケットの廃棄通知ではなく(S22のNo)、確認応答を受信したとき(S23のYes)、S27へ進み、ネットワークのすべてのエッジノード50からの確認応答を受信したか否かを確認する。   When a confirmation response is received as a response to the packet transmitted to each edge node 50 in S22 (No in S22) instead of the packet discard notification (Yes in S23), the process proceeds to S27, and all the network It is confirmed whether or not a confirmation response from the edge node 50 has been received.

一方、送信パケット制御部112が、まだ廃棄通知も確認応答も受信できていないときは(S22のNo→S23のNo)、S22へ戻り、このいずれかの応答の受信を待つ。   On the other hand, when the transmission packet control unit 112 has not yet received the discard notification and the confirmation response (No in S22 → No in S23), the process returns to S22 and waits for reception of any one of these responses.

以上説明した経路確認装置10Aによれば、各エッジノード50までのホップ数が分からない場合であっても経路確認を行うことができ、また、経路確認のために送信するパケット数も低減できる。よって、経路確認装置10Aが経路確認に要する時間を低減できる。   According to the route confirmation device 10A described above, route confirmation can be performed even when the number of hops to each edge node 50 is not known, and the number of packets transmitted for route confirmation can be reduced. Therefore, the time required for the route confirmation device 10A to confirm the route can be reduced.

なお、経路確認装置10Aは、図6に例示するような、ホップ数が異なるエッジノード50を含むネットワークの経路確認を行う場合にも適用可能である。図6は、第2の実施の形態における経路確認装置を含むネットワーク構成例を示した図である。図6のネットワーク構成は、図9のネットワーク構成における、中継ノード40A,40Bに代えて、エッジノード50A,50Bが用いられている。つまり、ネットワークは、ホップ数=3のエッジノード50と、ホップ数=4のエッジノード50とが混在した構成になっている。このようなネットワーク構成において、経路確認装置10Aが、まず最初にTTL=3のパケットを送信すると、エッジノード50A,50Bからの確認応答を受信するが、中継ノード40C,40Dからはパケット廃棄通知を受信することになる。このような場合も、経路確認装置10Aは、TTLの値を3から1ずつ増やしてパケットを送信し、Tracerouteにより経路確認を行う。例えば、経路確認装置10Aは、TTL=3のパケットを送信し、この応答を受信した後、TTL=4を設定したパケットを、各エッジノード50宛に送信する。ここで送信するパケットの宛先となるエッジノード50は、エッジノード50A〜50Pでもよいが、確認応答を既に受信したエッジノード50A,50Bを除くエッジノード50、つまり、エッジノード50I〜50Pとするのが好ましい。これは、経路確認装置10Aが経路確認のために送信するパケット数を低減でき、また、当該パケットの受信確認のための待ち時間も低減できるので、経路確認に要する時間を低減できるからである。   Note that the route confirmation device 10A is also applicable when performing route confirmation of a network including the edge nodes 50 having different hop numbers as illustrated in FIG. FIG. 6 is a diagram illustrating an example of a network configuration including a route confirmation device according to the second embodiment. The network configuration in FIG. 6 uses edge nodes 50A and 50B instead of the relay nodes 40A and 40B in the network configuration in FIG. That is, the network has a configuration in which the edge node 50 with the number of hops = 3 and the edge node 50 with the number of hops = 4 are mixed. In such a network configuration, when the route confirmation device 10A first transmits a packet with TTL = 3, it receives confirmation responses from the edge nodes 50A and 50B, but sends a packet discard notification from the relay nodes 40C and 40D. Will receive. Also in such a case, the route confirmation device 10A transmits the packet by increasing the TTL value by 3 from 1, and performs route confirmation by Traceroute. For example, the path confirmation device 10A transmits a packet with TTL = 3, and after receiving this response, transmits a packet with TTL = 4 set to each edge node 50. The edge node 50 that is the destination of the packet to be transmitted here may be the edge nodes 50A to 50P, but is the edge node 50 excluding the edge nodes 50A and 50B that have already received the acknowledgment, that is, the edge nodes 50I to 50P. Is preferred. This is because the number of packets transmitted by the route confirmation device 10A for route confirmation can be reduced, and the waiting time for receipt confirmation of the packet can be reduced, thereby reducing the time required for route confirmation.

このようにして、経路確認装置10Aは、TracerouteによりTTLの値を1ずつ増加させ、符号601に示すような経路を確認する。この後、経路確認装置10Aは、前記した図4の場合と同様に、TTLの値を1つずつ減少させながら、エッジノード50A,50Bおよび中継ノード40から経路確認装置10Aまでの経路を確認する。つまり、経路確認装置10Aは、TTL=2のパケットを送信→このパケットの廃棄通知を中継ノード30(30A,30B)から受信→受信確認後、TTL=1のパケットを送信→このパケットの廃棄通知を中継ノード20(20A,20B)から受信という処理を繰り返すことで、符号602に示すような経路を確認する。そして、これらの経路を組み合わせることで、ネットワーク全体のノード間接続情報131を作成する。   In this way, the route confirmation device 10 </ b> A increases the TTL value by 1 by Traceroute and confirms the route as indicated by reference numeral 601. Thereafter, the route confirmation device 10A confirms the route from the edge nodes 50A and 50B and the relay node 40 to the route confirmation device 10A while decreasing the value of TTL one by one as in the case of FIG. . That is, the route confirmation device 10A transmits a packet with TTL = 2 → receives a discard notification of this packet from the relay node 30 (30A, 30B) → transmits a packet with TTL = 1 after confirming reception → a notification of discard of this packet Is repeated from the relay node 20 (20A, 20B) to confirm a route as indicated by reference numeral 602. Then, by combining these routes, inter-node connection information 131 for the entire network is created.

以上説明した経路確認装置10Aによれば、様々なホップ数のエッジノード50までの経路の経路確認を行うことができる。また、経路確認装置10Aが経路確認のために送信するパケット数を低減でき、また、当該パケットの受信確認のための待ち時間も低減できるので、経路確認に要する時間を低減できる。   According to the route confirmation device 10A described above, it is possible to confirm the route to the edge node 50 having various hop counts. Further, the number of packets transmitted by the route confirmation device 10A for route confirmation can be reduced, and the waiting time for confirmation of reception of the packet can be reduced, so that the time required for route confirmation can be reduced.

<第3の実施の形態>
次に、適宜図1を参照しつつ、図7を用いて、第3の実施の形態の経路確認装置10Bを説明する。第3の実施の形態の経路確認装置10Bは、まず、TTL=n−1のパケットの送信し、次のパケットの送信までの空き時間を利用して、TTL=nのパケットを送信することを特徴とする。つまり、経路確認装置10Bは、ネットワーク内の経路確認の空き時間を利用して、各エッジノード50の稼動確認を行うことを特徴とする。
<Third Embodiment>
Next, the route confirmation device 10B of the third embodiment will be described with reference to FIG. The route confirmation device 10B according to the third embodiment first transmits a packet with TTL = n−1, and transmits a packet with TTL = n by using a free time until transmission of the next packet. Features. In other words, the route confirmation device 10B is characterized in that the operation of each edge node 50 is confirmed using the idle time for route confirmation in the network.

図7は、第3の実施の形態の経路確認装置10Bの動作概要を概念的に示した図である。図7に示すように、経路確認装置10Bは、まず、TTL=n−1を設定し、各エッジノード50を宛先として送信し、ホップ数=n−1の中継ノード(中継ノード20,30,40)からの、当該パケットの廃棄通知の受信を待つ。ここで、経路確認装置10BがTTL=n−1のパケット送信後、このパケットの廃棄通知の受信を完了するまでの時間、つまり、次にTTL=n−2のパケットを送信するまでの空き時間701を利用して、経路確認装置10Bは、TTL=nを設定したパケットをエッジノード50宛に送信する。また、TTL=n−2のパケットを送信後、このパケットの廃棄通知の受信を完了するまでの時間、つまり、次にTTL=n−3のパケットを送信するまでの空き時間702を利用して、経路確認装置10Bは、TTL=nを設定したパケットのうち、まだ送信していないエッジノード50宛のパケットを送信する。すなわち、経路確認装置10Bは、エッジノード50の稼動確認を行うためのパケットを、中継ノードからの廃棄通知の受信完了までの待ち時間を利用して送信するので、各エッジノード50への経路確認および稼動確認を効率よく行うことができる。   FIG. 7 is a diagram conceptually illustrating an operation outline of the route confirmation device 10B according to the third exemplary embodiment. As shown in FIG. 7, the route confirmation device 10B first sets TTL = n−1, transmits each edge node 50 as a destination, and relays nodes (relay nodes 20, 30,. 40) Waiting for reception of the discard notification of the packet. Here, the time until the path confirmation device 10B completes the reception of the discard notification of this packet after transmitting the packet with TTL = n−1, that is, the free time until the next packet with TTL = n−2 is transmitted. Using 701, the route confirmation device 10B transmits a packet in which TTL = n is set to the edge node 50. Further, after transmitting the packet with TTL = n−2, the time until the reception of the discard notification of the packet is completed, that is, the free time 702 until the next packet with TTL = n−3 is transmitted is used. The path confirmation device 10B transmits a packet addressed to the edge node 50 that has not yet been transmitted among packets in which TTL = n is set. That is, the route confirmation device 10B transmits a packet for confirming the operation of the edge node 50 using the waiting time until the reception of the discard notification from the relay node is completed, so that the route confirmation to each edge node 50 is confirmed. In addition, the operation check can be performed efficiently.

なお、前記した各実施の形態において経路確認装置10,10A,10Bは、各エッジノード50の稼動確認を省き、各エッジノード50までの経路確認のみを行うようにしてもよい。すなわち、経路確認装置10,10A,10Bからエッジノード50までのホップ数=nである場合において、この経路確認装置10,10A,10Bが、TTL=nのパケットの送信を省いてもよい。   In each of the above-described embodiments, the route confirmation devices 10, 10 </ b> A, and 10 </ b> B may omit the operation confirmation of each edge node 50 and perform only the route confirmation to each edge node 50. That is, when the number of hops from the route confirmation devices 10, 10A, 10B to the edge node 50 is n, the route confirmation devices 10, 10A, 10B may omit transmission of packets with TTL = n.

なお、前記した各実施の形態において、経路確認装置10,10A,10Bは、各エッジノード50までの経路確認を行うこととしたが、これに限定されない。例えば、各中継ノードがパケットを受信したとき、そのパケットの確認応答を返すことができるノードであれば、その中継ノードからの確認応答をもとに、その中継ノードまでの経路確認を行うようにしてもよい。   In each of the embodiments described above, the route confirmation devices 10, 10A, and 10B perform route confirmation to each edge node 50, but the present invention is not limited to this. For example, when each relay node receives a packet, if it is a node that can return a confirmation response of the packet, the route to the relay node is confirmed based on the confirmation response from the relay node. May be.

また、前記した各実施の形態において、経路確認装置10,10A,10Bは、ノード間接続情報131を作成するとき、その中継ノード経由で接続するいずれかのエッジノード50宛のパケットを送信することとしたが、これに限定されない。例えば、図1に示すネットワーク構成において、経路確認装置10,10A,10BがTTL=n−2のパケットを送信するとき、中継ノード40A,40Bを宛先としたパケットを送信するようにしてもよい。このようにすることでも、ホップ数=n−2の中継ノード30が、ホップ数=n−1の、どの中継ノード40と隣接するかが分かる。また、経路確認装置10,10A,10Bは、パケットの宛先のエッジノード50を選択するとき、中継ノードに接続するエッジノード50群の中から複数のエッジノード50を選択して宛先としてもよい。例えば、図1に示すネットワーク構成において、経路確認装置10,10A,10Bは、TTL=n−2のパケットを送信するとき、中継ノード40Aに接続するエッジノード50C,50D、および、中継ノード40Bに接続するエッジノード50G,50Hをパケットの宛先として選択してもよい。   Further, in each of the above-described embodiments, when the inter-node connection information 131 is created, the path confirmation devices 10, 10A, 10B transmit a packet addressed to any one of the edge nodes 50 connected via the relay node. However, it is not limited to this. For example, in the network configuration shown in FIG. 1, when the route confirmation devices 10, 10 </ b> A, 10 </ b> B transmit packets with TTL = n−2, packets destined for the relay nodes 40 </ b> A, 40 </ b> B may be transmitted. By doing this as well, it can be seen which relay node 30 with the hop number = n−2 is adjacent to which relay node 40 with the hop number = n−1. Further, when selecting the edge node 50 that is the destination of the packet, the route confirmation devices 10, 10A, and 10B may select a plurality of edge nodes 50 from the group of edge nodes 50 connected to the relay node as the destination. For example, in the network configuration shown in FIG. 1, when the route confirmation devices 10, 10A, and 10B transmit a packet with TTL = n−2, the route confirmation devices 10, 10A, and 10B connect to the edge nodes 50C and 50D and the relay node 40B that are connected to the relay node 40A. The edge nodes 50G and 50H to be connected may be selected as a packet destination.

本実施の形態に係る経路確認装置10,10A,10Bは、前記したような処理を実行させるプログラムによって実現することができ、そのプログラムをコンピュータによる読み取り可能な記録媒体(CD−ROM等)に記憶して提供することが可能である。   The route confirmation devices 10, 10A and 10B according to the present embodiment can be realized by a program for executing the processing as described above, and the program is stored in a computer-readable recording medium (CD-ROM or the like). Can be provided.

第1の実施の形態の経路確認装置を含むネットワークの構成例を示した図である。It is the figure which showed the structural example of the network containing the route confirmation apparatus of 1st Embodiment. 図1の経路確認装置の構成を示したブロック図である。It is the block diagram which showed the structure of the route confirmation apparatus of FIG. 図2の経路確認装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the route confirmation apparatus of FIG. 第2の実施の形態の経路確認装置の処理手順の概要を説明した図である。It is a figure explaining the outline | summary of the process sequence of the route confirmation apparatus of 2nd Embodiment. 第2の実施の形態の経路確認装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the route confirmation apparatus of 2nd Embodiment. 第2の実施の形態における経路確認装置を含むネットワーク構成例を示した図である。It is the figure which showed the example of a network structure containing the route confirmation apparatus in 2nd Embodiment. 第3の実施の形態の経路確認装置の動作概要を概念的に示した図である。It is the figure which showed notionally the operation | movement outline | summary of the route confirmation apparatus of 3rd Embodiment. 経路確認装置がTracerouteにより、経路確認を行う方法を概念的に示した図である。It is the figure which showed notionally the method in which a route confirmation apparatus performs route confirmation by Traceroute. ツリー構造のネットワークの構成例を示した図である。It is the figure which showed the structural example of the network of a tree structure.

符号の説明Explanation of symbols

10,10A,10B 経路確認装置
11 処理部
12 通信部
13 記憶部
14 入出力部
20(20A,20B),30(30A,30B),40(40A,40B,40C) 中継ノード
50(50A〜50P) エッジノード
111 コントロール部
112 送信パケット制御部
113 ノード間接続判定部
114 表示処理部
121 パケット送信部
122 パケット受信部
131 ノード間接続情報
132 エッジノード情報
10, 10A, 10B Route confirmation device 11 Processing unit 12 Communication unit 13 Storage unit 14 Input / output unit 20 (20A, 20B), 30 (30A, 30B), 40 (40A, 40B, 40C) Relay node 50 (50A-50P) ) Edge node 111 Control unit 112 Transmission packet control unit 113 Internode connection determination unit 114 Display processing unit 121 Packet transmission unit 122 Packet reception unit 131 Internode connection information 132 Edge node information

Claims (6)

複数のエッジノードおよびこれらエッジノードへのパケットを転送する複数の中継ノードを含んでなるネットワークにおいて、前記エッジノード宛に所定のTTL(Time To Live)の値を設定したパケットを送信し、このパケットを廃棄した中継ノードから受信した前記パケットの廃棄通知をもとに、このパケットが転送される経路を確認する経路確認装置であって、
前記エッジノードの識別情報と、ノード間接続情報とを記憶する記憶部と、
前記送信したパケットの廃棄通知または前記エッジノードからの当該パケットの受信の確認応答を受信したとき、当該経路確認装置から、前記廃棄通知または前記確認応答の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信する処理を、前記廃棄通知または前記確認応答を受信するたび、このTTLの値が1になるまで繰り返す送信パケット制御部と、
前記パケットを送信するパケット送信部と、
前記送信したパケットに対する前記廃棄通知および前記確認応答を受信するパケット受信部と、
前記送信したパケットに対する廃棄通知または確認応答を受信したとき、この廃棄通知または確認応答の送信元のノードの識別情報と、当該送信したパケットに設定したTTLの値と、当該送信したパケットの宛先のエッジノードの識別情報と、前記記憶部に記憶されたノード間接続情報とに基づき、同じエッジノードに接続するノードであり、かつ、当該経路確認装置からのホップ数の差が1ホップであるノード同士を隣接するノードとして判断し、その判断結果に基づき、前記ネットワークにおいて前記パケットが転送されるノードおよびそのノードの当該経路確認装置からのホップ数を示した前記ノード間接続情報を作成し、前記記憶部に記憶するノード間接続判定部とを備え、
前記送信パケット制御部は、前記パケットを送信するとき、前記ノード間接続情報を参照して、そのパケットの宛先を、前記廃棄通知または前記確認応答の送信元のノード経由で接続するエッジノードのうち、いずれかのエッジノード宛とすることを特徴とする経路確認装置。
In a network including a plurality of edge nodes and a plurality of relay nodes that transfer packets to these edge nodes, a packet in which a predetermined TTL (Time To Live) value is set is transmitted to the edge node. A route confirmation device for confirming a route to which the packet is transferred based on the discard notification of the packet received from the relay node that has discarded
A storage unit for storing identification information of the edge node and inter-node connection information;
When receiving the discard notification of the transmitted packet or the acknowledgment of reception of the packet from the edge node, the number of hops minus 1 from the path confirmation device to the node that is the source of the discard notification or the acknowledgment is A transmission packet control unit that repeats the process of transmitting a packet whose value is set to TTL every time the discard notification or the confirmation response is received until the value of this TTL becomes 1,
A packet transmission unit for transmitting the packet;
A packet receiver for receiving the discard notification and the confirmation response for the transmitted packet;
When a discard notification or confirmation response for the transmitted packet is received, the identification information of the node that sent the discard notification or confirmation response, the TTL value set in the transmitted packet, and the destination address of the transmitted packet A node that is connected to the same edge node based on the identification information of the edge node and the internode connection information stored in the storage unit, and the difference in the number of hops from the route confirmation device is 1 hop The nodes are determined as adjacent nodes, and based on the determination result, the internode connection information indicating the number of hops from the node to which the packet is transferred in the network and the route confirmation device of the node is created, An inter-node connection determination unit that stores in the storage unit,
When transmitting the packet, the transmission packet control unit refers to the internode connection information, and connects the destination of the packet via the node that is the source of the discard notification or the confirmation response. A route confirmation apparatus for addressing any one of the edge nodes.
前記パケット送信部が最初に送信したパケットに対し、当該パケットの廃棄通知を受信したとき、前記送信パケット制御部は、当該経路確認装置から、この廃棄通知の送信元のノードまでのホップ数+1の値を、パケットのTTLに設定して送信する処理を、前記廃棄通知を受信するたび、前記エッジノードからの確認応答を受信するまで実行し、
前記エッジノードそれぞれからの確認応答を受信したとき、前記送信パケット制御部は、前記パケット送信部が最初に送信したパケットに対する廃棄通知の送信元である第1のノードを始点として、当該経路確認装置から、前記中継装置までのホップ数−1の値を、パケットのTTLに設定し、前記第1のノード経由で接続するエッジノードのうち、いずれかエッジノードを宛先としたパケットを送信する処理を、前記TTLの値が1になるまで実行することを特徴とする請求項1に記載の経路確認装置。
When the packet transmission unit receives a discard notification of the packet for the first packet transmitted by the packet transmission unit, the transmission packet control unit determines that the number of hops from the route confirmation device to the node that transmitted the discard notification is +1. The process of setting the value to the TTL of the packet and transmitting it is executed until the confirmation response from the edge node is received each time the discard notification is received,
When the confirmation response from each of the edge nodes is received, the transmission packet control unit starts from the first node that is the transmission source of the discard notification for the packet transmitted first by the packet transmission unit. To the number of hops to the relay device minus 1 is set in the TTL of the packet, and a process of transmitting a packet destined for any one of the edge nodes connected via the first node is performed. 2. The route confirmation apparatus according to claim 1, wherein the route confirmation device is executed until the value of the TTL becomes 1.
前記送信パケット制御部は、前記エッジノード経由で接続する第1のノードから、この第1のノードに接続するすべてのエッジノード宛のパケットに関する廃棄通知を受信したとき、当該経路確認装置から、前記廃棄通知の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信する処理を、前記廃棄通知を受信するたび、このTTLの値が1になるまで繰り返し、
前記パケットの送信処理後、次に、前記廃棄通知の送信元のノードまでのホップ数−1の値をTTLに設定したパケットを送信するまでの間に、当該経路確認装置から、前記エッジノードまでのホップ数の値をTTLに設定したエッジノード宛パケットを送信する処理を実行することを特徴とする請求項1または請求項2に記載の経路確認装置。
When the transmission packet control unit receives a discard notification regarding packets addressed to all edge nodes connected to the first node from the first node connected via the edge node, the transmission packet control unit, from the path confirmation device, The process of transmitting a packet in which the value of the number of hops minus 1 to the transmission source node of the discard notification is set to TTL is repeated every time the discard notification is received until the value of this TTL becomes 1.
After the transmission processing of the packet, next, from the route confirmation device to the edge node, until a packet in which the value of the number of hops minus 1 to the transmission source node of the discard notification is set to TTL is transmitted. The route confirmation apparatus according to claim 1 or 2, wherein a process for transmitting a packet addressed to an edge node in which the value of the number of hops is set to TTL is executed.
請求項1ないし請求項3のいずれか1項に記載の経路確認装置と、前記経路確認装置からのパケットを受信する複数のエッジノードおよび中継ノードとを含んでなる経路確認システム。   4. A route confirmation system comprising: the route confirmation device according to claim 1; and a plurality of edge nodes and relay nodes that receive packets from the route confirmation device. 複数のエッジノードおよびこれらエッジノードへのパケットを転送する複数の中継ノードを含んでなるネットワークにおいて、前記エッジノードの識別情報と、ノード間接続情報とを記憶する記憶部を備え、前記エッジノード宛に所定のTTL(Time To Live)の値を設定したパケットを送信し、このパケットを廃棄した中継ノードから受信した前記パケットの廃棄通知をもとに、このパケットが転送される経路を確認する経路確認装置が、
前記送信したパケットに対する前記廃棄通知または前記エッジノードからの当該パケットの受信の確認応答を受信するステップと、
前記送信したパケットの廃棄通知または前記確認応答を受信したとき、前記ノード間接続情報を参照して、パケットの宛先を、前記廃棄通知または前記確認応答の送信元のノード経由で接続するエッジノードのうち、いずれかのエッジノード宛としたパケットを送信するステップと、
前記送信したパケットに対する廃棄通知または確認応答の送信元のノードの識別情報と、当該送信したパケットに設定したTTLの値と、当該送信したパケットの宛先のエッジノードの識別情報とに基づき、同じエッジノードに接続するノードであり、かつ、当該経路確認装置からのホップ数の差が1ホップであるノード同士を隣接するノードとして判断し、その判断結果に基づき、前記ネットワークにおいて前記パケットが転送されるノードを示した前記ノード間の接続情報を作成し、前記記憶部に記憶するステップとを、前記廃棄通知または前記確認応答を受信するたび、このTTLの値が1になるまで繰り返す経路確認方法。
In a network including a plurality of edge nodes and a plurality of relay nodes that transfer packets to the edge nodes, the network includes a storage unit that stores the identification information of the edge nodes and inter-node connection information. A path for transmitting a packet in which a predetermined TTL (Time To Live) value is set and confirming a path through which the packet is transferred based on the discard notification of the packet received from the relay node that discarded the packet The confirmation device
Receiving the discard notification for the transmitted packet or an acknowledgment of receipt of the packet from the edge node;
When the discard notification of the transmitted packet or the confirmation response is received, the destination of the packet is connected to the destination of the packet via the node of the source of the discard notification or the confirmation response with reference to the internode connection information. A step of transmitting a packet addressed to one of the edge nodes;
The same edge based on the identification information of the source node of the discard notification or acknowledgment for the transmitted packet, the TTL value set in the transmitted packet, and the identification information of the destination edge node of the transmitted packet Nodes that are connected to the node and that have a difference in the number of hops from the route confirmation device are determined as adjacent nodes, and the packet is transferred in the network based on the determination result A path confirmation method that repeats the step of creating connection information between the nodes indicating nodes and storing the information in the storage unit until the TTL value becomes 1 each time the discard notification or the confirmation response is received.
請求項5に記載の経路確認方法をコンピュータである前記経路確認装置に実行させるためのプログラム。
The program for making the said route confirmation apparatus which is a computer perform the route confirmation method of Claim 5.
JP2008328769A 2008-12-24 2008-12-24 Route confirmation device, route confirmation system, route confirmation method and program thereof Active JP4746672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008328769A JP4746672B2 (en) 2008-12-24 2008-12-24 Route confirmation device, route confirmation system, route confirmation method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008328769A JP4746672B2 (en) 2008-12-24 2008-12-24 Route confirmation device, route confirmation system, route confirmation method and program thereof

Publications (2)

Publication Number Publication Date
JP2010154130A true JP2010154130A (en) 2010-07-08
JP4746672B2 JP4746672B2 (en) 2011-08-10

Family

ID=42572712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008328769A Active JP4746672B2 (en) 2008-12-24 2008-12-24 Route confirmation device, route confirmation system, route confirmation method and program thereof

Country Status (1)

Country Link
JP (1) JP4746672B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014049851A (en) * 2012-08-30 2014-03-17 Nippon Telegr & Teleph Corp <Ntt> Network topology estimation method and topology estimation device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028735A (en) * 2006-07-21 2008-02-07 Oki Electric Ind Co Ltd Route providing apparatus in communication and its route measuring method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008028735A (en) * 2006-07-21 2008-02-07 Oki Electric Ind Co Ltd Route providing apparatus in communication and its route measuring method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014049851A (en) * 2012-08-30 2014-03-17 Nippon Telegr & Teleph Corp <Ntt> Network topology estimation method and topology estimation device

Also Published As

Publication number Publication date
JP4746672B2 (en) 2011-08-10

Similar Documents

Publication Publication Date Title
JP5956006B2 (en) Reducing message and computational overhead in the network
RU2643475C2 (en) Multi-domain relaying with routing from source based on interacting network controllers
EP3331205B1 (en) Data packet transmission method utilized in ipv6 network and device utilizing same
CN106470136B (en) Platform test method and platform test system
JP2014502794A (en) Communication path control system, path control device, communication path control method, and path control program
JP2015159486A (en) relay node and route control method
US11296973B2 (en) Path information transmission device, path information transmission method and path information transmission program
JP5801887B2 (en) System and method for communicating between nodes of a wireless network
JP5438624B2 (en) Communication system, control server, flow control method and program thereof
US8396950B1 (en) Method and apparatus for the fast detection of connectivity loss between devices in a network
JP6540095B2 (en) Communication apparatus, information processing system, message processing method
JP2008072521A (en) Equipment, method and program for communication
JP4746672B2 (en) Route confirmation device, route confirmation system, route confirmation method and program thereof
JP2009021921A (en) INFORMATION PRESENTATION SYSTEM FOR TERMINAL CORRESPONDING TO IPv4/IPv6 DUAL STACK
CN108965122B (en) Routing method, device and computer readable storage medium
JP4612645B2 (en) Data transfer method, edge router, AS border router, and program in MPLS network
US20140211604A1 (en) Method and Apparatus for the Fast Detection of Connectivity Loss Between Devices in a Network
KR20140122171A (en) Apparatus and method for network monitoring and packet inspection
JP4641794B2 (en) Packet filter synchronization method and packet relay system
JP2014003449A (en) Transfer device and transfer method
KR101547048B1 (en) Technique for managing communications at a router
JP2007013510A (en) Packet communication system and packet communication apparatus
JP4924081B2 (en) Test apparatus, method and program
JP6134571B2 (en) Communication confirmation device, network system, communication confirmation method, and communication confirmation program
JP3905903B2 (en) Packet transfer apparatus, method, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110408

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110510

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110513

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140520

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4746672

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350