JP2005064848A - Method and device for detecting duplicate address in ad hoc network - Google Patents

Method and device for detecting duplicate address in ad hoc network Download PDF

Info

Publication number
JP2005064848A
JP2005064848A JP2003292253A JP2003292253A JP2005064848A JP 2005064848 A JP2005064848 A JP 2005064848A JP 2003292253 A JP2003292253 A JP 2003292253A JP 2003292253 A JP2003292253 A JP 2003292253A JP 2005064848 A JP2005064848 A JP 2005064848A
Authority
JP
Japan
Prior art keywords
node
address
destination
duplicate address
duplicate
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.)
Pending
Application number
JP2003292253A
Other languages
Japanese (ja)
Inventor
Shinji Mogi
信二 茂木
Takahito Yoshihara
貴仁 吉原
Hironori Horiuchi
浩規 堀内
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.)
KDDI Corp
Original Assignee
KDDI 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 KDDI Corp filed Critical KDDI Corp
Priority to JP2003292253A priority Critical patent/JP2005064848A/en
Publication of JP2005064848A publication Critical patent/JP2005064848A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and a device which enable a destination node to detect that an address of the node itself is duplicatively assigned in one network by discriminating a destination sequence number as a sequence number related to the other node having the same address in the case that the destination sequence number is registered in a route request message from a transmission source node which the node communicates with for the first time because of the absence of a communication history in a routing table. <P>SOLUTION: The device includes; a means for analyzing a route request message destined for the node to extract its transmission source address and destination sequence number; a means for discriminating the presence or the absence of a communication history for the transmission source node on the basis of the extracted transmission source address; a duplicate address detection means for detecting the presence of a duplicate address in the case that the communication history for the transmission source node doesn't exist and the destination sequence number is other than a prescribed identifier which is given to an unknown destination sequence number; and a means for returning a route response message when being not capable of detecting the existence of a duplicate address on the basis of the route request message. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、重複アドレスの検出方法および検出装置に係り、特に、マルチホップ・ワイヤレス・モバイル・アドホックネットワーク(以下、アドホックネットワークと呼ぶ)において重複アドレスを検出できる重複アドレス検出方法および検出装置に関する。   The present invention relates to a duplicate address detection method and detection apparatus, and more particularly to a duplicate address detection method and detection apparatus capable of detecting a duplicate address in a multi-hop wireless mobile ad hoc network (hereinafter referred to as an ad hoc network).

重複アドレスの検出を行うために、従来はルーティングプロトコルに重複アドレスを検出する機能が導入されていた。ネットワーク内でのノードの識別には、IPアドレスのみならずMACアドレスもしくはランダムに生成した識別情報が用いられる。従来技術では、ルーティングプロトコルの経路探索要求メッセージ(Route Request: RREQ)や経路探索要求応答メッセージ(Route Reply:RREP)などの経路制御メッセージに、通常記載されるIPアドレスに加えて、MACアドレスもしくはランダムに生成した識別情報がKeyとして付加される。これより、RREQには(宛先IPアドレスと宛先Keyの組)および(送信元IPアドレスと送信元Keyの組)とが記載されることになる。宛先および送信元の(IPアドレス+Key)の組は、経路探索に伴いRREQやRREPに含められ、これらの経路制御メッセージを受信した各ノードのルーティングテーブルのエントリに保存される。   In order to detect duplicate addresses, a function for detecting duplicate addresses has been introduced in the routing protocol. For identifying a node in the network, not only an IP address but also a MAC address or randomly generated identification information is used. In the prior art, in addition to the IP address normally described in the route control message such as the route search request message (Route Request: RREQ) or the route search request response message (Route Reply: RREP) of the routing protocol, the MAC address or random The generated identification information is added as a key. Thus, (set of destination IP address and destination key) and (set of source IP address and source key) are described in RREQ. The combination of the destination and the source (IP address + Key) is included in RREQ and RREP along with the route search, and is stored in the routing table entry of each node that has received these route control messages.

各ノードは、新たな経路制御メッセージを受信するたびに、その経路制御メッセージに含まれる(IPアドレス+Key)の組とルーティングテーブルの各エントリに既登録の(IPアドレス+Key)の組とを比較し、IPアドレスが一致するにもかかわらずKeyが異なる場合、重複したアドレスを持つノードがネットワーク内に存在することを検出する。重複アドレスが検出されると、重複アドレスのエントリは全て破棄され、重複アドレスを持つ各ノードは新たなアドレスを得るための処理(リナンバリング)を行う。これより、宛先が重複アドレスであるパケットは転送されなくなるので、アドレスが重複する一方のノード宛に送信されたパケットが、アドレスが重複する他方のノードに誤って転送されることが防止される。
N. H. Vaidya,"Weak duplicate address detection in mobile ad hoc networks", In the Proc. of ACM MobiHoc 2002, June 2002, RR. 206-216.
Each time a new routing control message is received, each node compares the (IP address + Key) pair included in the routing control message with the (IP address + Key) pair registered in each entry in the routing table. If the keys are different even though the IP addresses match, it is detected that a node having a duplicate address exists in the network. When a duplicate address is detected, all duplicate address entries are discarded, and each node having the duplicate address performs processing (renumbering) to obtain a new address. As a result, a packet whose destination is a duplicate address is not transferred, so that a packet transmitted to one node having a duplicate address is prevented from being erroneously transferred to the other node having a duplicate address.
NH Vaidya, "Weak duplicate address detection in mobile ad hoc networks", In the Proc. Of ACM MobiHoc 2002, June 2002, RR. 206-216.

上記した従来技術では、重複アドレスのエントリがルーティングテーブルから全て破棄されてしまうので、アドレスが重複する一方のノード宛に送信されたパケットが、アドレスが重複する他方のノードに誤って転送されることが防止される一方で、正規の宛先である一方のノードへも転送されなくなってしまうという技術課題があった。   In the above prior art, all duplicate address entries are discarded from the routing table, so that packets sent to one node with duplicate addresses are erroneously transferred to the other node with duplicate addresses. While this is prevented, there is a technical problem that it is no longer transferred to one node that is a legitimate destination.

本発明は、複数の無線ノードを含み、送信元ノードと宛先ノードとが少なくとも1つの中継ノードを経由してパケット交換を行うアドホックネットワークにおける重複アドレス検出方法および装置において、以下のような手段を講じた点に特徴がある。   The present invention provides a duplicate address detection method and apparatus in an ad hoc network that includes a plurality of wireless nodes, and in which a source node and a destination node exchange packets via at least one relay node, taking the following measures. There is a feature in the point.

(1)本発明の重複アドレス検出方法は、宛先ノードが送信元ノードから受信した経路要求メッセージを解析し、その送信元アドレスに基づいて送信元ノードとの通信履歴を判定する手順と、前記宛先ノードが、前記送信元ノードとの通信履歴が存在しないにもかかわらず前記経路要求メッセージに宛先シーケンス番号が登録されているときに重複アドレスの存在を検出する手順と、前記宛先ノードが、前記重複アドレスの存在を検出できないときに経路応答メッセージを返信する手順と、中継ノードが前記経路応答メッセージを受信し、宛先アドレス、送信元アドレスおよび次ホップを含むルーティング情報をルーティングテーブルへ登録する手順と、前記中継ノードが、前記送信元ノードから宛先ノード宛に送信されたパケットの次ホップを、その宛先アドレスおよび送信元アドレスに基づいて前記ルーティングテーブルから検索する手順とを含むことを特徴とする。   (1) In the duplicate address detection method of the present invention, the destination node analyzes a route request message received from the source node, determines a communication history with the source node based on the source address, and the destination A procedure in which a node detects the presence of a duplicate address when a destination sequence number is registered in the route request message even though there is no communication history with the source node; and A procedure for returning a route response message when the presence of an address cannot be detected; a procedure for a relay node to receive the route response message and register routing information including a destination address, a source address and a next hop in a routing table; The relay node determines the next hop of the packet transmitted from the source node to the destination node. Characterized in that it comprises a procedure for retrieving from the routing table based on the destination address and the sender address.

(2)本発明の重複アドレス検出方法はさらに、前記送信元ノードが、宛先シーケンス番号が既知の宛先へは当該宛先シーケンス番号を付与し、宛先シーケンス番号が未知の宛先へは所定の識別子を付与した経路要求メッセージを送信し、前記宛先ノードが、前記送信元ノードとの通信履歴が存在しないにもかかわらず前記経路要求メッセージに前記所定の識別子が付与されていないときに重複アドレスの存在を検出することを特徴とする。   (2) The duplicate address detection method of the present invention further provides that the source node assigns the destination sequence number to a destination whose destination sequence number is known, and assigns a predetermined identifier to a destination whose destination sequence number is unknown. And the destination node detects the presence of a duplicate address when the predetermined identifier is not given to the route request message even though there is no communication history with the source node. It is characterized by doing.

(3)本発明の重複アドレス検出方法はさらに、前記重複アドレスの存在を検出した宛先ノードが、重複アドレス解消用のデータをネットワーク上に送信する手順を含むことを特徴とする。   (3) The duplicate address detection method of the present invention further includes a procedure in which the destination node that has detected the presence of the duplicate address transmits data for eliminating the duplicate address on the network.

(4)本発明の重複アドレス検出装置は、自ノードを宛先とする経路要求メッセージを解析し、その送信元アドレスに基づいて送信元ノードとの通信履歴の有無を判定する手段と、前記送信元ノードとの通信履歴が存在しないにもかかわらず前記経路要求メッセージに宛先シーケンス番号が登録されているときに重複アドレスの存在を検出する重複アドレス検出手段と、前記重複アドレスの存在を検出できないときに経路応答メッセージを返信する手段とを含むことを特徴とする。   (4) The duplicate address detection apparatus of the present invention analyzes a route request message destined for its own node, and determines the presence or absence of a communication history with the source node based on the source address, the source Duplicate address detecting means for detecting the presence of a duplicate address when a destination sequence number is registered in the route request message even though there is no communication history with a node, and when the duplicate address cannot be detected And a means for returning a route response message.

(5)本発明の重複アドレス検出装置はさらに、前記重複アドレス検出手段が、前記送信元ノードとの通信履歴が存在しないにもかかわらず、前記経路要求メッセージに、宛先シーケンス番号が未知であることを示す所定の識別子が付与されていないときに重複アドレスの存在を検出することを特徴とする。   (5) The duplicate address detection device of the present invention is further configured such that the duplicate address detection means has an unknown destination sequence number in the route request message even though there is no communication history with the source node. It is characterized in that the presence of a duplicate address is detected when a predetermined identifier indicating is not given.

(6)本発明の重複アドレス検出装置はさらに、重複アドレス解消用のデータを送信する重複アドレス解消手段を含むことを特徴とする。   (6) The duplicate address detection device of the present invention further includes a duplicate address elimination means for transmitting data for duplicate address elimination.

(7)本発明の重複アドレス検出装置はさらに、経路応答メッセージを受信し、宛先アドレス、送信元アドレスおよび次ホップを含むルーティング情報をルーティングテーブルへ登録する手段と、他ノード宛のパケットの次ホップを、その宛先アドレスおよび送信元アドレスに基づいて前記ルーティングテーブルから検索する手段と、前記他ノード宛のパケットを前記検索された次ホップへ転送する手段とを含むことを特徴とする。   (7) The duplicate address detection apparatus of the present invention further includes means for receiving a route response message and registering routing information including a destination address, a source address and a next hop in a routing table, and a next hop of a packet addressed to another node. Means for searching from the routing table based on the destination address and the source address, and means for transferring the packet addressed to the other node to the searched next hop.

本発明によれば、宛先ノードでは、ルーティングテーブルに通信履歴がなく、したがって初めて通信する送信元ノードからの経路要求メッセージに宛先シーケンス番号が登録されていれば、この宛先シーケンス番号は、アドレスが同一である他のノードに関するシーケンス番号であると判断できるので、自ノードのアドレスが同一ネットワーク内で重複して割り当てられていることを検出できる。   According to the present invention, if the destination node has no communication history in the routing table, and therefore the destination sequence number is registered in the route request message from the source node that communicates for the first time, the destination sequence number has the same address. Therefore, it is possible to detect that the address of the own node is assigned in the same network.

また、中継ノードでは、経路応答メッセージに基づいてルーティングテーブル情報をルーティングテーブルに登録する際、宛先アドレスと送信元アドレスとを対応付けて登録し、その後、パケットをルーティングする際には、その宛先アドレスと送信元アドレスとを抽出し、これをルーティングテーブルに登録されている各エントリで相互に対応付けられた宛先アドレスと送信元アドレスとの組み合わせと比較するので、アドレスが重複する一方のノード宛に送信されたパケットが他方のノードに誤って転送されることが防止される一方で、正規の宛先である一方のノードへは転送できるようになる。   Further, in the relay node, when registering the routing table information in the routing table based on the route response message, the destination address and the source address are registered in association with each other, and then the destination address is used when routing the packet. And the source address are extracted, and this is compared with the combination of the destination address and the source address associated with each other in each entry registered in the routing table. While the transmitted packet is prevented from being erroneously forwarded to the other node, it can be forwarded to one node that is a legitimate destination.

以下、図面を参照して本発明の好ましい実施の形態について詳細に説明する。図1は、本発明に係るネットワーク端末(無線ノード)の主要部の構成を示した機能ブロック図であり、ここでは、本発明の説明に不用な構成は図示を省略している。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram showing a configuration of a main part of a network terminal (wireless node) according to the present invention. Here, illustration of configurations unnecessary for the description of the present invention is omitted.

ネットワークI/F1は、自ノードとアドホックネットワークとの通信を制御する。ルーティング制御部2は、受信したRREQを解析するRREQ解析部201、受信したRREPを解析するRREP解析部202、受信したRREQおよびRREPに基づいてルーティングテーブル3を更新するルーティングテーブル管理部203、ルーティングテーブル3に登録されているルーティング情報に基づいて受信パケットをルーティングするルーティング部204、RREQを生成するRREQ生成部205、およびRREPを生成するRREP生成部206等を含む。   The network I / F 1 controls communication between the own node and the ad hoc network. The routing control unit 2 includes an RREQ analysis unit 201 that analyzes the received RREQ, an RREP analysis unit 202 that analyzes the received RREP, a routing table management unit 203 that updates the routing table 3 based on the received RREQ and RREP, and a routing table 3 includes a routing unit 204 that routes received packets based on the routing information registered in No. 3, a RREQ generation unit 205 that generates RREQ, an RREP generation unit 206 that generates RREP, and the like.

重複アドレス検出部4は、自ノードを宛先とするRREQを受信した際に、その送信元ノードとの通信履歴の有無、および前記RREQに登録されている宛先シーケンス番号に基づいて重複アドレスの存在を検出する。重複アドレス解消部5は、前記重複アドレス検出部4により重複アドレスの存在が検出されると、これを解消するためのデータを対象ノードへ送信する。   When the duplicate address detection unit 4 receives an RREQ destined for its own node, the duplicate address detection unit 4 detects the presence of a duplicate address based on the presence / absence of a communication history with the transmission source node and the destination sequence number registered in the RREQ. To detect. When the duplicate address detection unit 4 detects the presence of a duplicate address, the duplicate address elimination unit 5 transmits data for eliminating the duplicate address to the target node.

図2は、前記ルーティングテーブル3の一例を示した図であり、本実施形態では、宛先ノードのIPアドレスごとに、従来から登録されていた次ホップのIPアドレスやシーケンス番号等に加えて、送信元ノードのIPアドレスが新たに登録される。   FIG. 2 is a diagram showing an example of the routing table 3. In this embodiment, for each IP address of the destination node, in addition to the IP address and sequence number of the next hop that have been registered in the past, transmission is performed. The IP address of the original node is newly registered.

次いで、本実施形態による重複アドレスの検出手順について説明する。ここでは、図3に示したように、ノードAとノードDとがノードB,Cを中継して送信するアドホックネットワークと、ノードEとノードGとがノードFを中継して送信するアドホックネットワークとが独立して確立されている状態から説明する。本実施形態では、ノードAのIPアドレスが「1」であり、以下同様に、ノードB,C,D,E,F,GのIPアドレスが、それぞれ「2」、「3」、「4」、「5」、「6」、「4」である。したがって、ノードDとノードGとはIPアドレスが共に「4」であるが、図3のトポロジでは各アドホック網が独立しているので重複アドレスが生じていない。   Next, a duplicate address detection procedure according to this embodiment will be described. Here, as shown in FIG. 3, the ad hoc network in which the node A and the node D relay and transmit the nodes B and C, and the ad hoc network in which the node E and the node G relay the node F and transmit Will be described from the state that is independently established. In this embodiment, the IP address of the node A is “1”, and similarly, the IP addresses of the nodes B, C, D, E, F, and G are “2”, “3”, and “4”, respectively. , “5”, “6”, “4”. Therefore, although the IP addresses of the node D and the node G are both “4”, since each ad hoc network is independent in the topology of FIG. 3, duplicate addresses do not occur.

ノードEからノードGへ初めて送信する場合、ノードEは宛先アドレスがノードGの「4」であって、宛先シーケンス番号が未知であることを示す「U」(Unknown sequence number)フラグの登録されたRREQを前記RREQ生成部205で生成し、これをブロードキャストする。   When transmitting from the node E to the node G for the first time, the node E is registered with a “U” (Unknown sequence number) flag indicating that the destination address is “4” of the node G and the destination sequence number is unknown. RREQ is generated by the RREQ generation unit 205 and broadcasted.

ノードFでは、このRREQの受信に応答して図5のRREQ受信処理が起動され、ステップS10では、前記RREQ解析部201において前記RREQが解析され、その宛先ノードが判別される。ここでは、宛先が自ノード以外の他ノードなのでステップS11へ進む。ステップS11では、図7(a)に示したように、ノードFのルーティングテーブル3に、宛先アドレスがノードEの「5」、送信元アドレスがノードGの「4」、次ホップがノードEの「5」であるエントリ1が登録される。ステップS12では、前記受信したRREQがブロードキャストされる。   In response to the reception of this RREQ, the node F starts the RREQ reception process of FIG. 5, and in step S10, the RREQ analysis unit 201 analyzes the RREQ to determine its destination node. Here, since the destination is a node other than the own node, the process proceeds to step S11. In step S11, as shown in FIG. 7A, in the routing table 3 of node F, the destination address is “5” of node E, the source address is “4” of node G, and the next hop is node E. Entry 1 that is “5” is registered. In step S12, the received RREQ is broadcast.

宛先のノードGでも、このRREQの受信に応答して図5のRREQ受信処理が起動され、ステップS10では宛先が自ノードと判別されてステップS13へ進む。ステップS13では、前記重複アドレス検知部4において、送信元であるノードEからの初めての受信であるか否かが判定される。本実施形態では、ノードEに関するエントリがルーティングテーブル3に登録されているか否かに基づいて、初めての受信であるか否かが判別される。ここでは初めての受信と判定されるのでステップS14へ進む。ステップS14では、前記RREQに登録されている宛先シーケンス番号がRREQ解析部201において参照される。ここでは、宛先シーケンス番号の代わりに「U」フラグがセットされているのでステップS15へ進む。ステップS15では、図8に示したように、ノードGのルーティングテーブル3に、宛先アドレスがノードEの「5」、送信元アドレスが自ノードの「4」、次ホップがノードFの「6」であるエントリ1が登録される。ステップS16では、宛先アドレスがノードEの「5」であって、発信元シーケンス番号が自身のシーケンス番号Nseq-gであるRREPがRREP生成部206において生成され、ノードFへ転送される。   Also in the destination node G, in response to the reception of this RREQ, the RREQ reception process of FIG. 5 is activated, and in step S10, the destination is determined to be the own node and the process proceeds to step S13. In step S13, the duplicate address detector 4 determines whether or not it is the first reception from the node E that is the transmission source. In the present embodiment, based on whether or not an entry related to the node E is registered in the routing table 3, it is determined whether or not it is the first reception. Here, since it is determined to be the first reception, the process proceeds to step S14. In step S14, the RREQ analysis unit 201 refers to the destination sequence number registered in the RREQ. Here, since the “U” flag is set instead of the destination sequence number, the process proceeds to step S15. In step S15, as shown in FIG. 8, in the routing table 3 of the node G, the destination address is “5” of the node E, the source address is “4” of the own node, and the next hop is “6” of the node F. Entry 1 is registered. In step S <b> 16, RREP having a destination address “5” of node E and a source sequence number Nseq-g is generated in RREP generation unit 206 and transferred to node F.

ノードFでは、このRREPの受信に応答して図6のRREP受信処理が起動され、ステップS30では、前記RREP解析部202において宛先が判別される。ここでは宛先が自ノード以外なのでステップS31へ進む。ステップS31では、図7(b)に示したように、宛先アドレスがノードGの「4」、次ホップがノードGの「4」、送信元アドレスが今回の宛先であるノードEの「5」であるエントリ2が、ノードFのルーティングテーブル3に追加される。ステップS32では、前記RREPがノードEへ転送される。   In the node F, the RREP reception process of FIG. 6 is started in response to the reception of this RREP. In step S30, the RREP analysis unit 202 determines the destination. Here, since the destination is other than the own node, the process proceeds to step S31. In step S31, as shown in FIG. 7B, the destination address is “4” of the node G, the next hop is “4” of the node G, and the source address is “5” of the node E that is the current destination. Entry 2 is added to the routing table 3 of node F. In step S32, the RREP is transferred to the node E.

ノードEでも、このRREPの受信に応答して図6のRREP受信処理が起動され、ステップS30において宛先が判別される。ここでは自ノード宛と判定されるのでステップS33へ進み、受信したRREPに基づいて、ルーティングテーブル管理部203によってルーティングテーブル3が更新される。ステップS34では、RREPに登録されていたシーケンス番号Nseq-gがノードGの宛先シーケンス番号としてルーティングテーブル3に登録される。   Also in the node E, the RREP reception process of FIG. 6 is activated in response to the reception of this RREP, and the destination is determined in step S30. Here, since it is determined that it is addressed to the own node, the process proceeds to step S33, and the routing table management unit 203 updates the routing table 3 based on the received RREP. In step S34, the sequence number Nseq-g registered in RREP is registered in the routing table 3 as the destination sequence number of the node G.

その後、図3の状態からノードB,Fが移動して、図4に示したように2つのアドホック網が結合されると、ノードEとノードFとを結ぶリンクが切断されているので、ノードEが再びノードGと通信しようとする場合には改めてRREQがブロードキャストされる。   After that, when the nodes B and F move from the state of FIG. 3 and the two ad hoc networks are joined as shown in FIG. 4, the link connecting the node E and the node F is disconnected. When E tries to communicate with node G again, RREQ is broadcast again.

このRREQには、宛先シーケンス番号として前記RREPにより通知されたノードGのシーケンス番号Nseq-gが登録され、それ以外は前記と同様にしてノードB,Fを中継してノードGへ転送されると共に、IPアドレスが同一であるノードDへも、ノードB,F,Cを中継して転送される。   In this RREQ, the sequence number Nseq-g of the node G notified by the RREP is registered as the destination sequence number, and other than that, it is forwarded to the node G via the nodes B and F in the same manner as described above. The node B having the same IP address is also transferred through the nodes B, F, and C.

ノードGでは、このRREQの受信に応答して図5のRRPQ受信処理が起動され、ステップS10では宛先が判別される。ここでは、宛先が自ノードと判定されてステップS13へ進み、ノードEからの初めての受信であるか否かが判定される。ここでは、ノードEに関するエントリがルーティングテーブル3に既登録なので、ステップS15へ進んでルーティングテーブル3が更新される。ステップS16では、前記と同様にRREPが生成されてノードFへ転送される。   In response to the reception of this RREQ, the node G starts the RRPQ reception process of FIG. 5, and the destination is determined in step S10. Here, it is determined that the destination is the own node, the process proceeds to step S13, and it is determined whether or not the destination is the first reception from the node E. Here, since the entry related to the node E is already registered in the routing table 3, the process proceeds to step S15 and the routing table 3 is updated. In step S16, RREP is generated and transferred to node F in the same manner as described above.

一方、ノードDでも、このRREQの受信に応答して図5のRRPQ受信処理が起動され、ステップS10では宛先が判別される。ここでは、宛先が自ノードなのでステップS13へ進み、ノードEからの初めての受信であるか否かが判定される。ノードDはノードEから初めて受信するのでステップS14へ進む。ステップS14では、RREQに登録されている宛先シーケンス番号が参照される。本来であれば、初めての通信相手からのRREQには宛先シーケンス番号の代わりに「U」フラグがセットされているべきであるにもかかわらず、ここでは宛先シーケンス番号Nseq-gが登録されているので、前記重複アドレス検出部4により、同一アドレスのノードが他にも存在していると認識されてステップS18へ進む。ステップS18では、重複アドレス解消部5において、後述する重複アドレス処理が実行され、その後はRREPを返信することなく当該処理を終了する。   On the other hand, also in the node D, the RRPQ reception process of FIG. 5 is activated in response to the reception of this RREQ, and the destination is determined in step S10. Here, since the destination is the own node, the process proceeds to step S13, and it is determined whether or not the reception is the first from the node E. Since node D receives from node E for the first time, it proceeds to step S14. In step S14, the destination sequence number registered in RREQ is referred to. Originally, the destination sequence number Nseq-g is registered here even though the “U” flag should be set instead of the destination sequence number in the RREQ from the first communication partner. Therefore, the duplicate address detector 4 recognizes that there is another node with the same address, and proceeds to step S18. In step S18, the duplicate address resolution unit 5 executes a duplicate address process, which will be described later, and thereafter ends the process without returning RREP.

その後、前記ノードGから返信されたRREPを受信したノードEから、宛先アドレスが「4」のデータパケットを受信したノードFは、自身のルーティングテーブルのエントリ2(図7)に基づいて、このデータパケットをノードGへ転送できる。   Thereafter, the node F that has received the data packet having the destination address “4” from the node E that has received the RREP returned from the node G has received this data based on the entry 2 (FIG. 7) of its own routing table. Packets can be forwarded to node G.

一方、図4のネットワークトポロジにおいて、ノードAからノードDへ改めて送信する場合も、ノードAからノードDへRREQがブロードキャストされる。このRREQには、宛先シーケンス番号としてノードDのシーケンス番号Nseq-dが登録され、それ以外は前記と同様にしてノードB,F,Cを中継してノードDへ転送されると共に、IPアドレスが同一であるGへも、ノードB,Fを中継して転送される。   On the other hand, in the network topology of FIG. 4, RREQ is broadcast from the node A to the node D even when transmitting again from the node A to the node D. In this RREQ, the sequence number Nseq-d of the node D is registered as the destination sequence number. Otherwise, the node B, F, and C are relayed to the node D in the same manner as described above, and the IP address is set. The same G is also relayed through the nodes B and F.

ノードDでは、このRREQの受信に応答して図5のRRPQ受信処理が起動され、ステップS10では宛先が判別される。ここでは、宛先が自ノードと判定されてステップS13へ進み、ノードAからの初めての受信であるか否かが判定される。ここでは、ノードAに関するエントリがルーティングテーブル3に既登録なので、ステップS15へ進んでルーティングテーブル3が更新される。ステップS16では、前記と同様にRREPが生成されてノードFへ転送される。   In node D, the RRPQ reception process of FIG. 5 is activated in response to the reception of this RREQ, and the destination is determined in step S10. Here, it is determined that the destination is the own node, the process proceeds to step S13, and it is determined whether or not this is the first reception from the node A. Here, since the entry related to the node A is already registered in the routing table 3, the process proceeds to step S15 and the routing table 3 is updated. In step S16, RREP is generated and transferred to node F in the same manner as described above.

一方、ノードGでも、このRREQの受信に応答して図5のRRPQ受信処理が起動され、ステップS10では宛先が判別される。ここでは、宛先が自ノードなのでステップS13へ進み、ノードAからの初めての受信であるか否かが判定される。ノードDはノードAから初めて受信するのでステップS14へ進む。ステップS14では、RREQに登録されている宛先シーケンス番号が参照される。本来であれば、初めての通信相手からのRREQには「U」フラグがセットされているべきであるにもかかわらず、ここでは宛先シーケンス番号Nseq-dが登録されているので、前記重複アドレス検出部4により、同一アドレスのノードが他にも存在していると認識されてステップS18へ進む。ステップS18では、重複アドレス解消部5において、後述する重複アドレス処理が実行され、その後はRREPを返信することなく当該処理を終了する。   On the other hand, also in the node G, in response to the reception of this RREQ, the RRPQ reception process of FIG. 5 is activated, and the destination is determined in step S10. Here, since the destination is the own node, the process proceeds to step S13, and it is determined whether or not reception is from the node A for the first time. Since node D receives from node A for the first time, it proceeds to step S14. In step S14, the destination sequence number registered in RREQ is referred to. Originally, although the “U” flag should be set in the RREQ from the first communication partner, the destination sequence number Nseq-d is registered here. The unit 4 recognizes that there is another node with the same address, and proceeds to step S18. In step S18, the duplicate address resolution unit 5 executes a duplicate address process, which will be described later, and thereafter ends the process without returning RREP.

ノードFでは、前記ノードAから転送されたRREPの受信に応答して図6のRREP受信処理が起動され、そのルーティングテーブルには、図7(d)に示したように、宛先アドレスがノードDの「4」、次ホップがノードCの「3」、送信元アドレスがノードAの「1」であるエントリ4が追加登録される。   The node F starts the RREP reception process of FIG. 6 in response to the reception of the RREP transferred from the node A, and the routing table has a destination address of the node D as shown in FIG. "4", the next hop is "3" of the node C, and the entry 4 whose source address is "1" of the node A is additionally registered.

その後、ノードFはノードEからノードG宛に送信されたデータパケットを受信すると、その宛先アドレス「4」と送信元アドレス「5」に基づいて図7(b)のルーティングテーブルが参照され、前記ルーティング部204がエントリ2のルーティング情報に基づいて、当該パケットをIPアドレスが「4」のノードGへ転送する。また、ノードFはノードAからノードD宛に送信されたデータパケットを受信すると、その宛先アドレス「4」と送信元アドレス「1」に基づいて図7(d)のルーティングテーブルを参照し、エントリ4のルーティング情報に基づいて、当該パケットをIPアドレスが「3」のノードCへ転送する。   Thereafter, when the node F receives the data packet transmitted from the node E to the node G, the routing table in FIG. 7B is referred to based on the destination address “4” and the source address “5”, The routing unit 204 transfers the packet to the node G whose IP address is “4” based on the routing information of entry 2. When the node F receives the data packet transmitted from the node A to the node D, the node F refers to the routing table of FIG. 7D based on the destination address “4” and the source address “1”, and Based on the routing information of No. 4, the packet is transferred to the node C whose IP address is “3”.

一方、重複アドレスを検出した前記宛先ノードGでは、重複アドレス解消部5が、従来技術と同様にして、ネットワーク内で重複しない新しいアドレスを決定する。そして、新しいアドレスと重複していたアドレスとが対応付けられた重複解消メッセージを送信元ノード宛に送信する。このメッセージを受信した中継ノードは、受信したメッセージに基づいて、ルーティングテーブル3に登録されているルーティング情報を更新する。このメッセージを受信した送信元ノードでは、前記中継ノードと同様にルーティングテーブルを更新すると共に、送信しようとするパケットのIPヘッダの宛先アドレスを前記新しいアドレスに書き換える。   On the other hand, in the destination node G that has detected the duplicate address, the duplicate address elimination unit 5 determines a new address that does not duplicate in the network, as in the conventional technique. Then, a duplicate elimination message in which the new address is associated with the duplicate address is transmitted to the source node. The relay node that has received this message updates the routing information registered in the routing table 3 based on the received message. The source node that has received this message updates the routing table in the same manner as the relay node and rewrites the destination address in the IP header of the packet to be transmitted to the new address.

本発明に係るネットワーク端末の主要部の構成を示した機能ブロック図である。It is the functional block diagram which showed the structure of the principal part of the network terminal which concerns on this invention. ルーティングテーブルの一例を示した図である。It is the figure which showed an example of the routing table. ネットワークトポロジの変更前の一例を示した図である。It is the figure which showed an example before the change of a network topology. ネットワークトポロジの変更後の一例を示した図である。It is the figure which showed an example after the network topology change. RREQ受信処理のフローチャートである。It is a flowchart of a RREQ reception process. RREP受信処理のフローチャートである。It is a flowchart of a RREP reception process. ノードFのルーティングテーブルを示した図である。FIG. 6 is a diagram showing a routing table of node F. ノードGのルーティングテーブルを示した図である。FIG. 6 is a diagram showing a routing table of node G.

符号の説明Explanation of symbols

1…ネットワークI/F,2…ルーティング制御部,3…ルーティングテーブル,4…重複アドレス検出部,5…重複アドレス解消部   DESCRIPTION OF SYMBOLS 1 ... Network I / F, 2 ... Routing control part, 3 ... Routing table, 4 ... Duplicate address detection part, 5 ... Duplicate address cancellation part

Claims (7)

複数の無線ノードを含み、送信元ノードと宛先ノードとが少なくとも1つの中継ノードを経由してパケット交換を行うアドホックネットワークにおける重複アドレス検出方法において、
宛先ノードが送信元ノードから受信した経路要求メッセージを解析し、その送信元アドレスに基づいて送信元ノードとの通信履歴を判定する手順と、
前記宛先ノードが、前記送信元ノードとの通信履歴が存在しないにもかかわらず前記経路要求メッセージに宛先シーケンス番号が登録されているときに重複アドレスの存在を検出する手順と、
前記宛先ノードが、前記重複アドレスの存在を検出できないときに経路応答メッセージを返信する手順と、
中継ノードが前記経路応答メッセージを受信し、宛先アドレス、送信元アドレスおよび次ホップを含むルーティング情報をルーティングテーブルへ登録する手順と、
前記中継ノードが、前記送信元ノードから宛先ノード宛に送信されたパケットの次ホップを、その宛先アドレスおよび送信元アドレスに基づいて前記ルーティングテーブルから検索する手順とを含むことを特徴とするアドホックネットワークにおける重複アドレス検出方法。
In a duplicate address detection method in an ad hoc network, which includes a plurality of wireless nodes, and a source node and a destination node exchange packets via at least one relay node,
Analyzing the route request message received by the destination node from the source node and determining the communication history with the source node based on the source address;
A procedure for detecting the presence of a duplicate address when a destination sequence number is registered in the route request message even though the destination node has no communication history with the source node;
A procedure for returning a route response message when the destination node cannot detect the presence of the duplicate address;
A procedure in which a relay node receives the route response message and registers routing information including a destination address, a source address, and a next hop in a routing table;
An ad hoc network comprising: a step in which the relay node searches a next hop of a packet transmitted from the source node to a destination node from the routing table based on the destination address and the source address. Duplicate address detection method.
前記送信元ノードは、宛先シーケンス番号が既知の宛先へは当該宛先シーケンス番号を付与し、宛先シーケンス番号が未知の宛先へは所定の識別子を付与した経路要求メッセージを送信し、
前記宛先ノードは、前記送信元ノードとの通信履歴が存在しないにもかかわらず前記経路要求メッセージに前記所定の識別子が付与されていないときに重複アドレスの存在を検出することを特徴とする請求項1に記載のアドホックネットワークにおける重複アドレス検出方法。
The source node transmits a route request message to which a destination sequence number is given to a destination whose destination sequence number is known, and a destination identifier whose destination sequence number is unknown is assigned a predetermined identifier,
The destination node detects the presence of a duplicate address when the predetermined identifier is not given to the route request message even though there is no communication history with the source node. 2. A duplicate address detection method in an ad hoc network according to 1.
前記重複アドレスの存在を検出した宛先ノードが、重複アドレス解消用のデータをネットワーク上に送信する手順を含むことを特徴とする請求項1または2に記載のアドホックネットワークにおける重複アドレス検出方法。 3. The duplicate address detection method in an ad hoc network according to claim 1, wherein the destination node that has detected the presence of the duplicate address includes a procedure of transmitting data for eliminating the duplicate address on the network. アドホックネットワークを構成する各無線ノードに実装される重複アドレス検出装置において、
自ノードを宛先とする経路要求メッセージを解析し、その送信元アドレスに基づいて送信元ノードとの通信履歴の有無を判定する手段と、
前記送信元ノードとの通信履歴が存在しないにもかかわらず前記経路要求メッセージに宛先シーケンス番号が登録されているときに重複アドレスの存在を検出する重複アドレス検出手段と、
前記重複アドレスの存在を検出できないときに経路応答メッセージを返信する手段とを含むことを特徴とするアドホックネットワークにおける重複アドレス検出装置。
In the duplicate address detection device implemented in each wireless node constituting the ad hoc network,
Means for analyzing a route request message destined for the own node and determining the presence or absence of a communication history with the source node based on the source address;
A duplicate address detecting means for detecting the presence of a duplicate address when a destination sequence number is registered in the route request message even though there is no communication history with the source node;
Means for returning a route response message when the presence of the duplicate address cannot be detected, and a duplicate address detection apparatus in an ad hoc network.
前記重複アドレス検出手段は、前記送信元ノードとの通信履歴が存在しないにもかかわらず、前記経路要求メッセージに、宛先シーケンス番号が未知であることを示す所定の識別子が付与されていないときに重複アドレスの存在を検出することを特徴とする請求項4に記載のアドホックネットワークにおける重複アドレス検出装置。 The duplicate address detecting means is duplicated when a predetermined identifier indicating that a destination sequence number is unknown is not given to the route request message even though there is no communication history with the source node. 5. The duplicate address detection apparatus in an ad hoc network according to claim 4, wherein presence of an address is detected. 重複アドレス解消用のデータを送信する重複アドレス解消手段を含むことを特徴とする請求項4または5に記載のアドホックネットワークにおける重複アドレス検出装置。 6. The duplicate address detection apparatus in an ad hoc network according to claim 4, further comprising duplicate address elimination means for transmitting duplicate address elimination data. 経路応答メッセージを受信し、宛先アドレス、送信元アドレスおよび次ホップを含むルーティング情報をルーティングテーブルへ登録する手段と、
他ノード宛のパケットの次ホップを、その宛先アドレスおよび送信元アドレスに基づいて前記ルーティングテーブルから検索する手段と、
前記他ノード宛のパケットを前記検索された次ホップへ転送する手段とを含むことを特徴とする請求項4ないし6のいずれかに記載のアドホックネットワークにおける重複アドレス検出装置。
Means for receiving a route response message and registering routing information including a destination address, a source address and a next hop in a routing table;
Means for retrieving a next hop of a packet addressed to another node from the routing table based on a destination address and a source address;
7. The duplicate address detection apparatus in an ad hoc network according to claim 4, further comprising means for transferring a packet addressed to the other node to the searched next hop.
JP2003292253A 2003-08-12 2003-08-12 Method and device for detecting duplicate address in ad hoc network Pending JP2005064848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003292253A JP2005064848A (en) 2003-08-12 2003-08-12 Method and device for detecting duplicate address in ad hoc network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003292253A JP2005064848A (en) 2003-08-12 2003-08-12 Method and device for detecting duplicate address in ad hoc network

Publications (1)

Publication Number Publication Date
JP2005064848A true JP2005064848A (en) 2005-03-10

Family

ID=34369658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003292253A Pending JP2005064848A (en) 2003-08-12 2003-08-12 Method and device for detecting duplicate address in ad hoc network

Country Status (1)

Country Link
JP (1) JP2005064848A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008539630A (en) * 2005-04-28 2008-11-13 フランス テレコム Routing method and transceiver base station and computer program for executing the method
JP2014082646A (en) * 2012-10-16 2014-05-08 Kyocera Corp Communication apparatus and communication control method
JP2020136887A (en) * 2019-02-19 2020-08-31 東光東芝メーターシステムズ株式会社 Radio network system
CN116074285A (en) * 2022-12-30 2023-05-05 中国联合网络通信集团有限公司 Address conflict detection method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008539630A (en) * 2005-04-28 2008-11-13 フランス テレコム Routing method and transceiver base station and computer program for executing the method
JP4851511B2 (en) * 2005-04-28 2012-01-11 フランス・テレコム Routing method and transceiver base station and computer program for executing the method
JP2014082646A (en) * 2012-10-16 2014-05-08 Kyocera Corp Communication apparatus and communication control method
JP2020136887A (en) * 2019-02-19 2020-08-31 東光東芝メーターシステムズ株式会社 Radio network system
JP7166191B2 (en) 2019-02-19 2022-11-07 東光東芝メーターシステムズ株式会社 wireless network system
CN116074285A (en) * 2022-12-30 2023-05-05 中国联合网络通信集团有限公司 Address conflict detection method and device

Similar Documents

Publication Publication Date Title
US8331262B2 (en) Apparatus and method for setup of optimum route using tree-topology
KR100898681B1 (en) System and method for routing data between different types of nodes in a wireless network
JP4888598B2 (en) Node device and program
KR101256687B1 (en) Apparatus for setting multipath and method thereof
US8134995B2 (en) Mobile ad-hoc network routing based upon hardware address
KR101203463B1 (en) Method and Apparatus for Neighbor Discovery in IPv6-based Mobile System
JP4817131B2 (en) IP network system
US20080247355A1 (en) Duplicate detection method for ad hoc network
JP2006304302A (en) Method and apparatus for transferring frame in extended wireless lan
US10716048B2 (en) Detecting critical links in bluetooth mesh networks
JP2002534842A (en) Unified routing scheme for ad hoc internetworking
JP2002529965A5 (en)
CA2514424A1 (en) Arrangement for establishing a bidirectional tunnel between a mobile router and a correspondent node
US20110013509A1 (en) Network node and method for establishing network path and sending data
WO2015151184A1 (en) Communication system, communication method, relay device, and communication program
WO2001041378A1 (en) Broadcast as a triggering mechanism for route discovery
EP1944924A1 (en) System, method and computer-readable medium for mobile Ad-hoc network routing based upon hardware address (MAC)
JP5034534B2 (en) Communications system
JP2002064546A (en) Packet transfer path retrieval method and method for investigating communication possibility for wireless node with gateway node
EP1941664A1 (en) Address management and routing methods for wireless personal area network (wpan)
JP2005064848A (en) Method and device for detecting duplicate address in ad hoc network
JP2007181056A (en) Path selection method
JP2016015676A (en) Monitoring device, monitoring system, and monitoring method
US20060133387A1 (en) Route tracing in wireless networks
KR100584088B1 (en) Method for route searching of ad hoc network