JP2011193223A - Network connection device - Google Patents

Network connection device Download PDF

Info

Publication number
JP2011193223A
JP2011193223A JP2010057664A JP2010057664A JP2011193223A JP 2011193223 A JP2011193223 A JP 2011193223A JP 2010057664 A JP2010057664 A JP 2010057664A JP 2010057664 A JP2010057664 A JP 2010057664A JP 2011193223 A JP2011193223 A JP 2011193223A
Authority
JP
Japan
Prior art keywords
address
network connection
subnet
connection device
request
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
JP2010057664A
Other languages
Japanese (ja)
Other versions
JP5278358B2 (en
Inventor
Masahito Kobayashi
雅人 小林
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2010057664A priority Critical patent/JP5278358B2/en
Publication of JP2011193223A publication Critical patent/JP2011193223A/en
Application granted granted Critical
Publication of JP5278358B2 publication Critical patent/JP5278358B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the following problem: a terminal in a subnet which does not respond to an ICMP echo request cannot be detected and communication recovery of the terminal is difficult in the conventional network connection device. <P>SOLUTION: The network connection device includes a self-IP address and a subnet mask, and is constituted so as to generate object IP addresses for the respective terminals which can exist in the subnet based on the equipped IP address and the equipped subnet mask, to transmit an ARP request for asking MAC addresses for the respective generated object IP addresses to the subnet, to receive an ARP reply to be transmitted from the subnet, and to check a source IP address and a source MAC address from the received ARP reply. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、バックボ−ンネットワ−クとサブネットとを冗長接続する複数のネットワ−ク接続装置を備えたネットワ−クシステムに関するものであって、特に、サブネット分断時の端末間の通信を速やかに復旧させる機能を備えたネットワ−ク接続装置に関する。   The present invention relates to a network system provided with a plurality of network connection devices for redundantly connecting a backbone network and a subnet, and in particular, promptly recovers communication between terminals when the subnet is divided. The present invention relates to a network connection device having a function of

通信プロトコルとして、IP(Internet Protocol)が広く使われている。IPでは、ル−タと呼ばれる接続装置がサブネット間に接続・設置され、IPのパケットを中継することで、任意のサブネット間、ひいては任意の装置間の通信を可能としている。サブネットにとって、ル−タは外部ネットワ−クへの出入り口であるため、これが故障すると外部ネットワ−クとの接続が絶たれる。信頼性の高いネットワ−クシステムでは、複数のル−タをサブネットに接続・設置して、冗長化する手法がとられている。複数のル−タを備えた冗長化されたサブネットでは、任意の端末装置を外部ネットワ−クにつなぐ際、使用するル−タを選択する必要がある。これには、VRRP(Virtual Router Redundancy Protocol、Internet Engineering Task Force:IETF RFC2338)等の冗長化プロトコルが用いられ、端末装置が中継先となるル−タを選択できるようにしている。   As a communication protocol, IP (Internet Protocol) is widely used. In IP, a connection device called a router is connected and installed between subnets, and relays IP packets to enable communication between arbitrary subnets and thus between arbitrary devices. For the subnet, the router is the gateway to the external network, so if this fails, the connection to the external network is broken. In a highly reliable network system, a method is adopted in which a plurality of routers are connected to and installed in a subnet for redundancy. In a redundant subnet having a plurality of routers, it is necessary to select a router to be used when an arbitrary terminal device is connected to an external network. For this purpose, a redundancy protocol such as VRRP (Virtual Router Redundancy Protocol, Internet Engineering Task Force: IETF RFC2338) is used, and a terminal device can select a router as a relay destination.

しかし、スイッチングハブが故障した場合においては、任意の端末装置から他の端末装置へのARPリクエストパケットが導通不能となり、通信できなくなる。また、任意の端末装置のARPテ−ブルに他の端末装置のエントリが格納されていた場合においても、任意の端末装置が宛先MACアドレスに他の端末装置のMACアドレスを設定し他の端末装置へのパケットを送信するが、スイッチングハブの故障により当該パケットの中継が不可能となり、通信が途絶えてしまう。このようなサブネット分断時では、正常な通信が行えなくなる。対策として、サブネット分断を検知した時に、分断されたサブネット内の全端末装置の現状のIPアドレスとMACアドレスの組合せを学習し(確認・記憶し)、バックボ−ンネットワ−クを経由して分断された広域迂回を構成する反対側のル−タと端末装置の情報を交換し、分断されたサブネット間の通信を復旧する方法が知られている(例えば、特許文献1参照)。   However, when the switching hub fails, the ARP request packet from an arbitrary terminal device to another terminal device cannot be conducted, and communication cannot be performed. Further, even when an entry of another terminal device is stored in the ARP table of an arbitrary terminal device, the arbitrary terminal device sets the MAC address of the other terminal device as the destination MAC address, and the other terminal device The packet is not relayed due to a failure of the switching hub, and communication is interrupted. When such a subnet is divided, normal communication cannot be performed. As a countermeasure, when a subnet break is detected, the combination of the current IP address and MAC address of all terminal devices in the divided subnet is learned (confirmed / stored), and is divided via the backbone network. A method of exchanging information between a router on the opposite side constituting a wide area detour and a terminal device to restore communication between divided subnets is known (for example, see Patent Document 1).

特開2002−232448号公報JP 2002-232448 A

従来のネットワ−ク接続装置では、分断されたサブネット内の全端末装置のIPアドレスとMACアドレスの組合せの学習を、ICMP(Internet Control Message Protocol)のエコ−リクエストをブロ−ドキャストアドレス宛に送信し、ICMPエコ−リプライを受信することによって実施しているため、例えばICMPエコ−リクエストに応答しない端末装置や、ブロ−ドキャストアドレス宛のICMPエコ−リクエストに応答しない端末装置を検出することができないため、それら応答しない端末装置の通信を復旧させることができないという課題がある。   In a conventional network connection device, learning of combinations of IP addresses and MAC addresses of all terminal devices in the divided subnet is sent, and an ICMP (Internet Control Message Protocol) eco-request is transmitted to the broadcast address. For example, a terminal device that does not respond to an ICMP eco-request or a terminal device that does not respond to an ICMP eco-request addressed to a broadcast address can be detected. Therefore, there is a problem that the communication of the terminal device that does not respond cannot be restored.

この発明は上記のような課題を解決し、ICMPエコ−リクエストに応答しない端末装置が存在する場合であっても、これら端末装置の存在を検出し、通信復旧を可能とする装置を得ることを目的とする。   The present invention solves the problems as described above, and obtains a device capable of detecting the presence of these terminal devices and enabling communication recovery even when there are terminal devices that do not respond to the ICMP Eco-Request. Objective.

本発明のネットワ−ク接続装置は、特定のサブネットに接続された他のネットワ−ク接続装置との導通状態を監視し、前記サブネット内の各端末装置が分断されている状態を認識した場合に、前記各端末装置の接続装置情報を収集するよう指示する状態確認部と、前記サブネット上の全端末装置の接続装置情報を収集する接続装置情報収集部とを備えたネットワ−ク接続装置において、前記ネットワ−ク接続装置は、自己のIPアドレスとサブネットマスクを記録したIPアドレス情報部と、前記自己のIPアドレスとサブネットマスクに基づいて前記特定のサブネット内に存在し得る各端末装置用の対象IPアドレスを生成するリクエスト生成部と、このリクエスト生成部で生成した対象IPアドレスのMACアドレスを問うARPリクエストを前記特定のサブネットに送信するリクエスト送信部と、前記特定のサブネットから送信されてくるARPリプライを受信する受信部と、受信したARPリプライからARPリプライに格納されたソ−スIPアドレスならびにソ−スMACアドレスを確認する学習部と、を備えた点を特徴とするものである。   The network connection device of the present invention monitors the continuity with other network connection devices connected to a specific subnet, and recognizes that each terminal device in the subnet is disconnected. A network connection device comprising: a status confirmation unit that instructs to collect connection device information of each terminal device; and a connection device information collection unit that collects connection device information of all terminal devices on the subnet. The network connection device includes: an IP address information section that records its own IP address and subnet mask; and an object for each terminal device that may exist in the specific subnet based on the own IP address and subnet mask. A request generator that generates an IP address, and an ARP request that inquires about the MAC address of the target IP address generated by the request generator. A request transmission unit that transmits a request to the specific subnet, a reception unit that receives an ARP reply transmitted from the specific subnet, a source IP address and a source stored in the ARP reply from the received ARP reply. A learning unit for confirming a MAC address;

上記のように構成されたネットワ−ク接続装置は、自己のIPアドレスとサブネットマスクを記録したIPアドレス情報部と、前記自己のIPアドレスとサブネットマスクに基づいて前記特定のサブネット内に存在し得る各端末装置用の対象IPアドレスを生成するリクエスト生成部と、このリクエスト生成部で生成した対象IPアドレスのMACアドレスを問うARPリクエストを前記特定のサブネットに送信するリクエスト送信部と、前記特定のサブネットから送信されてくるARPリプライを受信する受信部と、受信したARPリプライからARPリプライに格納されたソ−スIPアドレスならびにソ−スMACアドレスを確認する学習部とを備えたので、ICMPエコ−リクエストに応答しない端末装置が存在する場合であっても、これら端末装置の存在を検出し、通信復旧を可能となる。   The network connection apparatus configured as described above may be present in the specific subnet based on the IP address information section in which the own IP address and subnet mask are recorded, and the own IP address and subnet mask. A request generation unit that generates a target IP address for each terminal device, a request transmission unit that transmits an ARP request asking for the MAC address of the target IP address generated by the request generation unit to the specific subnet, and the specific subnet And a learning unit for checking the source IP address and the source MAC address stored in the ARP reply from the received ARP reply. Even if there is a terminal device that does not respond to the request, Detecting the presence of these terminals, it is possible to communicate recovery.

本発明の実施の形態1のネットワ−ク接続装置の構成図である。It is a block diagram of the network connection apparatus of Embodiment 1 of this invention. 本発明の実施の形態1のリクエスト生成部のフロ−チャ−トである。It is a flowchart of the request generation part of Embodiment 1 of this invention. 本発明の実施の形態2のネットワ−ク接続装置の構成図である。It is a block diagram of the network connection apparatus of Embodiment 2 of this invention. 本発明の実施の形態2の探索IPアドレス登録テ−ブルのフォ−マットである。It is a format of the search IP address registration table of Embodiment 2 of this invention. 本発明の実施の形態2のリクエスト生成部のフロ−チャ−トである。It is a flowchart of the request generation part of Embodiment 2 of this invention. 本発明の実施の形態3のリクエスト生成部のフロ−チャ−トである。It is a flowchart of the request generation part of Embodiment 3 of this invention. 本発明の実施の形態4のネットワ−ク接続装置の構成図である。It is a block diagram of the network connection apparatus of Embodiment 4 of this invention. 本発明の実施の形態4の探索IPアドレスマップテ−ブルのフォ−マットである。It is the format of the search IP address map table of Embodiment 4 of this invention. 本発明の実施の形態4のリクエスト生成部のフロ−チャ−トである。It is a flowchart of the request generation part of Embodiment 4 of this invention.

実施の形態1.
以下、図面に基づいて本発明の実施の形態1について詳細に説明する。図1は、この発明の実施の形態1のネットワ−クに接続されたネットワ−ク接続装置の構成図、図2はリクエスト生成部のフロ−チャ−トである。なお、図中の同一符号は、同一または相当部分を示している。
Embodiment 1 FIG.
Hereinafter, Embodiment 1 of the present invention will be described in detail with reference to the drawings. FIG. 1 is a configuration diagram of a network connection apparatus connected to a network according to the first embodiment of the present invention, and FIG. 2 is a flowchart of a request generation unit. In addition, the same code | symbol in a figure has shown the same or an equivalent part.

図1に示すようにネットワ−ク接続装置1000は、バックボ−ンネットワ−ク2000とサブネット3000(特定のサブネット)に接続されている。ネットワ−ク接続装置1000は、サブネット内の図示しない各端末装置が分断されている状態を認識した場合に、自装置(ネットワ−ク接続装置1000)に接続された端末装置の接続装置情報を収集する接続装置情報収集部100と、自装置のIPアドレスM01とサブネットマスクS01を記憶するIPアドレス情報部200と、バックボ−ンネットワ−ク2000およびサブネット3000を介して特定のサブネットに接続された他のネットワ−ク接続装置との導通状態を監視する状態確認部300と、後述詳細に記す特定のサブネット内の各端末装置からのARPリプライを確認し学習できる接続装置情報を記録する記録部400ならびにIPアドレスとMACアドレスを関連付けたARPテ−ブル500から構成されている。なお、状態確認部300と記録部400ならびにARPテ−ブル500は、それぞれ特開2002−232448号公報に記載されたものと同様の機能を有している。   As shown in FIG. 1, a network connection device 1000 is connected to a backbone network 2000 and a subnet 3000 (a specific subnet). When the network connection device 1000 recognizes that each terminal device (not shown) in the subnet is divided, the network connection device 1000 collects connection device information of the terminal device connected to the own device (network connection device 1000). Connected device information collecting unit 100, IP address information unit 200 storing its own device IP address M01 and subnet mask S01, and other networks connected to a specific subnet via backbone network 2000 and subnet 3000 A state confirmation unit 300 that monitors a conduction state with a network connection device, a recording unit 400 that records information on a connection device that can confirm and learn ARP replies from each terminal device in a specific subnet, which will be described in detail later, and an IP It is composed of an ARP table 500 in which addresses and MAC addresses are associated. The state confirmation unit 300, the recording unit 400, and the ARP table 500 have functions similar to those described in Japanese Patent Application Laid-Open No. 2002-232448.

接続装置情報収集部100は、ARPリクエストを生成するリクエスト生成部101と、リクエスト生成部101で生成したARPリクエストを送信するリクエスト送信部102と、サブネットを介して任意の端末装置からARPリクエストまたはARPリプライを受信し、当該受信情報からタ−ゲットプロトコルアドレスを抽出する受信部103と、サブネットから受信したARPリプライからソ−スIPアドレスとソ−スMACアドレスの組合せを学習する学習部104とから構成されている。なお、学習部104の学習結果は記録部400およびARPテ−ブル500に記録される。以下に、特定のサブネット内の各端末装置が分断されている状態を状態確認部300が認識した時の本発明の実施の形態1のネットワ−ク接続装置1000の動作について説明する。   The connected device information collection unit 100 includes a request generation unit 101 that generates an ARP request, a request transmission unit 102 that transmits an ARP request generated by the request generation unit 101, and an ARP request or ARP from any terminal device via a subnet. A receiving unit 103 that receives a reply and extracts a target protocol address from the received information, and a learning unit 104 that learns a combination of a source IP address and a source MAC address from an ARP reply received from a subnet. It is configured. The learning result of the learning unit 104 is recorded in the recording unit 400 and the ARP table 500. The operation of network connection apparatus 1000 according to the first embodiment of the present invention when state confirmation unit 300 recognizes that each terminal apparatus in a specific subnet has been divided will be described below.

図2のリクエスト生成部のフロ−チャ−トに示すように、本発明の実施の形態1のリクエスト生成部101は、IPアドレス情報部200から自己(自装置)のIPアドレスM01とサブネットマスクS01を取得する(ステップF01)。   As shown in the flow chart of the request generation unit in FIG. 2, the request generation unit 101 according to the first embodiment of the present invention receives the IP address M01 and the subnet mask S01 from its own (own device) from the IP address information unit 200. Is acquired (step F01).

取得したIPアドレスM01とサブネットマスクS01のビットAND操作を行うことにより、サブネットのネットワ−クアドレスN01を取り出す。後述詳細に説明するが、この工程は、後にARPリクエストを送信するための対象IPアドレスのベ−スとなる(ステップF02)。   By performing a bit AND operation on the acquired IP address M01 and subnet mask S01, the network address N01 of the subnet is taken out. As will be described in detail later, this step is a base of the target IP address for transmitting an ARP request later (step F02).

サブネットマスクS01のビット反転を行い、1減算して、IPアドレス中のホストアドレスであるホスト部H01を取り出す。なお、ホスト部の最大値は、通常ブロ−ドキャストアドレスとして使用するため、端末装置への付与は行われない。そこで、これを除外するために−1する(ステップF03)。   Bit inversion of the subnet mask S01 is performed, and 1 is subtracted to take out the host part H01 which is the host address in the IP address. Since the maximum value of the host unit is normally used as a broadcast address, it is not assigned to the terminal device. Therefore, in order to exclude this, -1 is set (step F03).

サブネット内で定義できる全てのIPアドレスを取得(生成)させるため、IPアドレス中のホスト部H01を順次変化させ(2進数で1づつ減らす)、ネットワ−クアドレスN01と組合せて対象IPアドレスとするル−プ処理を開始する。ル−プでは、まずホスト部H01が0であるかを確認する(ステップF04)。   In order to acquire (generate) all IP addresses that can be defined within the subnet, the host part H01 in the IP address is sequentially changed (decremented by 1 in binary), and combined with the network address N01 as the target IP address. Start the loop process. In the loop, first, it is confirmed whether or not the host unit H01 is 0 (step F04).

ホスト部H01が0であれば処理を終わらせる(ステップF08)。   If the host unit H01 is 0, the process is terminated (step F08).

ホスト部H01が0でなければ、ネットワ−クアドレスN01とホスト部H01のビットORをとり、ARPリクエストに必要な対象IPアドレスを生成する(ステップF05)。   If the host unit H01 is not 0, the network address N01 and the bit OR of the host unit H01 are taken to generate the target IP address necessary for the ARP request (step F05).

この対象IPアドレスをリクエスト送信部102に渡す(ステップF06)。   This target IP address is passed to the request transmission unit 102 (step F06).

ホスト部H01を1減算して、F04の判定に戻る。なお、このときホスト部H01が0となった場合には、上記ステップF04の判定により処理が終了されるので、ホスト部H01が0のIPアドレスは対象IPアドレスにならない。これは、ブロ−ドキャストアドレスとしてホスト部H01を0として使用する端末装置(IPが使われ始めた初期のワ−クステ−ション等の古いIP装置)に対する対策である(ステップF07)。   The host unit H01 is decremented by 1, and the process returns to the determination of F04. Note that if the host unit H01 becomes 0 at this time, the processing is terminated by the determination in step F04, so that an IP address with the host unit H01 of 0 is not a target IP address. This is a countermeasure against a terminal device (an old IP device such as an early workstation where IP has begun to be used) that uses the host unit H01 as 0 as a broadcast address (step F07).

対象IPアドレスを渡されたリクエスト送信部102は、渡された対象IPアドレスのMACアドレスを問い合わせるARPリクエスト(ブロ−ドキャスト)をサブネット3000に向けて送信する。   The request transmission unit 102 to which the target IP address is passed transmits an ARP request (broadcast) for inquiring about the MAC address of the passed target IP address to the subnet 3000.

対象IPアドレスを持つ端末装置がサブネット3000内に存在すると、該当端末装置は自身のMACアドレスを格納したARPリプライを返送する。受信部103はこれを受信し、学習部104に渡す。学習部104はARPリプライのソ−スIPアドレス、ソ−スMACアドレスを確認し、確認したソ−スIPアドレス、ソ−スMACアドレスを対にして記録部400に記録すると共に、ARPテ−ブル500に記録する。   When a terminal device having the target IP address exists in the subnet 3000, the corresponding terminal device returns an ARP reply storing its own MAC address. The receiving unit 103 receives this and passes it to the learning unit 104. The learning unit 104 confirms the source IP address and source MAC address of the ARP reply, records the confirmed source IP address and source MAC address as a pair in the recording unit 400, and Recorded in Bull 500.

対象となるIPアドレスを持つ端末装置が、接続可能な状態でサブネット内に存在しないと、ARPリプライの返送がない。従って、接続できない対象となるIPアドレスを持つ端末装置のソ−スIPアドレス、ソ−スMACアドレスを学習部104が学習することはなく、記録部400、ARPテ−ブル500に記録することもない。   If the terminal device having the target IP address does not exist in the subnet in a connectable state, the ARP reply is not returned. Therefore, the learning unit 104 does not learn the source IP address and the source MAC address of the terminal device having the IP address that cannot be connected, and may be recorded in the recording unit 400 and the ARP table 500. Absent.

以上説明した通り、本発明の実施の形態1のネットワ−ク接続装置1000は、特定のサブネット3000内に通信可能な状態で存在する、IPを使用する端末装置のソ−スIPアドレスとソ−スMACアドレスを学習することが可能となる。端末装置がICMPエコ−リクエストに応答しない場合であっても、IP通信のためにはARPリクエストには応答する必要があり、端末装置の存在を確実に学習することが可能となる。   As described above, the network connection apparatus 1000 according to the first embodiment of the present invention exists in a state where communication is possible within a specific subnet 3000, and the source IP address and source of the terminal apparatus using IP. The MAC address can be learned. Even when the terminal device does not respond to the ICMP echo-request, it is necessary to respond to the ARP request for IP communication, and the existence of the terminal device can be reliably learned.

実施の形態2.
以下、図面に基づいて本発明の実施の形態2について詳細に説明する。図3は、この発明の実施の形態2のネットワ−ク接続装置の構成図、図4は探索IPアドレス登録テ−ブルのフォ−マット、図5はリクエスト生成部のフロ−チャ−トである。なお、図3ないし図5中において、図1、図2と同一部分ないし相当部分には、同一符号を付与している。
Embodiment 2. FIG.
Hereinafter, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 3 is a block diagram of a network connection apparatus according to the second embodiment of the present invention, FIG. 4 is a format of a search IP address registration table, and FIG. 5 is a flowchart of a request generation unit. . 3 to 5, the same or corresponding parts as those in FIGS. 1 and 2 are denoted by the same reference numerals.

図3に示すように実施の形態2のネットワ−ク接続装置1000は、上記実施形態1のネットワ−ク接続装置1000に探索IPアドレス登録テ−ブル105を備えたものである。図4に示すように探索IPアドレス登録テ−ブル105には、優先して検出したいIPアドレスである探索対象IPアドレス1〜Nが、管理者によって予め登録されている。なお、探索IPアドレス登録テ−ブル105のテ−ブル構造は、名前やIPアドレスといったように同種のデ−タが複数登録されている。それら登録された一つ一つをエントリと呼んでいる。探索IPアドレス登録テ−ブルに探索対象IPアドレス1〜Nを予め設定する方法は、ネットワ−ク接続装置が持つ設定機能を使用して実施されるので、その詳細は省略する。   As shown in FIG. 3, a network connection apparatus 1000 according to the second embodiment includes the search IP address registration table 105 in the network connection apparatus 1000 according to the first embodiment. As shown in FIG. 4, in the search IP address registration table 105, search target IP addresses 1 to N which are IP addresses to be detected with priority are registered in advance by the administrator. In the table structure of the search IP address registration table 105, a plurality of data of the same type such as names and IP addresses are registered. Each of these registered items is called an entry. The method of setting the search target IP addresses 1 to N in advance in the search IP address registration table is performed by using the setting function of the network connection device, and the details thereof are omitted.

リクエスト生成部101は、探索IPアドレス登録テ−ブル105からリクエスト送信部102に渡す探索対象IPアドレスを取得した後、実施の形態1で記したIPアドレス生成手法により対象IPアドレスの生成を行う。以下に本発明の実施の形態2のネットワ−ク接続装置1000の動作について説明する。なお、実施の形態1で記した同様の動作については省略する。   The request generation unit 101 acquires a search target IP address to be passed to the request transmission unit 102 from the search IP address registration table 105, and then generates a target IP address by the IP address generation method described in the first embodiment. The operation of network connection apparatus 1000 according to the second embodiment of the present invention will be described below. Note that similar operations described in Embodiment 1 are omitted.

図5のフロ−チャ−トに示すように、本発明の実施の形態2のリクエスト生成部101は、探索IPアドレス登録テ−ブル105の最初(先頭)に登録されている先頭エントリを探し、次のステップに移る。なお、先頭エントリを探し方は、例えば、テ−ブル構造として先頭エントリから順にいくつのエントリが登録されているかという登録エントリ数を持っている。その上で、ソフトウェアは、先頭エントリから登録エントリ数分だけは登録済みであると判断する(ステップF11)。   As shown in the flowchart of FIG. 5, the request generation unit 101 according to the second embodiment of the present invention searches for the first entry registered at the beginning (first) of the search IP address registration table 105, Move on to the next step. The method of searching for the head entry has, for example, the number of registered entries indicating how many entries are registered in order from the head entry as a table structure. Then, the software determines that registration has been completed for the number of registered entries from the top entry (step F11).

先頭エントリに探索対象IPアドレスが登録されていれば、その探索対象IPアドレスを次のステップに渡す。登録されていなければ、ステップF01へ移る。なお、登録の判断方法としては、例えば、ソフトウェアは登録エントリ数を知っているので、チェック対象のエントリ番号が登録エントリ数以下であれば、対象エントリが存在すると判断する。なお、このステップは、探索IPアドレス登録テ−ブル105に、何も登録されていない場合もあり(ユ−ザが優先して検出したいIPアドレスを設定しない場合)、そのため探索IPアドレス登録テ−ブル105の先頭エントリを見てもエントリが登録されていない場合があるので、これを判断するための工程である(ステップF12)。   If the search target IP address is registered in the first entry, the search target IP address is passed to the next step. If not registered, the process proceeds to step F01. As a method for determining registration, for example, since the software knows the number of registered entries, if the entry number to be checked is equal to or smaller than the number of registered entries, it is determined that the target entry exists. In this step, nothing may be registered in the search IP address registration table 105 (when the user does not set an IP address that the user wants to detect preferentially). This is a process for determining this because there is a case where the entry is not registered even if the head entry of the table 105 is seen (step F12).

ステップF12から得た探索対象IPアドレスを対象IPアドレスとしてリクエスト送信部102に渡し、次のステップに移る(ステップF13)。   The search target IP address obtained from step F12 is passed to the request transmission unit 102 as the target IP address, and the process proceeds to the next step (step F13).

探索IPアドレス登録テ−ブル105の次のエントリを探し、次のエントリがあれば上記ステップF12に戻る。なお、このようにして探索IPアドレス登録テ−ブル105に登録されているすべての探索対象IPアドレス1〜Nについて、リクエスト送信部102に渡した後は、対象エントリがなくなるので、戻ったステップF12からステップF01へと処理が移る。(ステップF14)。   The next entry in the search IP address registration table 105 is searched. If there is a next entry, the process returns to step F12. Since all the search target IP addresses 1 to N registered in the search IP address registration table 105 are passed to the request transmission unit 102 in this way, there are no target entries, and thus the returned step F12 The process moves from step F01 to step F01. (Step F14).

ステップF01〜ステップF08の処理は、実施の形態1に記したリクエスト生成部のフロ−と同一のステップで処理されるので、その説明を省略する。   Since the processing from step F01 to step F08 is performed in the same steps as the flow of the request generation unit described in the first embodiment, the description thereof is omitted.

以上の説明したとおり、本発明の実施の形態2のネットワ−ク接続装置1000は、サブネット内に存在する端末装置を検出するにあたり、ユ−ザが指定する端末装置を優先して検出することができる。したがって、優先しない端末装置に比べて、優先して検出すべき端末装置を早く検出することが可能となる。   As described above, the network connection device 1000 according to the second embodiment of the present invention may preferentially detect the terminal device specified by the user when detecting the terminal device existing in the subnet. it can. Therefore, it is possible to detect a terminal device that should be detected with priority earlier than a terminal device that does not have priority.

実施の形態3.
以下、図面に基づいて本発明の実施の形態3について詳細に説明する。図6は、この発明の実施の形態3のリクエスト生成部のフロ−チャ−トである。なお、図6中において、図1ないし図5と同一部分ないし相当部分には、同一符号を付与している。以下に本発明の実施の形態3のネットワ−ク接続装置の動作について説明する。
Embodiment 3 FIG.
Hereinafter, the third embodiment of the present invention will be described in detail with reference to the drawings. FIG. 6 is a flowchart of the request generation unit according to the third embodiment of the present invention. In FIG. 6, the same or corresponding parts as those in FIGS. 1 to 5 are given the same reference numerals. The operation of the network connection apparatus according to the third embodiment of the present invention is described below.

図6に示すように実施の形態3のネットワ−ク接続装置1000のリクエスト生成部101は、上記実施形態2のネットワ−ク接続装置1000のリクエスト生成部101のステップF05とステップF06の間に新たにステップF15を加えたものであり、その他のステップは上記実施形態2のリクエスト生成部101の各ステップと同じである。   As shown in FIG. 6, the request generation unit 101 of the network connection apparatus 1000 according to the third embodiment is newly executed between step F05 and step F06 of the request generation unit 101 of the network connection apparatus 1000 according to the second embodiment. Step F15 is added, and the other steps are the same as those in the request generation unit 101 of the second embodiment.

リクエスト生成部101は、ステップF05で対象IPアドレスを得た後、対象IPアドレスが探索IPアドレス登録テ−ブル105に登録されているか確認するため、探索IPアドレス登録テ−ブル105を検索する。探索IPアドレス登録テ−ブル105にこの対象IPアドレスが登録されていなければ、対象IPアドレスをステップF06に渡す。一方、探索IPアドレス登録テ−ブル105に登録されているならば、この対象IPアドレスはすでにリクエスト送信部102に渡されているため、この重複を避けるためステップF07に渡す(ステップF15)。   After obtaining the target IP address in step F05, the request generation unit 101 searches the search IP address registration table 105 to confirm whether the target IP address is registered in the search IP address registration table 105. If this target IP address is not registered in the search IP address registration table 105, the target IP address is passed to step F06. On the other hand, if it is registered in the search IP address registration table 105, since this target IP address has already been passed to the request transmission unit 102, it is passed to step F07 to avoid this duplication (step F15).

ステップF15以外の各ステップの処理は、実施の形態2に記したリクエスト生成部101のフロ−と同一のステップで処理されるので、その説明を省略する。   Since the processing of each step other than step F15 is performed in the same steps as the flow of the request generation unit 101 described in the second embodiment, the description thereof is omitted.

以上の説明したとおり、本発明の実施の形態3のネットワ−ク接続装置1000は、対象IPアドレスを重複してARPリクエストに送信しないので、ネットワ−クの帯域を有効利用できると共に、他の端末装置の検出を早くすることができるようになるという格別の効果を有する。   As described above, the network connection apparatus 1000 according to the third embodiment of the present invention does not transmit the target IP address in duplicate to the ARP request, so that the network bandwidth can be effectively used and other terminals can be used. It has a special effect that the device can be detected quickly.

実施の形態4.
以下、図面に基づいて本発明の実施の形態4について詳細に説明する。図7は、この発明の実施の形態3のネットワ−ク接続装置の構成図、図8は探索IPアドレスマップテ−ブルのフォ−マット、図9はリクエスト生成部のフロ−チャ−トである。なお、図7ないし図9中において、図1ないし図6と同一部分ないし相当部分には、同一符号を付与している。
Embodiment 4 FIG.
Hereinafter, the fourth embodiment of the present invention will be described in detail with reference to the drawings. 7 is a block diagram of a network connection apparatus according to the third embodiment of the present invention, FIG. 8 is a format of a search IP address map table, and FIG. 9 is a flow chart of a request generation unit. . 7 to 9, the same or corresponding parts as those in FIGS. 1 to 6 are denoted by the same reference numerals.

サブネットが近距離の複数の場所で分断した場合、分断箇所より遠方にある端末装置から分断箇所に近いネットワ−ク接続装置へのアクセスは困難になる傾向にある。言い換えると、分断箇所に近い端末装置とネットワ−ク接続装置とでは、比較的アクセスできる可能性が高い。   When a subnet is divided at a plurality of short-distance locations, it tends to be difficult to access a network connection device near the division location from a terminal device far from the division location. In other words, there is a high possibility that the terminal device and the network connection device that are close to the parting location can be accessed relatively.

図7に示すように実施の形態3のネットワ−ク接続装置のリクエスト生成部は、上記実施形態2のネットワ−ク接続装置の探索IPアドレス登録テ−ブル105およびリクエスト生成部101のステップ11を、探索IPアドレスマップテ−ブル106およびリクエスト生成部101のステップF16に入れ替えたものであり、その他の構成は上記実施形態2と同じである。   As shown in FIG. 7, the request generation unit of the network connection device of the third embodiment performs the search IP address registration table 105 and the step 11 of the request generation unit 101 of the network connection device of the second embodiment. The search IP address map table 106 and the request generation unit 101 are replaced with step F16, and other configurations are the same as those in the second embodiment.

探索IPアドレスマップテ−ブル106は、サブネット内に存在する端末装置のIPアドレスを、本装置から近い順にあらかじめ登録しておいたテ−ブルである。なお、探索IPアドレスマップテ−ブルに探索対象IPアドレス1〜Nを予め設定する方法は、ネットワ−ク接続装置が持つ設定機能を使用して実施されるので、その詳細は省略する。以下に本発明の実施の形態4のネットワ−ク接続装置1000の動作について説明する。   The search IP address map table 106 is a table in which the IP addresses of the terminal devices existing in the subnet are registered in order from the nearest device. Note that the method of setting the search target IP addresses 1 to N in advance in the search IP address map table is performed by using the setting function of the network connection device, and the details thereof are omitted. The operation of network connection apparatus 1000 according to the fourth embodiment of the present invention will be described below.

リクエスト生成部101は、リクエスト送信部102に渡す対象IPアドレスとして、探索IPアドレスマップテ−ブル106からIPアドレスを取得する。   The request generation unit 101 acquires an IP address from the search IP address map table 106 as a target IP address to be passed to the request transmission unit 102.

図9に示すように実施の形態4のネットワ−ク接続装置のリクエスト生成部101は、探索IPアドレスマップテ−ブル106の先頭エントリを探す(ステップF16)。   As shown in FIG. 9, the request generation unit 101 of the network connection apparatus of the fourth embodiment searches for the head entry of the search IP address map table 106 (step F16).

先頭エントリに探索対象IPアドレスが登録されていれば、ステップF13にその探索対象IPアドレスを渡す。先頭エントリに探索対象IPアドレスが登録されていなければ、ステップF12に移る。   If the search target IP address is registered in the first entry, the search target IP address is passed to step F13. If the search target IP address is not registered in the first entry, the process proceeds to step F12.

ステップF16以外の各ステップの処理は、実施の形態2に記したリクエスト生成部のフロ−と同一のステップで処理されるので、その説明を省略する。   Since the processing of each step other than step F16 is performed in the same step as the flow of the request generation unit described in the second embodiment, the description thereof is omitted.

以上の説明したとおり、本発明の実施の形態4のネットワ−ク接続装置1000は、サブネット内に存在する端末装置を検出するにあたり、アクセスできる可能性の高い端末装置から先に探索し、その結果、復旧可能な端末装置の回復をより速くするという格別の効果を有する。   As described above, the network connection apparatus 1000 according to the fourth embodiment of the present invention searches for a terminal apparatus that has a high possibility of being accessed before detecting a terminal apparatus existing in the subnet, and as a result, This has the special effect of speeding up recovery of the recoverable terminal device.

100 接続装置情報収集部、 101 リクエスト生成部、
102 リクエスト送信部、 103 受信部、
104 学習部、 105 探索IPアドレス登録テ−ブル
106 探索IPアドレスマップテ−ブル、
200 IPアドレス情報部、
300 状態確認部、 1000 ネットワ−ク接続装置、
3000 サブネット
100 connection device information collection unit, 101 request generation unit,
102 request sending unit, 103 receiving unit,
104 learning unit 105 search IP address registration table 106 search IP address map table
200 IP address information section,
300 status confirmation unit, 1000 network connection device,
3000 subnets

Claims (4)

特定のサブネットに接続された他のネットワ−ク接続装置との導通状態を監視し、前記サブネット内の各端末装置が分断されている状態を認識した場合に、前記各端末装置の接続装置情報を収集するよう指示する状態確認部と、
前記サブネット上の全端末装置の接続装置情報を収集する接続装置情報収集部とを備えたネットワ−ク接続装置において、
前記ネットワ−ク接続装置は、自己のIPアドレスとサブネットマスクを記録したIPアドレス情報部と、
前記自己のIPアドレスとサブネットマスクに基づいて前記特定のサブネット内に存在し得る各端末装置用の対象IPアドレスを生成するリクエスト生成部と、
このリクエスト生成部で生成した対象IPアドレスのMACアドレスを問うARPリクエストを前記特定のサブネットに送信するリクエスト送信部と、
前記特定のサブネットから送信されてくるARPリプライを受信する受信部と、
受信したARPリプライからARPリプライに格納されたソ−スIPアドレスならびにソ−スMACアドレスを確認する学習部と、を備えたネットワ−ク接続装置。
When the state of continuity with other network connection devices connected to a specific subnet is monitored and the status of each terminal device in the subnet is recognized, the connection device information of each terminal device is displayed. A status confirmation unit that instructs to collect,
In a network connection device comprising a connection device information collection unit for collecting connection device information of all terminal devices on the subnet,
The network connection device includes an IP address information section that records its own IP address and subnet mask,
A request generating unit that generates a target IP address for each terminal device that may exist in the specific subnet based on the self IP address and a subnet mask;
A request transmission unit that transmits an ARP request asking for the MAC address of the target IP address generated by the request generation unit to the specific subnet;
A receiving unit for receiving an ARP reply transmitted from the specific subnet;
A network connection device comprising: a learning unit for confirming a source IP address and a source MAC address stored in the ARP reply from the received ARP reply.
請求項1に記載のネットワ−ク接続装置であって、
リクエスト生成部が、優先して検出する各端末装置のそれぞれの探索対象IPアドレスを予め登録した探索IPアドレス登録テ−ブルと、
前記探索対象IPアドレスについて優先してARPリクエストを送信するリクエスト送信部と、を備えたことを特徴とするネットワ−ク接続装置。
The network connection device according to claim 1,
A search IP address registration table in which each search target IP address of each terminal device detected by the request generation unit is registered in advance;
A network connection device comprising: a request transmission unit that preferentially transmits an ARP request with respect to the search target IP address.
請求項1に記載のネットワ−ク接続装置であって、
リクエスト生成部が、ネットワ−ク接続装置自体の設置場所から近い順にある端末装置を優先して検出するように探索対象IPアドレスを予め登録した探索IPアドレスマップテ−ブルと、
前記探索対象IPアドレスについて優先してARPリクエストを送信するリクエスト送信部と、を備えたことを特徴とするネットワ−ク接続装置。
The network connection device according to claim 1,
A search IP address map table in which a search target IP address is registered in advance so that the request generation unit preferentially detects terminal devices located in the order from the installation location of the network connection device itself;
A network connection device comprising: a request transmission unit that preferentially transmits an ARP request with respect to the search target IP address.
請求項2または請求項3に記載のネットワ−ク接続装置であって、
リクエスト生成部は、登録された探索対象IPアドレスに対して、対象IPアドレスを生成しないようにしたことを特徴とするネットワ−ク接続装置。
The network connection device according to claim 2 or 3, wherein
The network connection apparatus, wherein the request generation unit is configured not to generate a target IP address for the registered search target IP address.
JP2010057664A 2010-03-15 2010-03-15 Network connection device Active JP5278358B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010057664A JP5278358B2 (en) 2010-03-15 2010-03-15 Network connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010057664A JP5278358B2 (en) 2010-03-15 2010-03-15 Network connection device

Publications (2)

Publication Number Publication Date
JP2011193223A true JP2011193223A (en) 2011-09-29
JP5278358B2 JP5278358B2 (en) 2013-09-04

Family

ID=44797701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010057664A Active JP5278358B2 (en) 2010-03-15 2010-03-15 Network connection device

Country Status (1)

Country Link
JP (1) JP5278358B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013098968A (en) * 2011-11-07 2013-05-20 Brother Ind Ltd Information processing program, information processing apparatus, and method for controlling information processing apparatus
JP2016163200A (en) * 2015-03-03 2016-09-05 三菱電機株式会社 Switching hub in network system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132601A (en) * 2000-10-20 2002-05-10 Ricoh Co Ltd Method for constituting parameter
JP2008252924A (en) * 2008-05-19 2008-10-16 Hitachi Ltd Device, method and program for monitoring network, and recording medium with network monitoring program stored therein
JP2008259238A (en) * 2001-04-24 2008-10-23 Nvidia Corp Gigabit ethernet adapter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132601A (en) * 2000-10-20 2002-05-10 Ricoh Co Ltd Method for constituting parameter
JP2008259238A (en) * 2001-04-24 2008-10-23 Nvidia Corp Gigabit ethernet adapter
JP2008252924A (en) * 2008-05-19 2008-10-16 Hitachi Ltd Device, method and program for monitoring network, and recording medium with network monitoring program stored therein

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013098968A (en) * 2011-11-07 2013-05-20 Brother Ind Ltd Information processing program, information processing apparatus, and method for controlling information processing apparatus
JP2016163200A (en) * 2015-03-03 2016-09-05 三菱電機株式会社 Switching hub in network system

Also Published As

Publication number Publication date
JP5278358B2 (en) 2013-09-04

Similar Documents

Publication Publication Date Title
JP4727537B2 (en) Relay agent device and proxy address lending device
US7388829B2 (en) Method and apparatus for detecting and recovering from faults associated with transport protocol connections across network address translators
EP3694145B1 (en) Method and device for sending messages
JP7176095B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE AND COMMUNICATION SYSTEM
EP1773008A1 (en) Method and system for implementing virtual router redundancy protocol on a resilient packet ring
JP2006129446A (en) Fault tolerant network architecture
JP5419907B2 (en) Network system and communication recovery method
CN103036702B (en) A kind of N+1 backup method of cross-network segment and device
CN112104557B (en) Method and device for detecting link
CN107547550B (en) Authentication method and device
US9246796B2 (en) Transmitting and forwarding data
JP5278358B2 (en) Network connection device
JP2011120083A (en) Method of path switching in multi-home connection environment, router, and program
JP4282648B2 (en) Communication apparatus and access method
CN102868616A (en) Method for establishing virtual MAC (Media Access Control) address table item in network as well as router and system
JP2007515909A (en) How to automatically transfer the router function
CN111835544B (en) Monitoring method and system of virtual router based on user mode protocol stack
JP5310734B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND NETWORK SYSTEM
CN108768798B (en) Equipment access method and device
CN106302248B (en) Neighbor establishing method and device
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
JP6462421B2 (en) Switching hub in network system
JP2012175622A (en) Router in multi-home connection environment, program, and method
JP2006054766A (en) Control data sharing method in redundant configuration network system
CN111526224B (en) Emergency network communication method, gateway and computer readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121127

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130319

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: 20130423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130506

R151 Written notification of patent or utility model registration

Ref document number: 5278358

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250