JP2006245893A - Dhcp client terminal and dhcp-pd requesting router - Google Patents
Dhcp client terminal and dhcp-pd requesting router Download PDFInfo
- Publication number
- JP2006245893A JP2006245893A JP2005057428A JP2005057428A JP2006245893A JP 2006245893 A JP2006245893 A JP 2006245893A JP 2005057428 A JP2005057428 A JP 2005057428A JP 2005057428 A JP2005057428 A JP 2005057428A JP 2006245893 A JP2006245893 A JP 2006245893A
- Authority
- JP
- Japan
- Prior art keywords
- dhcp
- message
- client terminal
- release
- control unit
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、IP転送を実施する端末またはルータを備えたIPネットワークにおいて、DHCP(Dynamic Host Configuration Protocol)またはDHCP−PD(Prefix Delegation)を用いて、IPアドレスまたはIPv6(Internet Protocol version 6)アドレスプレフィックスを設定する技術に関する。 The present invention provides an IP address or an IPv6 (Internet Protocol version 6) address prefix using DHCP (Dynamic Host Configuration Protocol) or DHCP-PD (Prefix Delegation) in an IP network including a terminal or a router that performs IP transfer. It is related with the technology to set.
従来のIPネットワーク技術では、IPネットワークに接続するクライアント端末に対し、DHCP(非特許文献1を参照)により、IPアドレスの自動設定を実現することができる。DHCPでは、図10に示すように、IPネットワーク100に設置されたDHCPサーバ101に、IPネットワーク100において割当て可能なIPアドレス群を予め登録しておく。クライアント端末105,106がユーザ収容ルータ102を介してDHCPサーバ101に、クライアント端末107,108がリクエスティングルータ109,110及びユーザ収容ルータ103を介してDHCPサーバ101にそれぞれアクセスし、IPアドレスの割当てを要求する。DHCPサーバ101は、登録されたIPアドレス群の中から、未割当てのIPアドレスをクライアント端末105〜108にそれぞれ通知する。この場合、DHCPサーバ101は、割当てたIPアドレスを登録すると共に、ユーザの利便性を考慮し、同一ユーザに対し同一のIPアドレスを割当てるようにするため、クライアント端末を収容するルータのインタフェース識別子、すなわち、収容位置情報と、クライアント端末に割当てるIPアドレスとの関係も登録する。
In the conventional IP network technology, automatic setting of an IP address can be realized by DHCP (see Non-Patent Document 1) for a client terminal connected to the IP network. In DHCP, as shown in FIG. 10, an IP address group that can be assigned in the
DHCPでは、DHCPサーバ101がクライアント端末105〜108を識別するために、クライアントDUID(DHCP Unique Identifier)という識別子を用いる。図11を用いてその動作を具体的に説明する。クライアント端末は、初回起動時に、MACアドレス等のリンクレイヤアドレスに基づきクライアントDUIDを生成し(ステップS1101)、IPアドレスの割当て要求をDHCPサーバに通知する(ステップS1102)。DHCPサーバは、IPアドレス割当て時に、クライアントDUIDと、割当てたIPアドレスと、IPアドレスを割当てたインタフェースの情報、すなわち収容位置情報と、をそれぞれ関連付けて記憶する(ステップS1103)。収容位置情報としては、例えば、クライアント端末を収容するルータの識別子や、クライアント端末が接続されているインタフェースのインタフェース識別子等がある。そして、DHCPサーバは、クライアントDUID、割当てたIPアドレス及び有効期限をクライアント端末に送信し(ステップS1104)、クライアント端末は、受信したIPアドレスを設定する(ステップS1105)。
In DHCP, in order for the DHCP
また、DHCPでは、DHCPサーバ101は、クライアントDUIDを用いて、IPアドレスが割当てられたクライアント端末105〜108を識別し、例えば、クライアント端末105〜108からIPアドレス有効期限の延長要求を受信した場合に(ステップS1106)、IPアドレス、クライアントDUID及び収容位置情報の関係を確認し(ステップS1107)、正当なクライアント端末105〜108に対してのみ、当該IPアドレスの有効期限を延長することが可能となる(ステップS1108,1109)。言い換えると、DHCPサーバ101は、クライアントDUIDを管理することにより、不正な装置や、不正なインタフェースからの要求に対して、拒否することが可能となる。
In DHCP, the DHCP
また、DHCPでは、クライアント端末は、IPアドレスが不要になった場合、IPアドレスの解放要求を実施し、解放要求を受信したDHCPサーバは、IPアドレス割当て時に記憶した、IPアドレス、クライアントDUID、収容位置情報、インタフェース等のDHCP割当情報を削除し、再割当てが可能な状態にする。 In DHCP, when an IP address is no longer needed, the client terminal performs an IP address release request, and the DHCP server that has received the release request stores the IP address, client DUID, and accommodation stored at the time of IP address assignment. The DHCP allocation information such as position information and interface is deleted, and reassignment is possible.
上記のクライアントDUIDの特長は、IPv6アドレスプレフィックスを割当てるDHCP−PDの場合も同様である。 The features of the client DUID are the same as in the case of DHCP-PD that assigns an IPv6 address prefix.
しかしながら、クライアントDUIDの生成基となるMACアドレス等のリンクレイヤアドレスは、インタフェースのハードウェアに振付けられるため、クライアント端末やクライアント端末のインタフェース部分を交換する場合、一般的に、交換前のクライアントDUIDと、交換後のクライアントDUIDとは異なる値である。 However, since the link layer address such as the MAC address that is the basis for generating the client DUID is assigned to the hardware of the interface, generally, when exchanging the client terminal or the interface part of the client terminal, the client DUID before the exchange is generally The value is different from the client DUID after the exchange.
従って、クライアント端末またはクライアント端末のインタフェース部分を交換する場合、そのクライアント端末が、その交換前に故障等の理由でIPアドレス解放要求を送信できなかったときは、DHCPサーバは、記憶されたDHCP割当情報を削除できない。このため、DHCPサーバは、同一のユーザが使用する交換後のクライアント端末からIPアドレス割当要求を受信した場合、異なるクライアントDUIDからの不正要求であると判断し、そのIPアドレス割当要求を拒否する(図11のステップS1110〜S1114を参照)。この場合、DHCPサーバは、記憶したIPアドレスの有効期限が切れてDHCP割当情報が削除されるまでは、クライアント端末からのIPアドレス割当要求を拒否する。 Therefore, when exchanging the client terminal or the interface part of the client terminal, if the client terminal fails to transmit an IP address release request due to a failure or the like before the exchange, the DHCP server stores the stored DHCP allocation. Information cannot be deleted. For this reason, when the DHCP server receives an IP address assignment request from an exchanged client terminal used by the same user, the DHCP server determines that the request is an unauthorized request from a different client DUID and rejects the IP address assignment request ( (See steps S1110 to S1114 in FIG. 11). In this case, the DHCP server rejects the IP address assignment request from the client terminal until the stored IP address expires and the DHCP assignment information is deleted.
この問題の解決方法として、IPネットワークのオペレータが、DHCPサーバに記憶されたクライアントDUIDを削除する方法が考えられるが、オペレータは、クライアント端末が独自に生成したクライアントDUIDを識別することは困難であり、また、一般的なユーザの技術レベルを考慮すると、ユーザがクライアント端末からクライアントDUIDを読み出し、オペレータに申告することも難しい。 As a method for solving this problem, a method in which the operator of the IP network deletes the client DUID stored in the DHCP server can be considered, but it is difficult for the operator to identify the client DUID generated uniquely by the client terminal. Also, considering the technical level of general users, it is difficult for the user to read the client DUID from the client terminal and report it to the operator.
また、DHCPサーバにおいて、IPアドレスの有効期限を短縮するという解決方法も考えられるが、IPアドレスの有効期限を短縮した場合、クライアント端末からルータ及びDHCPサーバへのIPアドレス更新要求が増加し、ルータ及びDHCPサーバが輻輳状態になるという懸念がある。 Also, a solution for shortening the IP address expiration date in the DHCP server is conceivable. However, when the IP address expiration date is shortened, IP address update requests from the client terminal to the router and the DHCP server increase, and the router And there is concern that the DHCP server will be congested.
そこで、本発明の目的は、DHCPまたはDHCP−PDを用いてIPアドレスの設定を行うIPネットワークにおいて、クライアント端末(以下、DHCPクライアント端末という。)を交換した場合であっても、直ちに通信することが可能なDHCPクライアント端末を提供することにある。また、DHCP−PDリクエスティングルータを交換した場合であっても、直ちに通信することが可能なDHCP−PDリクエスティングルータを提供することにある。 Therefore, an object of the present invention is to immediately communicate even when a client terminal (hereinafter referred to as a DHCP client terminal) is exchanged in an IP network in which an IP address is set using DHCP or DHCP-PD. It is to provide a DHCP client terminal capable of the above. Another object of the present invention is to provide a DHCP-PD requesting router that can immediately communicate even when the DHCP-PD requesting router is replaced.
本課題を解決するために、DHCPクライアント端末またはDHCP−PDリクエスティングルータの制御部は、交換前に、外部からのスイッチ操作により、IPアドレスまたはIPv6アドレスプレフィックスの解放を要求するメッセージをDHCPサーバへ送信する。DHCPサーバは、このメッセージを受信し、登録されているIPアドレスまたはIPv6アドレスプレフィックスと、交換前のクライアントDUIDとが関連付けられた情報を削除することにより、DHCPクライアント端末またはDHCP−PDリクエスティングルータの交換後に、クライアントDUIDの再登録を直ちに実施することができる(請求項1、請求項2)。
In order to solve this problem, the control unit of the DHCP client terminal or the DHCP-PD requesting router sends a message requesting release of the IP address or the IPv6 address prefix to the DHCP server by an external switch operation before the exchange. Send. The DHCP server receives this message and deletes the information associated with the registered IP address or IPv6 address prefix and the client DUID before the exchange, so that the DHCP client terminal or the DHCP-PD requesting router After the exchange, re-registration of the client DUID can be performed immediately (
DHCPクライアント端末またはDHCP−PDリクエスティングルータが故障した場合には前記メッセージを送信することができない可能性がある。そこで、検出部が、DHCPクライアント端末またはDHCP−PDリクエスティングルータの故障を、例えば軽微な段階で検出し、制御部が、前記メッセージをDHCPサーバへ送信する。DHCPサーバは、このメッセージを受信し、登録されているIPアドレスまたはIPv6アドレスプレフィックスと、交換前のクライアントDUIDとが関連付けられた情報を削除することにより、DHCPクライアント端末またはDHCP−PDリクエスティングルータの交換後に、クライアントDUIDの再登録を直ちに実施することができる(請求項3、請求項4)。
If the DHCP client terminal or the DHCP-PD requesting router fails, there is a possibility that the message cannot be transmitted. Therefore, the detection unit detects a failure of the DHCP client terminal or the DHCP-PD requesting router, for example, at a minor stage, and the control unit transmits the message to the DHCP server. The DHCP server receives this message and deletes the information associated with the registered IP address or IPv6 address prefix and the client DUID before the exchange, so that the DHCP client terminal or the DHCP-PD requesting router After the exchange, re-registration of the client DUID can be performed immediately (
また、前記メッセージはIPネットワーク上で損失する可能性があり、この場合、DHCPサーバに登録されているIPアドレスまたはIPv6アドレスプレフィックスと、交換前のクライアントDUIDとが関連付けられた情報の削除に失敗する。そこで、制御部は、前記メッセージを2回以上送信する。これにより、前記情報の削除失敗を防ぐことができる(請求項5、請求項6)。 In addition, the message may be lost on the IP network. In this case, deletion of information associated with the IP address or IPv6 address prefix registered in the DHCP server and the client DUID before the exchange fails. . Therefore, the control unit transmits the message twice or more. Thereby, the deletion failure of the information can be prevented (claims 5 and 6).
また、予め前記メッセージを記憶しておき、リリーススイッチからのスイッチ起動信号の入力、または制御部による故障検出のタイミングで、前記記憶されたメッセージを用いるようにしたから、制御部が輻輳した場合であっても、前記メッセージの送信を確実に行うことができる(請求項7、請求項8)。
In addition, when the control unit is congested because the message is stored in advance and the stored message is used when the switch activation signal is input from the release switch or when the control unit detects a failure. Even if it exists, the said message can be transmitted reliably (
以上詳細に説明したように、本発明によれば、DHCPまたはDHCP−PDを用いてIPアドレスの設定を行うIPネットワークにおいて、DHCPクライアント端末またはDHCP−PDリクエスティングルータを交換した場合であっても、直ちに通信可能な状態とすることができる。 As described above in detail, according to the present invention, even when a DHCP client terminal or a DHCP-PD requesting router is replaced in an IP network in which an IP address is set using DHCP or DHCP-PD. The communication can be immediately established.
以下、本発明の実施例について、図面を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本発明の実施例1について、図1に示すDHCPクライアント端末の構成例、及び図2に示す動作例を用いて説明する。
実施例1のDHCPクライアント端末10は、図1に示すように、リリーススイッチ1、制御部2及びIPネットワークインタフェース部3から構成される。リリーススイッチ1は制御部2に接続され、制御部2はIPネットワークインタフェース部3に接続される。IPネットワークインタフェース部3はIPネットワーク50に接続される。リリーススイッチ1は、例えばスイッチの押下等の操作により起動し、制御部2にスイッチ起動信号を出力する。本発明は、リリーススイッチ1の起動を契機として制御部2にスイッチ起動信号を通知することに特長があり、リリーススイッチ1自体の動作方式や、リリーススイッチ1から制御部2へのスイッチ起動信号の伝達方式を制限するものではない。
A first embodiment of the present invention will be described using a configuration example of a DHCP client terminal shown in FIG. 1 and an operation example shown in FIG.
The DHCP client terminal 10 according to the first embodiment includes a
制御部2は、従来技術と同様にDHCP機能の処理を実行することにより、DHCPメッセージを生成し、当該DHCPメッセージをIPネットワークインタフェース部3に出力する。ここで、リリーススイッチ1からのスイッチ起動信号の受信を契機に、DHCPのIPアドレス解放要求処理を実行する点が、従来技術と異なる。
The control unit 2 generates a DHCP message by executing the DHCP function processing in the same manner as in the conventional technique, and outputs the DHCP message to the IP
IPネットワークインタフェース部3は、制御部2が生成したDHCPメッセージを入力してIPネットワーク50へ送信する。また、IPネットワーク50からDHCPメッセージを受信し、制御部2に転送する。
The IP
実施例1の動作例について、図2を用いて説明する。但し、図2では、説明の簡素化のため、ユーザ収容ルータがDHCPサーバ機能を有する場合の動作例を示す。尚、ユーザ収容ルータがDHCPサーバ機能を有しておらず、DHCPサーバが独立して設置される場合は、ユーザ収容ルータがDHCPサーバにメッセージを中継することにより、基本的に図2と同様の動作となる。 An operation example of the first embodiment will be described with reference to FIG. However, FIG. 2 shows an operation example when the user accommodating router has a DHCP server function for the sake of simplicity. When the user accommodation router does not have a DHCP server function and the DHCP server is installed independently, the user accommodation router relays a message to the DHCP server, so that it is basically the same as FIG. It becomes operation.
DHCPクライアント端末10のリリーススイッチ1が押下等の操作により起動された場合(ステップS201)、リリーススイッチ1は、制御部2にスイッチ起動信号を出力する(ステップS202)。スイッチ起動信号を入力した制御部2は、DHCPのIPアドレス解放処理を起動してDHCP解放メッセージを生成し(ステップS203)、IPネットワークインタフェース部3に当該DHCP解放メッセージを出力する(ステップS204)。そして、IPネットワークインタフェース部3は、当該DHCP解放メッセージをユーザ収容ルータへ送信する(ステップS205)。DHCP解放メッセージとしては、例えば、DHCPv6(RFC3315)の場合は、Releaseメッセージが該当する。DHCP解放メッセージには、少なくとも、DHCPクライアント端末10のDUID及びIPアドレスを含む。
When the
ユーザ収容ルータは、DHCP解放メッセージを受信した場合、当該メッセージに含まれるDHCPクライアント端末のDUID及びIPアドレスについて、これらの情報に関連付いた情報が登録されているか否かを判断し、登録されている場合はそのDHCP情報を削除する(ステップS206)。 When the user accommodating router receives the DHCP release message, the user accommodating router determines whether or not information related to the DUID and IP address of the DHCP client terminal included in the message is registered. If yes, the DHCP information is deleted (step S206).
次に、本発明の実施例2について、図3に示すDHCP−PDリクエスティングルータの構成例、及び図4に示す動作例を用いて説明する。
実施例2のDHCP−PDリクエスティングルータ20は、図3に示すように、リリーススイッチ1、制御部2及びIPネットワークインタフェース部3−1,3−2から構成される。リリーススイッチ1は制御部2に接続され、制御部2はIPネットワークインタフェース部3−1,3−2にそれぞれ接続される。IPネットワークインタフェース部3−1,3−2はIPネットワーク50に接続される。リリーススイッチ1は、例えばスイッチの押下等の操作により起動し、制御部2にスイッチ起動信号を出力する。本発明は、リリーススイッチ1の起動を契機として制御部2にスイッチ起動信号を通知することに特長があり、リリーススイッチ1自体の動作方式や、リリーススイッチ1から制御部2へのスイッチ起動信号の伝達方式を制限するものではない。
Next, a second embodiment of the present invention will be described using a configuration example of the DHCP-PD requesting router shown in FIG. 3 and an operation example shown in FIG.
As shown in FIG. 3, the DHCP-
制御部2は、従来技術と同様にDHCP−PD機能の処理を実行することにより、DHCP−PDメッセージを生成し、当該DHCP−PDメッセージをIPネットワークインタフェース部3−1,3−2に出力する。ここで、リリーススイッチ1からのスイッチ起動信号の受信を契機に、DHCPのIPv6アドレスプレフィックス解放要求処理を実行する点が、従来技術と異なる。
The control unit 2 generates a DHCP-PD message by executing the processing of the DHCP-PD function in the same manner as in the prior art, and outputs the DHCP-PD message to the IP network interface units 3-1 and 3-2. . Here, the point that the IPv6 address prefix release request processing of DHCP is executed upon receipt of the switch activation signal from the
IPネットワークインタフェース部3−1,3−2は、制御部2が生成したDHCP−PDメッセージを入力してIPネットワーク50へ送信する。また、IPネットワーク50からDHCP−PDメッセージを受信し、制御部2に転送する。一般的に、ルータは、複数のIPネットワークインタフェースを備えている。本発明は、IPネットワークインタフェースの数を制限するものではない。DHCP−PDリクエスティングルータ20が複数のIPネットワークインタフェース部を備えている場合、制御部2は、DHCPサーバがIPネットワーク50を介して接続されるIPネットワークインタフェース部とそれぞれ接続される。この接続法としては、特定のインタフェースを、DHCPサーバが接続されるIPネットワークインタフェース部とする方法や、全てのIPネットワークインタフェースを制御部2と接続する方法が挙げられるが、本発明は、制御部2とIPネットワークインタフェース部との間の接続法を制限するものではない。本実施例2には、本発明の説明に必要なDHCPサーバとの間の通信に使用するIPネットワークインタフェース部のみが記載されている。
The IP network interface units 3-1 and 3-2 receive the DHCP-PD message generated by the control unit 2 and transmit it to the IP network 50. Also, a DHCP-PD message is received from the IP network 50 and transferred to the control unit 2. In general, a router includes a plurality of IP network interfaces. The present invention does not limit the number of IP network interfaces. When the DHCP-
実施例2の動作例について、図4を用いて説明する。但し、図4では、説明の簡素化のため、ユーザ収容ルータがDHCPサーバ機能を有する場合の動作例を示す。尚、ユーザ収容ルータがDHCPサーバ機能を有しておらず、DHCPサーバが独立して設置される場合は、ユーザ収容ルータがDHCPサーバにメッセージを中継することにより、基本的に図4と同様の動作となる。 An operation example of the second embodiment will be described with reference to FIG. However, FIG. 4 shows an operation example when the user accommodating router has a DHCP server function for the sake of simplicity. If the user accommodation router does not have a DHCP server function and the DHCP server is installed independently, the user accommodation router relays a message to the DHCP server, so that it is basically the same as FIG. It becomes operation.
DHCP−PDリクエスティングルータ20のリリーススイッチ1が押下等の操作により起動された場合(ステップS401)、リリーススイッチ1は、制御部2にスイッチ起動信号を出力する(ステップS402)。スイッチ起動信号を入力した制御部2は、DHCP−PDのIPv6アドレスプレフィックス解放処理を起動してDHCP−PD解放メッセージを生成し(ステップS403)、IPネットワークインタフェース部3に当該DHCP−PD解放メッセージを出力する(ステップS404)。IPネットワークインタフェース部3は、当該DHCP−PD解放メッセージをユーザ収容ルータへ送信する(ステップS405)。メッセージDHCP−PD解放メッセージとしては、例えば、DHCP−PDの場合は、Releaseメッセージが該当する。DHCP解放メッセージには、少なくとも、DHCPクライアント端末10のDUID及びIPv6アドレスプレフィックスを含む。
When the
ユーザ収容ルータは、DHCP−PD解放要求メッセージを受信した場合、当該メッセージに含まれるDHCPクライアント端末のDUID及びIPv6アドレスプレフィックスについて、これらの情報に関連付いた情報が登録されているか否かを判断し、登録されている場合はそのDHCP情報を削除する(ステップS406)。 When the user accommodating router receives the DHCP-PD release request message, the user accommodating router determines whether or not information related to the DHCP client terminal DUID and IPv6 address prefix included in the message is registered. If registered, the DHCP information is deleted (step S406).
次に、本発明の実施例3について説明する。
実施例3のDHCPクライアント端末の構成例は図1と同様であるため、ここではその説明を省略する。実施例3の動作例について、図5を用いて説明する。実施例3では、制御部2が、リリーススイッチ1からのスイッチ起動信号の通知を契機にするのではなく、故障検出を契機にして(ステップS501)、DHCPのIPアドレス解放要求処理を実行する(ステップS502)点で、図2に示した実施例1と異なる。この故障検出法としては、制御部2がDHCPクライアント端末10の各部分の正常性を周期的に確認する方法が挙げられるが、本発明は、制御部2による故障検出法を制限するものではない。図5において、ステップS503〜S505は、図2に示した実施例1のステップS204〜S206と同様である。
Next,
Since the configuration example of the DHCP client terminal according to the third embodiment is the same as that shown in FIG. 1, the description thereof is omitted here. An operation example of the third embodiment will be described with reference to FIG. In the third embodiment, the control unit 2 executes the DHCP IP address release request process not upon the notification of the switch activation signal from the
次に、本発明の実施例4について説明する。
実施例4のDHCP−PDリクエスティングルータの構成例は図3と同様であるため、ここでは説明を省略する。実施例4の動作例について、図6を用いて説明する。実施例4では、制御部2が、リリーススイッチ1からのスイッチ起動信号の通知を契機にするのではなく、故障検出を契機にして(ステップS601)、DHCPのIPv6アドレスプレフィックス解放要求処理を実行する(ステップS602)点が、図4に示した実施例2と異なる。故障検出法としては、制御部2がDHCP−PDリクエスティングルータ20の各部分の正常性を周期的に確認する方法が挙げられるが、本発明は、制御部2による故障検出法を制限するものではない。図6において、ステップS603〜S605は、図2に示した実施例2のステップS404〜S406と同様である。
Next, a fourth embodiment of the present invention will be described.
Since the configuration example of the DHCP-PD requesting router according to the fourth embodiment is the same as that shown in FIG. 3, the description thereof is omitted here. An operation example of the fourth embodiment will be described with reference to FIG. In the fourth embodiment, the control unit 2 performs DHCP IPv6 address prefix release request processing not upon the notification of the switch activation signal from the
次に、本発明の実施例5について説明する。
実施例5のDHCPクライアント端末の構成例は図1を同様であり、DHCP−PDリクエスティングルータの構成例は図3と同様であるため、ここでは説明を省略する。実施例5の動作例について、図7を用いて説明する。図7は、DHCPクライアント端末の動作例を示すフローチャート図である。尚、DHCP−PDリクエスティングルータの動作例も図7と同様である。実施例5では、制御部2がリリーススイッチ1からのスイッチ起動信号の通知を契機に(ステップS701,702)、または、故障検出を契機に(図示せず)、DHCPのIPアドレス解放要求処理を実行する場合に(ステップS703)、予め定めた複数回数分、DHCP解放メッセージを送信する(ステップS704〜S707)点で、図2に示した実施例1及び図5に示した実施例3と異なる。
Next, a fifth embodiment of the present invention will be described.
The configuration example of the DHCP client terminal according to the fifth embodiment is the same as that shown in FIG. 1, and the configuration example of the DHCP-PD requesting router is the same as that shown in FIG. An operation example of the fifth embodiment will be described with reference to FIG. FIG. 7 is a flowchart showing an operation example of the DHCP client terminal. The operation example of the DHCP-PD requesting router is the same as that in FIG. In the fifth embodiment, the control unit 2 performs DHCP IP address release request processing when triggered by notification of a switch activation signal from the release switch 1 (steps S701 and 702) or triggered by failure detection (not shown). When executed (step S703), the DHCP release message is transmitted for a predetermined number of times (steps S704 to S707), which differs from the first embodiment shown in FIG. 2 and the third embodiment shown in FIG. .
具体的には、スイッチ起動信号を受信した制御部2、または故障検出した制御部2は、DHCPのIPアドレス解放処理を起動して、DHCPクライアント端末10のDUID及びIPアドレスを含むDHCP解放メッセージを生成し(ステップS703)、IPネットワークインタフェース部3に当該DHCP解放メッセージを出力する(ステップS704)。そして、IPネットワークインタフェース部3は、当該DHCP解放メッセージをユーザ収容ルータへ送信する(ステップS705)。さらに、制御部2は、IPネットワークインタフェース部3に前記DHCP解放メッセージを出力し(ステップS706)、IPネットワークインタフェース部3は、当該DHCP解放メッセージをユーザ収容ルータへ送信する(ステップS707)。制御部2及びIPネットワークインタフェース部3は、ステップ704,705の動作を、予め定めた回数分繰り返す。このような動作を繰り返すのは、図7に示すように、ステップ705のDHCP解放メッセージがIPネットワーク50上で損失した場合に、有効である。
Specifically, the control unit 2 that has received the switch activation signal or the control unit 2 that has detected the failure activates the DHCP IP address release process and sends a DHCP release message including the DUID and IP address of the DHCP client terminal 10. It generates (step S703) and outputs the DHCP release message to the IP network interface unit 3 (step S704). Then, the IP
次に、本発明の実施例6について、図8に示すDHCPクライアント端末の構成例、及び図9に示す動作例を用いて説明する。尚、DHCP−PDリクエスティングルータの構成例は図8と同様であるため、説明を省略する。
実施例6のDHCPクライアント端末11は、図8に示すように、図1に示した実施例1の構成例に、メッセージ記憶部4を追加して構成される。リリーススイッチ1は、メッセージ記憶部4に接続され、制御部2は、メッセージ記憶部4及びIPネットワークインタフェース部3に接続され、IPネットワークインタフェース部3は、メッセージ記憶部4及び制御部2に接続され、メッセージ記憶部4は、リリーススイッチ1、制御部2及びIPネットワークインタフェース部3に接続される。また、IPネットワークインタフェース部3はIPネットワーク50に接続される。
Next, a sixth embodiment of the present invention will be described using a configuration example of a DHCP client terminal shown in FIG. 8 and an operation example shown in FIG. The configuration example of the DHCP-PD requesting router is the same as that shown in FIG.
As shown in FIG. 8, the DHCP client terminal 11 of the sixth embodiment is configured by adding a message storage unit 4 to the configuration example of the first embodiment shown in FIG. The
リリーススイッチ1は、例えばスイッチの押下等の操作により起動し、メッセージ記憶部4にスイッチ起動信号を出力する。本発明は、リリーススイッチ1の起動を契機としてメッセージ記憶部4にスイッチ起動信号を通知することに特長があり、リリーススイッチ1自体の動作方式や、リリーススイッチ1から制御部2へのスイッチ起動信号の伝達方式を制限するものではない。
The
制御部2は、IPアドレスを設定してリリースメッセージを生成し、メッセージ記憶部4に出力して記憶させる。 The control unit 2 sets an IP address, generates a release message, and outputs it to the message storage unit 4 for storage.
IPネットワークインタフェース部3は、メッセージ記憶部4が記憶したリリースメッセージを入力し、DHCPメッセージとしてIPネットワーク50へ送信する。さらに、IPネットワーク50から、IPアドレスを含むDHCPメッセージを受信し、制御部2に転送する。
The IP
メッセージ記憶部4は、リリースメッセージを記憶し、リリーススイッチ1からスイッチ起動信号を入力すると、記憶したリリースメッセージをIPネットワークインタフェース部3に出力する。このメッセージ記憶部4は、当該DHCPクライアント端末11の再起動時にも、記憶したメッセージが消失しないように、不揮発性メモリであることが望ましい。
The message storage unit 4 stores the release message. When the switch activation signal is input from the
実施例6の動作例について、図9を用いて説明する。尚、DHCP−PDリクエスティングルータの動作例も同様である。
DHCPクライアント端末11の制御部2は、ユーザ収容ルータから送信されたIPアドレスを含むDHCP応答を、IPネットワークインタフェース部3を介して入力し(ステップS901,S902)、IPアドレスを設定する(ステップS903)。この時に、DHCPクライアント端末11のDUID及びIPアドレスを含むリリースメッセージを生成し、メッセージ記憶部4に記憶させる(ステップS905,S906)。
An operation example of the sixth embodiment will be described with reference to FIG. The operation example of the DHCP-PD requesting router is the same.
The control unit 2 of the DHCP client terminal 11 inputs a DHCP response including the IP address transmitted from the user accommodating router via the IP network interface unit 3 (steps S901 and S902), and sets the IP address (step S903). ). At this time, a release message including the DUID and IP address of the DHCP client terminal 11 is generated and stored in the message storage unit 4 (steps S905 and S906).
リリーススイッチ1が押下等の操作により起動された場合(ステップS907)、リリーススイッチ1は、メッセージ記憶部4にスイッチ起動信号を出力する(ステップS908)。メッセージ記憶部4は、スイッチ起動信号を入力すると、記憶しているリリースメッセージをIPネットワークインタフェース3に出力する。そして、IPネットワークインタフェース部3は、当該DHCPクライアント端末11のDUID及びIPアドレスを含むリリースメッセージをDHCP解放メッセージとしてユーザ収容ルータへ送信する(ステップS910)。
When the
ユーザ収容ルータは、DHCP解放メッセージを受信した場合、当該メッセージに含まれるDHCPクライアント端末11のDUID及びIPアドレスについて、これらの情報が関連付いて登録されているか否かを判断し、登録されている場合はそのDHCP情報を削除する(ステップS911)。 When the user accommodating router receives the DHCP release message, the user accommodating router determines whether or not these pieces of information are registered in association with the DUID and IP address of the DHCP client terminal 11 included in the message. In that case, the DHCP information is deleted (step S911).
1 リリーススイッチ
2 制御部
3 IPネットワークインタフェース部
4 メッセージ記憶部
10,11,105〜108 DHCPクライアント端末
20,109,110 DHCP−PDリクエスティングルータ
50,100 IPネットワーク
101 DHCPサーバ
102,103 ユーザ収容ルータ
DESCRIPTION OF
Claims (8)
スイッチ起動信号を出力するリリーススイッチと、
前記スイッチ起動信号を入力し、DHCPによって割当てられたIPアドレスの解放を要求するメッセージを、DHCPサーバへ送信する制御部と、
を備えたことを特徴とするDHCPクライアント端末。 In a DHCP client terminal connected to a DHCP server via an IP network and having a DHCP client processing unit,
A release switch that outputs a switch activation signal;
A controller that inputs the switch activation signal and transmits a message requesting release of the IP address assigned by DHCP to the DHCP server;
A DHCP client terminal comprising:
スイッチ起動信号を出力するリリーススイッチと、
前記スイッチ起動信号を入力し、DHCP−PDによって割当てられたIPv6アドレスプレフィックスの解放を要求するメッセージを、DHCPサーバへ送信する制御部と、
を備えたことを特徴とするDHCP−PDリクエスティングルータ。 In a DHCP-PD requesting router that is connected to a DHCP server via an IP network and includes a DHCP-PD requesting router processing unit,
A release switch that outputs a switch activation signal;
A control unit that inputs the switch activation signal and transmits a message requesting release of an IPv6 address prefix assigned by DHCP-PD to a DHCP server;
A DHCP-PD requesting router comprising:
該DHCPクライアント端末の故障を検出した場合に、DHCPによって割当てられたIPアドレスの解放を要求するメッセージを、DHCPサーバへ送信する制御部、
を備えたことを特徴とするDHCPクライアント端末 In a DHCP client terminal connected to a DHCP server via an IP network and having a DHCP client processing unit,
A control unit for transmitting a message requesting release of an IP address assigned by DHCP to a DHCP server when a failure of the DHCP client terminal is detected;
DHCP client terminal characterized by comprising
該DHCPクライアント端末の故障を検出した場合に、DHCP−PDによって割当てられたIPv6アドレスプレフィックスの解放を要求するメッセージを、DHCPサーバへ送信する制御部、
を備えたことを特徴とするDHCP−PDリクエスティングルータ。 In a DHCP-PD requesting router that is connected to a DHCP server via an IP network and includes a DHCP-PD requesting router processing unit,
A control unit that transmits a message requesting release of an IPv6 address prefix assigned by DHCP-PD to a DHCP server when a failure of the DHCP client terminal is detected;
A DHCP-PD requesting router comprising:
前記制御部は、予め設定した回数分の前記メッセージを、DHCPサーバへ送信する、ことを特徴とするDHCPクライアント端末。 In the DHCP client terminal according to claim 1 or 3,
The DHCP client terminal, wherein the control unit transmits the message for a preset number of times to a DHCP server.
前記制御部は、予め設定した回数分の前記メッセージを、DHCPサーバへ送信する、ことを特徴とするDHCP−PDリクエスティングルータ。 In the DHCP-PD requesting router according to claim 2 or 4,
The DHCP-PD requesting router, wherein the control unit transmits the message for a preset number of times to a DHCP server.
さらに、不揮発性メモリで構成されるメッセージ記憶部を備え、
前記制御部は、DHCPサーバが割当てたIPアドレスを受信したときに、該IPアドレスの解放を要求するメッセージを生成し、前記メッセージ記憶部に記憶させ、
請求項1に記載のスイッチ起動信号を入力した場合に、または、請求項3に記載の故障を検出した場合に、前記メッセージ記憶部に記憶されたメッセージをDHCPサーバへ送信する、
ことを特徴とするDHCPクライアント端末。 In the DHCP client terminal according to any one of claims 1, 3 and 5,
Furthermore, a message storage unit composed of a nonvolatile memory is provided,
When the control unit receives the IP address assigned by the DHCP server, the control unit generates a message requesting release of the IP address, and stores the message in the message storage unit.
When the switch activation signal according to claim 1 is input, or when the failure according to claim 3 is detected, the message stored in the message storage unit is transmitted to a DHCP server.
A DHCP client terminal.
さらに、不揮発性メモリで構成されるメッセージ記憶部を備え、
前記制御部は、DHCPサーバが割当てたIPv6アドレスプレフィックスを受信したときに、該IPv6アドレスプレフィックスの解放を要求するメッセージを生成し、前記メッセージ記憶部に記憶させ、
請求項2に記載のスイッチ起動信号を入力した場合に、または、請求項4に記載の故障を検出した場合に、前記メッセージ記憶部に記憶されたメッセージをDHCPサーバへ送信する、
ことを特徴とするDHCP−PDリクエスティングルータ。
In the DHCP-PD requesting router according to any one of claims 2, 4 and 6,
Furthermore, a message storage unit composed of a nonvolatile memory is provided,
When the control unit receives the IPv6 address prefix assigned by the DHCP server, the control unit generates a message requesting release of the IPv6 address prefix, and stores the message in the message storage unit.
When the switch activation signal according to claim 2 is input or when the failure according to claim 4 is detected, the message stored in the message storage unit is transmitted to the DHCP server.
A DHCP-PD requesting router characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005057428A JP4347241B2 (en) | 2005-03-02 | 2005-03-02 | DHCP client terminal and DHCP-PD requesting router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005057428A JP4347241B2 (en) | 2005-03-02 | 2005-03-02 | DHCP client terminal and DHCP-PD requesting router |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006245893A true JP2006245893A (en) | 2006-09-14 |
JP4347241B2 JP4347241B2 (en) | 2009-10-21 |
Family
ID=37051838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005057428A Expired - Fee Related JP4347241B2 (en) | 2005-03-02 | 2005-03-02 | DHCP client terminal and DHCP-PD requesting router |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4347241B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008183104A (en) * | 2007-01-29 | 2008-08-14 | Nishijin Co Ltd | Game system |
CN101626406B (en) * | 2009-08-20 | 2011-09-07 | 杭州华三通信技术有限公司 | DHCP address pool configuration method, DHCP address assignment method, DHCP address assignment system and DHCP server |
CN110798546A (en) * | 2019-11-08 | 2020-02-14 | 杭州海兴电力科技股份有限公司 | DUID-based DHCP client access authentication method |
-
2005
- 2005-03-02 JP JP2005057428A patent/JP4347241B2/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008183104A (en) * | 2007-01-29 | 2008-08-14 | Nishijin Co Ltd | Game system |
CN101626406B (en) * | 2009-08-20 | 2011-09-07 | 杭州华三通信技术有限公司 | DHCP address pool configuration method, DHCP address assignment method, DHCP address assignment system and DHCP server |
CN110798546A (en) * | 2019-11-08 | 2020-02-14 | 杭州海兴电力科技股份有限公司 | DUID-based DHCP client access authentication method |
Also Published As
Publication number | Publication date |
---|---|
JP4347241B2 (en) | 2009-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100636186B1 (en) | Bidirectional tunnel establishment method and system thereof | |
JP2006254137A (en) | User terminal management device, user terminal management program and user terminal management system | |
JP5255035B2 (en) | Failover system, storage processing apparatus, and failover control method | |
JP2006005815A (en) | Session controller performing hierarchical relay processing | |
JP2006094526A (en) | Ip address management method for ipc | |
KR20150046041A (en) | Method and apparatus for configuring dhcp client | |
WO2016139937A1 (en) | Information processing system, proxy server, address duplication prevention method, and computer-readable recording medium | |
US8291111B1 (en) | Responding to a DHCPLEASEQUERY message | |
JP4347241B2 (en) | DHCP client terminal and DHCP-PD requesting router | |
CN103795581A (en) | Address processing method and address processing device | |
JP6497010B2 (en) | Network equipment | |
JP5385872B2 (en) | COMMUNICATION CONTROL DEVICE, COMMUNICATION SYSTEM, AND PROGRAM | |
JP2004357016A (en) | Apparatus for restricting use of specific address | |
JP5638063B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
JP2006148813A (en) | Analysis apparatus management system, and program and analysis apparatus for analysis apparatus management server | |
US8265032B2 (en) | Method and system for multicast broadcasting towards a roaming terminal according to the location thereof | |
JP6579608B2 (en) | Address translation system, address translation duplex method and program | |
EP2220814B1 (en) | Method for managing network components in a network, as well as a network component | |
JP2005086256A (en) | Tunnel gateway apparatus | |
JP2018061148A (en) | Communication device, relay device, communication system, and communication method | |
JP2006245895A (en) | Dhcp user apparatus and dhcp authentication system | |
JP5708288B2 (en) | Satellite communication method, control station and earth station | |
JP2005210554A (en) | Dhcp substitute server | |
JP4242752B2 (en) | Address table management method and terminal | |
JP4252041B2 (en) | DHCP information management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070220 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20070613 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070613 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20081017 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090105 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090324 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090519 |
|
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: 20090714 |
|
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: 20090715 |
|
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: 20120724 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130724 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |