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

JP4159540B2 - Communication device, IP address setting method of the communication device, and IP address setting program - Google Patents

Communication device, IP address setting method of the communication device, and IP address setting program Download PDF

Info

Publication number
JP4159540B2
JP4159540B2 JP2004343124A JP2004343124A JP4159540B2 JP 4159540 B2 JP4159540 B2 JP 4159540B2 JP 2004343124 A JP2004343124 A JP 2004343124A JP 2004343124 A JP2004343124 A JP 2004343124A JP 4159540 B2 JP4159540 B2 JP 4159540B2
Authority
JP
Japan
Prior art keywords
address
return
network
communication device
storage area
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.)
Expired - Fee Related
Application number
JP2004343124A
Other languages
Japanese (ja)
Other versions
JP2006157309A (en
Inventor
祐次 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica Ltd
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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2004343124A priority Critical patent/JP4159540B2/en
Publication of JP2006157309A publication Critical patent/JP2006157309A/en
Application granted granted Critical
Publication of JP4159540B2 publication Critical patent/JP4159540B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、通信装置、その通信装置のIPアドレス設定方法およびIPアドレス設定プログラムに関し、特にグローバルIPネットワークを介してIPアドレスの設定が可能な通信装置、その通信装置のIPアドレス設定方法およびIPアドレス設定プログラムに関する。   The present invention relates to a communication device, an IP address setting method for the communication device, and an IP address setting program, and in particular, a communication device capable of setting an IP address via a global IP network, an IP address setting method for the communication device, and an IP address. Regarding the setting program.

コンピュータの普及と通信技術の進歩により、コンピュータネットワークが普及し、広く利用されている。一般的に、コンピュータネットワークには、そのネットワークを管理する管理者が存在する。管理者は、稼働しているネットワークシステムを監視し、問題が発生した場合などに、正常に稼働するように適切な処置を施している。近年のコンピュータネットワークの普及に伴って、ネットワークを利用するユーザの数は増加の一途をたどっている。従って、管理者は、ユーザの増加や、新たなネットワークの増加などに対応したネットワークシステムの拡大を行っている。このようなネットワークの拡大に伴って、アドレス割当ての変更が要求される機会も増加している。   With the spread of computers and advances in communication technology, computer networks have become widespread and widely used. In general, a computer network has an administrator who manages the network. The administrator monitors the operating network system and takes appropriate measures to ensure normal operation when a problem occurs. With the spread of computer networks in recent years, the number of users who use networks has been increasing. Therefore, the administrator is expanding the network system corresponding to the increase in users and the increase in new networks. As the network expands, opportunities for changing address assignments are increasing.

従来、管理者は個々のネットワークをそれぞれ独立に管理していた。特に、複数のLAN(ローカルエリアネットワーク)が広域ネットワーク(例えば、インターネット)に接続されているようなネットワークを、少数の管理者で管理する場合には、ネットワークの拡大に伴う管理者の負担が大きかった。近年、インターネットの普及と広域的にネットワークを管理する技術(例えば、SNMP:Simple Network Management Protocol)の登場によって、遠隔監視によるネットワーク管理が実行できるようになってきた(例えば、特許文献1参照)。   Conventionally, an administrator has managed each network independently. In particular, when a network in which a plurality of LANs (local area networks) are connected to a wide area network (for example, the Internet) is managed by a small number of administrators, the burden on the administrator accompanying the expansion of the network is large. It was. In recent years, with the spread of the Internet and the advent of technology for managing networks over a wide area (for example, SNMP: Simple Network Management Protocol), it has become possible to perform network management by remote monitoring (for example, see Patent Document 1).

SNMPなどを利用してネットワーク管理を行う場合、SNMPマネージャを有する管理サーバ(以下、センター側管理装置と呼ぶ。)と、SNMPエージェントを有する管理対象機器(以下、リモート側通信装置と呼ぶ。)との間で情報をやり取りすることでネットワーク管理が実現されている。リモート側通信装置が複数存在し、それぞれのIPアドレスを変更する場合、まず下位側の通信装置のIPアドレスを変更後、上位側の通信装置のIPアドレスをセンター側から変更していた。このとき、IPアドレスの入力間違いやその他の原因で、変更後のIPアドレスで正しくネットワークアクセスができない場合には、管理者は現地に行ってローカルでIPアドレスを確認しなければならなかった。そのため、SNMPを利用しているにもかかわらず、IPアドレスの変更作業に要する時間や費用が増加してしまうという問題があった。   When network management is performed using SNMP or the like, a management server having an SNMP manager (hereinafter referred to as a center side management device) and a management target device having an SNMP agent (hereinafter referred to as a remote side communication device). Network management is realized by exchanging information between the two. When there are a plurality of remote side communication devices and each IP address is changed, the IP address of the lower side communication device is changed first, and then the IP address of the upper side communication device is changed from the center side. At this time, if the network address cannot be correctly accessed with the changed IP address due to an input error of the IP address or other reasons, the administrator has to go to the site and confirm the IP address locally. For this reason, there is a problem that the time and cost required to change the IP address increase even though SNMP is used.

特開2004−032103号公報JP 2004-032103 A

本発明が解決しようとする課題は、センター側から広域ネットワークを介してリモート側のネットワークのアドレス割当てを変更する場合に、変更後のIPアドレスに対して障害が発生する可能性を予測し、適切に対処するネットワーク管理技術を提供することにある。   The problem to be solved by the present invention is to predict the possibility that a failure will occur for the IP address after the change when the address assignment of the network on the remote side is changed from the center side through the wide area network. It is to provide network management technology to cope with the above.

以下に、[発明を実施するための最良の形態]で使用される番号を用いて、課題を解決するための手段を説明する。これらの番号は、[特許請求の範囲]の記載と[発明を実施するための最良の形態]との対応関係を明らかにするために付加されたものである。ただし、それらの番号を、[特許請求の範囲]に記載されている発明の技術的範囲の解釈に用いてはならない。   The means for solving the problem will be described below using the numbers used in [Best Mode for Carrying Out the Invention]. These numbers are added to clarify the correspondence between the description of [Claims] and [Best Mode for Carrying Out the Invention]. However, these numbers should not be used to interpret the technical scope of the invention described in [Claims].

上記課題を解決するために、割当てられるIPアドレス(33b)に基づいてネットワーク通信を制御する通信制御部(33)と、前記IPアドレス(33b)と異なる復帰IPアドレスを記憶する記憶部(35a)と、前記IPアドレス(33b)に対するパケット(S106)の受信を監視し、所定の時間(41b)において前記パケットの受信を検出しないとき、前記IPアドレス(33b)を前記復帰IPアドレス(41d−1〜41d−4)に更新するIPアドレス制御部(35)とを具備する通信装置を構成する。これによって、IPアドレス変更作業が完了した後に、適切にIPアドレスの変更が完了していたら、その通信装置が当然に受信するべきパケットを受信しないことによって、IPアドレス変更作業が不適切に行われたことを自動的に検出する。   In order to solve the above problem, a communication control unit (33) for controlling network communication based on an assigned IP address (33b), and a storage unit (35a) for storing a return IP address different from the IP address (33b) When the reception of the packet (S106) for the IP address (33b) is monitored and the reception of the packet is not detected at a predetermined time (41b), the IP address (33b) is changed to the return IP address (41d-1). To 41d-4), an IP address control unit (35) is configured. As a result, after the IP address change work is completed, if the IP address change is properly completed, the IP address change work is inappropriately performed by not receiving a packet that the communication device should naturally receive. Automatically detected.

その通信装置において、前記記憶部(35a)は、複数の前記復帰IPアドレスを保持する。そして、前記複数の前記復帰IPアドレスは、それぞれ優先度を有するものであり、前記IPアドレス制御部(35)は、前記優先度に基づいて、前記IPアドレス(33b)を前記復帰IPアドレスに更新する。   In the communication device, the storage unit (35a) holds a plurality of the return IP addresses. The plurality of return IP addresses each have a priority, and the IP address control unit (35) updates the IP address (33b) to the return IP address based on the priority. To do.

その通信装置において、前記記憶部(35a)は、前記複数の前記復帰IPアドレスを保持する復帰IPアドレス格納領域(41d−1〜41d−4)と、前記IPアドレスを保持するIPアドレス格納領域(42)とを含むように構成されていることが好ましい。そして、前記IPアドレス制御部(35)は、ネットワーク(10、11、12、13、14)を介して供給されるIPアドレス変更命令を受信し、前記IPアドレス変更命令に応答して、現在IPアドレスを前記復帰IPアドレスとして前記復帰IPアドレス格納領域に格納し、前記ネットワークを介して供給される新たなIPアドレスを前記IPアドレス格納領域に格納する。そのうえで、前記通信制御部(33)は、前記IPアドレス格納領域に保持される前記IPアドレスに基づいて前記ネットワーク通信を制御する。   In the communication device, the storage unit (35a) includes a plurality of return IP address storage areas (41d-1 to 41d-4) that hold the plurality of return IP addresses, and an IP address storage area that holds the IP addresses ( 42). The IP address controller (35) receives an IP address change command supplied via the network (10, 11, 12, 13, 14), and responds to the IP address change command to receive a current IP address. An address is stored as the return IP address in the return IP address storage area, and a new IP address supplied via the network is stored in the IP address storage area. In addition, the communication control unit (33) controls the network communication based on the IP address held in the IP address storage area.

その通信装置において、前記記憶部(35a)は、前記優先度を示す優先度情報を保持する優先度格納領域(41e)を含むように構成されていることが好ましい。そして、前記IPアドレス制御部(35)は、ネットワーク(10、11、12、13、14)を介して送信される前記優先度情報を、前記復帰IPアドレスに関連付けて前記優先度格納領域(41e)に格納する。そのうえで、前記優先度情報に基づいて、前記IPアドレスから前記復帰IPアドレスに更新するときの優先度を特定する   In the communication device, the storage unit (35a) is preferably configured to include a priority storage area (41e) that holds priority information indicating the priority. The IP address control unit (35) associates the priority information transmitted via the network (10, 11, 12, 13, 14) with the return IP address, and stores the priority storage area (41e). ). Then, based on the priority information, the priority when updating from the IP address to the return IP address is specified.

その通信装置において、さらに、タイマカウンタ装置(35b)を具備するように構成されることが好ましい。そして、前記IPアドレス制御部(35)は、前記タイマカウンタ(35b)のカウント値に基づいて前記所定の時間を計測する。さらに、その通信装置において、前記記憶部(35a)は、設定時間格納領域(41b)をさらに備るように構成されることが好ましい。そして、前記IPアドレス制御部(35)は、ネットワーク(11,12,13,14)を介して送信される前記所定の時間の設定値(切替えタイマ値)を前記設定時間格納領域(41b)に格納する。そのうえで、前記IPアドレス制御部(35)は、前記設定値とカウント値に基づいて前記所定の時間を計測する   The communication device is preferably configured to further include a timer counter device (35b). The IP address control unit (35) measures the predetermined time based on the count value of the timer counter (35b). Furthermore, in the communication device, the storage unit (35a) is preferably configured to further include a set time storage area (41b). Then, the IP address control unit (35) stores the set value (switching timer value) of the predetermined time transmitted via the network (11, 12, 13, 14) in the set time storage area (41b). Store. In addition, the IP address control unit (35) measures the predetermined time based on the set value and the count value.

その通信装置において、前記記憶部(35a)は、前記パケットの受信の監視を制御するための監視動作停止フラグ格納領域(41f)を含むように構成されていることが好ましい。そして、前記IPアドレス制御部(35)は、前記監視動作停止フラグ格納領域(41f)に格納される監視動作停止フラグに基づいて前記パケットの受信の監視動作を停止する。   In the communication apparatus, the storage unit (35a) is preferably configured to include a monitoring operation stop flag storage area (41f) for controlling monitoring of the reception of the packet. The IP address control unit (35) stops the monitoring operation of the packet reception based on the monitoring operation stop flag stored in the monitoring operation stop flag storage area (41f).

その通信装置において、前記IPアドレス制御部(35)は、前記IPアドレス(33b)から更新された前記復帰IPアドレスに対応する復帰IPアドレス宛パケットの受信を監視し、所定の時間において前記復帰IPアドレス宛パケットの受信を検出しないとき、前記優先度(41e)に基づいて、前記復帰IPアドレスを他の復帰IPアドレスに更新する。   In the communication apparatus, the IP address control unit (35) monitors reception of a packet destined for the return IP address corresponding to the return IP address updated from the IP address (33b), and the return IP at a predetermined time. When reception of a packet addressed to an address is not detected, the return IP address is updated to another return IP address based on the priority (41e).

その通信装置において、前記IPアドレス制御部(35)は、前記所定の時間において実行する監視動作に対応して、前記IPアドレス(33b)を前記復帰IPアドレスに更新したときに、前記更新された前記復帰IPアドレスを前記ネットワークを介して所定の管理装置の宛てに送信する。   In the communication device, the IP address control unit (35) is updated when the IP address (33b) is updated to the return IP address in response to the monitoring operation executed at the predetermined time. The return IP address is transmitted to a predetermined management apparatus via the network.

また上記課題を解決するために、以下の方法を用いて変更されたIPアドレスの再変更を行う。その方法は、
(a)割当てられるIPアドレスに基づいてネットワーク通信を制御するステップと、
(b)前記IPアドレスと前記IPアドレスと異なる復帰IPアドレスとを読み出すステップと、
(c)前記IPアドレスに対するパケットの受信を監視するステップと、
(d)所定の時間において前記パケットの受信を検出しないとき、前記IPアドレスを前記復帰IPアドレスに更新するステップを具備するIPアドレス復帰方法である。
In order to solve the above problem, the changed IP address is re-changed using the following method. The method is
(A) controlling network communication based on the assigned IP address;
(B) reading the IP address and a return IP address different from the IP address;
(C) monitoring reception of a packet for the IP address;
(D) An IP address return method comprising a step of updating the IP address to the return IP address when reception of the packet is not detected at a predetermined time.

そのIPアドレス復帰方法において、さらに、
(e)予め複数の前記復帰IPアドレスを保持するステップと、
(f)前記複数の前記復帰IPアドレスに、それぞれ優先度(41e)を付与するステップと、
を含む方法であることが好ましい。そして、前記(d)ステップは、前記優先度(41e)に基づいて、前記IPアドレスを前記復帰IPアドレスに更新するステップを具備するIPアドレス復帰方法であることが好ましい。
In the IP address return method,
(E) holding a plurality of the return IP addresses in advance;
(F) giving a priority (41e) to each of the plurality of return IP addresses;
It is preferable that the method includes: The step (d) is preferably an IP address return method including a step of updating the IP address to the return IP address based on the priority (41e).

そのIPアドレス復帰方法において、前記(e)ステップは、ネットワークを介して供給されるIPアドレス変更命令を受信するステップと、前記IPアドレス変更命令に応答して、現在IPアドレスを前記復帰IPアドレスとして復帰IPアドレス格納領域に格納するステップと、前記ネットワークを介して供給される新たなIPアドレスを前記IPアドレス格納領域に格納するステップを具備するIPアドレス復帰方法であることが好ましい。   In the IP address return method, the step (e) includes receiving an IP address change command supplied via a network, and responding to the IP address change command with a current IP address as the return IP address. It is preferable that the IP address return method includes a step of storing in a return IP address storage area and a step of storing a new IP address supplied via the network in the IP address storage area.

そのIPアドレス復帰方法において、前記(f)ステップは、ネットワークを介して送信される優先度情報を、前記復帰IPアドレスに関連付けて優先度格納領域に格納するステップと、前記優先度情報に基づいて、前記IPアドレスから前記復帰IPアドレスに更新するときの優先度(41e)を特定するステップを具備するIPアドレス復帰方法であることが好ましい。   In the IP address return method, the step (f) includes the step of storing priority information transmitted via a network in a priority storage area in association with the return IP address, and based on the priority information. It is preferable that the IP address return method comprises a step of specifying a priority (41e) when updating from the IP address to the return IP address.

そのIPアドレス復帰方法において、前記(d)ステップは、タイマカウンタのカウント値に基づいて前記所定の時間を計測するステップを具備するIPアドレス復帰方法であることが好ましい。さらには、そのIPアドレス復帰方法において、前記(d)ステップは、ネットワークを介して送信され、予め格納された前記所定の時間の設定値を設定時間格納領域から読み出すステップと、前記読み出された前記設定値とカウント値に基づいて前記所定の時間を計測するステップを具備するIPアドレス復帰方法であることが好ましい。   In the IP address restoration method, the step (d) is preferably an IP address restoration method including a step of measuring the predetermined time based on a count value of a timer counter. Furthermore, in the IP address recovery method, the step (d) includes a step of reading out a set value of the predetermined time transmitted in advance from the network and stored in advance from a set time storage area; and It is preferable that the IP address return method includes a step of measuring the predetermined time based on the set value and the count value.

そのIPアドレス復帰方法において、さらに、
(g)予め監視動作停止フラグ格納領域に格納される監視動作停止フラグに基づいて前記パケットの受信の監視動作を停止するステップ
を具備するIPアドレス復帰方法であることが好ましい。そして、そのIPアドレス復帰方法において、前記(d)ステップは、前記IPアドレスから更新された前記復帰IPアドレスに対する復帰IPアドレス宛パケットの受信を監視するステップと、所定の時間において前記復帰IPアドレス宛パケットの受信を検出しないとき、前記優先度(41e)に基づいて、前記復帰IPアドレスを他の復帰IPアドレスに更新するステップを具備するIPアドレス復帰方法であることが好ましい。
In the IP address return method,
(G) It is preferable that the IP address return method includes a step of stopping the monitoring operation of reception of the packet based on the monitoring operation stop flag stored in the monitoring operation stop flag storage area in advance. In the IP address recovery method, the step (d) includes the step of monitoring reception of a packet addressed to the return IP address corresponding to the return IP address updated from the IP address, and addressing the return IP address at a predetermined time. It is preferable that the IP address return method includes a step of updating the return IP address to another return IP address based on the priority (41e) when reception of a packet is not detected.

そのIPアドレス復帰方法において、さらに、
(h)前記所定の時間において実行する監視動作に対応して、前記IPアドレス格納領域に保持されているIPアドレスを前記復帰IPアドレスに更新したときに、前記更新された前記復帰IPアドレスを前記ネットワークを介して所定の管理装置の宛てに送信するステップを具備するIPアドレス復帰方法であることが好ましい。
In the IP address return method,
(H) In response to the monitoring operation executed at the predetermined time, when the IP address held in the IP address storage area is updated to the return IP address, the updated return IP address is It is preferable that the IP address return method includes a step of transmitting to a predetermined management apparatus via a network.

さらに上記課題を解決するために、通信を制御する通信装置を動作させるコンピュータプログラムであって、
(a)割当てられるIPアドレスに基づいてネットワーク通信を制御するステップと、
(b)前記IPアドレスと前記IPアドレスと異なる復帰IPアドレスとを読み出すステップと、
(c)前記IPアドレスに対するパケットの受信を監視するステップと、
(d)所定の時間において前記パケットの受信を検出しないとき、前記IPアドレスを前記復帰IPアドレスに更新するステップ
を具備する方法をコンピュータで実行可能なプログラムを通信装置に搭載する。そしてそのプログラムを実行することで障害が発生した場合に、IPアドレスの再変更を行う。
Furthermore, in order to solve the above-mentioned problem, a computer program for operating a communication device for controlling communication,
(A) controlling network communication based on the assigned IP address;
(B) reading the IP address and a return IP address different from the IP address;
(C) monitoring reception of a packet for the IP address;
(D) When a reception of the packet is not detected at a predetermined time, a computer-executable program including a step of updating the IP address to the return IP address is installed in a communication device. When a failure occurs by executing the program, the IP address is changed again.

そのプログラムにおいて、さらに、
(e)予め複数の前記復帰IPアドレスを保持するステップと、
(f)前記複数の前記復帰IPアドレスに、それぞれ優先度(41e)を付与するステップと、
を含むように構成されることが好ましい。そして、前記(d)ステップは、前記優先度(41e)に基づいて、前記IPアドレスを前記復帰IPアドレスに更新するステップ
を具備する方法をコンピュータで実行可能なプログラムであることが好ましい。
In that program,
(E) holding a plurality of the return IP addresses in advance;
(F) giving a priority (41e) to each of the plurality of return IP addresses;
It is preferable that it is comprised so that it may contain. The step (d) is preferably a computer-executable program that includes a step of updating the IP address to the return IP address based on the priority (41e).

そのプログラムにおいて、前記(e)ステップは、ネットワークを介して供給されるIPアドレス変更命令を受信するステップと、前記IPアドレス変更命令に応答して、現在IPアドレスを前記復帰IPアドレスとして復帰IPアドレス格納領域に格納するステップと、前記ネットワークを介して供給される新たなIPアドレスを前記IPアドレス格納領域に格納するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。   In the program, the step (e) includes a step of receiving an IP address change command supplied via a network, and a return IP address using the current IP address as the return IP address in response to the IP address change command. Preferably, the program is a computer-executable program comprising a step of storing in a storage area and a step of storing a new IP address supplied via the network in the IP address storage area.

そのプログラムにおいて、前記(f)ステップは、ネットワークを介して送信される優先度情報を、前記復帰IPアドレスに関連付けて優先度格納領域に格納するステップと、前記優先度情報に基づいて、前記IPアドレスから前記復帰IPアドレスに更新するときの優先度(41e)を特定するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。   In the program, the step (f) includes the step of storing priority information transmitted via a network in a priority storage area in association with the return IP address, and based on the priority information, the IP It is preferable that the program includes a computer-executable method including a step of specifying a priority (41e) when updating from the address to the return IP address.

そのプログラムにおいて、前記(d)ステップは、タイマカウンタのカウント値に基づいて前記所定の時間を計測するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。そして、そのプログラムにおいて、前記(d)ステップは、ネットワークを介して送信され、予め格納された前記所定の時間の設定値を設定時間格納領域から読み出すステップと、前記読み出された前記設定値とカウント値に基づいて前記所定の時間を計測するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。   In the program, the step (d) is preferably a program capable of executing a method including a step of measuring the predetermined time based on a count value of a timer counter by a computer. In the program, the step (d) includes a step of reading a preset value of the predetermined time transmitted from the network and stored in advance from a preset time storage area; and It is preferable that the program includes a computer-executable method including the step of measuring the predetermined time based on the count value.

そのプログラムにおいて、さらに、
(g)予め監視動作停止フラグ格納領域に格納される監視動作停止フラグに基づいて前記パケットの受信の監視動作を停止するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。そして、そのプログラムにおいて、前記(d)ステップは、前記IPアドレスから更新された前記復帰IPアドレスに対する復帰IPアドレス宛パケットの受信を監視するステップと、所定の時間において前記復帰IPアドレス宛パケットの受信を検出しないとき、前記優先度(41e)に基づいて、前記復帰IPアドレスを他の復帰IPアドレスに更新するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。
In that program,
(G) It is preferable that the program is a computer-executable program that includes a step of stopping the monitoring operation of reception of the packet based on the monitoring operation stop flag stored in the monitoring operation stop flag storage area in advance. In the program, the step (d) includes the step of monitoring reception of a packet addressed to the return IP address corresponding to the return IP address updated from the IP address, and reception of the packet addressed to the return IP address at a predetermined time. Preferably, the program is a computer-executable program that includes a step of updating the return IP address to another return IP address based on the priority (41e).

そのプログラムにおいて、さらに、
(h)前記所定の時間において実行する監視動作に対応して、前記IPアドレス格納領域に保持されているIPアドレスを前記復帰IPアドレスに更新したときに、前記更新された前記復帰IPアドレスを前記ネットワークを介して所定の管理装置の宛てに送信するステップを具備する方法をコンピュータで実行可能なプログラムであることが好ましい。
In that program,
(H) In response to the monitoring operation executed at the predetermined time, when the IP address held in the IP address storage area is updated to the return IP address, the updated return IP address is It is preferable that the program be a computer-executable program that includes the step of transmitting to a predetermined management apparatus via a network.

本発明のよると、センター側から広域ネットワークを介してリモート側のネットワークのアドレス割当てを変更する場合に、変更後のIPアドレスに対して障害が発生する可能性を予測し、適切に対処することができる。   According to the present invention, when changing the address assignment of the remote side network via the wide area network from the center side, it is predicted that a failure may occur with respect to the changed IP address and appropriately dealt with. Can do.

本発明は、IPアドレスの変更作業時に何らかの原因で新規IPアドレスへの変更作業が失敗した場合でも、本装置は変更後に受信するはずの新規IPアドレスを持ったパケットを受信しない状態を検出することで元のIPアドレスに自動的に復帰する。したがって新規IPアドレスへの変更作業が失敗した場合でも、管理者が現地に行くことなく、再度センター側からIPアドレスの変更作業を実施することが可能となる。そのためネットワーク管理に係る時間や費用を抑えることが可能となる。   The present invention detects a state in which a packet having a new IP address that should be received after the change is not received even if the change to the new IP address fails for some reason during the IP address change operation. To automatically return to the original IP address. Therefore, even if the change work to the new IP address fails, the IP address change work can be performed again from the center side without the administrator going to the site. For this reason, it is possible to reduce the time and cost related to network management.

[第1の実施形態の構成]
以下に、図面を参照して本発明を実施するための形態について説明する。図1は、本発明の実施形態におけるネットワークシステムの構成を示すブロック図である。図1に示されているように、本実施形態のネットワークシステムは、グローバルIPネットワーク10と、センター側ローカルIPネットワーク11と、リモート側ローカルIPネットワーク12と、ユーザローカルIPネットワーク13とを含んで構成されている。以下に述べる本発明の実施形態では、グローバルIPネットワーク10がインターネットである場合を例示して説明を行うが、これは、本発明のネットワーク管理がインターネットを介して実行することに制限されるものではない。また、本実施の形態におけるネットワークシステムは、RFC791で規定されているIPv4を使用しているものとするが、本発明は上記IPv4に限定されるものではない。
[Configuration of the first embodiment]
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a network system in an embodiment of the present invention. As shown in FIG. 1, the network system according to the present embodiment includes a global IP network 10, a center-side local IP network 11, a remote-side local IP network 12, and a user local IP network 13. Has been. In the embodiment of the present invention described below, the case where the global IP network 10 is the Internet will be described as an example. However, this is not limited to the network management of the present invention being performed via the Internet. Absent. Moreover, although the network system in this Embodiment uses IPv4 prescribed | regulated by RFC791, this invention is not limited to the said IPv4.

センター側ローカルIPネットワーク11は、管理対象の装置(以下。リモート側通信装置と呼ぶ。)を管理する管理装置1を有するネットワークである。センター側ローカルIPネットワーク11には、管理用のローカルIPアドレスが割当てられている。センター側ローカルIPネットワーク11に備えられた管理装置1は、グローバルIPネットワーク10を介して管理対象装置の管理(以下、ネットワーク管理と呼ぶ。)を実行するための機能を備えているコンピュータである。以下の実施形態における管理装置1は、その機能としてSNMP(SNMP:Simple Network Management Protocol)を利用してネットワーク管理を実行しているものとする。従って管理装置1は、SNMPマネージャを使用して、複数のリモート側通信装置3に備えられているSNMPエージェントと情報通信を行うことで、ネットワーク管理(アドレスの変更など)を実行している。   The center-side local IP network 11 is a network having a management device 1 that manages devices to be managed (hereinafter referred to as remote-side communication devices). A local IP address for management is assigned to the center-side local IP network 11. The management device 1 provided in the center-side local IP network 11 is a computer having a function for executing management of managed devices (hereinafter referred to as network management) via the global IP network 10. It is assumed that the management device 1 in the following embodiment performs network management using SNMP (SNMP: Simple Network Management Protocol) as its function. Therefore, the management apparatus 1 performs network management (address change or the like) by performing information communication with the SNMP agent provided in the plurality of remote communication apparatuses 3 using the SNMP manager.

図1に示されているように、グローバルIPネットワーク10とセンター側ローカルIPネットワーク11とは、ルータ2を介して接続されている。ルータ2は、複数のネットワーク同士を接続する装置(ソフトウェア)である。図1に示されているルータ2は、ネットワーク上でデータを送信先へ届ける経路の中で、最適な経路を見つける機能を有している。また、ルータ2は、NAT(Network Address Translation)等の機能を備えている。したがって、ルータ2はグローバルIPネットワーク10のグローバルアドレスとプライベートアドレスとを相互に変換することができる。そのため、ルータ2は、1つのIPアドレスを複数の端末で共有させることが可能である。また、ルータ2は、複数のプロトコルを相互に変換し、データの受け渡しが円滑に行われるように制御する機能を有していることが好ましい。   As shown in FIG. 1, the global IP network 10 and the center-side local IP network 11 are connected via a router 2. The router 2 is a device (software) that connects a plurality of networks. The router 2 shown in FIG. 1 has a function of finding an optimum route among routes for delivering data to a transmission destination on the network. The router 2 has a function such as NAT (Network Address Translation). Therefore, the router 2 can convert the global address and private address of the global IP network 10 to each other. Therefore, the router 2 can share one IP address among a plurality of terminals. In addition, the router 2 preferably has a function of converting a plurality of protocols to each other and controlling the data exchange smoothly.

リモート側ローカルIPネットワーク12は、管理装置1によって管理される管理対象の装置(リモート側通信装置)を備えるネットワークである。通信装置3にはリモートIPアドレスが割当てられている。リモートIPアドレスは、管理装置1からの命令に対応して書き換え可能なIPアドレスである。リモート側ローカルIPネットワーク12内に備えられたリモート側通信装置3は、自身に割当てられたリモートIPアドレスに基づいて送受信されるパケットの処理を実行することで、リモート側ローカルIPネットワーク12を構築している。   The remote local IP network 12 is a network including devices to be managed (remote communication devices) managed by the management device 1. A remote IP address is assigned to the communication device 3. The remote IP address is an IP address that can be rewritten in response to a command from the management apparatus 1. The remote-side communication device 3 provided in the remote-side local IP network 12 constructs the remote-side local IP network 12 by executing processing of packets transmitted and received based on the remote IP address assigned to itself. ing.

リモート側ローカルIPネットワーク12に備えられている通信装置3は、同じネットワーク内に備えられている通信子機4との間で通信路を確立する装置である。そして、通信装置3は、その通信路とリモート側通信装置3の上流(管理装置方向)側ネットワークとの通信経路の確保を行っている。本実施の形態において、図1に示されているリモート側通信装置3と通信子機4との実質的な相違は存在しない。本実施の形態の通信装置3は、例えば、xDSL通信を利用したブロードバンドにおけるアクセスポイント側に備えられたxDSL集合モデムに対応する。また、通信子機4は、上述のxDSL通信を利用したブロードバンドを例にすると、下流側ネットワークに備えられた単体モデムに対応する。   The communication device 3 provided in the remote local IP network 12 is a device that establishes a communication path with the communication slave device 4 provided in the same network. The communication device 3 secures a communication path between the communication path and the upstream side network (to the management apparatus) of the remote side communication apparatus 3. In the present embodiment, there is no substantial difference between the remote communication device 3 and the communication slave device 4 shown in FIG. The communication apparatus 3 according to the present embodiment corresponds to, for example, an xDSL collective modem provided on the access point side in broadband using xDSL communication. Moreover, the communication subunit | mobile_unit 4 respond | corresponds to the single modem with which the downstream network was equipped, if the broadband using the above-mentioned xDSL communication is made into an example.

ユーザローカルIPネットワーク13は、ユーザ設定のローカルIPアドレスを割当てられているネットワークである。図1を参照すると、ユーザローカルIPネットワーク13は、リモート側ローカルIPネットワーク12内に設置されたルータ2に接続されている。図1に示されているように、ユーザローカルIPネットワーク13はパーソナルコンピュータ5を備えている。パーソナルコンピュータ5は、そのルータ2を介してグローバルIPネットワーク10に接続する所定のノードと通信を確立する。   The user local IP network 13 is a network to which a user-set local IP address is assigned. Referring to FIG. 1, a user local IP network 13 is connected to a router 2 installed in a remote local IP network 12. As shown in FIG. 1, the user local IP network 13 includes a personal computer 5. The personal computer 5 establishes communication with a predetermined node connected to the global IP network 10 via the router 2.

図2は、本実施の形態の通信装置3の構成を示すブロック図である。図2を参照すると、通信装置3はGigaEthernetインターフェース31と、MAC層処理部32と、IP層処理部33と、上位層処理部34と、IPアドレス制御部35と、コンソールインターフェース36と、複数の下流側マック層処理部(37−1〜37−n:nは任意の自然数)と、複数のVDSLインターフェース(38−1〜38−n)とを含んで構成されている。本実施の形態の通信装置3は、VDSLインターフェース(38−1〜38−n)を使用して通信子機4との通信路を確立しているが、これは、本発明の通信装置3が、VDSLのみに対応して通信を行うことを意味するものではない。   FIG. 2 is a block diagram illustrating a configuration of the communication device 3 according to the present embodiment. Referring to FIG. 2, the communication device 3 includes a Giga Ethernet interface 31, a MAC layer processing unit 32, an IP layer processing unit 33, an upper layer processing unit 34, an IP address control unit 35, a console interface 36, a plurality of A downstream Mac layer processing unit (37-1 to 37-n: n is an arbitrary natural number) and a plurality of VDSL interfaces (38-1 to 38-n) are configured. The communication device 3 according to the present embodiment establishes a communication path with the communication slave unit 4 using the VDSL interface (38-1 to 38-n). It does not mean that communication is performed only in correspondence with VDSL.

図2を参照すると、GigaEthernetインターフェース31は、図1のルータ2に接続される接続インターフェースである。ここで図2には示されていないが、ルータ2にはGigaEthernetインターフェース31に対応するインターフェースを備えているものとする。GigaEthernetインターフェース31は、ルータ2から供給されるパケットを受け取りMAC層処理部32出力する。   Referring to FIG. 2, the GigaEthernet interface 31 is a connection interface connected to the router 2 of FIG. Here, although not shown in FIG. 2, it is assumed that the router 2 includes an interface corresponding to the Giga Ethernet interface 31. The GigaEthernet interface 31 receives the packet supplied from the router 2 and outputs it to the MAC layer processing unit 32.

MAC層処理部32は、GigaEthernetインターフェース31から出力されたパケットのMACアドレスに基づいて、そのパケットの処理を実行する情報処理部である。図2に示されているように、MAC層処理部32はIP層処理部33に接続されている。MAC層処理部32は、GigaEthernetインターフェース31から出力されたパケットのMACアドレスが、通信装置3が有するMACアドレスであれば、そのパケットをIP層処理部33に渡す。そのMACアドレスが、通信装置3が有するMACアドレスと異なる場合、そのパケットを廃棄する処理を行う。   The MAC layer processing unit 32 is an information processing unit that performs processing of a packet based on the MAC address of the packet output from the GigaEthernet interface 31. As shown in FIG. 2, the MAC layer processing unit 32 is connected to the IP layer processing unit 33. If the MAC address of the packet output from the GigaEthernet interface 31 is the MAC address of the communication device 3, the MAC layer processing unit 32 passes the packet to the IP layer processing unit 33. When the MAC address is different from the MAC address possessed by the communication device 3, processing for discarding the packet is performed.

IP層処理部33は、MAC層処理部32から出力されたパケットのIPアドレスに基づいてパケット処理を実行する情報処理部である。図2に示されているように、IP層処理部33は、上位層処理部34と、IPアドレス制御部35と、複数の下流側MAC層処理部(37−1〜37−n)とに接続されている。IP層処理部33は、通信装置3宛のIPアドレスを持つパケットを上位層処理部34に渡し、通信装置3宛のIPアドレスそは異なるIPアドレスを持つパケットをルーティングテーブル33aに従って決定された出力インタフェースに送出する処理を行う。IP層処理部33に備えられたルーティングテーブル33aは、IP層処理部33が、受信パケットのIPアドレスに基づいて出力先インタフェースを決定する場合に参照するルーティングテーブルである。   The IP layer processing unit 33 is an information processing unit that executes packet processing based on the IP address of the packet output from the MAC layer processing unit 32. As shown in FIG. 2, the IP layer processing unit 33 includes an upper layer processing unit 34, an IP address control unit 35, and a plurality of downstream MAC layer processing units (37-1 to 37-n). It is connected. The IP layer processing unit 33 passes a packet having an IP address addressed to the communication device 3 to the upper layer processing unit 34, and outputs an IP address addressed to the communication device 3 or a packet having a different IP address determined according to the routing table 33a. Process to send to the interface. The routing table 33a provided in the IP layer processing unit 33 is a routing table that is referred to when the IP layer processing unit 33 determines an output destination interface based on the IP address of the received packet.

上位層処理部34は、IP層処理部33から出力された通信装置3宛のパケットの終端処理を実行する情報処理部である。図2に示されているように、上位層処理部34は、IPアドレス制御部35に接続されている。複数のVDSLインターフェース(38−1〜38−n)は、リモート側ローカルIPネットワーク12に備えられた通信子機4のいずれかと接続され、VDSL回線上の信号の送受信を行う通信インターフェースである。複数の下流側MAC層処理部(37−1〜37−n)は、前述のVDSLインタフェースから出力されたパケットの処理を行う情報処理部である。図2に示されているように、下流側MAC層処理部(37−1〜37−n)は、複数のVDSLインターフェース(38−1〜38−n)に一対一に構成されている。   The upper layer processing unit 34 is an information processing unit that performs termination processing for packets output from the IP layer processing unit 33 and addressed to the communication device 3. As shown in FIG. 2, the upper layer processing unit 34 is connected to the IP address control unit 35. The plurality of VDSL interfaces (38-1 to 38-n) are communication interfaces that are connected to any of the communication slave units 4 provided in the remote local IP network 12 and transmit / receive signals on the VDSL line. The plurality of downstream MAC layer processing units (37-1 to 37-n) are information processing units that process packets output from the VDSL interface. As shown in FIG. 2, the downstream MAC layer processing units (37-1 to 37-n) are configured in a one-to-one relationship with the plurality of VDSL interfaces (38-1 to 38-n).

IPアドレス制御部35は、本発明のIPアドレス処理を実行する制御装置である。IPアドレス制御部35は、マイクロプロセッサ等の情報処理装置と、RAM(Random Access Memory)等の作業領域とを備えている。図2に示されているように、IPアドレス制御部35は、上記の作業領域とは別に、本発明の動作を実行するための情報を保持する記憶部35aを備えている。IPアドレス制御部35は、記憶部35aに保持されている情報に基づいてIPアドレスの設定に関する処理を実行する。IPアドレス制御部35の詳細な動作に関しては後述する。   The IP address control unit 35 is a control device that executes the IP address processing of the present invention. The IP address control unit 35 includes an information processing device such as a microprocessor and a work area such as a RAM (Random Access Memory). As shown in FIG. 2, the IP address control unit 35 includes a storage unit 35 a that holds information for executing the operation of the present invention, separately from the above work area. The IP address control unit 35 executes processing related to setting of the IP address based on the information held in the storage unit 35a. The detailed operation of the IP address control unit 35 will be described later.

コンソールインターフェース36は、ユーザがコンソール用端末を接続するためのインターフェースである。図2に示されているように、コンソールインターフェース36は、IPアドレス制御部35に接続されている。コンソールインターフェース36は、パーソナルコンピュータなどの入出力装置(図示されず)に接続されていることが好ましい。そして、コンソールインターフェース36は、その入出力装置から供給される命令をIPアドレス制御部35に対して出力する。また、コンソールインターフェース36はIPアドレス制御部35から出力される情報を入出力装置に供給する。   The console interface 36 is an interface for a user to connect a console terminal. As shown in FIG. 2, the console interface 36 is connected to the IP address control unit 35. The console interface 36 is preferably connected to an input / output device (not shown) such as a personal computer. Then, the console interface 36 outputs a command supplied from the input / output device to the IP address control unit 35. The console interface 36 supplies information output from the IP address control unit 35 to the input / output device.

図3は、管理装置1の構成を示すブロック図である。図3を参照すると、管理装置1は、CPU21と、メモリ22と、大容量記憶装置23と、通信部24と、出力部25と、入力部26とを含んで構成されている。図3に示されているように、それらはバス27を介して互いに接続されている。   FIG. 3 is a block diagram illustrating a configuration of the management apparatus 1. Referring to FIG. 3, the management device 1 includes a CPU 21, a memory 22, a mass storage device 23, a communication unit 24, an output unit 25, and an input unit 26. As shown in FIG. 3, they are connected to each other via a bus 27.

CPU21は、管理装置1に備えられた各種装置の制御や、管理装置1に供給されるデータの処理を実行する中央演算処理装置である。CPU21は、管理装置1がルータ2または通信装置3のIPアドレスの設定に関する処理を実行するときに、所定のプログラムを読み込む。そして、CPU21は、そのプログラムに基づいて、ネットワークを介してIPアドレス設定に関する処理を実行する。   The CPU 21 is a central processing unit that executes control of various devices provided in the management device 1 and processing of data supplied to the management device 1. The CPU 21 reads a predetermined program when the management device 1 executes processing related to setting of the IP address of the router 2 or the communication device 3. And CPU21 performs the process regarding an IP address setting via a network based on the program.

メモリ22は、電気的にデータを記憶する記憶媒体である。メモリ22は、CPU21が所定の情報処理を実行するときの作業領域として用いられる。メモリ22は、半導体記憶装置で構成されていることが好ましく、より好ましくは高速にデータの読み出し/書き込みをおこなえるRAM(Random Access Memory)で構成されていることが好ましい。   The memory 22 is a storage medium that electrically stores data. The memory 22 is used as a work area when the CPU 21 executes predetermined information processing. The memory 22 is preferably composed of a semiconductor memory device, more preferably a RAM (Random Access Memory) that can read / write data at high speed.

大容量記憶装置23は、電気的または磁気的に情報を記憶する記憶媒体である。大容量記憶装置23は、不揮発的に情報を保持する記憶媒体で構成されていることが好ましい。本実施の形態の大容量記憶装置23は、ハードディスクドライブで構成されているものとする。大容量記憶装置23には、管理装置1がネットワークを介して、複数のルータ2および複数の通信装置3のIPアドレス等の設定を行うとき使用されるソフトウェアを格納されている。図3に示されているように、大容量記憶装置23は、SNMPマネージャ23aを備えている。管理装置1は、SNMPマネージャ23aを読み込み、通信部24を介して所望のルータ2または通信装置3に接続し、そのルータ2または通信装置3と通信を行う。出力部25は、CPU21が実行した情報処理結果を所定の出力装置に出力する情報出力機能ブロックである。図3に示されている出力部25は、図示されていない表示装置など、所定の情報を表示する装置にせつぞくされている。入力部26は、管理装置1に供給される命令を受け取り、所定の機能ブロックに出力するインターフェースである。入力部26は、図示されていない入力装置(例えば、キーボードなど)から供給される命令を受け取り、管理装置1の内部で処理できる形式に変換した後、バス27を介して所定の機能ブロック(例えばCPU21など)に出力する。   The mass storage device 23 is a storage medium that stores information electrically or magnetically. The mass storage device 23 is preferably composed of a storage medium that holds information in a nonvolatile manner. The mass storage device 23 of the present embodiment is assumed to be composed of a hard disk drive. The mass storage device 23 stores software used when the management device 1 sets the IP addresses and the like of the plurality of routers 2 and the plurality of communication devices 3 via the network. As shown in FIG. 3, the mass storage device 23 includes an SNMP manager 23a. The management device 1 reads the SNMP manager 23a, connects to the desired router 2 or communication device 3 via the communication unit 24, and communicates with the router 2 or communication device 3. The output unit 25 is an information output function block that outputs an information processing result executed by the CPU 21 to a predetermined output device. The output unit 25 shown in FIG. 3 is provided in a device that displays predetermined information, such as a display device (not shown). The input unit 26 is an interface that receives a command supplied to the management device 1 and outputs the command to a predetermined functional block. The input unit 26 receives a command supplied from an input device (not shown) (for example, a keyboard), converts the command into a format that can be processed inside the management device 1, and then transmits a predetermined functional block (for example, the bus 27). CPU21 etc.).

図4は、前述の記憶部35aに保持されるIPアドレス設定テーブル40の構成を示す図である。図4を参照すると、IPアドレス設定テーブル40は、ユーザ設定項目41と、設定値42との二つの領域を有し、各領域に対応してIPアドレス変更に関する設定データを保持している。図4に示されているように、項目41は、自動IPアドレス切替えフラグ41a〜切替え結果通知フラグ41hに対応する各データを保持している。   FIG. 4 is a diagram showing a configuration of the IP address setting table 40 held in the storage unit 35a. Referring to FIG. 4, the IP address setting table 40 has two areas of a user setting item 41 and a setting value 42, and holds setting data relating to the IP address change corresponding to each area. As shown in FIG. 4, the item 41 holds data corresponding to the automatic IP address switching flag 41a to the switching result notification flag 41h.

自動IPアドレス切替えフラグ41aは、後述するIPアドレス変更動作における、自動切り替えを実行するかどうか判定に使用されるデータを保持する領域である。自動IPアドレス切替えフラグ41a対応する設定値42が有効の場合、IPアドレス変更動作時の自動切り替え処理が実行される。切り替えタイマ値41bは、上述の自動切り替えを実行するまでの時間に関する設定データを保持する領域である。通信装置3は、切り替えタイマ値41bに対応する設定値42に基づいて、自動切り替えを実行するまでの時間を特定する。通信装置3は、IPアドレス変更後、その時間が経過したときに、所定の条件を満たす場合には、IPアドレスの自動切り替えを実行する。   The automatic IP address switching flag 41a is an area for holding data used for determining whether or not to perform automatic switching in an IP address changing operation described later. When the setting value 42 corresponding to the automatic IP address switching flag 41a is valid, automatic switching processing at the time of the IP address changing operation is executed. The switching timer value 41b is an area for holding setting data relating to the time until the above-described automatic switching is executed. The communication device 3 specifies the time until automatic switching is performed based on the setting value 42 corresponding to the switching timer value 41b. When the time elapses after the IP address is changed, the communication device 3 automatically switches the IP address when a predetermined condition is satisfied.

復帰IPアドレス登録数41cは、後述する復帰IPアドレスの登録数を保持する領域である。復帰IPアドレス登録数41cに対応する設定値42に設定される値に対応して、IPアドレス設定テーブル40には、複数の復帰IPアドレス(41d−1〜41d−4)が登録される。なお、図4には、本発明の理解を容易にするために、最大登録数を4としているが、これは本発明における復帰IPアドレス登録数41cを制限するものではない。第1復帰IPアドレス41d−1〜第4復帰IPアドレス41d−4は、IPアドレスの変更が実行された後、所定の時間経過したときであっても一定の条件を満たさないときに、自動的に切り替えるIPアドレスを保持する領域である。図4に示されているように、IPアドレス設定テーブル40は復帰IPアドレスとして、復帰IPアドレス登録数41cに設定された数のIPアドレスを保持している。   The number of return IP address registrations 41c is an area for holding the number of return IP address registrations to be described later. A plurality of return IP addresses (41d-1 to 41d-4) are registered in the IP address setting table 40 in correspondence with the value set in the set value 42 corresponding to the return IP address registration number 41c. In FIG. 4, the maximum number of registrations is set to 4 in order to facilitate understanding of the present invention, but this does not limit the return IP address registration number 41c in the present invention. The first return IP address 41d-1 to the fourth return IP address 41d-4 are automatically set when a predetermined condition is not satisfied even after a predetermined time has elapsed after the change of the IP address. This is an area for holding an IP address to be switched to. As shown in FIG. 4, the IP address setting table 40 holds the number of IP addresses set in the return IP address registration number 41c as the return IP address.

優先度41eは、現在のIPアドレスを復帰IPアドレスに更新するときの優先度に関する情報を保持する領域である。通信装置3は、復帰IPアドレスとして複数の異なるIPアドレスが設定されている場合、その優先度41eに基づいて択一的にIPアドレスを選択する。通信装置3は、現在のIPアドレスを選択したIPアドレスに更新することで、IPアドレスの自動切り替えを実行する。   The priority 41e is an area for holding information on the priority when updating the current IP address to the return IP address. When a plurality of different IP addresses are set as the return IP address, the communication device 3 alternatively selects an IP address based on the priority 41e. The communication device 3 executes the automatic switching of the IP address by updating the current IP address to the selected IP address.

再切替えフラグ41fは、複数の復帰IPアドレスが登録される場合に、IPアドレス自動切り替えが実行された後、再度所定の時間経過したとき、さらに他の復帰IPアドレスに切り替えるかを判定するため情報を格納する領域である。具体的には、例えば、図4に示されているように、現在のIPアドレスを第1復帰IPアドレス41d−1に更新した後に、一定の条件を満たす場合、通信装置3は、その第1復帰IPアドレス41d−1の次に優先順位の高いIPアドレス(例えば、第2復帰IPアドレス41d−2)を抽出し、そのIPアドレスへ更新を行う。   The re-switching flag 41f is information for determining whether to switch to another return IP address when a predetermined time elapses again after automatic IP address switching is performed when a plurality of return IP addresses are registered. Is an area for storing Specifically, for example, as shown in FIG. 4, when a certain condition is satisfied after the current IP address is updated to the first return IP address 41d-1, the communication device 3 The IP address with the second highest priority (for example, the second return IP address 41d-2) is extracted after the return IP address 41d-1, and the IP address is updated.

切替え結果通知先IPアドレス41gは、通信装置3がIPアドレスの自動切り替えを実行しことを通知する通知先に関する情報を保持する領域である。本実施の形態において、その通知先が管理装置1であることを前程に説明を行うが、これは、本発明における通知先を限定するものではない。切替え結果通知フラグ41hは、前述の切替え結果通知先IPアドレス41gに対応する設定値42にIPアドレスが設定されている場合に、実際に通知を行うかどうかの判定にしようされる情報を保持する領域である。通信装置3は、切替え結果通知フラグ41hに対応する設定値42に、有効フラグが立てられているとき、その通知先IPアドレスにIPアドレスの自動切り替えが実行されたことを通知する。   The switching result notification destination IP address 41g is an area for holding information on a notification destination that notifies that the communication device 3 executes automatic IP address switching. In the present embodiment, it will be explained in advance that the notification destination is the management apparatus 1, but this does not limit the notification destination in the present invention. The switching result notification flag 41h holds information used to determine whether or not to actually perform notification when an IP address is set in the setting value 42 corresponding to the above-described switching result notification destination IP address 41g. It is an area. When the valid flag is set in the setting value 42 corresponding to the switching result notification flag 41h, the communication device 3 notifies the notification destination IP address that automatic IP address switching has been executed.

[第1の実施形態の動作]
以下に、図面を参照して本実施の形態の動作について説明を行う。図5は、本実施の形態における、ルータ2および通信装置3のIPアドレス変更動作を示すフローチャートである。ここで、ルータ2および通信装置3は、通常モードとアドレス変更モードとを切り替えられる構成であることが好ましい。本実施の形態の管理装置1は、前述したようにネットワークを介して接続される装置のIPアドレスを変更する機能を備えている。図5に示されている動作は、主に管理装置1が実行する動作である。図5を参照すると、そのフローチャートの動作は、管理装置1が、ネットワークを介して所定の通信装置3に接続すると開始する。
[Operation of the first embodiment]
The operation of the present embodiment will be described below with reference to the drawings. FIG. 5 is a flowchart showing the IP address changing operation of the router 2 and the communication device 3 in the present embodiment. Here, the router 2 and the communication device 3 are preferably configured to be switched between the normal mode and the address change mode. As described above, the management apparatus 1 according to the present embodiment has a function of changing the IP address of an apparatus connected via a network. The operations shown in FIG. 5 are mainly operations performed by the management apparatus 1. Referring to FIG. 5, the operation of the flowchart starts when the management apparatus 1 connects to a predetermined communication apparatus 3 via a network.

図5のステップS101において、管理装置1は、ネットワークを介して接続する通信装置3を御ドレス変更モードに切り替えた後、通信装置3に設定されているIPアドレスを現在のIPアドレス(以下、現在IPアドレスと呼ぶ。)から新IPアドレスに変更(書き換え)する。   In step S101 in FIG. 5, the management apparatus 1 switches the communication apparatus 3 connected via the network to the address change mode, and then changes the IP address set in the communication apparatus 3 to the current IP address (hereinafter, the current IP address). It is changed (rewritten) from the IP address) to the new IP address.

ステップS102において、管理装置1は、復帰IPアドレスの登録を行う。このとき、管理装置1は、現在IPアドレスを優先度の高い復帰IPアドレス(例えば、図4の第1復帰IPアドレス41d−1)としてIPアドレス設定テーブル40に登録しておくことも可能である。これによって、新IPアドレスに対する設定ミスなどが発生した場合に、速やかに旧IPアドレス(設定変更前のIPアドレス=現在IPアドレス)に戻すことが可能になる。   In step S102, the management apparatus 1 registers a return IP address. At this time, the management apparatus 1 can also register the current IP address in the IP address setting table 40 as a return IP address having a high priority (for example, the first return IP address 41d-1 in FIG. 4). . This makes it possible to quickly return to the old IP address (IP address before setting change = current IP address) when a setting mistake or the like for the new IP address occurs.

ステップS103において、管理装置1は、通信装置3が新IPアドレスに更新された後、新IPアドレス宛てのパケットの受信を監視する時間(以下、切り替えタイマ値と呼ぶ。)を設定する。管理装置1は、その設定値をネットワークを介して現在接続している通信装置3の切り替えタイマ値41bに格納する。   In step S103, the management apparatus 1 sets a time (hereinafter referred to as a switching timer value) for monitoring reception of a packet addressed to the new IP address after the communication apparatus 3 is updated to the new IP address. The management apparatus 1 stores the set value in the switching timer value 41b of the communication apparatus 3 currently connected via the network.

ステップS104において、通信装置3の再起動が実行される。通信装置3は、管理装置1との接続が切断されたことに応答して、自動的に再起動動作を実行する。また、管理装置1がネットワークを介して再起動命令を送信し、通信装置3が、その再起動命令に応答して再起動動作を実行する構成でもよい。   In step S104, the communication device 3 is restarted. The communication device 3 automatically executes a restart operation in response to the connection with the management device 1 being disconnected. Alternatively, the management device 1 may transmit a restart command via a network, and the communication device 3 may execute a restart operation in response to the restart command.

ステップS105において、管理装置1は、上述の通信装置3に接続されているルータ2のIPアドレス(通信装置3側のアドレス)を新IPアドレスに対応するアドレスに変更する。その後、ステップS106において、新IPアドレス宛てに確認用パケットを送信する。ステップS107において、管理装置1は、ステップS103で設定した切り替えタイマ値に対応する時間が経過したら、IPアドレスを変更した通信装置3への接続テストを実行する。   In step S105, the management device 1 changes the IP address (address on the communication device 3 side) of the router 2 connected to the communication device 3 to an address corresponding to the new IP address. Thereafter, in step S106, a confirmation packet is transmitted to the new IP address. In step S107, when the time corresponding to the switching timer value set in step S103 has elapsed, the management device 1 executes a connection test to the communication device 3 whose IP address has been changed.

ステップS108において、管理装置1は、新IPアドレスで通信装置3にアクセスできたかどうかの判断を行う。新IPアドレスで通信装置3に接続できた場合、処理は終了する。新IPアドレスで通信装置3に接続できない場合、処理はステップS109に進む。ステップS109において、管理装置1は、復帰IPアドレスで通信装置3に対する接続テストを実行する。   In step S108, the management apparatus 1 determines whether or not the communication apparatus 3 can be accessed with the new IP address. If the connection to the communication device 3 can be made with the new IP address, the process ends. If it is not possible to connect to the communication device 3 with the new IP address, the process proceeds to step S109. In step S109, the management apparatus 1 executes a connection test for the communication apparatus 3 with the return IP address.

ステップS110において、復帰IPアドレスで通信装置3に接続した管理装置1は、その通信装置3のIPアドレスの再設定を実行するかどうかの判断を行う。再設定をする場合、処理はステップS101に戻り、IPアドレスの再設定が実行される。再設定を行わない場合、処理は終了する。   In step S <b> 110, the management device 1 connected to the communication device 3 with the return IP address determines whether or not to reset the IP address of the communication device 3. In the case of resetting, the process returns to step S101, and resetting of the IP address is executed. If no resetting is performed, the process ends.

これによって、ネットワークを介して通信装置3のIPアドレスを変更したときに、設定の間違い等により、IPアドレス変更後の通信装置3に接続できず、再設定が不可能になってしまう不具合を防止することが可能になる。   As a result, when the IP address of the communication device 3 is changed via the network, it is not possible to connect to the communication device 3 after the change of the IP address due to a setting error or the like, so that the resetting is impossible. It becomes possible to do.

図6は、IPアドレスの変更が行われた通信装置3の動作を示すフローチャートである。図6を参照すると、そのフローチャートに示される動作は、通信装置3が、ネットワークを介して管理装置1に接続されると開始する。ステップS201において、通信装置3は、管理装置1から送信される命令に応答して通常モードからアドレス変更モードへ移行する。アドレス変更モードの移行した通信装置3は、ネットワークを介して管理装置1送信される設定データに基づいて、IPアドレス設定テーブル40の設定値42を更新する。ステップS202において、設定値42の更新が完了した通信装置3は、その装置の再起動が実行される。再起動実行後、処理はステップS203に進む。   FIG. 6 is a flowchart showing the operation of the communication apparatus 3 in which the IP address has been changed. Referring to FIG. 6, the operation shown in the flowchart starts when the communication device 3 is connected to the management device 1 via the network. In step S201, the communication device 3 shifts from the normal mode to the address change mode in response to the command transmitted from the management device 1. The communication device 3 that has shifted to the address change mode updates the setting value 42 of the IP address setting table 40 based on the setting data transmitted from the management device 1 via the network. In step S202, the communication device 3 whose setting value 42 has been updated is restarted. After the restart is executed, the process proceeds to step S203.

ステップS203において、通信装置3は、現在ネットワークの構築に使用されているIPアドレスが、新IPアドレスに変更されているかどうかの判断を行う。具体的には、通信装置3のIPアドレス制御部35は、IPアドレス設定テーブル40の複数の復帰IPアドレス(41d−1〜41d−4)に設定されているIPアドレスと、IP層処理部33に保持されている現在IPアドレス33bとの比較を行う。IPアドレス制御部35は、その比較の結果、現在IPアドレス33bと一致するIPアドレスがIPアドレス設定テーブル40に保持されていない場合、現在IPアドレス33bが新IPアドレスへ変更されていると判断し、処理はステップS204に進む。その比較の結果、現在IPアドレス33bがIPアドレス設定テーブル40に保持されている復帰IPアドレスに一致するときは、新IPアドレスからの復帰動作が行われたと判断し、処理はステップS205に進む。   In step S203, the communication apparatus 3 determines whether the IP address currently used for network construction has been changed to a new IP address. Specifically, the IP address control unit 35 of the communication device 3 and the IP layer processing unit 33 that are set in the plurality of return IP addresses (41d-1 to 41d-4) of the IP address setting table 40. Is compared with the current IP address 33b held in As a result of the comparison, if the IP address that matches the current IP address 33b is not held in the IP address setting table 40, the IP address control unit 35 determines that the current IP address 33b has been changed to the new IP address. The process proceeds to step S204. As a result of the comparison, when the current IP address 33b matches the return IP address held in the IP address setting table 40, it is determined that the return operation from the new IP address has been performed, and the process proceeds to step S205.

ステップS204において、IPアドレス制御部35は、IPアドレス設定テーブル40を参照して、自動IPアドレス切替えフラグ41aの設定値42に“有効”を示す値が保持されているかどうかの判断を行う。その判断の結果、自動IPアドレス切り替え機能が動作しているとき、現在のIPアドレスが正常に設定されているかどうかを判定するため、処理はステップS206に進む。その判断の結果、自動IPアドレス切り替え機能が動作してないとき、処理は、ステップS210に進み、アドレス変更モードから通常モードに移行する。   In step S204, the IP address control unit 35 refers to the IP address setting table 40 and determines whether or not a value indicating “valid” is held in the setting value 42 of the automatic IP address switching flag 41a. As a result of the determination, when the automatic IP address switching function is operating, the process proceeds to step S206 in order to determine whether or not the current IP address is normally set. As a result of the determination, when the automatic IP address switching function is not operating, the process proceeds to step S210 and shifts from the address change mode to the normal mode.

ステップS205において、IPアドレス制御部35は、IPアドレス設定テーブル40を参照して、再切替えフラグ41fの設定値42に“有効”を示す値が保持されているかどうかの判断を行う。その判断の結果、再切替が有効に機能しているとき、やはり、現在のIPアドレスが正常に設定されているかどうかを判定するため、処理はステップS206に進む。その判断の結果、再切替機能が無効であった場合、処理はステップS210に進み、アドレス変更モードから通常モードに移行する。   In step S205, the IP address control unit 35 refers to the IP address setting table 40 and determines whether or not a value indicating “valid” is held in the setting value 42 of the re-switching flag 41f. As a result of the determination, when the re-switching is functioning effectively, the process proceeds to step S206 in order to determine whether or not the current IP address is normally set. As a result of the determination, if the re-switching function is invalid, the process proceeds to step S210 and shifts from the address change mode to the normal mode.

ステップS206において、IPアドレス制御部35は、タイマカウンタ35bのカウント値とIPアドレス設定テーブル40の切り替えタイマ値41bに設定されている値とに基づいて、所定の時間を計測する。ステップS207において、IPアドレス制御部35は、その所定時間が経過するまでに、GigaEthernetインターフェース31が、現在IP層処理部33に保持されている現在IPアドレス33b(新IPアドレスまたは復帰IPアドレス)宛てのパケットを受信したかどうかを監視する。その監視の結果、その現在IPアドレス33b宛てのパケットを受信した場合、処理はステップS208に進む。ステップS208において、IPアドレス制御部35は、その現在IPアドレス33b宛てのパケットを受信したことに応答して時間計測を停止する。その後、処理はステップS210に進み、アドレス変更モードを終了する。   In step S206, the IP address control unit 35 measures a predetermined time based on the count value of the timer counter 35b and the value set in the switching timer value 41b of the IP address setting table 40. In step S207, the IP address control unit 35 sends the GigaEthernet interface 31 to the current IP address 33b (new IP address or return IP address) currently held in the IP layer processing unit 33 until the predetermined time elapses. Monitor whether or not the packet is received. As a result of the monitoring, if a packet addressed to the current IP address 33b is received, the process proceeds to step S208. In step S208, the IP address control unit 35 stops measuring time in response to receiving the packet addressed to the current IP address 33b. Thereafter, the process proceeds to step S210 to end the address change mode.

ステップS207において、その監視の結果、その現在IPアドレス33b宛てのパケットを受信しなかった場合、処理はステップS209に進む。ステップS209において、IPアドレス制御部35は、IP層処理部33の現在IPアドレス33bを新IPアドレスから復帰IPアドレスに変更して、通信装置3の再起動プログラムを実行する。再起動プログラム実行後、処理はステップS203に戻る。   If it is determined in step S207 that the packet addressed to the current IP address 33b is not received as a result of the monitoring, the process proceeds to step S209. In step S209, the IP address control unit 35 changes the current IP address 33b of the IP layer processing unit 33 from the new IP address to the return IP address, and executes the restart program of the communication device 3. After the restart program is executed, the process returns to step S203.

上述してきたように、本実施の形態のネットワークシステムは、先に述べた構成の通信装置3をネットワーク上に備えている。そしてネットワーク管理を実行する管理装置1は、その通信装置のIPアドレスの変更をそのネットワーク経由で実行する。このときに、IPアドレスの設定変更が適切に実行されなかった場合(例えば、変更するアドレスの設定ミスなどが発生した場合)、新たなIPアドレスが要因となってネットワーク障害が発生してしまうことがある。このような場合に、新たなIPアドレス(不適切なIPアドレス)を特定することが困難なため、通常はネットワーク経由で管理装置1から再設定を実行することができない。しかしながら、通信装置3を本実施の形態で述べてきたように動作させることで、不適切なIPアドレスを設定された通信装置は、自動的に適切なIPアドレスに更新することができる。   As described above, the network system according to the present embodiment includes the communication device 3 configured as described above on the network. Then, the management device 1 that executes network management changes the IP address of the communication device via the network. At this time, if the IP address setting change is not properly executed (for example, when a setting error of the address to be changed occurs), a new IP address may cause a network failure. There is. In such a case, since it is difficult to specify a new IP address (inappropriate IP address), it is not normally possible to perform reconfiguration from the management apparatus 1 via the network. However, by operating the communication device 3 as described in the present embodiment, a communication device in which an inappropriate IP address is set can be automatically updated to an appropriate IP address.

そのため、IPアドレスの変更作業時に何らかの原因で新規IPアドレスへの変更作業が失敗した場合でも、本装置は変更後に受信するはずの新規IPアドレスを持ったパケットを受信しない状態を検出することで元のIPアドレスに自動的に復帰する。したがって新規IPアドレスへの変更作業が失敗した場合でも、管理者が現地に行くことなく、再度センター側からIPアドレスの変更作業を実施することが可能となる。そのためネットワーク管理に係る時間や費用を抑えることが可能となる。   Therefore, even if the change to the new IP address fails for some reason during the change of the IP address, the present apparatus detects the state of not receiving a packet having the new IP address that should be received after the change. Automatically return to the IP address. Therefore, even if the change work to the new IP address fails, the IP address change work can be performed again from the center side without the administrator going to the site. For this reason, it is possible to reduce the time and cost related to network management.

[第2の実施形態]
以下に、本発明の第2の実施形態について説明を行う。図7は第2の実施形態における通信装置3aの構成を示すブロック図である。図7に示されている通信装置3aにおいて、第1の実施形態に述べる通信装置3と同じ符号が付されている機能ブロックは、第1の実施形態の通信装置3と同様の構成である。したがって、以下の説明においては、第1の実施形態と重複する部分に関しては、その説明を省略する。
[Second Embodiment]
The second embodiment of the present invention will be described below. FIG. 7 is a block diagram showing the configuration of the communication device 3a in the second embodiment. In the communication device 3a shown in FIG. 7, the functional blocks to which the same reference numerals as those of the communication device 3 described in the first embodiment are attached have the same configuration as that of the communication device 3 in the first embodiment. Therefore, in the following description, the description which overlaps with 1st Embodiment is abbreviate | omitted.

図7を参照すると、第2の実施形態の通信装置3aは、上流側の物理インターフェースとしてEthernet(登録商標)インターフェース53を備え、さらに下流側の物理インターフェースに複数の専用線インターフェース(50−1〜50−n)を備えて構成されている。ここでいう専用線とは、通信事業者とユーザ端末との間の特定区間に開設されるデータ通信専用の回線を示している。この専用線は、128kbps〜512kbps程度の伝送速度でデータを伝送するものとする。第2の実施形態の通信装置3aは、専用線による複数のローカルネットワークを1本のEthernet(登録商標)に集約するような環境に適用可能である。   Referring to FIG. 7, the communication device 3a according to the second embodiment includes an Ethernet (registered trademark) interface 53 as an upstream physical interface, and a plurality of dedicated line interfaces (50-1 to 50-1) on the downstream physical interface. 50-n). The dedicated line here refers to a dedicated line for data communication established in a specific section between the communication carrier and the user terminal. This dedicated line transmits data at a transmission rate of about 128 kbps to 512 kbps. The communication device 3a according to the second embodiment can be applied to an environment in which a plurality of local networks using dedicated lines are aggregated into one Ethernet (registered trademark).

[第3の実施形態]
以下に、本発明の第3の実施形態について説明を行う。図8は第3の実施形態における通信装置3bの構成を示すブロック図である。図8に示されている通信装置3bにおいて、第1の実施形態に述べる通信装置3(または、第2の実施形態に述べる通信装置3a)と同じ符号が付されている機能ブロックは、第1または第2の実施形態の通信装置(3、3a)と同様の構成である。したがって、以下の説明においては、第1または第2の実施形態と重複する部分に関しては、その説明を省略する。
[Third Embodiment]
The third embodiment of the present invention will be described below. FIG. 8 is a block diagram showing the configuration of the communication device 3b in the third embodiment. In the communication device 3b shown in FIG. 8, the functional blocks to which the same reference numerals as those of the communication device 3 described in the first embodiment (or the communication device 3a described in the second embodiment) are attached are the first block. Or it is the structure similar to the communication apparatus (3, 3a) of 2nd Embodiment. Therefore, in the following description, the description overlapping with the first or second embodiment is omitted.

図8を参照すると、通信装置3bは、レイヤスイッチ部51と、自身宛パケット処理部52とを備えて構成されている。レイヤスイッチ部51は、ルーティング機能は持たず、スイッチング機能を備えている。また、52は、レイヤスイッチ部51から出力される自身宛てのパケットを処理するパケット処理部である。第3の実施形態の通信装置3bは、図1に示されているネットワークシステムを例に説明すると、リモート側ローカルIPネットワーク14内に設置された通信装置に適用されることが好ましい。リモートIPネットワーク14の通信装置を通信装置3bで構成することで、簡易な構成のネットワークシステムを構築することが可能になる。   Referring to FIG. 8, the communication device 3 b includes a layer switch unit 51 and a packet processor 52 addressed to itself. The layer switch unit 51 does not have a routing function but has a switching function. Reference numeral 52 denotes a packet processing unit that processes a packet addressed to itself output from the layer switch unit 51. The communication device 3b according to the third embodiment will be described as an example of the network system shown in FIG. 1. The communication device 3b is preferably applied to a communication device installed in the remote local IP network 14. By configuring the communication device of the remote IP network 14 with the communication device 3b, it is possible to construct a network system with a simple configuration.

なお、上述してきた複数の実施の形態の構成および動作は、矛盾が発生しない限り組合せて実行可能である。   It should be noted that the configurations and operations of the plurality of embodiments described above can be executed in combination as long as no contradiction occurs.

図1は、第1の実施形態におけるネットワークシステムの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a network system according to the first embodiment. 図2は、第1の実施形態の通信装置3の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the communication device 3 according to the first embodiment. 図3は、管理装置1の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of the management apparatus 1. 図4は、IPアドレス設定テーブル40の構成を示す図である。FIG. 4 is a diagram showing the configuration of the IP address setting table 40. 図5は、本実施の形態における、動作を示すフローチャートである。FIG. 5 is a flowchart showing the operation in the present embodiment. 図6は、IPアドレスの変更が行われた通信装置3の動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of the communication apparatus 3 in which the IP address has been changed. 図7は、第2の実施形態の通信装置3aの構成を示すブロック図である。FIG. 7 is a block diagram illustrating a configuration of the communication device 3a according to the second embodiment. 図8は、第3の実施形態の通信装置3bの構成を示すブロック図である。FIG. 8 is a block diagram illustrating a configuration of the communication device 3b according to the third embodiment.

符号の説明Explanation of symbols

1…管理装置
2…ルータ
3、3a、3b…通信装置
4…通信子機
5…パーソナルコンピュータ
10…グローバルIPネットワーク
11…センター側ローカルIPネットワーク
12…リモート側ローカルIPネットワーク
13…ユーザローカルIPネットワーク
14…リモート側ローカルIPネットワーク
21…CPU
22…メモリ
23…大容量記憶装置
23a…SNMPマネージャ
24…通信部
25…出力部
26…入力部
27…バス
31…GigaEthernetインターフェース
32…MAC層処理部
33…IP層処理部
33a…ルーティングテーブル
33b…現在IPアドレス
34…上位層処理部
35…IPアドレス制御部
35a…記憶部
35b…タイマカウンタ
36…コンソールインターフェース
37−1〜37−n…下流側MAC層処理部
38−1〜38−n…VDSLインターフェース
40…IPアドレス設定テーブル
41…項目
41a…自動IPアドレス切替えフラグ
41b…切り替えタイマ値
41c…復帰IPアドレス登録数
41d−1〜41d−4…第1〜第4復帰IPアドレス
41e…優先度
41f…再切替えフラグ
41g…切替え結果通知先IPアドレス
41h…切替え結果通知フラグ
42…設定値
50−1〜50−n…専用線インターフェース
51…レイヤスイッチ部
52…自身宛パケット処理部
53…Ethernetインターフェース
DESCRIPTION OF SYMBOLS 1 ... Management apparatus 2 ... Router 3, 3a, 3b ... Communication apparatus 4 ... Communication cordless handset 5 ... Personal computer 10 ... Global IP network 11 ... Center side local IP network 12 ... Remote side local IP network 13 ... User local IP network 14 ... Remote-side local IP network 21 ... CPU
DESCRIPTION OF SYMBOLS 22 ... Memory 23 ... Mass storage device 23a ... SNMP manager 24 ... Communication part 25 ... Output part 26 ... Input part 27 ... Bus 31 ... GigaEthernet interface 32 ... MAC layer processing part 33 ... IP layer processing part 33a ... Routing table 33b ... Current IP address 34 ... upper layer processing unit 35 ... IP address control unit 35a ... storage unit 35b ... timer counter 36 ... console interface 37-1 to 37-n ... downstream MAC layer processing units 38-1 to 38-n ... VDSL Interface 40 ... IP address setting table 41 ... Item 41a ... Automatic IP address switching flag 41b ... Switching timer value 41c ... Number of restored IP address registrations 41d-1 to 41d-4 ... First to fourth restored IP addresses 41e ... Priority 41f ... Re-switching flag 41g ... Switching result Notification destination IP address 41h ... switching result notification flag 42 ... setpoint 50-1 to 50-n ... private line interface 51 ... layer switch part 52 ... itself addressed packet processing unit 53 ... Ethernet interface

Claims (24)

割当てられるIPアドレスに基づいてネットワーク通信を制御する通信制御部と、
前記IPアドレスと異なる復帰IPアドレスを記憶する記憶部と、
前記IPアドレスに対するパケットの受信を監視し、所定の時間において前記パケットの受信を検出しないとき、前記IPアドレスを前記復帰IPアドレスに更新するIPアドレス制御部と
を具備し、
前記記憶部は、
予め登録されている複数の前記復帰IPアドレスを保持し、
前記複数の前記復帰IPアドレスのそれぞれは、ユーザによって設定され、前記ユーザによって変更可能な優先度を有し、
前記IPアドレス制御部は、
前記優先度に基づいて、前記IPアドレスを前記復帰IPアドレスに更新する
通信装置。
A communication control unit that controls network communication based on the assigned IP address;
A storage unit for storing a return IP address different from the IP address;
An IP address control unit that monitors reception of a packet for the IP address and updates the IP address to the return IP address when it does not detect reception of the packet at a predetermined time ;
The storage unit
Holding a plurality of the return IP addresses registered in advance;
Each of the plurality of return IP addresses is set by a user and has a priority that can be changed by the user;
The IP address control unit
Update the IP address to the return IP address based on the priority
Communication device.
請求項に記載の通信装置において、
前記記憶部は、
前記複数の前記復帰IPアドレスを保持する復帰IPアドレス格納領域と、前記IPアドレスを保持するIPアドレス格納領域と
を含み、
前記IPアドレス制御部は、
ネットワークを介して供給されるIPアドレス変更命令を受信し、前記IPアドレス変更命令に応答して、現在IPアドレスを前記復帰IPアドレスとして前記復帰IPアドレス格納領域に格納し、前記ネットワークを介して供給される新たなIPアドレスを前記IPアドレス格納領域に格納し、
前記通信制御部は、
前記IPアドレス格納領域に保持される前記IPアドレスに基づいて前記ネットワーク通信を制御する
通信装置。
The communication device according to claim 1 ,
The storage unit
A return IP address storage area for holding the plurality of return IP addresses; and an IP address storage area for holding the IP address;
The IP address control unit
An IP address change command supplied via the network is received, and in response to the IP address change command, the current IP address is stored as the return IP address in the return IP address storage area and supplied via the network A new IP address to be stored in the IP address storage area,
The communication control unit
A communication device that controls the network communication based on the IP address held in the IP address storage area.
請求項に記載の通信装置において、
前記記憶部は、
前記優先度を示す優先度情報を保持する優先度格納領域を含み、
前記IPアドレス制御部は、
ユーザの操作に応答してネットワークを介して送信される前記優先度情報を、前記復帰IPアドレスに関連付けて前記優先度格納領域に格納し、
前記優先度情報に基づいて、前記IPアドレスから前記復帰IPアドレスに更新するときの優先度を特定する
通信装置。
The communication device according to claim 2 ,
The storage unit
Including a priority storage area for storing priority information indicating the priority;
The IP address control unit
Storing the priority information transmitted via the network in response to a user operation in the priority storage area in association with the return IP address;
A communication device that identifies priority when updating from the IP address to the return IP address based on the priority information.
請求項に記載の通信装置において、さらに、
タイマカウンタを具備し、
前記IPアドレス制御部は、
前記タイマカウンタのカウント値に基づいて前記所定の時間を計測する
通信装置。
The communication device according to claim 3 , further comprising:
A timer counter,
The IP address control unit
A communication device that measures the predetermined time based on a count value of the timer counter.
請求項に記載の通信装置において、
前記記憶部は、設定時間格納領域
をさらに備え、
前記アドレス制御部は、
ネットワークを介して送信される前記所定の時間の設定値を前記設定時間格納領域に格納し、
前記設定値とカウント値に基づいて前記所定の時間を計測する
通信装置。
The communication device according to claim 4 , wherein
The storage unit further includes a set time storage area,
The address control unit
Storing the set value of the predetermined time transmitted via the network in the set time storage area;
A communication device that measures the predetermined time based on the set value and the count value.
請求項に記載の通信装置において、
前記記憶部は、前記パケットの受信の監視を停止するための監視動作停止フラグ格納領域を含み、
前記アドレス制御部は、
監視動作停止フラグ格納領域に格納される監視動作停止フラグに基づいて前記パケットの受信の監視動作を停止する
通信装置。
The communication device according to claim 5 , wherein
The storage unit includes a monitoring operation stop flag storage area for stopping monitoring of reception of the packet,
The address control unit
A communication device that stops the monitoring operation of reception of the packet based on a monitoring operation stop flag stored in a monitoring operation stop flag storage area.
請求項に記載の通信装置において、
前記アドレス制御部は、
前記IPアドレスから更新された前記復帰IPアドレスに対する復帰IPアドレス宛パケットの受信を監視し、所定の時間において前記復帰IPアドレス宛パケットの受信を検出しないとき、前記優先度に基づいて、前記復帰IPアドレスを他の復帰IPアドレスに更新する
通信装置。
The communication device according to claim 6 .
The address control unit
When reception of a packet addressed to the return IP address corresponding to the return IP address updated from the IP address is monitored and reception of the packet addressed to the return IP address is not detected at a predetermined time, the return IP address is determined based on the priority. A communication device that updates an address to another return IP address.
請求項に記載の通信装置において、
前記アドレス制御部は、
前記所定の時間において実行する監視動作に対応して、前記IPアドレスを前記復帰IPアドレスに更新したときに、前記更新された前記復帰IPアドレスを前記ネットワークを介して所定の管理装置の宛てに送信する
通信装置。
The communication device according to claim 7 .
The address control unit
In response to the monitoring operation executed at the predetermined time, when the IP address is updated to the return IP address, the updated return IP address is transmitted to a predetermined management apparatus via the network. Communication device.
(a)割当てられるIPアドレスに基づいてネットワーク通信を制御するステップと、
(b)前記IPアドレスと前記IPアドレスと異なる復帰IPアドレスとを読み出すステップと、
(c)前記IPアドレスに対するパケットの受信を監視するステップと、
(d)所定の時間において前記パケットの受信を検出しないとき、前記IPアドレスを前記復帰IPアドレスに更新するステップと、
(e)予め複数の前記復帰IPアドレスを保持するステップと、
(f)前記複数の前記復帰IPアドレスのそれぞれに、ユーザによって設定され、前記ユーザによって変更可能な優先度を付与するステップと、
を含み、
前記(d)ステップは、前記優先度に基づいて、前記IPアドレスを前記復帰IPアドレスに更新するステップ
を具備するIPアドレス復帰方法。
(A) controlling network communication based on the assigned IP address;
(B) reading the IP address and a return IP address different from the IP address;
(C) monitoring reception of a packet for the IP address;
(D) updating the IP address to the return IP address when the reception of the packet is not detected at a predetermined time ;
(E) holding a plurality of the return IP addresses in advance;
(F) giving each of the plurality of return IP addresses a priority set by a user and changeable by the user;
Including
The IP address recovery method , wherein the step (d) includes the step of updating the IP address to the return IP address based on the priority .
請求項に記載のIPアドレス復帰方法において、
前記(e)ステップは、
ネットワークを介して供給されるIPアドレス変更命令を受信するステップと、
前記IPアドレス変更命令に応答して、現在IPアドレスを前記復帰IPアドレスとして復帰IPアドレス格納領域に格納するステップと、
前記ネットワークを介して供給される新たなIPアドレスを前記IPアドレス格納領域に格納するステップ
を具備するIPアドレス復帰方法。
In the IP address restoration method according to claim 9 ,
The step (e) includes:
Receiving an IP address change command supplied via the network;
In response to the IP address change command, storing a current IP address as the return IP address in a return IP address storage area;
An IP address restoration method comprising a step of storing a new IP address supplied via the network in the IP address storage area.
請求項10に記載のIPアドレス復帰方法において、
前記(f)ステップは、
前記ユーザの操作に応答して、ネットワークを介して送信される優先度情報を、前記復帰IPアドレスに関連付けて優先度格納領域に格納するステップと、
前記優先度情報に基づいて、前記IPアドレスから前記復帰IPアドレスに更新するときの優先度を特定するステップ
を具備するIPアドレス復帰方法。
In the IP address restoration method according to claim 10 ,
The step (f)
Storing priority information transmitted over a network in response to the user's operation in a priority storage area in association with the return IP address;
An IP address return method comprising a step of specifying a priority when updating from the IP address to the return IP address based on the priority information.
請求項11に記載のIPアドレス復帰方法において、
前記(d)ステップは、
タイマカウンタのカウント値に基づいて前記所定の時間を計測するステップ
を具備するIPアドレス復帰方法。
In the IP address restoration method according to claim 11 ,
The step (d) includes:
An IP address restoration method comprising a step of measuring the predetermined time based on a count value of a timer counter.
請求項12に記載のIPアドレス復帰方法において、
前記(d)ステップは、
ネットワークを介して送信され、予め格納された前記所定の時間の設定値を設定時間格納領域から読み出すステップと、
前記読み出された前記設定値とカウント値に基づいて前記所定の時間を計測するステップ
を具備するIPアドレス復帰方法。
In the IP address restoration method according to claim 12 ,
The step (d) includes:
Reading from the set time storage area the set value of the predetermined time transmitted via the network and stored in advance;
An IP address restoration method comprising the step of measuring the predetermined time based on the read setting value and count value.
請求項13に記載のIPアドレス復帰方法において、さらに、
(g)予め監視動作停止フラグ格納領域に格納される監視動作停止フラグに基づいて前記パケットの受信の監視動作を停止するステップ
を具備するIPアドレス復帰方法。
The IP address return method according to claim 13 , further comprising:
(G) An IP address return method comprising a step of stopping the monitoring operation of reception of the packet based on a monitoring operation stop flag stored in advance in a monitoring operation stop flag storage area.
請求項14に記載のIPアドレス復帰方法において、
前記(d)ステップは、
前記IPアドレスから更新された前記復帰IPアドレスに対する復帰IPアドレス宛パケットの受信を監視するステップと、
所定の時間において前記復帰IPアドレス宛パケットの受信を検出しないとき、前記優先度に基づいて、前記復帰IPアドレスを他の復帰IPアドレスに更新するステップを具備するIPアドレス復帰方法。
The IP address recovery method according to claim 14 ,
The step (d) includes:
Monitoring reception of a packet addressed to the return IP address for the return IP address updated from the IP address;
An IP address return method comprising a step of updating the return IP address to another return IP address based on the priority when reception of the packet addressed to the return IP address is not detected at a predetermined time.
請求項15に記載のIPアドレス復帰方法において、さらに、
(h)前記所定の時間において実行する監視動作に対応して、前記IPアドレス格納領域に保持されているIPアドレスを前記復帰IPアドレスに更新したときに、前記更新された前記復帰IPアドレスを前記ネットワークを介して所定の管理装置の宛てに送信するステップ
を具備するIPアドレス復帰方法。
The IP address return method according to claim 15 , further comprising:
(H) In response to the monitoring operation executed at the predetermined time, when the IP address held in the IP address storage area is updated to the return IP address, the updated return IP address is An IP address recovery method comprising a step of transmitting to a predetermined management apparatus via a network.
(a)割当てられるIPアドレスに基づいてネットワーク通信を制御するステップと、
(b)前記IPアドレスと前記IPアドレスと異なる復帰IPアドレスとを読み出すステップと、
(c)前記IPアドレスに対するパケットの受信を監視するステップと、
(d)所定の時間において前記パケットの受信を検出しないとき、前記IPアドレスを前記復帰IPアドレスに更新するステップと、
(e)予め複数の前記復帰IPアドレスを保持するステップと、
(f)前記複数の前記復帰IPアドレスのそれぞれに、ユーザによって設定され、前記ユーザによって変更可能な優先度を付与するステップと、
を含み、
前記(d)ステップは、前記優先度に基づいて、前記IPアドレスを前記復帰IPアドレスに更新するステップ
を具備する方法をコンピュータで実行可能なプログラム。
(A) controlling network communication based on the assigned IP address;
(B) reading the IP address and a return IP address different from the IP address;
(C) monitoring reception of a packet for the IP address;
(D) updating the IP address to the return IP address when the reception of the packet is not detected at a predetermined time ;
(E) holding a plurality of the return IP addresses in advance;
(F) giving each of the plurality of return IP addresses a priority set by a user and changeable by the user;
Including
The computer-executable program comprising the step (d) of updating the IP address to the return IP address based on the priority .
請求項17に記載のプログラムにおいて、
前記(e)ステップは、
ネットワークを介して供給されるIPアドレス変更命令を受信するステップと、 前記IPアドレス変更命令に応答して、現在IPアドレスを前記復帰IPアドレスとして復帰IPアドレス格納領域に格納するステップと、
前記ネットワークを介して供給される新たなIPアドレスを前記IPアドレス格納領域に格納するステップ
を具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 17 , wherein
The step (e) includes:
Receiving an IP address change command supplied via a network; in response to the IP address change command, storing a current IP address as the return IP address in a return IP address storage area;
A computer-executable program comprising a step of storing a new IP address supplied via the network in the IP address storage area.
請求項18に記載のプログラムにおいて、
前記(f)ステップは、
前記ユーザの操作に応答して、ネットワークを介して送信される優先度情報を、前記復帰IPアドレスに関連付けて優先度格納領域に格納するステップと、
前記優先度情報に基づいて、前記IPアドレスから前記復帰IPアドレスに更新するときの優先度を特定するステップ
を具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 18 , wherein
The step (f)
Storing priority information transmitted over a network in response to the user's operation in a priority storage area in association with the return IP address;
A computer-executable program comprising a step of specifying a priority when updating from the IP address to the return IP address based on the priority information.
請求項19に記載のプログラムにおいて、
前記(d)ステップは、
タイマカウンタのカウント値に基づいて前記所定の時間を計測するステップ
を具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 19 , wherein
The step (d) includes:
A program capable of executing by a computer a method comprising the step of measuring the predetermined time based on a count value of a timer counter.
請求項20に記載のプログラムにおいて、
前記(d)ステップは、
ネットワークを介して送信され、予め格納された前記所定の時間の設定値を設定時間格納領域から読み出すステップと、
前記読み出された前記設定値とカウント値に基づいて前記所定の時間を計測するステップ
を具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 20 ,
The step (d) includes:
Reading from the set time storage area the set value of the predetermined time transmitted via the network and stored in advance;
A computer-executable program comprising a step of measuring the predetermined time based on the read set value and count value.
請求項21に記載のプログラムにおいて、さらに、
(g)予め監視動作停止フラグ格納領域に格納される監視動作停止フラグに基づいて前記パケットの受信の監視動作を停止するステップ
を具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 21 , further comprising:
(G) A computer-executable program that includes a step of stopping the monitoring operation of reception of the packet based on a monitoring operation stop flag stored in advance in a monitoring operation stop flag storage region
請求項22に記載のプログラムにおいて、
前記(d)ステップは、
前記IPアドレスから更新された前記復帰IPアドレスに対する復帰IPアドレス宛パケットの受信を監視するステップと、
所定の時間において前記復帰IPアドレス宛パケットの受信を検出しないとき、前記優先度に基づいて、前記復帰IPアドレスを他の復帰IPアドレスに更新するステップを具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 22 ,
The step (d) includes:
Monitoring reception of a packet addressed to the return IP address for the return IP address updated from the IP address;
A computer-executable program comprising a step of updating the return IP address to another return IP address based on the priority when reception of the packet addressed to the return IP address is not detected at a predetermined time.
請求項23に記載のプログラムにおいて、さらに、
(h)前記所定の時間において実行する監視動作に対応して、前記IPアドレス格納領域に保持されているIPアドレスを前記復帰IPアドレスに更新したときに、前記更新された前記復帰IPアドレスを前記ネットワークを介して所定の管理装置の宛てに送信するステップ
を具備する方法をコンピュータで実行可能なプログラム。
The program according to claim 23 , further comprising:
(H) In response to the monitoring operation executed at the predetermined time, when the IP address held in the IP address storage area is updated to the return IP address, the updated return IP address is A program capable of executing by a computer a method comprising a step of transmitting to a predetermined management apparatus via a network.
JP2004343124A 2004-11-26 2004-11-26 Communication device, IP address setting method of the communication device, and IP address setting program Expired - Fee Related JP4159540B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004343124A JP4159540B2 (en) 2004-11-26 2004-11-26 Communication device, IP address setting method of the communication device, and IP address setting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004343124A JP4159540B2 (en) 2004-11-26 2004-11-26 Communication device, IP address setting method of the communication device, and IP address setting program

Publications (2)

Publication Number Publication Date
JP2006157309A JP2006157309A (en) 2006-06-15
JP4159540B2 true JP4159540B2 (en) 2008-10-01

Family

ID=36635079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004343124A Expired - Fee Related JP4159540B2 (en) 2004-11-26 2004-11-26 Communication device, IP address setting method of the communication device, and IP address setting program

Country Status (1)

Country Link
JP (1) JP4159540B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7886027B2 (en) * 2006-04-14 2011-02-08 International Business Machines Corporation Methods and arrangements for activating IP configurations
JP5195470B2 (en) 2009-01-30 2013-05-08 日本電気株式会社 Wireless communication system, monitoring apparatus, monitoring method and program

Also Published As

Publication number Publication date
JP2006157309A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
KR100636186B1 (en) Bidirectional tunnel establishment method and system
JP4449903B2 (en) Router device and network connection method
JP4231773B2 (en) VRRP technology that maintains the confidentiality of VR
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
US6882648B2 (en) Communication device
CN102640471A (en) Method and device for multipath communication
JP2007020186A (en) Method and apparatus for operating network application in communication devices in power save mode
JP2003298635A (en) Source address selection system, router equipment, communication node and source address selection method
JP2017506472A (en) Graceful restart processing method, apparatus and open flow controller for open flow switch
JP4145274B2 (en) Network equipment
JP4517997B2 (en) Network management apparatus and network system
JP5039975B2 (en) Gateway device
JP2003348136A (en) Router setting method
WO2013104279A1 (en) Method and device for setting cvlan in trill network
KR100568178B1 (en) Gateway device and control method
US11929851B2 (en) Gateway selection method, device, and system
JP4159540B2 (en) Communication device, IP address setting method of the communication device, and IP address setting program
US20060136567A1 (en) Communication control apparatus and communication control method
JP4143277B2 (en) Communication system, connection setting method and connection setting program for exchange and terminal
KR101385749B1 (en) Router-ID setup system and control method in network for supporting more than at least
JP2006115362A (en) Packet relay device
KR101586761B1 (en) Method for managing network components in a network, and a network component
US20070211649A1 (en) Automatic establishment of a network connection for automated network element configuration
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
WO2007086026A2 (en) Automatic establishment of a network connection for automated network element configuration

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070718

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070918

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees