JP2012222542A - Ip address management system, dhcp converter, ip address management method and program - Google Patents

Ip address management system, dhcp converter, ip address management method and program Download PDF

Info

Publication number
JP2012222542A
JP2012222542A JP2011085258A JP2011085258A JP2012222542A JP 2012222542 A JP2012222542 A JP 2012222542A JP 2011085258 A JP2011085258 A JP 2011085258A JP 2011085258 A JP2011085258 A JP 2011085258A JP 2012222542 A JP2012222542 A JP 2012222542A
Authority
JP
Japan
Prior art keywords
dhcp
request
cpe
address
wan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011085258A
Other languages
Japanese (ja)
Other versions
JP5491442B2 (en
Inventor
Toru Ishii
徹 石井
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 JP2011085258A priority Critical patent/JP5491442B2/en
Publication of JP2012222542A publication Critical patent/JP2012222542A/en
Application granted granted Critical
Publication of JP5491442B2 publication Critical patent/JP5491442B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To obtain an IP address management system in which CPE allows connection with a WAN line and acquisition of an IP address automatically when starting communication of user data, and to obtain a DHCP converter, and an IP address management method and a program.SOLUTION: CPE 12 requests a DHCP server 11 to deliver an IP address, and obtains a DHCP offer containing a temporary IP address. WAN line connection request means 13d requests connection with a WAN line when data is sent from the CPE 12 toward the WAN line. Subsequently, the lease time of the IP address is updated, and while changing a MAC header of an IP packet other than the DHCP packet by a DHCP converter 103, user data is communicated between the CPE 12 and a WAN side DHCP server 104.

Description

本発明は、WAN回線と接続してWAN回線側でIPアドレスの払い出しを受けるIPアドレス管理システム、DHCP変換装置、IPアドレス管理方法およびプログラムに関する。   The present invention relates to an IP address management system, a DHCP conversion apparatus, an IP address management method, and a program that are connected to a WAN line and receive an IP address on the WAN line side.

LAN(Local Area Network)よりも広範囲に動作する通信ネットワークとしてWAN(Wide Area Network)がある。WANを構築する際には、それぞれの加入者側にCPE(Customer Premises Equipment:加入者構内装置)を配置して、これらCPEをWAN回線接続装置を介してWAN回線に接続する構成となっている。   There is a WAN (Wide Area Network) as a communication network that operates over a wider range than a LAN (Local Area Network). When a WAN is constructed, CPE (Customer Premises Equipment) is arranged on each subscriber side, and the CPE is connected to the WAN line via the WAN line connection device. .

本発明に関連する関連技術で、WANサービスの通信ネットワークはWAN回線接続装置が常にWAN回線との接続を保っている(たとえば特許文献1参照)。このため、CPEがWAN回線接続装置とイーサーネット(登録商標)ケーブルを用いて接続すると、CPEは自動的にDHCP(Dynamic Host Configuration Protocol)を起動してIPアドレス(Internet Protocol Address)を取得し、インターネットと通信が可能になる。   In the related technology related to the present invention, in the WAN service communication network, the WAN line connection device always maintains the connection with the WAN line (for example, see Patent Document 1). For this reason, when the CPE is connected to the WAN line connection device using an Ethernet (registered trademark) cable, the CPE automatically activates DHCP (Dynamic Host Configuration Protocol) to obtain an IP address (Internet Protocol Address) Communication with the Internet becomes possible.

特開2010−239591号公報(第0160段落、図20)JP 2010-239591 (paragraph 0160, FIG. 20)

この関連技術によれば、CPEはイーサーネット(登録商標)ケーブルをWAN回線接続装置に接続しておくだけでIPアドレスを自動的に取得して通信状態になるという利便性がある。しかしながら、この一方でイーサーネット(登録商標)ケーブルを用いてCPEがWAN回線接続装置と接続すると、IPアドレスの更新のための制御パケットをWAN側のDHCPサーバとの間で送受信する処理が定期的に行われる。したがって、CPEがWAN回線と接続する際に従量課金制を採用している場合には、CPEのユーザが本来のデータ通信で使用するパケットに支払う以上の課金が行われてしまうという問題がある。従量課金制では、パケット通信の量に応じて利用代金が課金されるので、制御パケットも課金の対象となるからである。   According to this related technology, the CPE has the convenience that the IP address is automatically acquired and the communication state is obtained only by connecting the Ethernet (registered trademark) cable to the WAN line connection device. However, on the other hand, when the CPE is connected to the WAN line connection device using the Ethernet (registered trademark) cable, the process of transmitting and receiving the control packet for updating the IP address to and from the DHCP server on the WAN side is periodically performed. To be done. Therefore, when the CPE employs a pay-per-use system when connecting to the WAN line, there is a problem that the CPE user is charged more than the packet used for the original data communication. This is because the usage fee is charged according to the amount of packet communication in the pay-per-use system, and the control packet is also charged.

また、この関連技術によれば、CPEがWAN回線接続装置を介してWAN回線と接続される構成となっているので、WAN回線側から攻撃パケットを受けやすいというセキュリティ上の問題が存在する。もちろん、ユーザは自分でデータ通信を行う時間以外にCPEをWAN回線から切り離すことでセキュリティ上の問題を回避することができる。しかしながら、このためにはCPE側のユーザが通信の前後でWAN回線の接続処理と切断処理を手動で行う必要があり、面倒である。   Further, according to this related technique, since the CPE is connected to the WAN line via the WAN line connection device, there is a security problem that it is easy to receive attack packets from the WAN line side. Of course, the user can avoid the security problem by disconnecting the CPE from the WAN line other than the time for performing data communication by himself. However, this requires a user on the CPE side to manually perform WAN line connection processing and disconnection processing before and after communication, which is troublesome.

そこで本発明の目的は、CPEがユーザデータの通信を開始する際にユーザの手間を掛けずにWAN回線との接続とIPアドレスの取得を行うことのできるIPアドレス管理システム、DHCP変換装置、IPアドレス管理方法およびプログラムを得ることにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an IP address management system, a DHCP conversion device, an IP address management system capable of connecting to a WAN line and acquiring an IP address without user effort when the CPE starts communication of user data. It is to obtain an address management method and program.

本発明の他の目的は、CPEがWAN回線から取得したIPアドレスを用いてユーザデータの通信を終了した際にユーザの手間を掛けずにWAN回線との接続を解除することのできるIPアドレス管理システム、DHCP変換装置、IPアドレス管理方法およびプログラムを得ることにある。   Another object of the present invention is to manage the IP address that can release the connection to the WAN line without the user's trouble when the CPE ends the communication of user data using the IP address acquired from the WAN line. A system, a DHCP converter, an IP address management method, and a program are obtained.

本発明では、(イ)WAN(Wide Area Network)側に配置され、要求のあった装置に対してIPアドレス(Internet Protocol Address)の払い出しを行うDHCP(Dynamic Host Configuration Protocol)サーバと、(ロ)このDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出するDHCPディスカバー送出手段と、このDHCPディスカバー送出手段の送出したDHCPディスカバーに対して提示条件としてのDHCPオファ(DHCP OFFER)が送り返されてきたときこの条件を受け入れ可能である場合にDHCPリクエスト(DHCP REQUEST)を前記したDHCPサーバに向けて送出する条件受け入れ可能時DHCPリクエスト送出手段と、この条件受け入れ可能時DHCPリクエスト送出手段の送出したDHCPリクエストに対してDHCPアクノリッジメント(DHCP ACK)が送り返されてきたとき前記したDHCPオファで提示されたIPアドレスを使用してデータの通信を開始可能とする通信開始手段と、前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間が経過する前にリース時間更新時DHCPリクエストを送信するリース時間更新時DHCPリクエスト送出手段と、このリース時間更新時DHCPリクエスト送出手段によって前記したリース時間更新時DHCPリクエストを送出したときこの更新要求を拒絶するDHCPネガティブ・アクノリッジメントが返送されてきたとき前記したDHCPオファで提示されたIPアドレスを破棄するIPアドレス破棄手段とを備えたCPE(Customer Premises Equipment)と、(ハ)このCPEと前記したDHCPサーバの接続されたWAN回線との間に配置され、このWAN回線との接続をオン・オフするWAN回線接続オン・オフ手段と、このWAN回線接続オン・オフ手段が前記したWAN回線と接続していない状態で前記したCPEが前記したDHCPディスカバーを送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行しこのIPアドレスを含んだDHCPオファを前記したCPEに返答する代理DHCPオファ返答手段と、この代理DHCPオファ返答手段の返答に対して前記したCPEが前記したDHCPリクエストを送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメントを前記したCPEに返答する代理DHCPアクノリッジメント返答手段と、前記したCPEから前記したWAN回線に向けたデータが送られてきたとき前記したWAN回線接続オン・オフ手段が前記したWAN回線と接続していない状態でデータの送信を待機する状態に移行すると共に前記したWAN回線接続オン・オフ手段に対してWAN回線との接続を要求するWAN回線接続要求手段と、このWAN回線接続要求手段の要求によって前記したWAN回線接続オン・オフ手段がWAN回線との接続をオンにするまでの間、前記したCPEが前記したリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信手段と、前記したWAN回線接続オン・オフ手段が前記したWAN回線を接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信手段と、このDHCPサーバ宛DHCPリクエスト送信手段の送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送するDHCPアクノリッジメント返送手段とを備えたDHCP変換装置とをIPアドレス管理システムが具備する。   In the present invention, (b) a DHCP (Dynamic Host Configuration Protocol) server that is arranged on the WAN (Wide Area Network) side and issues an IP address (Internet Protocol Address) to a requested device; A DHCP discover sending means for sending out a DHCP discover (DHCP DISCOVER) requesting delivery of an IP address to the own device to the DHCP server, and DHCP as a presentation condition for the DHCP discover sent out by the DHCP discover sending means A DHCP request sending means for accepting a condition for sending a DHCP request (DHCP REQUEST) to the DHCP server when the condition can be accepted when an offer (DHCP OFFER) is sent back, and accepting the condition Communication that allows data communication to be started using the IP address presented in the DHCP offer when a DHCP acknowledgment (DHCP ACK) is sent back in response to a DHCP request sent by the DHCP request sending means at the time of operation Starting means, lease time update DHCP request sending means for sending a lease time update DHCP request before the lease time elapses in order to update the lease time of the IP address presented in the DHCP offer, When the lease time update DHCP request is sent by the lease time update DHCP request sending means, when the DHCP negative acknowledgment rejecting the update request is returned, the IP address presented in the DHCP offer A CPE (Customer Premises Equipment) having an IP address discarding means to be discarded, and (c) a CPE and a WAN line to which the DHCP server is connected, and the connection to the WAN line is turned on. WAN line connection on / off means to be turned off, and when the above-mentioned CPE sends out the above-mentioned DHCP discover in a state where this WAN line connection on / off means is not connected to the above-mentioned WAN line, the above-mentioned DHCP server The proxy DHCP offer response means for issuing a temporary IP address received as a proxy of the request and replying the DHCP offer including the IP address to the CPE, and the CPE for the reply of the proxy DHCP offer response means When the above-mentioned DHCP request is sent, this is used as a proxy for the above-mentioned DHCP server. A proxy DHCP acknowledgment response means for receiving and responding to the above-mentioned CPE with a DHCP acknowledgment, and the above-mentioned WAN line connection on / off means when the data directed from the above-mentioned CPE to the above-mentioned WAN line is sent. A WAN line connection requesting means for making a transition to a state of waiting for data transmission without being connected to the WAN line and requesting the WAN line connection on / off means to connect to the WAN line, and this WAN This request is made when the CPE sends the DHCP request at the time of lease time update until the WAN line connection on / off means turns on the connection with the WAN line by the request of the line connection request means. Negative Acknowledgment Returning DHCP Negative Acknowledgment The above-mentioned DHCP request at the time of lease time update is not made until the predetermined time within the lease time presented by the DHCP server has passed after the WAN line connection on / off means has been connected by the above-described WAN line connection on / off means. The DHCP server-destined DHCP request transmitting means for transmitting a DHCP request on behalf of the above-mentioned CPE to the above-described DHCP server, and the DHCP server-destined DHCP request transmitted by the DHCP server-destined DHCP request transmitting means. And a DHCP acknowledgment return means for returning the DHCP acknowledgment to the CPE when the DHCP server returns a DHCP acknowledgment that means that the same IP address can be continuously issued. A DHCP conversion device IP address management system comprising a.

また、本発明では、(イ)IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)と、この要求に応じてIPアドレスを前記したCPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバの接続されたWAN(Wide Area Network)回線との間に配置され、前記したWAN回線と自装置の接続をオン・オフするWAN回線接続オン・オフ手段と、(ロ)このWAN回線接続オン・オフ手段が前記したWAN回線と接続していない状態で前記したCPEが前記したDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行手段と、(ハ)前記したDHCPディスカバーに対して前記した仮のIPアドレス発行手段の発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記したCPEに返答する代理DHCPオファ返答手段と、(ニ)この代理DHCPオファ返答手段の返答に対して前記したCPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記したCPEに返答する代理DHCPアクノリッジメント返答手段と、(ホ)前記したCPEから前記したWAN回線に向けたデータが送られてきたとき前記したWAN回線接続オン・オフ手段が前記したWAN回線と接続していない状態でデータの送信を待機する状態に移行すると共に前記したWAN回線接続オン・オフ手段に対してWAN回線との接続を要求するWAN回線接続要求手段と、(へ)このWAN回線接続要求手段の要求によって前記したWAN回線接続オン・オフ手段がWAN回線との接続をオンにするまでの間、前記したCPEが前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信手段と、(ト)前記したWAN回線接続オン・オフ手段が前記したWAN回線を接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信手段と、(チ)このDHCPサーバ宛DHCPリクエスト送信手段の送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送するDHCPアクノリッジメント返送手段とをDHCP変換装置が具備する。   In the present invention, (i) CPE (Customer Premises Equipment) requesting delivery of an IP address (Internet Protocol Address) and DHCP (Dynamic Host Configuration Protocol) delivering an IP address to the CPE in response to this request. WAN line connection on / off means that is arranged between a WAN (Wide Area Network) line to which the server is connected, and turns on / off the connection between the WAN line and its own device, and (b) this WAN line connection on When the above-mentioned CPE sends out a DHCP discover requesting the IP address to be issued to the above-mentioned DHCP server (DHCP DISCOVER) while the OFF means is not connected to the above-mentioned WAN line. Temporary IP address issue that receives and issues a temporary IP address as a proxy for the DHCP server. And (c) a proxy DHCP offer response that responds to the CPE with a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued by the temporary IP address issuing means to the DHCP discover described above. And (d) when a DHCP request (DHCP REQUEST) indicating that the above-mentioned CPE can accept the conditions indicated in the reply is sent in response to the reply of this proxy DHCP offer reply means, this is referred to as the DHCP server. Proxy DHCP acknowledgment response means for receiving a DHCP acknowledgment (DHCP ACK) to the above-mentioned CPE, and (e) when data directed from the above-mentioned CPE to the above-mentioned WAN line is sent. WAN line connection on / off means WAN line connection requesting means for making a transition to a state of waiting for data transmission without being connected to the WAN line and requesting the WAN line connection on / off means to connect to the WAN line; F) Until the above-mentioned WAN line connection on / off means turns on the connection to the WAN line in response to the request from the WAN line connection request means, the above-mentioned IP address presented by the above-mentioned DHCP offer by the above-mentioned CPE Negative acknowledgment return means for sending back a DHCP negative acknowledgment that rejects the request when a DHCP request is transmitted at the time of lease time update in order to update the lease time, and (g) WAN line connection ON as described above -The off means connected to the WAN line described above and the relay server presented by the DHCP server described above. A DHCP server-destined DHCP request transmitting means for transmitting a DHCP request on behalf of the CPE to the DHCP server when the DHCP request is sent for the first time after the lease time is renewed after a predetermined period of time elapses. (H) In response to the DHCP request addressed to the DHCP server sent by the DHCP server addressed DHCP request transmission means, the DHCP server returns a DHCP acknowledgment meaning that the same IP address can be continuously issued. The DHCP conversion device includes a DHCP acknowledgment return means for returning the DHCP acknowledgment to the CPE.

更に本発明では、(イ)IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記したCPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバを接続したWAN(Wide Area Network)回線と自装置の接続がオフとなっている状態で前記したCPEが前記したDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行ステップと、(ロ)前記したDHCPディスカバーに対して前記した仮のIPアドレス発行ステップで発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記したCPEに返答する代理DHCPオファ返答ステップと、(ハ)この代理DHCPオファ返答ステップで行った返答に対して前記したCPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記したCPEに返答する代理DHCPアクノリッジメント返答ステップと、(ニ)前記したCPEから前記したWAN回線に向けたデータが送られてきたとき前記したWAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記したWAN回線と自装置の接続を要求するWAN回線接続要求ステップと、(ホ)このWAN回線接続要求ステップによる要求によって前記したWAN回線と自装置が接続するまでの間、前記したCPEが前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信ステップと、(へ)前記したWAN回線接続要求ステップによって前記したWAN回線と自装置が接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信ステップと、(ト)このDHCPサーバ宛DHCPリクエスト送信ステップで送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送するDHCPアクノリッジメント返送ステップとをIPアドレス管理方法が具備する。   Further, in the present invention, (i) a DHCP (Dynamic Host Configuration Protocol) server that issues an IP address to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests an IP address (Internet Protocol Address) is connected. The DHCP discover (DHCP DISCOVER) requesting the above-mentioned DHCP server to issue an IP address to the above-mentioned DHCP server in a state where the connection between the WAN (Wide Area Network) line and the own device is turned off. A temporary IP address issuing step for issuing a temporary IP address by receiving this as a proxy for the DHCP server when it is sent, and (b) a temporary IP address issuing step for the DHCP discover described above. DHCP offer as a presentation condition that includes the issued IP address A proxy DHCP offer reply step for replying (DHCP OFFER) to the above-mentioned CPE, and (c) a response made in this proxy DHCP offer reply step indicates that the above-mentioned CPE can accept the conditions indicated in the reply. A proxy DHCP acknowledgment reply step of receiving a DHCP request (DHCP REQUEST) as a proxy of the DHCP server and replying a DHCP acknowledgment (DHCP ACK) to the CPE; When data is sent from the CPE to the above-described WAN line, the state shifts to a state of waiting for data transmission while the connection between the WAN line and the own apparatus is off, and WAN line connection request request for device connection And (e) the above-mentioned IP address lease time presented by the above-mentioned DHCP offer by the above-mentioned CPE until the above-mentioned WAN line is connected to its own device by the request in this WAN line connection request step. When a lease time update DHCP request is sent for renewal, a negative acknowledgment return step of returning a DHCP negative acknowledgment rejecting this request, and (to) the WAN line connection request step described above. When a DHCP request is sent for the first time when the lease time is updated after the predetermined time within the lease time presented by the DHCP server has been connected with the WAN line and the above-mentioned DHCP server, the above-mentioned CPE is sent to the DHCP server. DH sending a DHCP request on behalf It is possible that the DHCP server described above can continue to issue the same IP address in response to the DHCP request addressed to the DHCP server sent in the DHCP request addressed to the DHCP server sent in the DHCP server addressed DHCP request sending step. The IP address management method includes a DHCP acknowledgment return step of returning the DHCP acknowledgment to the CPE when the DHCP acknowledgment meaning is returned.

更にまた本発明では、コンピュータに、IPアドレス(Internet Protocol Address)管理プログラムとして、(イ)IPアドレスの払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記したCPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバを接続したWAN(Wide Area Network)回線と自装置の接続がオフとなっている状態で前記したCPEが前記したDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行処理と、(ロ)前記したDHCPディスカバーに対して前記した仮のIPアドレス発行処理で発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記したCPEに返答する代理DHCPオファ返答処理と、(ハ)この代理DHCPオファ返答処理で行った返答に対して前記したCPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記したCPEに返答する代理DHCPアクノリッジメント返答処理と、(ニ)前記したCPEから前記したWAN回線に向けたデータが送られてきたとき前記したWAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記したWAN回線と自装置の接続を要求するWAN回線接続要求処理と、(ホ)このWAN回線接続要求処理による要求によって前記したWAN回線と自装置が接続するまでの間、前記したCPEが前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信処理と、(へ)前記したWAN回線接続要求処理によって前記したWAN回線と自装置が接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信処理と、(ト)このDHCPサーバ宛DHCPリクエスト送信処理で送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送するDHCPアクノリッジメント返送処理とを実行させる。   Furthermore, in the present invention, as an IP address (Internet Protocol Address) management program, (i) an IP address is issued to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests the IP address to be issued. With the WAN (Wide Area Network) line connected to the DHCP (Dynamic Host Configuration Protocol) server connected to the own device, the CPE issues an IP address to the own device toward the DHCP server. A DHCP discover request (DHCP DISCOVER) is received as a proxy for the DHCP server and a temporary IP address issuance process for issuing a temporary IP address; and (b) for the DHCP discover described above. I issued by the temporary IP address issuing process described above Proxy DHCP offer response processing that responds to the above-mentioned CPE with a DHCP offer (DHCP OFFER) as a presentation condition including the P address, and (c) the above-mentioned CPE responds to the response made in this proxy DHCP offer response processing. Proxy DHCP Acknowledge that receives a DHCP request (DHCP REQUEST) indicating that the indicated condition is acceptable as a proxy of the DHCP server and returns a DHCP acknowledgment (DHCP ACK) to the CPE And (d) a state of waiting for data transmission in a state where the connection between the WAN line and the own apparatus is off when data is sent from the CPE to the WAN line. As well as the WAN line and own device WAN line connection request processing for requesting connection, and (e) the above-mentioned CPE is presented in the above-mentioned DHCP offer until the above-mentioned WAN line is connected to the own device by a request by this WAN line connection request processing. Negative acknowledgment return processing for returning a DHCP negative acknowledgment that rejects this request when a DHCP request is transmitted at the time of lease time update in order to renew the lease time of the IP address, and (to) the WAN described above The above-described DHCP request at the time of lease time renewal is sent for the first time after the predetermined time within the lease time presented by the DHCP server has passed after the WAN line is connected to the above-mentioned WAN line by the line connection request processing. DHCP request on behalf of the above-mentioned CPE to the DHCP server DHCP server-sending DHCP request sending process for sending a DHCP server and (g) DHCP server-sending DHCP request sent in the DHCP server-sending DHCP request sending process, the DHCP server continues to issue the same IP address. When a DHCP acknowledgment signifying that it is possible is returned, a DHCP acknowledgment return process for returning the DHCP acknowledgment to the CPE is executed.

以上説明したように本発明によれば、DHCPを使用してIPアドレスを取得するアクセスルータやパーソナルコンピュータ等に代表されるCPEのユーザデータ通信の開始をトリガとしてDHCP変換装置がWAN回線と接続される。したがって、CPEのそれぞれに個別に特別の装置を接続することなく必要なときにWAN回線との接続が可能になり、従量料金制における利用代金の低減が図れるだけでなく、ネットワークのトラヒックを低減させることができる。また、CPEをWAN回線に常時接続する必要がなくなるので、WAN回線側からの不正アクセスの可能性を低減させることもできる。   As described above, according to the present invention, the DHCP conversion apparatus is connected to the WAN line triggered by the start of user data communication of a CPE represented by an access router, a personal computer or the like that acquires an IP address using DHCP. The Therefore, it is possible to connect to the WAN line when necessary without individually connecting a special device to each CPE, so that not only the usage fee can be reduced but also the network traffic can be reduced. be able to. Further, since it is not necessary to always connect the CPE to the WAN line, the possibility of unauthorized access from the WAN line side can be reduced.

本発明のIPアドレス管理システムのクレーム対応図である。It is a claim correspondence diagram of the IP address management system of the present invention. 本発明のDHCP変換装置のクレーム対応図である。It is a claim corresponding | compatible figure of the DHCP converter of this invention. 本発明のIPアドレス管理方法のクレーム対応図である。It is a claim correspondence diagram of the IP address management method of the present invention. 本発明のIPアドレス管理プログラムのクレーム対応図である。It is a claim correspondence diagram of the IP address management program of the present invention. 本発明の実施の形態によるIPアドレス管理システムの構成の概要を表わしたシステム構成図である。1 is a system configuration diagram showing an outline of a configuration of an IP address management system according to an embodiment of the present invention. 本実施の形態のIPアドレス管理システムでCPEが起動したときDHCP変換装置との間で行われる処理の様子を表わしたシーケンス説明図である。It is sequence explanatory drawing showing the mode of the process performed between DHCP conversion apparatuses, when CPE starts in the IP address management system of this Embodiment. 本実施の形態でDHCP変換装置がCPEからWAN回線へ送信すべきユーザデータを受信した場合の動作を示したシーケンス説明図である。It is sequence explanatory drawing which showed the operation | movement when the DHCP converter in this Embodiment receives the user data which should be transmitted to a WAN line from CPE. 本実施の形態でWAN側DHCPサーバからのIPアドレスのリース時間についての更新処理を表わしたシーケンス説明図である。It is sequence explanatory drawing showing the update process about the lease time of the IP address from a WAN side DHCP server in this Embodiment. 本実施の形態のDHCP変換装置におけるユーザデータの送信終了時のWAN接続部の処理を表わした流れ図である。It is a flowchart showing the process of the WAN connection part at the time of the completion | finish of transmission of user data in the DHCP converter of this Embodiment. 本実施の形態のDHCP変換装置におけるDHCPリリースパケットの送信処理の様子を表わした流れ図である。It is the flowchart showing the mode of the transmission process of the DHCP release packet in the DHCP converter of this Embodiment. 本実施の形態のDHCP変換装置が送信データ不在と判定したときのIPアドレス管理システムの処理の様子を表わしたシーケンス説明図である。It is sequence explanatory drawing showing the mode of processing of the IP address management system when the DHCP converter of this Embodiment determines with the absence of transmission data. 本発明の変形例におけるDHCP変換装置が送信データ不在と判定したときのIPアドレス管理システムの処理を示したシーケンス説明図である。It is sequence explanatory drawing which showed the process of the IP address management system when the DHCP converter in the modification of this invention determines with transmission data absence.

図1は、本発明のIPアドレス管理システムのクレーム対応図を示したものである。本発明のIPアドレス管理システム10は、DHCP(Dynamic Host Configuration Protocol)サーバ11と、CPE(Customer Premises Equipment)12と、DHCP変換装置13を備えている。ここで、DHCPサーバ11は、WAN(Wide Area Network)側に配置され、要求のあった装置に対してIPアドレス(Internet Protocol Address)の払い出しを行う。CPE12は、DHCPディスカバー送出手段12aと、条件受け入れ可能時DHCPリクエスト送出手段12bと、通信開始手段12cと、リース時間更新時DHCPリクエスト送出手段12dと、IPアドレス破棄手段12eとを備えている。DHCPディスカバー送出手段12aは、DHCPサーバ11に向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出する。条件受け入れ可能時DHCPリクエスト送出手段12bは、DHCPディスカバー送出手段12aの送出したDHCPディスカバーに対して提示条件としてのDHCPオファ(DHCP OFFER)が送り返されてきたときこの条件を受け入れ可能である場合にDHCPリクエスト(DHCP REQUEST)をDHCPサーバ11に向けて送出する。通信開始手段12cは、条件受け入れ可能時DHCPリクエスト送出手段12bの送出したDHCPリクエストに対してDHCPアクノリッジメント(DHCP ACK)が送り返されてきたとき前記したDHCPオファで提示されたIPアドレスを使用してデータの通信を開始可能とする。リース時間更新時DHCPリクエスト送出手段12dは、前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間が経過する前にリース時間更新時DHCPリクエストを送信する。IPアドレス破棄手段12eは、リース時間更新時DHCPリクエスト送出手段12dによって前記したリース時間更新時DHCPリクエストを送出したときこの更新要求を拒絶するDHCPネガティブ・アクノリッジメントが返送されてきたとき前記したDHCPオファで提示されたIPアドレスを破棄する。DHCP変換装置13は、WAN回線接続オン・オフ手段13aと、代理DHCPオファ返答手段13bと、代理DHCPアクノリッジメント返答手段13cと、WAN回線接続要求手段13dと、ネガティブ・アクノリッジメント返信手段13eと、DHCPサーバ宛DHCPリクエスト送信手段13fと、DHCPアクノリッジメント返送手段13gとを備えている。WAN回線接続オン・オフ手段13aは、CPE12とDHCPサーバ11の接続されたWAN回線との間に配置され、このWAN回線との接続をオン・オフする。代理DHCPオファ返答手段13bは、WAN回線接続オン・オフ手段13aが前記したWAN回線と接続していない状態でCPE12が前記したDHCPディスカバーを送出してきたときこれをDHCPサーバ11の代理として受信して仮のIPアドレスを発行しこのIPアドレスを含んだDHCPオファをCPE12に返答する。代理DHCPアクノリッジメント返答手段13cは、代理DHCPオファ返答手段13bの返答に対してCPE12が前記したDHCPリクエストを送出してきたときこれをDHCPサーバ11の代理として受信してDHCPアクノリッジメントをCPE12に返答する。WAN回線接続要求手段13dは、CPE12から前記したWAN回線に向けたデータが送られてきたときWAN回線接続オン・オフ手段13aが前記したWAN回線と接続していない状態でデータの送信を待機する状態に移行すると共にWAN回線接続オン・オフ手段13aに対してWAN回線との接続を要求する。ネガティブ・アクノリッジメント返信手段13eは、WAN回線接続要求手段13dの要求によってWAN回線接続オン・オフ手段13aがWAN回線との接続をオンにするまでの間、CPE12が前記したリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信する。DHCPサーバ宛DHCPリクエスト送信手段13fは、WAN回線接続オン・オフ手段13aが前記したWAN回線を接続しDHCPサーバ11が提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたときDHCPサーバ11にCPE12の代理でDHCPリクエストを送信する。DHCPアクノリッジメント返送手段13gは、DHCPサーバ宛DHCPリクエスト送信手段13fの送出したDHCPサーバ宛DHCPリクエストに対してDHCPサーバ11が引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントをCPE12に返送する。   FIG. 1 is a diagram corresponding to claims of the IP address management system of the present invention. The IP address management system 10 of the present invention includes a DHCP (Dynamic Host Configuration Protocol) server 11, a CPE (Customer Premises Equipment) 12, and a DHCP conversion device 13. Here, the DHCP server 11 is arranged on the WAN (Wide Area Network) side, and issues an IP address (Internet Protocol Address) to the requested apparatus. The CPE 12 includes a DHCP discover sending means 12a, a DHCP request sending means 12b when conditions can be accepted, a communication start means 12c, a DHCP request sending means 12d when a lease time is updated, and an IP address discarding means 12e. The DHCP discover sending means 12a sends a DHCP discover (DHCP DISCOVER) requesting the DHCP server 11 to issue an IP address to itself. When the condition can be accepted, the DHCP request sending means 12b receives the DHCP offer (DHCP OFFER) as a presentation condition to the DHCP discover sent by the DHCP discover sending means 12a. A request (DHCP REQUEST) is sent to the DHCP server 11. The communication start means 12c uses the IP address presented in the DHCP offer when the DHCP acknowledgment (DHCP ACK) is sent back to the DHCP request sent by the DHCP request sending means 12b when the condition is acceptable. Data communication can be started. The lease time update DHCP request sending means 12d transmits a lease time update DHCP request before the lease time elapses in order to renew the lease time of the IP address presented in the DHCP offer. The IP address discarding unit 12e is configured to send the DHCP offer acknowledgment when the DHCP negative acknowledgment for rejecting the update request is returned when the lease time update DHCP request is sent by the lease time update DHCP request sending unit 12d. The IP address presented in is discarded. The DHCP converter 13 includes a WAN line connection on / off means 13a, a proxy DHCP offer reply means 13b, a proxy DHCP acknowledgment reply means 13c, a WAN line connection request means 13d, a negative acknowledgment reply means 13e, A DHCP server-addressed DHCP request transmission unit 13f and a DHCP acknowledgment return unit 13g are provided. The WAN line connection on / off means 13a is arranged between the CPE 12 and the WAN line to which the DHCP server 11 is connected, and turns on / off the connection with the WAN line. The proxy DHCP offer response means 13b receives the DHCP discover as a proxy of the DHCP server 11 when the CPE 12 sends out the DHCP discover when the WAN line connection on / off means 13a is not connected to the WAN line. A temporary IP address is issued and a DHCP offer including this IP address is returned to the CPE 12. The proxy DHCP acknowledgment reply means 13c receives the DHCP request as a proxy of the DHCP server 11 when the CPE 12 sends out the DHCP request in response to the reply of the proxy DHCP offer reply means 13b, and returns a DHCP acknowledgment to the CPE 12. . The WAN line connection request unit 13d waits for data transmission in a state in which the WAN line connection on / off unit 13a is not connected to the WAN line when data is sent from the CPE 12 to the WAN line. At the same time, the WAN line connection on / off means 13a is requested to connect to the WAN line. The negative acknowledgment reply means 13e is a DHCP request when the lease time is updated by the CPE 12 until the WAN line connection on / off means 13a turns on the connection to the WAN line in response to a request from the WAN line connection request means 13d. Is sent back, a DHCP negative acknowledgment that rejects this request is returned. The DHCP server-destined DHCP request transmission means 13f is the time when the lease time is updated for the first time after the WAN line connection on / off means 13a connects the WAN line described above and a predetermined time within the lease time presented by the DHCP server 11 has elapsed. When a DHCP request is sent, the DHCP request is transmitted to the DHCP server 11 on behalf of the CPE 12. The DHCP acknowledgment return means 13g means that the DHCP server 11 can continuously issue the same IP address in response to the DHCP server-addressed DHCP request sent from the DHCP server-addressed DHCP request transmission means 13f. When this message is returned, this DHCP acknowledgment is returned to the CPE 12.

図2は、本発明のDHCP(Dynamic Host Configuration Protocol)変換装置のクレーム対応図を示したものである。本発明のDHCP変換装置20は、WAN(Wide Area Network)回線接続オン・オフ手段21と、仮のIP(Internet Protocol Address)アドレス発行手段22と、代理DHCPオファ返答手段23と、代理DHCPアクノリッジメント返答手段24と、WAN回線接続要求手段25と、ネガティブ・アクノリッジメント返信手段26と、DHCPサーバ宛DHCPリクエスト送信手段27と、DHCPアクノリッジメント返送手段28を備えている。ここで、WAN回線接続オン・オフ手段21は、IPアドレスの払い出しを要求するCPE(Customer Premises Equipment)と、この要求に応じてIPアドレスを前記したCPEに払い出すDHCPサーバの接続されたWAN回線との間に配置され、前記したWAN回線と自装置の接続をオン・オフする。仮のIPアドレス発行手段22は、WAN回線接続オン・オフ手段21が前記したWAN回線と接続していない状態で前記したCPEが前記したDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行する。代理DHCPオファ返答手段23は、前記したDHCPディスカバーに対して仮のIPアドレス発行手段22の発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記したCPEに返答する。代理DHCPアクノリッジメント返答手段24は、代理DHCPオファ返答手段23の返答に対して前記したCPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記したCPEに返答する。WAN回線接続要求手段25は、前記したCPEから前記したWAN回線に向けたデータが送られてきたときWAN回線接続オン・オフ手段21が前記したWAN回線と接続していない状態でデータの送信を待機する状態に移行すると共にWAN回線接続オン・オフ手段21に対してWAN回線との接続を要求する。ネガティブ・アクノリッジメント返信手段26は、WAN回線接続要求手段25の要求によってWAN回線接続オン・オフ手段21がWAN回線との接続をオンにするまでの間、前記したCPEが前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信する。DHCPサーバ宛DHCPリクエスト送信手段27は、WAN回線接続オン・オフ手段21が前記したWAN回線を接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めてリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信する。DHCPアクノリッジメント返送手段28は、DHCPサーバ宛DHCPリクエスト送信手段27の送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送する。   FIG. 2 shows a claim correspondence diagram of the Dynamic Host Configuration Protocol (DHCP) conversion apparatus of the present invention. The DHCP conversion apparatus 20 of the present invention includes a WAN (Wide Area Network) line connection on / off means 21, a temporary IP (Internet Protocol Address) address issuing means 22, a proxy DHCP offer response means 23, and a proxy DHCP acknowledgment. A reply means 24, a WAN line connection request means 25, a negative acknowledgment reply means 26, a DHCP server-addressed DHCP request transmission means 27, and a DHCP acknowledgment return means 28 are provided. Here, the WAN line connection on / off means 21 is a WAN line connected to a CPE (Customer Premises Equipment) that requests the IP address to be issued and a DHCP server that issues an IP address to the CPE in response to this request. And turns on / off the connection between the WAN line and its own device. Temporary IP address issuing means 22 requests the above-mentioned DHCP server to issue an IP address to its own DHCP server when the WAN line connection on / off means 21 is not connected to the WAN line. When a DHCP Discover to be sent is sent out, it is received as a proxy for the DHCP server and a temporary IP address is issued. The proxy DHCP offer response means 23 returns a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued by the temporary IP address issuing means 22 to the above-described DHCP discover. The proxy DHCP acknowledgment reply means 24 sends a DHCP request (DHCP REQUEST) indicating that the CPE can accept the condition indicated in the reply to the reply of the proxy DHCP offer reply means 23. Received as a proxy for the DHCP server, and returns a DHCP acknowledgment (DHCP ACK) to the CPE. The WAN line connection request unit 25 transmits data in a state in which the WAN line connection on / off unit 21 is not connected to the WAN line when data is sent from the CPE to the WAN line. While shifting to a standby state, the WAN line connection on / off means 21 is requested to connect to the WAN line. The negative acknowledgment reply means 26 presents the above-mentioned CPE in the above-mentioned DHCP offer until the WAN line connection on / off means 21 turns on the connection to the WAN line in response to a request from the WAN line connection request means 25. When a DHCP request is transmitted at the time of lease time update in order to renew the lease time of the IP address, a DHCP negative acknowledgment that rejects this request is returned. The DHCP server-destined DHCP request transmission means 27 is the DHCP server when the lease time is updated only after the WAN line connection on / off means 21 connects the WAN line described above and a predetermined time within the lease time presented by the DHCP server elapses. When a request is sent, a DHCP request is transmitted to the DHCP server on behalf of the CPE. The DHCP acknowledgment return means 28 is a DHCP acknowledge that means that the DHCP server can continuously issue the same IP address in response to the DHCP server-addressed DHCP request sent from the DHCP server-addressed DHCP request transmission means 27. This DHCP acknowledgment is returned to the above-mentioned CPE.

図3は、本発明のIPアドレス管理方法のクレーム対応図を示したものである。本発明のIPアドレス(Internet Protocol Address)管理方法30は、仮のIPアドレス発行ステップ31と、代理DHCP(Dynamic Host Configuration Protocol)オファ返答ステップ32と、代理DHCPアクノリッジメント返答ステップ33と、WAN(Wide Area Network)回線接続要求ステップ34と、ネガティブ・アクノリッジメント返信ステップ35と、DHCPサーバ宛DHCPリクエスト送信ステップ36と、DHCPアクノリッジメント返送ステップ37を備えている。ここで、仮のIPアドレス発行ステップ31では、IPアドレスの払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記したCPEに払い出すDHCPサーバを接続したWAN回線と自装置の接続がオフとなっている状態で前記したCPEが前記したDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行する。代理DHCPオファ返答ステップ32では、前記したDHCPディスカバーに対して仮のIPアドレス発行ステップ31で発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記したCPEに返答する。代理DHCPアクノリッジメント返答ステップ33では、代理DHCPオファ返答ステップ32で行った返答に対して前記したCPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記したCPEに返答する。WAN回線接続要求ステップ34では、前記したCPEから前記したWAN回線に向けたデータが送られてきたとき前記したWAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記したWAN回線と自装置の接続を要求する。ネガティブ・アクノリッジメント返信ステップ35では、WAN回線接続要求ステップ34による要求によって前記したWAN回線と自装置が接続するまでの間、前記したCPEが前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信する。DHCPサーバ宛DHCPリクエスト送信ステップ36では、WAN回線接続要求ステップ34によって前記したWAN回線と自装置が接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信する。DHCPアクノリッジメント返送ステップ37では、DHCPサーバ宛DHCPリクエスト送信ステップ36で送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送する。   FIG. 3 is a diagram corresponding to claims of the IP address management method of the present invention. The IP address (Internet Protocol Address) management method 30 of the present invention includes a provisional IP address issuing step 31, a proxy DHCP (Dynamic Host Configuration Protocol) offer response step 32, a proxy DHCP acknowledgment response step 33, a WAN (Wide) Area network) line connection request step 34, negative acknowledgment return step 35, DHCP server-addressed DHCP request transmission step 36, and DHCP acknowledgment return step 37. Here, in the provisional IP address issue step 31, the WAN line connected to the DHCP server that issues the IP address to the CPE in response to a request from the CPE (Customer Premises Equipment) that requests the IP address to be issued, and the own device. When the above-mentioned CPE sends out a DHCP Discover (DHCP DISCOVER) requesting to issue an IP address to its own device to the above-mentioned DHCP server in a state where the connection is off, this is represented by the above-mentioned DHCP server. And issue a temporary IP address. In the proxy DHCP offer response step 32, a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued in the provisional IP address issue step 31 is returned to the above-mentioned CPE for the DHCP discover described above. In the proxy DHCP acknowledgment response step 33, when a DHCP request (DHCP REQUEST) indicating that the above-mentioned CPE can accept the conditions indicated in the response to the response made in the proxy DHCP offer response step 32 is sent. As a proxy of the above-mentioned DHCP server, and a DHCP acknowledgment (DHCP ACK) is returned to the above-mentioned CPE. In the WAN line connection request step 34, when data is sent from the CPE to the WAN line, a state of waiting for data transmission in a state where the connection between the WAN line and the own apparatus is off. And a request for connection between the WAN line and the own apparatus is made. In the negative acknowledgment reply step 35, the above-mentioned CPE is leased the IP address presented in the DHCP offer until the above-mentioned WAN line is connected to the own device by the request in the WAN line connection request step 34. When a DHCP request is transmitted at the time of lease time update to update the time, a DHCP negative acknowledgment that rejects this request is returned. In the DHCP request transmission step 36 for the DHCP server, the lease time described above is the first time after a predetermined time within the lease time presented by the DHCP server has passed after the WAN line is connected to the own device in the WAN line connection request step 34. When a DHCP request is sent at the time of update, the DHCP request is transmitted to the above-described DHCP server on behalf of the above-mentioned CPE. In DHCP Acknowledgment Return Step 37, DHCP Acknowledgment means that the DHCP server can continue to issue the same IP address in response to the DHCP server-addressed DHCP request sent in DHCP server-addressed DHCP request. This DHCP acknowledgment is returned to the above-mentioned CPE.

図4は、本発明のIP(Internet Protocol Address)アドレス管理プログラムのクレーム対応図を示したものである。本発明のIPアドレス管理プログラム40は、コンピュータに、仮のIPアドレス発行処理41と、代理DHCP(Dynamic Host Configuration Protocol)オファ返答処理42と、代理DHCPアクノリッジメント返答処理43と、WAN(Wide Area Network)回線接続要求処理44と、ネガティブ・アクノリッジメント返信処理45と、DHCPサーバ宛DHCPリクエスト送信処理46と、DHCPアクノリッジメント返送処理47を実行させるようにしている。ここで、仮のIPアドレス発行処理41では、IPアドレスの払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記したCPEに払い出すDHCPサーバを接続したWAN回線と自装置の接続がオフとなっている状態で前記したCPEが前記したDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記したDHCPサーバの代理として受信して仮のIPアドレスを発行する。代理DHCPオファ返答処理42では、前記したDHCPディスカバーに対して仮のIPアドレス発行処理41で発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記したCPEに返答する。代理DHCPアクノリッジメント返答処理43では、代理DHCPオファ返答処理42で行った返答に対して前記したCPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記したDHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記したCPEに返答する。WAN回線接続要求処理44では、前記したCPEから前記したWAN回線に向けたデータが送られてきたとき前記したWAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記したWAN回線と自装置の接続を要求する。ネガティブ・アクノリッジメント返信処理45では、WAN回線接続要求処理44による要求によって前記したWAN回線と自装置が接続するまでの間、前記したCPEが前記したDHCPオファで提示された前記したIPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信する。DHCPサーバ宛DHCPリクエスト送信処理46では、WAN回線接続要求処理44によって前記したWAN回線と自装置が接続し前記したDHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記したリース時間更新時DHCPリクエストが送られてきたとき前記したDHCPサーバに前記したCPEの代理でDHCPリクエストを送信する。DHCPアクノリッジメント返送処理47では、DHCPサーバ宛DHCPリクエスト送信処理46で送出したDHCPサーバ宛DHCPリクエストに対して前記したDHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記したCPEに返送する。   FIG. 4 shows a correspondence diagram of claims of the IP (Internet Protocol Address) address management program of the present invention. The IP address management program 40 of the present invention includes a temporary IP address issuing process 41, a proxy DHCP (Dynamic Host Configuration Protocol) offer response process 42, a proxy DHCP acknowledgment response process 43, and a WAN (Wide Area Network). ) A line connection request process 44, a negative acknowledgment return process 45, a DHCP server-addressed DHCP request transmission process 46, and a DHCP acknowledgment return process 47 are executed. Here, in the provisional IP address issuance process 41, the WAN line connected to the DHCP server that issues an IP address to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests the IP address to be issued, and the own device. When the above-mentioned CPE sends out a DHCP Discover (DHCP DISCOVER) requesting to issue an IP address to its own device to the above-mentioned DHCP server in a state where the connection is off, this is represented by the above-mentioned DHCP server. And issue a temporary IP address. In the proxy DHCP offer response process 42, a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued in the temporary IP address issue process 41 is returned to the above-mentioned CPE for the above-described DHCP discover. In the proxy DHCP acknowledgment response processing 43, when a DHCP request (DHCP REQUEST) indicating that the above-mentioned CPE can accept the condition indicated in the response to the response made in the proxy DHCP offer response processing 42 is sent. As a proxy of the above-mentioned DHCP server, and a DHCP acknowledgment (DHCP ACK) is returned to the above-mentioned CPE. In the WAN line connection request processing 44, when data is sent from the CPE to the WAN line, a state of waiting for data transmission in a state where the connection between the WAN line and the own apparatus is off And a request for connection between the WAN line and the own apparatus is made. In the negative acknowledgment reply process 45, the above-mentioned IP address lease presented by the above-mentioned DHCP offer is provided until the above-mentioned CPE is connected to the above-mentioned WAN line by the request from the WAN line connection request process 44. When a DHCP request is transmitted at the time of lease time update to update the time, a DHCP negative acknowledgment that rejects this request is returned. In the DHCP server-addressed DHCP request transmission process 46, the above-mentioned lease time is only after a predetermined time within the lease time presented by the DHCP server has elapsed after the WAN line and the own apparatus are connected by the WAN line connection request process 44. When a DHCP request is sent at the time of update, the DHCP request is transmitted to the above-described DHCP server on behalf of the above-mentioned CPE. In the DHCP acknowledgment return process 47, the DHCP acknowledge means that the DHCP server can continuously issue the same IP address in response to the DHCP server-addressed DHCP request sent in the DHCP server-addressed DHCP request transmission process 46. This DHCP acknowledgment is returned to the above-mentioned CPE.

<発明の実施の形態>   <Embodiment of the Invention>

次に本発明の実施の形態を説明する。   Next, an embodiment of the present invention will be described.

図5は、本発明の実施の形態によるIPアドレス管理システムの構成の概要を表わしたものである。このIPアドレス管理システム100は、CPE101とWAN回線102の間にDHCP変換装置103を配置した構造となっている。WAN回線102には、WAN側DHCPサーバ104が接続されている。WAN側DHCPサーバ104は、WAN回線102を通して、CPE101からの要求に応じてIPアドレスを払い出す装置である。   FIG. 5 shows an outline of the configuration of the IP address management system according to the embodiment of the present invention. This IP address management system 100 has a structure in which a DHCP converter 103 is arranged between a CPE 101 and a WAN line 102. A WAN side DHCP server 104 is connected to the WAN line 102. The WAN side DHCP server 104 is a device that issues an IP address in response to a request from the CPE 101 through the WAN line 102.

DHCP変換装置103は、制御部111を備えている。制御部111は、CPU112と、このCPU112が実行する制御プログラムを格納したメモリ113を備えており、次の各部を制御するようになっている。また、これらの各部の少なくとも一部はソフトウェア的に実現することができる。   The DHCP conversion apparatus 103 includes a control unit 111. The control unit 111 includes a CPU 112 and a memory 113 that stores a control program executed by the CPU 112, and controls the following units. In addition, at least a part of these units can be realized by software.

まず、LAN接続部114はたとえばIEEE(Institute of Electrical and Electronic Engineers)802.3uとして標準化されている100BASE−T等のイーサネット(登録商標)インタフェースである。LAN接続部114は、CPE101とLANケーブル105を介して接続している。このうちCPE101は、本実施の形態でWAN側DHCPサーバ104を用いてIPアドレスを取得する装置であり、たとえばアクセスルータやパーソナルコンピュータで構成されている。   First, the LAN connection unit 114 is an Ethernet (registered trademark) interface such as 100BASE-T standardized as IEEE (Institute of Electrical and Electronic Engineers) 802.3u, for example. The LAN connection unit 114 is connected to the CPE 101 via the LAN cable 105. Among these, the CPE 101 is a device that acquires an IP address using the WAN-side DHCP server 104 in the present embodiment, and is composed of, for example, an access router or a personal computer.

WAN接続部115は所定の回線ケーブル106を介してWAN回線102と接続されている。転送処理部116はLAN接続部114から受信したパケットをWAN接続部115に渡す。また、転送処理部116はWAN接続部115から受信したパケットをLAN接続部114を介してCPE101へと送信する。   The WAN connection unit 115 is connected to the WAN line 102 via a predetermined line cable 106. The transfer processing unit 116 passes the packet received from the LAN connection unit 114 to the WAN connection unit 115. Further, the transfer processing unit 116 transmits the packet received from the WAN connection unit 115 to the CPE 101 via the LAN connection unit 114.

転送処理部116は、LAN接続部114およびWAN接続部115の他に、DHCP検出部117、送信待機フラグ格納部118、WAN接続処理部119ならびに起動後経過タイマ120と接続している。ここでDHCP検出部117は、CPE101から要求されるIPアドレス取得のためのDHCPパケットを検出する。   In addition to the LAN connection unit 114 and the WAN connection unit 115, the transfer processing unit 116 is connected to the DHCP detection unit 117, the transmission standby flag storage unit 118, the WAN connection processing unit 119, and the post-startup elapsed timer 120. Here, the DHCP detection unit 117 detects a DHCP packet for obtaining an IP address requested from the CPE 101.

DHCP処理部121は、DHCP検出部117に接続されており、DHCP変換装置103がWAN回線102に接続していない場合にはDHCP検出部117で検出されたDHCPパケットに対する代理応答を行って仮のIPアドレスをCPE101に払い出す。またDHCP処理部121は、DHCP変換装置103がWAN回線102に接続している場合には、WAN側DHCPサーバ104との間でDHCPパケットの転送の処理を行う。そして、DHCP処理部121はCPE101から送られてきたDHCPパケットをWAN回線102上のWAN側DHCPサーバ104へ転送する。   The DHCP processing unit 121 is connected to the DHCP detection unit 117. When the DHCP conversion apparatus 103 is not connected to the WAN line 102, the DHCP processing unit 121 performs a proxy response to the DHCP packet detected by the DHCP detection unit 117 to temporarily The IP address is issued to the CPE 101. In addition, when the DHCP conversion apparatus 103 is connected to the WAN line 102, the DHCP processing unit 121 performs a transfer process of the DHCP packet with the WAN side DHCP server 104. Then, the DHCP processing unit 121 transfers the DHCP packet sent from the CPE 101 to the WAN side DHCP server 104 on the WAN line 102.

WAN接続処理部119は、CPE101からWAN回線102へ送信すべきパケットとしてユーザデータパケットを受信した場合に、WAN回線102へのWAN回線接続処理を行う。WAN接続処理部119は、CPE101からWAN回線102へ送信するユーザデータパケットが一定時間存在しないと、DHCP変換装置103とWAN回線102との接続を切断する。WAN接続部115は、DHCPでIPアドレスを払い出すことが可能なWAN回線102との接続部であり、たとえばワイマックス(WiMAX;Worldwide Interoperability for Microwave Access)網に接続する。   When receiving a user data packet as a packet to be transmitted from the CPE 101 to the WAN line 102, the WAN connection processing unit 119 performs WAN line connection processing to the WAN line 102. The WAN connection processing unit 119 disconnects the connection between the DHCP conversion apparatus 103 and the WAN line 102 when there is no user data packet to be transmitted from the CPE 101 to the WAN line 102 for a certain period of time. The WAN connection unit 115 is a connection unit with the WAN line 102 that can issue an IP address by DHCP, and is connected to, for example, a WiMAX (Worldwide Interoperability for Microwave Access) network.

送信待機フラグ格納部118は、CPE101からWAN回線102への送信すべきユーザデータがあることを示すソフトウェア的なフラグを格納する。起動後経過タイマ120は、CPE101が起動してからの経過時間を示すカウンタである。   The transmission standby flag storage unit 118 stores a software flag indicating that there is user data to be transmitted from the CPE 101 to the WAN line 102. The post-startup elapsed timer 120 is a counter that indicates an elapsed time since the CPE 101 was started up.

図6は、以上のような構成のIPアドレス管理システムでCPEが起動したときDHCP変換装置との間で行われる処理の様子を表わしたものである。図5と共に説明する。   FIG. 6 shows a state of processing performed with the DHCP conversion apparatus when the CPE is activated in the IP address management system configured as described above. This will be described with reference to FIG.

DHCP変換装置103が起動すると、LAN接続部114はCPE101からのパケットの受信待ちの状態となる。この状態でCPE101がDHCP変換装置103に接続されたとする。この接続状態でCPE101がDHCP変換装置103を用いてIPアドレスを取得するために、DHCPディスカバー(DHCP DISCOVER)パケットを送信する。DHCP変換装置103ではLAN接続部114がこのDHCPディスカバーパケットを受信する(ステップS201)。   When the DHCP conversion apparatus 103 is activated, the LAN connection unit 114 waits for reception of a packet from the CPE 101. Assume that the CPE 101 is connected to the DHCP conversion apparatus 103 in this state. In this connection state, the CPE 101 transmits a DHCP discover (DHCP DISCOVER) packet in order to acquire an IP address using the DHCP conversion apparatus 103. In the DHCP conversion apparatus 103, the LAN connection unit 114 receives the DHCP discover packet (step S201).

LAN接続部114が受信したDHCPディスカバーパケットは転送処理部116に送られる。転送処理部116に接続されたDHCP検出部117は、送られてきたパケットの種類を確認する。この例の場合、DHCP検出部117は送られてきたUDP(User Datagram Protocol)パケットの宛先ポート番号がDHCPサーバ(ポート番号67)であることを認識する。DHCP検出部117はこの受信したパケットがDHCPに関するパケットであることを認識すると、これをDHCP処理部121へ送付する。   The DHCP discover packet received by the LAN connection unit 114 is sent to the transfer processing unit 116. The DHCP detection unit 117 connected to the transfer processing unit 116 confirms the type of the transmitted packet. In this example, the DHCP detector 117 recognizes that the destination port number of the sent UDP (User Datagram Protocol) packet is the DHCP server (port number 67). When the DHCP detection unit 117 recognizes that the received packet is a DHCP-related packet, the DHCP detection unit 117 sends the packet to the DHCP processing unit 121.

DHCP処理部121は、DHCP検出部117から受け取ったこのパケットがDHCPにおける何れの種類のパケットであるかを判別する。受け取ったパケットが前記したDHCPディスカバーパケットであることを認識すると、DHCP処理部121はIPアドレスの払い出し条件を要求元のCPE101へ提示するためのDHCPオファ(DHCP OFFER)パケットを生成する。DHCPオファパケットには払い出しIPアドレス、デフォルトゲートウェイ、リース時間等のデータが含まれる。   The DHCP processing unit 121 determines which type of packet in the DHCP the packet received from the DHCP detection unit 117 is. When recognizing that the received packet is the above-described DHCP discover packet, the DHCP processing unit 121 generates a DHCP OFFER packet for presenting the IP address delivery condition to the requesting CPE 101. The DHCP offer packet includes data such as a payout IP address, a default gateway, and a lease time.

ここで払い出しIPアドレスには、CPE101が一時的に使用するためのローカルアドレスを指定する。以下、CPE101が一時的に使用するために指定されるこのローカルアドレスを「仮IPアドレス」と呼ぶことにする。デフォルトゲートウェイには本実施の形態でWAN側DHCPサーバ104の代理役で使用するDHCP変換装置103のLAN接続部114についてのIPアドレスを指定する。リース時間は、DHCPで通常使用されるリース時間よりも相当程度短い時間(たとえば10秒間)を指定する。   Here, as the payout IP address, a local address for temporary use by the CPE 101 is designated. Hereinafter, this local address designated for temporary use by the CPE 101 will be referred to as a “temporary IP address”. In the default gateway, an IP address for the LAN connection unit 114 of the DHCP conversion apparatus 103 used as a proxy for the WAN side DHCP server 104 in this embodiment is designated. The lease time specifies a time (for example, 10 seconds) that is considerably shorter than the lease time normally used in DHCP.

DHCP処理部121で生成したDHCPオファパケットは、転送処理部116からLAN接続部114を介してCPE101へ送信される(ステップS202)。   The DHCP offer packet generated by the DHCP processing unit 121 is transmitted from the transfer processing unit 116 to the CPE 101 via the LAN connection unit 114 (step S202).

CPE101はDHCP変換装置103から受信したDHCPオファパケットで提示された条件が受け入れ可能であるかを判別する。受け入れ可能であれば、CPE101はその内容でDHCPリクエスト(DHCP REQUEST)パケットをDHCP変換装置103に送信する(ステップS203)。このDHCPリクエストパケットは、DHCP変換装置103のLAN接続部114で受信し、転送処理部116へ送られる。DHCP検出部117は転送処理部116に送られたDHCPリクエストパケットがDHCPパケットであることを認識して、これをDHCP処理部121へ送出する。   The CPE 101 determines whether the condition presented in the DHCP offer packet received from the DHCP conversion apparatus 103 is acceptable. If it is acceptable, the CPE 101 transmits a DHCP request (DHCP REQUEST) packet with the content to the DHCP conversion apparatus 103 (step S203). The DHCP request packet is received by the LAN connection unit 114 of the DHCP conversion apparatus 103 and sent to the transfer processing unit 116. The DHCP detection unit 117 recognizes that the DHCP request packet sent to the transfer processing unit 116 is a DHCP packet, and sends this to the DHCP processing unit 121.

DHCP処理部121はDHCPリクエストパケット内に示される条件が、ステップS202でDHCPオファパケットで提示した内容と同じであれば、DHCPアクノリッジメント(DHCP ACK;DHCP ACKnowledgement)パケットを生成し、同様にCPE101へ返信する(ステップS204)。CPE101はDHCPアクノリッジメントを受信することで、提示された仮IPアドレスを自己のIPアドレスとして採用する。   If the conditions indicated in the DHCP request packet are the same as the contents presented in the DHCP offer packet in step S202, the DHCP processing unit 121 generates a DHCP acknowledgment (DHCP ACK; DHCP ACKnowledgement) packet and similarly to the CPE 101. A reply is made (step S204). The CPE 101 receives the DHCP acknowledgment, and adopts the presented temporary IP address as its own IP address.

以上の動作で、CPE101にはWAN側DHCPサーバ104の代理役のDHCP変換装置103によって仮IPアドレスが割り当てられたことになる。CPE101は通常、DHCPアクノリッジメントパケットの受信後、リース時間の半分の時間が経過した後に、リース時間の更新のためのDHCPリクエストパケットを送信する。リース時間が10秒の場合であれば、DHCPアクノリッジメントパケットの受信後5秒が経過した時点でDHCPリクエストパケットを送信することになる。このDHCPリクエストパケットもDHCP変換装置103のLAN接続部114、転送処理部116およびDHCP検出部117を経由してDHCP処理部121へ送付される(ステップS205)。   With the above operation, the temporary IP address is assigned to the CPE 101 by the DHCP conversion apparatus 103 acting as the proxy of the WAN side DHCP server 104. The CPE 101 normally transmits a DHCP request packet for updating the lease time after the half of the lease time has elapsed after receiving the DHCP acknowledgment packet. If the lease time is 10 seconds, the DHCP request packet is transmitted when 5 seconds have elapsed after receiving the DHCP acknowledgment packet. The DHCP request packet is also sent to the DHCP processing unit 121 via the LAN connection unit 114, the transfer processing unit 116, and the DHCP detection unit 117 of the DHCP conversion apparatus 103 (step S205).

DHCPリクエストパケットを受け取ったDHCP処理部121は、DHCPアクノリッジメントパケットを生成し、同様にCPE101へ返信する(ステップS206)。DHCP変換装置103はCPE101からWAN回線102へのユーザデータの送信が行われない間は、DHCPリクエストパケットの送信があるたびに、DHCPアクノリッジメントパケットの生成およびCPE101へのこのDHCPアクノリッジメントパケットの返信を繰り返す(ステップS207、ステップS208)。   The DHCP processing unit 121 that has received the DHCP request packet generates a DHCP acknowledgment packet, and similarly returns it to the CPE 101 (step S206). While the DHCP conversion apparatus 103 does not transmit user data from the CPE 101 to the WAN line 102, every time a DHCP request packet is transmitted, a DHCP acknowledgment packet is generated and a reply to the DHCP acknowledgment packet is sent to the CPE 101. Is repeated (step S207, step S208).

以上の動作により、DHCP変換装置103にWAN回線102が接続されていない状態でも、CPE101には仮IPアドレスが割り当てられた状態にしておくことができる。   With the above operation, even when the WAN line 102 is not connected to the DHCP conversion apparatus 103, the temporary IP address can be assigned to the CPE 101.

図7は、DHCP変換装置がCPEからWAN回線へ送信すべきユーザデータを受信した場合の動作を示したものである。図5と共に説明する。   FIG. 7 shows an operation when the DHCP conversion apparatus receives user data to be transmitted from the CPE to the WAN line. This will be described with reference to FIG.

CPE101からWAN回線102へ送信すべきユーザデータを受信すると、DHCP変換装置103はまず、仮IPアドレスではなくWAN側DHCPサーバ104から正式のIPアドレスを払い出してもらうための処理を実行する。CPE101からWAN回線102へ送信するユーザデータは、まずDHCP変換装置103のLAN接続部114で受信される(ステップS221)。LAN接続部114は、このユーザデータを転送処理部116へ渡す。   When the user data to be transmitted from the CPE 101 to the WAN line 102 is received, the DHCP conversion apparatus 103 first executes a process for obtaining a formal IP address from the WAN side DHCP server 104 instead of the temporary IP address. User data transmitted from the CPE 101 to the WAN line 102 is first received by the LAN connection unit 114 of the DHCP conversion apparatus 103 (step S221). The LAN connection unit 114 passes this user data to the transfer processing unit 116.

転送処理部116はCPE101からWAN回線102へ送信すべきユーザデータを受け取った際、WAN回線102が未接続であるかを判別し、未接続であればWAN接続処理部119に対してWAN回線102との接続を要求する。この場合、WAN接続処理部119はDHCP変換装置103とWAN回線102との回線を接続する処理を行う(ステップS222)。   When the transfer processing unit 116 receives user data to be transmitted from the CPE 101 to the WAN line 102, the transfer processing unit 116 determines whether the WAN line 102 is unconnected, and if not connected, the transfer processing unit 116 sends the WAN line 102 to the WAN connection processing unit 119. Request connection with. In this case, the WAN connection processing unit 119 performs processing for connecting the line between the DHCP conversion apparatus 103 and the WAN line 102 (step S222).

この時点でCPE101からWAN回線102へ送信するユーザデータのソースIPアドレスは仮IPアドレスとなっている。このため、転送処理部116はこのユーザデータをWAN回線102には送信せずに破棄し、送信待機フラグ格納部118に格納されている送信待機フラグに送信を待機していることを示す「1」をセットする。   At this time, the source IP address of the user data transmitted from the CPE 101 to the WAN line 102 is a temporary IP address. For this reason, the transfer processing unit 116 discards the user data without transmitting it to the WAN line 102, and “1” indicating that the transmission standby flag stored in the transmission standby flag storage unit 118 is waiting for transmission. "Is set.

このように送信待機フラグが「1」にセットされている状態でCPE101がリース時間更新のためにDHCPリクエストを送信してくると(ステップS223)、DHCP処理部121は、この要求を拒絶することを意味するDHCPネガティブ・アクノリッジメント(DHCP NAK;DHCP Negative AcKnowledgement)を返信する(ステップS224)。   When the CPE 101 transmits a DHCP request to update the lease time with the transmission waiting flag set to “1” in this way (step S223), the DHCP processing unit 121 rejects this request. A DHCP negative acknowledgment (DHCP NAK; DHCP Negative AcKnowledgement) is returned (step S224).

このようにDHCP変換装置103からDHCPPネガティブ・アクノリッジメントを受信すると、CPE101はそれまで払いだされていた仮IPアドレス等のデータを破棄して、改めてDHCPディスカバーパケットを送信する(ステップS225)。   When receiving the DHCPPP negative acknowledgment from the DHCP conversion apparatus 103 in this way, the CPE 101 discards the data such as the temporary IP address that has been paid up to that point, and transmits a DHCP discover packet again (step S225).

一方、送信待機フラグに「1」がセットされている場合、DHCP処理部121はCPE101から受信したDHCPディスカバーに対しては代理応答をしない。そして、この受信したDHCPディスカバーパケットをWAN側DHCPサーバ104へそのまま転送する(ステップS226)。   On the other hand, when “1” is set in the transmission standby flag, the DHCP processing unit 121 does not make a proxy response to the DHCP discover received from the CPE 101. Then, the received DHCP discover packet is transferred as it is to the WAN side DHCP server 104 (step S226).

WAN側DHCPサーバ104は、DHCP変換装置103からDHCPディスカバーパケットが送られてくると、これに対してDHCPオファパケットを返信する(ステップS227)。このDHCPオファパケットには払い出しIPアドレス、デフォルトゲートウェイ、リース時間等のデータが含まれている。   When the DHCP discover packet is sent from the DHCP conversion apparatus 103, the WAN side DHCP server 104 sends back a DHCP offer packet in response thereto (step S227). This DHCP offer packet includes data such as a payout IP address, a default gateway, and a lease time.

DHCP変換装置103はDHCPオファパケットを受信すると、DHCP処理部121がそのDHCPオファパケット内のリース時間を、WAN側から提示されたリース時間よりも相当に小さな時間に置き換える。DHCPオファパケット内のリース時間は、通常は4時間とか24時間となっているが、これをたとえば10秒といった時間に置き換える。このようにDHCPオファパケットの内容を変更すると、パケットのチェックサムの値も変わってくる。そこで、DHCP処理部121は、DHCPオファパケットのチェックサムの値を計算し直して置き換えを行った後、このパケットをCPE101へ転送する(ステップS228)。   When the DHCP conversion apparatus 103 receives the DHCP offer packet, the DHCP processing unit 121 replaces the lease time in the DHCP offer packet with a time substantially smaller than the lease time presented from the WAN side. The lease time in the DHCP offer packet is usually 4 hours or 24 hours, but this is replaced with a time such as 10 seconds. When the contents of the DHCP offer packet are changed in this way, the checksum value of the packet also changes. Therefore, the DHCP processing unit 121 recalculates the checksum value of the DHCP offer packet and performs replacement, and then transfers this packet to the CPE 101 (step S228).

DHCP変換装置103のDHCP処理部121は、送信待機フラグが「1」にセットされている状態でCPE101からDHCPリクエストパケットが送られてくると(ステップS229)、この場合にも代理応答を行わない。そして、DHCP処理部121は受信したDHCPリクエストパケットをWAN側DHCPサーバ104へ転送する(ステップS230)。   When the DHCP request packet is sent from the CPE 101 in a state where the transmission standby flag is set to “1” (step S229), the DHCP processing unit 121 of the DHCP conversion device 103 does not perform a proxy response in this case as well. . Then, the DHCP processing unit 121 transfers the received DHCP request packet to the WAN side DHCP server 104 (step S230).

WAN側DHCPサーバ104は、DHCPリクエストパケットを受信するとDHCPアクノリッジメントパケットをDHCP変換装置103に返信する(ステップS231)。DHCP変換装置103内のDHCP処理部121は、WAN側DHCPサーバ104から送られてきたこのDHCPアクノリッジメントパケットについて、DHCPオファの場合と同様にその中に含まれるリース時間を変更する。これにより、パケットのチェックサムの値が変わるので、DHCP処理部121は、DHCPリクエストパケットのチェックサムの値を計算し直して置き換えを行う。この後、DHCP処理部121は、DHCPリクエストパケットをCPE101へ転送する(ステップS232)。転送処理部116はこの転送の後、送信待機フラグ格納部118に格納されている送信待機フラグを「0」にクリアする。   When the WAN-side DHCP server 104 receives the DHCP request packet, the WAN-side DHCP server 104 returns a DHCP acknowledgment packet to the DHCP conversion apparatus 103 (step S231). The DHCP processing unit 121 in the DHCP conversion apparatus 103 changes the lease time included in the DHCP acknowledgment packet sent from the WAN side DHCP server 104 as in the case of the DHCP offer. As a result, the checksum value of the packet changes, so the DHCP processing unit 121 recalculates the checksum value of the DHCP request packet and performs replacement. Thereafter, the DHCP processing unit 121 transfers the DHCP request packet to the CPE 101 (step S232). After this transfer, the transfer processing unit 116 clears the transmission standby flag stored in the transmission standby flag storage unit 118 to “0”.

CPE101はステップS232でDHCPアクノリッジメントを受信すると、そのパケットに含まれるIPアドレスを自己のLAN側IPアドレスとして採用する。これにより、CPE101には、WAN側DHCPサーバ104から払い出されたIPアドレスが、本来要求したIPアドレスとして割り当てられることになる。   When the CPE 101 receives the DHCP acknowledgment in step S232, the CPE 101 adopts the IP address included in the packet as its own LAN side IP address. As a result, the IP address issued from the WAN side DHCP server 104 is assigned to the CPE 101 as the originally requested IP address.

これ以後、CPE101はWAN側DHCPサーバ104との間でユーザデータの通信を行う(ステップS233)。このときのIPパケットのソースMACアドレス(Media Access Control address)と宛先MACアドレスは次のように変化する。   Thereafter, the CPE 101 communicates user data with the WAN side DHCP server 104 (step S233). At this time, the source MAC address (Media Access Control address) and the destination MAC address of the IP packet change as follows.

まず、CPE101からWAN回線102へ送信する送信データのソースMACアドレスはCPE101のMACアドレスであり、宛先MACアドレスはDHCP変換装置103におけるLAN接続部114のMACアドレスである。   First, the source MAC address of transmission data transmitted from the CPE 101 to the WAN line 102 is the MAC address of the CPE 101, and the destination MAC address is the MAC address of the LAN connection unit 114 in the DHCP conversion device 103.

LAN接続部114から受信したデータを渡された転送処理部116は、MACアドレスを次のように置き換える。まず、ソースMACアドレスについては、CPE101のMACアドレスからDHCP変換装置103のWAN接続部115のMACアドレスに書き換える。次に、宛先MACアドレスについては、LAN接続部114のMACアドレスからWAN回線102側のデフォルトゲートウェイのMACアドレスに書き換える。   The transfer processing unit 116 to which the data received from the LAN connection unit 114 is transferred replaces the MAC address as follows. First, the source MAC address is rewritten from the MAC address of the CPE 101 to the MAC address of the WAN connection unit 115 of the DHCP conversion apparatus 103. Next, the destination MAC address is rewritten from the MAC address of the LAN connection unit 114 to the MAC address of the default gateway on the WAN line 102 side.

DHCP変換装置103の転送処理部116は、このようにして書き換えたMACアドレスのデータをWAN接続部115からWAN回線102へ送信する。   The transfer processing unit 116 of the DHCP conversion device 103 transmits the MAC address data rewritten in this way from the WAN connection unit 115 to the WAN line 102.

一方、WAN回線102から受信したデータのソースMACアドレスはWAN回線102側デフォルトゲートウェイのMACアドレスであり、宛先MACアドレスはWAN接続部115のMACアドレスである。   On the other hand, the source MAC address of the data received from the WAN line 102 is the MAC address of the default gateway on the WAN line 102 side, and the destination MAC address is the MAC address of the WAN connection unit 115.

WAN接続部115から受信したデータを渡された転送処理部116は、MACアドレスを次のように置き換える。まず、ソースMACアドレスについては、WAN回線102側デフォルトゲートウェイのMACアドレスをDHCP変換装置103のLAN側インタフェースのMACアドレスに書き換える。次に、宛先MACアドレスについては、WAN接続部115のMACアドレスをCPE101のMACアドレスに書き換える。   The transfer processing unit 116 to which the data received from the WAN connection unit 115 is transferred replaces the MAC address as follows. First, for the source MAC address, the MAC address of the WAN gateway 102 side default gateway is rewritten to the MAC address of the LAN side interface of the DHCP conversion apparatus 103. Next, for the destination MAC address, the MAC address of the WAN connection unit 115 is rewritten to the MAC address of the CPE 101.

DHCP変換装置103の転送処理部116は、このようにして書き換えたMACアドレスのデータをLAN接続部114からCPE101へ送信する。   The transfer processing unit 116 of the DHCP conversion device 103 transmits the MAC address data rewritten in this way from the LAN connection unit 114 to the CPE 101.

このようにDHCP変換装置103でDHCPパケット以外のIPパケットのMACヘッダの付け替えを行うことで、CPE101とWAN回線102の間で、ステップS233として示したユーザデータの通信が行われることになる。   In this way, by exchanging the MAC header of the IP packet other than the DHCP packet by the DHCP conversion apparatus 103, the user data communication shown as step S233 is performed between the CPE 101 and the WAN line 102.

図8は、WAN側DHCPサーバからのIPアドレスのリース時間についての更新処理を表わしたものである。図5と共に説明する。   FIG. 8 shows an update process for the lease time of the IP address from the WAN-side DHCP server. This will be described with reference to FIG.

CPE101は、図6のステップS206でDHCPアクノリッジメントパケットをDHCP変換装置103から受信した後、リース時間の半分の時間ごとに、リース時間の更新のためのDHCPリクエストパケットを送信する。たとえばリース時間が10秒であれば5秒ごとにCPE101からDHCP変換装置103にDHCPリクエストパケットを送信する。このDHCPリクエストパケットは、DHCP変換装置103のLAN接続部114、転送処理部116およびDHCP検出部117を経由してDHCP処理部121へ送られる(ステップS251)。   After receiving the DHCP acknowledgment packet from the DHCP conversion apparatus 103 in step S206 of FIG. 6, the CPE 101 transmits a DHCP request packet for updating the lease time every half of the lease time. For example, if the lease time is 10 seconds, a DHCP request packet is transmitted from the CPE 101 to the DHCP conversion apparatus 103 every 5 seconds. The DHCP request packet is sent to the DHCP processing unit 121 via the LAN connection unit 114, the transfer processing unit 116, and the DHCP detection unit 117 of the DHCP conversion apparatus 103 (step S251).

DHCP処理部121はDHCPリクエストパケットを受信すると、DHCPアクノリッジメントパケットを生成する。このDHCPアクノリッジメントパケットは、DHCP変換装置103からCPE101へ返信される(ステップS252)。   When receiving the DHCP request packet, the DHCP processing unit 121 generates a DHCP acknowledgment packet. The DHCP acknowledgment packet is returned from the DHCP conversion apparatus 103 to the CPE 101 (step S252).

このステップS251およびステップS252による応答がしばらく繰り返される。このようにして、WAN側DHCPサーバ104が指定したリース時間の半分の時間が経過し、CPE101からこの時間経過後としては初めてDHCPリクエストパケットがDHCP変換装置103に送られてきたとする(ステップS253)。DHCP処理部121は、このDHCPリクエストパケットに対して代理応答を行わず、受信したこのパケットをそのままWAN側DHCPサーバ104へ転送する(ステップS254)。   The response by step S251 and step S252 is repeated for a while. In this way, it is assumed that half of the lease time designated by the WAN-side DHCP server 104 has elapsed, and the DHCP request packet is sent from the CPE 101 to the DHCP conversion apparatus 103 for the first time after this time has elapsed (step S253). . The DHCP processing unit 121 does not perform a proxy response to the DHCP request packet, and transfers the received packet to the WAN side DHCP server 104 as it is (step S254).

WAN側DHCPサーバ104は継続して引き続き同一のIPアドレスを払い出すことが可能な場合、このDHCPリクエストパケットに対してDHCPアクノリッジメントを返送する(ステップS255)。DHCP処理部121は、このDHCPアクノリッジメントを受信すると、図7のステップS231でWAN側DHCPサーバ104から送られてきたこのDHCPアクノリッジメントパケットについて行った処理と同様にその中に含まれるリース時間を変更する。これにより、パケットのチェックサムの値が変わる。したがって、DHCP処理部121は、チェックサムの値を計算し直して置き換える。   If the WAN-side DHCP server 104 can continue to issue the same IP address, it returns a DHCP acknowledgment to this DHCP request packet (step S255). When the DHCP processing unit 121 receives this DHCP acknowledgment, the DHCP processing unit 121 determines the lease time included therein in the same manner as the processing performed on the DHCP acknowledgment packet sent from the WAN side DHCP server 104 in step S231 in FIG. change. As a result, the checksum value of the packet changes. Therefore, the DHCP processing unit 121 recalculates and replaces the checksum value.

この後、DHCP処理部121は、このリース時間を変更したDHCPアクノリッジメントパケットをCPE101へ転送する(ステップS256)。これにより、WAN側DHCPサーバ104から払い出されているIPアドレスのリース時間が更新されることになる。これ以降、WAN回線102へのユーザデータが一定時間存在しなくなるまで、この状態が継続する。以上説明したようにDHCP変換装置103は、WAN側DHCPサーバ104の代理としてCPE101との間のIPアドレスのリース時間の更新処理をリース時間を変更して繰り返し行うことになる。   Thereafter, the DHCP processing unit 121 transfers the DHCP acknowledgment packet whose lease time has been changed to the CPE 101 (step S256). As a result, the lease time of the IP address issued from the WAN-side DHCP server 104 is updated. Thereafter, this state continues until there is no user data to the WAN line 102 for a certain period of time. As described above, the DHCP conversion apparatus 103 repeatedly performs the IP address lease time update process with the CPE 101 on behalf of the WAN-side DHCP server 104 while changing the lease time.

図9は、DHCP変換装置におけるユーザデータの送信終了時のWAN接続部の処理を表わしたものである。図5と共に説明する。   FIG. 9 shows the processing of the WAN connection unit at the end of transmission of user data in the DHCP converter. This will be described with reference to FIG.

WAN接続部115は、WAN回線102へのユーザデータの送信が終了すると(ステップS271:Y)、起動後経過タイマ120の値を退避して(ステップS272)、送信処理を終了する(エンド)。このようにしてWAN接続部115がWAN回線102へユーザデータを送信するたびに、CPE101が起動してから送信終了までの経過時間が記録されることになる。   When the transmission of user data to the WAN line 102 is completed (step S271: Y), the WAN connection unit 115 saves the value of the elapsed timer 120 after activation (step S272) and ends the transmission process (end). In this way, every time the WAN connection unit 115 transmits user data to the WAN line 102, the elapsed time from the activation of the CPE 101 to the end of transmission is recorded.

図10は、DHCP変換装置におけるDHCPリリースパケットの送信処理の様子を表わしたものである。図5および図9と共に説明する。   FIG. 10 shows a state of DHCP release packet transmission processing in the DHCP conversion apparatus. This will be described with reference to FIGS.

DHCP変換装置103のWAN接続部115は、前回起動してから一定時間(たとえば10秒)経過すると(ステップS291:Y)、起動して起動後経過タイマ120のそのときの値を取得する(ステップS292)。そして、図9のステップS272で退避させた起動後経過タイマ120の値との差を求める(ステップS293)。   When the WAN connection unit 115 of the DHCP conversion apparatus 103 elapses for a fixed time (for example, 10 seconds) since the previous activation (step S291: Y), the WAN connection unit 115 is activated and acquires the current value of the elapsed timer 120 after activation (step S291). S292). Then, the difference from the post-startup elapsed timer 120 value saved in step S272 of FIG. 9 is obtained (step S293).

WAN接続部115は、求めた差が無通信タイマ設定時間より大きいかを比較する(ステップS294)。ここで無通信タイマ設定時間はユーザが任意の範囲で設定できる時間であり、たとえば10分程度の時間に設定される。比較の結果、ステップS293で求めた差が無通信タイマ設定時間より大きい場合(Y)、WAN接続部115はWAN回線102への「送信データ不在」であると判定する。この場合、WAN接続部115はDHCPリリース(DHCP RELEASE)パケットを生成する(ステップS295)。そしてDHCPリリースパケットをWAN側DHCPサーバ104に送信する(ステップS296)。   The WAN connection unit 115 compares whether the obtained difference is greater than the no-communication timer setting time (step S294). Here, the no-communication timer setting time is a time that the user can set within an arbitrary range, and is set to a time of about 10 minutes, for example. As a result of the comparison, when the difference obtained in step S293 is larger than the no-communication timer set time (Y), the WAN connection unit 115 determines that “transmission data is absent” to the WAN line 102. In this case, the WAN connection unit 115 generates a DHCP release (DHCP RELEASE) packet (step S295). Then, the DHCP release packet is transmitted to the WAN side DHCP server 104 (step S296).

これにより、CPE101に払い出されていたIPアドレスがDHCPリリースパケットを受信したWAN側DHCPサーバ104に返却される。その後、WAN接続部115はWAN回線102との接続を切断して(ステップS297)、一連の処理を終了する(エンド)。   As a result, the IP address that has been paid out to the CPE 101 is returned to the WAN-side DHCP server 104 that has received the DHCP release packet. Thereafter, the WAN connection unit 115 disconnects the connection with the WAN line 102 (step S297), and ends a series of processing (end).

一方、ステップS293で求めた差が無通信タイマ設定時間以下であると判別した場合(ステップS294:N)、WAN接続部115は処理をステップS291に戻す。そして、これから一定時間が経過した時点で先に説明したようにステップS292以降の処理に進むことになる。   On the other hand, when it is determined that the difference obtained in step S293 is equal to or less than the no-communication timer setting time (step S294: N), the WAN connection unit 115 returns the process to step S291. Then, when a certain period of time has passed, the process proceeds to step S292 and subsequent steps as described above.

図11は、DHCP変換装置が送信データ不在と判定したときのIPアドレス管理システムの処理の様子を表わしたものである。図11で図6および図10と同一部分には同一のステップ番号を付けている。図5と共に説明する。   FIG. 11 shows a state of processing of the IP address management system when the DHCP converter determines that there is no transmission data. In FIG. 11, the same steps as those in FIGS. 6 and 10 are given the same step numbers. This will be described with reference to FIG.

DHCP変換装置103がステップS295で「送信データ不在」であると判定すると、WAN接続部115はWAN回線102を用いてDHCPリリースパケットをWAN側DHCPサーバ104に送信する(ステップS296)。そして、その後にWAN回線102との接続を切断する(ステップS297)。   If the DHCP conversion apparatus 103 determines that “transmission data is absent” in step S295, the WAN connection unit 115 transmits a DHCP release packet to the WAN side DHCP server 104 using the WAN line 102 (step S296). Thereafter, the connection with the WAN line 102 is disconnected (step S297).

この後、CPE101からDHCP変換装置103にDHCPリクエストパケットが送られてきたとする(ステップS311)。この時点でCPE101はDHCP変換装置103がWAN回線102と切断したことを知らない。そこでDHCP変換装置103のDHCP処理部121はDHCPリクエストパケットに対して要求を拒絶することを意味するDHCPネガティブ・アクノリッジメント(DHCP NAK)を返信する(ステップS312)。これによりCPE101はWAN回線102との接続が切断したことを知り、IPアドレスを保持しない状態になる。   Thereafter, it is assumed that a DHCP request packet is sent from the CPE 101 to the DHCP conversion apparatus 103 (step S311). At this point, the CPE 101 does not know that the DHCP conversion apparatus 103 has disconnected from the WAN line 102. Therefore, the DHCP processing unit 121 of the DHCP conversion apparatus 103 returns a DHCP negative acknowledgment (DHCP NAK) indicating that the request is rejected for the DHCP request packet (step S312). As a result, the CPE 101 knows that the connection with the WAN line 102 has been disconnected, and is in a state of not holding the IP address.

したがって、この後はCPE101がWAN回線102とユーザデータの通信を行おうとする際に、IPアドレスを取得するために、DHCPディスカバーパケットをDHCP変換装置103に送信することになる(ステップS201)。以下、図6のステップS202以降として説明した通りである。   Therefore, after this, when the CPE 101 tries to communicate user data with the WAN line 102, a DHCP discover packet is transmitted to the DHCP conversion apparatus 103 in order to obtain an IP address (step S201). Hereafter, it is as having demonstrated after step S202 of FIG.

以上説明したように本実施の形態のIPアドレス管理システム100によれば、第1の効果としてユーザが従量料金制を選択した場合に利用代金の低減を図ることができる。本実施の形態では、CPE101がパケットを送信する必要のある場合だけWAN回線102と接続することができるからである。従来では、IPアドレスの更新のための制御パケットを送受信する処理が定期的に行われたので、制御パケットにまで課金が行われる欠点があった。   As described above, according to the IP address management system 100 of the present embodiment, as a first effect, when the user selects the pay-as-you-go system, the usage fee can be reduced. This is because in the present embodiment, the CPE 101 can be connected to the WAN line 102 only when it is necessary to transmit a packet. Conventionally, since processing for transmitting and receiving control packets for updating IP addresses has been performed periodically, there has been a drawback in that even control packets are charged.

また、本実施の形態では、第2の効果としてWAN回線102側からの不正アクセスの可能性を低減することができる。パケットを送信する必要のある場合だけCPE101がDHCP変換装置103を介してWAN回線102と接続するので、WAN側からの不正アクセスが行われる機会が減少するからである。   In the present embodiment, as a second effect, the possibility of unauthorized access from the WAN line 102 side can be reduced. This is because the CPE 101 is connected to the WAN line 102 via the DHCP conversion apparatus 103 only when it is necessary to transmit a packet, thereby reducing the chance of unauthorized access from the WAN side.

<発明の変形可能性>   <Deformability of invention>

図12は、DHCP変換装置が送信データ不在と判定したときのIPアドレス管理システムの処理の他の例を示したものである。この変形例のIPアドレス管理システムで、図11と同一部分には同一のステップ番号を付しており、これらの説明を適宜省略する。図5と共に説明する。   FIG. 12 shows another example of processing of the IP address management system when the DHCP conversion apparatus determines that there is no transmission data. In this modified IP address management system, the same parts as those in FIG. 11 are denoted by the same step numbers, and description thereof will be omitted as appropriate. This will be described with reference to FIG.

DHCP変換装置103がステップS295で「送信データ不在」であると判定すると、WAN接続部115はWAN回線102を用いてDHCPリリースパケットをWAN側DHCPサーバ104に送信し(ステップS296)、その後にWAN回線102との接続を切断する(ステップS297)。   When the DHCP conversion apparatus 103 determines that “transmission data is absent” in step S295, the WAN connection unit 115 transmits the DHCP release packet to the WAN side DHCP server 104 using the WAN line 102 (step S296), and then the WAN. The connection with the line 102 is disconnected (step S297).

このWAN回線102の切断時のシーケンスで、この変形例ではDHCP変換装置103がWAN回線102との接続を切断した時点でLAN接続部114の物理リンクを一定時間ダウンさせる(ステップS401)。物理リンクをダウンさせる時間は、たとえば10秒間といった長さである。この後、LAN接続部114の物理リンクをアップさせる(ステップS402)。これにより、CPE101のDHCPクライアントを初期化して、IPアドレスを開放させる。   In the sequence when the WAN line 102 is disconnected, in this modification, the physical link of the LAN connection unit 114 is lowered for a certain period of time when the DHCP conversion apparatus 103 disconnects from the WAN line 102 (step S401). The time for bringing down the physical link is, for example, 10 seconds. Thereafter, the physical link of the LAN connection unit 114 is increased (step S402). As a result, the DHCP client of the CPE 101 is initialized and the IP address is released.

図11で説明したようにCPE101からDHCP変換装置103にDHCPリクエストパケットが送られてきた時点(ステップS311)にDHCP処理部121がDHCPネガティブ・アクノリッジメントを返信するようにしても、DHCPクライアントの処理方式によってはCPE101がDHCPディスカバーパケットを返送しない場合がある。このような場合には、図12で示した変形例のようにCPE101のDHCPクライアントを初期化する手法が有効となる。   As described with reference to FIG. 11, even when the DHCP processing unit 121 returns a DHCP negative acknowledgment at the time when the DHCP request packet is sent from the CPE 101 to the DHCP conversion apparatus 103 (step S311), the processing of the DHCP client is performed. Depending on the method, the CPE 101 may not return a DHCP discover packet. In such a case, a method for initializing the DHCP client of the CPE 101 as in the modification shown in FIG. 12 is effective.

DHCP変換装置103がLAN接続部114の物理リンクをアップした後にCPE101がステップS201でDHCPディスカバーパケットを送信した後の処理は、この変形例でも先の実施の形態と変わらない。   The processing after the DHCP conversion apparatus 103 ups the physical link of the LAN connection unit 114 and the CPE 101 transmits the DHCP discover packet in step S201 is the same as in the previous embodiment even in this modification.

したがって、この変形例のIPアドレス管理システムでは、DHCP変換装置103がWAN回線102との接続を切断したとき、CPE101にIPアドレスを取得させるためのDHCPディスカバーパケットの送信をDHCPクライアントの処理方式の相違にかかわらず確実に行わせることができる。
Therefore, in the IP address management system according to this modification, when the DHCP conversion apparatus 103 disconnects from the WAN line 102, the DHCP client transmits the DHCP discover packet for obtaining the IP address by the difference in the processing method of the DHCP client. Regardless of whether or not

以上説明した実施の形態の一部または全部は、以下の付記のようにも記載されるが、以下の記載に限定されるものではない。   Some or all of the embodiments described above are described as in the following supplementary notes, but are not limited to the following descriptions.

(付記1)
WAN(Wide Area Network)側に配置され、要求のあった装置に対してIPアドレス(Internet Protocol Address)の払い出しを行うDHCP(Dynamic Host Configuration Protocol)サーバと、
このDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出するDHCPディスカバー送出手段と、このDHCPディスカバー送出手段の送出したDHCPディスカバーに対して提示条件としてのDHCPオファ(DHCP OFFER)が送り返されてきたときこの条件を受け入れ可能である場合にDHCPリクエスト(DHCP REQUEST)を前記DHCPサーバに向けて送出する条件受け入れ可能時DHCPリクエスト送出手段と、この条件受け入れ可能時DHCPリクエスト送出手段の送出したDHCPリクエストに対してDHCPアクノリッジメント(DHCP ACK)が送り返されてきたとき前記DHCPオファで提示されたIPアドレスを使用してデータの通信を開始可能とする通信開始手段と、前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間が経過する前にリース時間更新時DHCPリクエストを送信するリース時間更新時DHCPリクエスト送出手段と、このリース時間更新時DHCPリクエスト送出手段によって前記リース時間更新時DHCPリクエストを送出したときこの更新要求を拒絶するDHCPネガティブ・アクノリッジメントが返送されてきたとき前記DHCPオファで提示されたIPアドレスを破棄するIPアドレス破棄手段とを備えたCPE(Customer Premises Equipment)と、
このCPEと前記DHCPサーバの接続されたWAN回線との間に配置され、このWAN回線との接続をオン・オフするWAN回線接続オン・オフ手段と、このWAN回線接続オン・オフ手段が前記WAN回線と接続していない状態で前記CPEが前記DHCPディスカバーを送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行しこのIPアドレスを含んだDHCPオファを前記CPEに返答する代理DHCPオファ返答手段と、この代理DHCPオファ返答手段の返答に対して前記CPEが前記DHCPリクエストを送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメントを前記CPEに返答する代理DHCPアクノリッジメント返答手段と、前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線接続オン・オフ手段が前記WAN回線と接続していない状態でデータの送信を待機する状態に移行すると共に前記WAN回線接続オン・オフ手段に対してWAN回線との接続を要求するWAN回線接続要求手段と、このWAN回線接続要求手段の要求によって前記WAN回線接続オン・オフ手段がWAN回線との接続をオンにするまでの間、前記CPEが前記リース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信手段と、前記WAN回線接続オン・オフ手段が前記WAN回線を接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信手段と、このDHCPサーバ宛DHCPリクエスト送信手段の送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送手段とを備えたDHCP変換装置
とを具備することを特徴とするIPアドレス管理システム。
(Appendix 1)
A DHCP (Dynamic Host Configuration Protocol) server that is arranged on the WAN (Wide Area Network) side and issues an IP address (Internet Protocol Address) to a requested device;
A DHCP discover sending means for sending out a DHCP discover (DHCP DISCOVER) requesting delivery of an IP address to the own device to the DHCP server, and DHCP as a presentation condition for the DHCP discover sent out by the DHCP discover sending means When this condition can be accepted when an offer (DHCP OFFER) is sent back, a condition accepting condition for sending a DHCP request (DHCP REQUEST) to the DHCP server, and a DHCP request sending means, and when this condition is acceptable When a DHCP acknowledgment (DHCP ACK) is sent back to the DHCP request sent out by the DHCP request sending means, the IP address presented in the DHCP offer is used. Communication start means for enabling data communication, and lease time for transmitting a DHCP request at the time of lease time update before the lease time elapses in order to update the lease time of the IP address presented by the DHCP offer When a DHCP negative acknowledgment that rejects the renewal request is sent back when the lease time renewal DHCP request is sent by the renewal DHCP request sending means and the lease time renewal DHCP request sending means, the DHCP offer CPE (Customer Premises Equipment) having an IP address discarding means for discarding the presented IP address;
WAN line connection on / off means that is arranged between the CPE and the WAN line to which the DHCP server is connected, and turns on / off the connection to the WAN line, and the WAN line connection on / off means includes the WAN When the CPE sends out the DHCP discover in a state where it is not connected to the line, it receives this as a proxy of the DHCP server, issues a temporary IP address, and returns a DHCP offer including this IP address to the CPE Proxy DHCP offer replying means, and when the CPE sends out the DHCP request in response to the reply of the proxy DHCP offer replying means, this is received as a proxy of the DHCP server and a DHCP acknowledgment is returned to the CPE. From the proxy DHCP acknowledgment response means and the CPE When the data for the WAN line is sent, the WAN line connection on / off means shifts to a state of waiting for data transmission in a state where it is not connected to the WAN line, and the WAN line connection on / off WAN line connection request means for requesting connection to the WAN line from the means, and until the WAN line connection on / off means turns on the connection to the WAN line in response to a request from the WAN line connection request means, When the CPE sends a DHCP request when the lease time is updated, negative acknowledgment reply means for returning a DHCP negative acknowledgment rejecting the request, and the WAN line connection on / off means connect the WAN line. Connected and started after a predetermined time within the lease time presented by the DHCP server has elapsed When the lease time is updated, a DHCP request is sent to the DHCP server on behalf of the CPE. A DHCP request transmission means for a DHCP server that sends a DHCP request to the DHCP server, and a DHCP server that is sent by the DHCP request transmission means for the DHCP server. DHCP acknowledgment return means for returning the DHCP acknowledgment to the CPE when the DHCP server returns a DHCP acknowledgment that means that the DHCP server can continue to issue the same IP address in response to a DHCP request. An IP address management system comprising: a DHCP conversion device provided.

(付記2)
前記DHCP変換装置は、前記CPEが前記データの通信を予め定めた時間以上行わないとき送信データが不在であると判別する送信データ不在判別手段と、この送信データ不在判別手段が送信データの不在を判別したとき払い出した前記IPアドレスを返却するためのDHCPリリース(DHCP RELEASE)を前記DHCPサーバに送信するDHCPリリース送信手段と、このDHCPリリース送信手段が前記DHCPリリースを送信した後、前記WAN回線との接続を切断するWAN回線接続切断手段とを更に具備することを特徴とする付記1記載のIPアドレス管理システム。
(Appendix 2)
The DHCP conversion apparatus includes: a transmission data absence determination unit that determines that transmission data is absent when the CPE does not perform communication of the data for a predetermined time; and the transmission data absence determination unit detects the absence of transmission data. DHCP release transmission means for transmitting a DHCP release (DHCP RELEASE) for returning the IP address paid out when determined to the DHCP server; and after the DHCP release transmission means transmits the DHCP release, The IP address management system according to appendix 1, further comprising WAN line connection disconnection means for disconnecting the connection.

(付記3)
前記DHCP変換装置は、前記WAN回線接続切断手段が自装置と前記WAN回線の間の接続を切断した後、前記CPEから前記DHCPリクエストが送られてきたときこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するDHCPネガティブ・アクノリッジメント返信手段を更に具備することを特徴とする付記2記載のIPアドレス管理システム。
(Appendix 3)
The DHCP conversion apparatus rejects a DHCP negative acknowledgment when the DHCP request is sent from the CPE after the WAN line connection disconnection means disconnects the connection between the own apparatus and the WAN line. The IP address management system according to appendix 2, further comprising a DHCP negative acknowledgment replying means for replying.

(付記4)
前記DHCP変換装置は、前記WAN回線接続切断手段が自装置と前記WAN回線の間の接続を切断した後、前記CPEと自装置の物理リンクを一定時間ダウンさせるリンクダウン手段を更に具備することを特徴とする付記2記載のIPアドレス管理システム。
(Appendix 4)
The DHCP conversion apparatus further comprises link down means for bringing the physical link between the CPE and the own apparatus down for a predetermined time after the WAN line connection / disconnection means disconnects the connection between the own apparatus and the WAN line. The IP address management system according to Supplementary Note 2, which is a feature.

(付記5)
前記DHCPアクノリッジメント返送手段は、前記前記DHCPサーバが前記DHCP変換装置に送ってきたDHCPアクノリッジメントの中に含まれるリース時間を自装置が前記CPEに対して示したリース時間に変更して前記CPEに返送するDHCPアクノリッジメントとするリリース時間変更手段を具備することを特徴とする付記1記載のIPアドレス管理システム。
(Appendix 5)
The DHCP acknowledgment return means changes the lease time included in the DHCP acknowledgment sent from the DHCP server to the DHCP conversion device to the lease time indicated by the own device to the CPE, and changes the CPE. The IP address management system according to appendix 1, further comprising release time changing means for making a DHCP acknowledgment to be returned to the server.

(付記6)
前記DHCP変換装置は前記WAN回線から受信し前記CPEへ送信するDHCPに関係しないパケットのMACアドレスを書き換えて前記CPEへ転送するMACアドレス変更手段を具備することを特徴とする付記1記載のIPアドレス管理システム。
(Appendix 6)
2. The IP address according to claim 1, wherein the DHCP conversion device comprises a MAC address changing means for rewriting a MAC address of a packet not related to DHCP transmitted from the WAN line and transmitted to the CPE and transferring the packet to the CPE. Management system.

(付記7)
IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)と、この要求に応じてIPアドレスを前記CPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバの接続されたWAN(Wide Area Network)回線との間に配置され、前記WAN回線と自装置の接続をオン・オフするWAN回線接続オン・オフ手段と、
このWAN回線接続オン・オフ手段が前記WAN回線と接続していない状態で前記CPEが前記DHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行手段と、
前記DHCPディスカバーに対して前記仮のIPアドレス発行手段の発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記CPEに返答する代理DHCPオファ返答手段と、
この代理DHCPオファ返答手段の返答に対して前記CPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記CPEに返答する代理DHCPアクノリッジメント返答手段と、
前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線接続オン・オフ手段が前記WAN回線と接続していない状態でデータの送信を待機する状態に移行すると共に前記WAN回線接続オン・オフ手段に対してWAN回線との接続を要求するWAN回線接続要求手段と、
このWAN回線接続要求手段の要求によって前記WAN回線接続オン・オフ手段がWAN回線との接続をオンにするまでの間、前記CPEが前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信手段と、
前記WAN回線接続オン・オフ手段が前記WAN回線を接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信手段と、
このDHCPサーバ宛DHCPリクエスト送信手段の送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送手段
とを具備することを特徴とするDHCP変換装置。
(Appendix 7)
A WAN (Wide Area Network) connected to a CPE (Customer Premises Equipment) requesting delivery of an IP address (Internet Protocol Address) and a DHCP (Dynamic Host Configuration Protocol) server that delivers an IP address to the CPE in response to the request. ) WAN line connection on / off means arranged between the line and for turning on / off the connection between the WAN line and the own device;
When the CPE sends out a DHCP discover requesting the IP address to be issued to the DHCP server to the DHCP server while the WAN line connection on / off means is not connected to the WAN line. Temporary IP address issuing means for receiving this as a proxy for the DHCP server and issuing a temporary IP address;
A proxy DHCP offer replying means for replying to the CPE a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued by the temporary IP address issuing means to the DHCP discover;
When a DHCP request (DHCP REQUEST) indicating that the CPE can accept the condition indicated in the reply is sent in response to the reply from the proxy DHCP offer reply means, the DHCP request is received as a proxy of the DHCP server and is received as a DHCP acknowledge. Proxy DHCP acknowledgment response means for responding to the CPE with a response (DHCP ACK);
When data is sent from the CPE to the WAN line, the WAN line connection on / off means shifts to a state of waiting for data transmission without being connected to the WAN line, and the WAN line connection WAN line connection request means for requesting connection to the WAN line to the on / off means;
The CPE renews the lease time of the IP address presented in the DHCP offer until the WAN line connection on / off means turns on the connection to the WAN line in response to a request from the WAN line connection request means. Negative acknowledgment return means for sending back a DHCP negative acknowledgment that rejects this request when sending a DHCP request at the time of lease time renewal,
When the WAN line connection on / off means connects the WAN line and a DHCP request at the time of lease time update is sent for the first time after a predetermined time within the lease time presented by the DHCP server has passed, the DHCP server is sent to the DHCP server. A DHCP server-addressed DHCP request transmitting means for transmitting a DHCP request on behalf of the CPE;
When the DHCP server returns a DHCP acknowledgment indicating that the DHCP server can continue to issue the same IP address in response to the DHCP server-addressed DHCP request sent by the DHCP server-addressed DHCP request transmission means, this DHCP acknowledge A DHCP acknowledgment returning means for returning a request to the CPE.

(付記8)
前記CPEが前記データの通信を予め定めた時間以上行わないとき送信データが不在であると判別する送信データ不在判別手段と、この送信データ不在判別手段が送信データの不在を判別したとき払い出した前記IPアドレスを返却するためのDHCPリリース(DHCP RELEASE)を前記DHCPサーバに送信するDHCPリリース送信手段と、このDHCPリリース送信手段が前記DHCPリリースを送信した後、前記WAN回線との接続を切断するWAN回線接続切断手段とを更に具備することを特徴とする付記7記載のDHCP変換装置。
(Appendix 8)
Transmission data absence determining means for determining that the transmission data is absent when the CPE does not perform communication of the data for a predetermined time or more, and when the transmission data absence determining means determines the absence of the transmission data, A DHCP release transmission unit that transmits a DHCP release (DHCP RELEASE) for returning an IP address to the DHCP server, and a WAN that disconnects the connection to the WAN line after the DHCP release transmission unit transmits the DHCP release. The DHCP conversion apparatus according to appendix 7, further comprising a line connection disconnecting unit.

(付記9)
前記WAN回線接続切断手段が自装置と前記WAN回線の間の接続を切断した後、前記CPEから前記DHCPリクエストが送られてきたときこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するDHCPネガティブ・アクノリッジメント返信手段を更に具備することを特徴とする付記8記載のDHCP変換装置。
(Appendix 9)
After the WAN line connection disconnecting means disconnects the connection between the own apparatus and the WAN line, when the DHCP request is sent from the CPE, a DHCP negative acknowledgment that rejects this request is returned. The DHCP conversion apparatus according to appendix 8, further comprising an acknowledgment reply means.

(付記10)
前記WAN回線接続切断手段が自装置と前記WAN回線の間の接続を切断した後、前記CPEと自装置の物理リンクを一定時間ダウンさせるリンクダウン手段を更に具備することを特徴とする付記8記載のDHCP変換装置。
(Appendix 10)
Item 8. The appendix 8 further comprising link down means for bringing the physical link between the CPE and the own apparatus down for a predetermined time after the WAN line connection disconnecting means disconnects the connection between the own apparatus and the WAN line. DHCP conversion device.

(付記11)
前記DHCPアクノリッジメント返送手段は、前記前記DHCPサーバが前記DHCP変換装置に送ってきたDHCPアクノリッジメントの中に含まれるリース時間を自装置が前記CPEに対して示したリース時間に変更して前記CPEに返送するDHCPアクノリッジメントとするリリース時間変更手段を具備することを特徴とする付記7記載のDHCP変換装置。
(Appendix 11)
The DHCP acknowledgment return means changes the lease time included in the DHCP acknowledgment sent from the DHCP server to the DHCP conversion device to the lease time indicated by the own device to the CPE, and changes the CPE. The DHCP conversion apparatus according to appendix 7, further comprising release time changing means for making a DHCP acknowledgment to be returned to the network.

(付記12)
前記WAN回線から受信し前記CPEへ送信するDHCPに関係しないパケットのMACアドレスを書き換えて前記CPEへ転送するMACアドレス変更手段を具備することを特徴とする付記7記載のDHCP変換装置。
(Appendix 12)
The DHCP conversion apparatus according to appendix 7, further comprising a MAC address changing unit that rewrites a MAC address of a packet that is received from the WAN line and is transmitted to the CPE and is not related to DHCP and transfers the packet to the CPE.

(付記13)
IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記CPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバを接続したWAN(Wide Area Network)回線と自装置の接続がオフとなっている状態で前記CPEが前記DHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行ステップと、
前記DHCPディスカバーに対して前記仮のIPアドレス発行ステップで発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記CPEに返答する代理DHCPオファ返答ステップと、
この代理DHCPオファ返答ステップで行った返答に対して前記CPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記CPEに返答する代理DHCPアクノリッジメント返答ステップと、
前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記WAN回線と自装置の接続を要求するWAN回線接続要求ステップと、
このWAN回線接続要求ステップによる要求によって前記WAN回線と自装置が接続するまでの間、前記CPEが前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信ステップと、
前記WAN回線接続要求ステップによって前記WAN回線と自装置が接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信ステップと、
このDHCPサーバ宛DHCPリクエスト送信ステップで送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送ステップ
とを具備することを特徴とするIPアドレス管理方法。
(Appendix 13)
A WAN (Wide Area Network) line connected to a DHCP (Dynamic Host Configuration Protocol) server that issues an IP address to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests an IP address (Internet Protocol Address) to be issued When the CPE sends out a DHCP discover requesting the IP address to be issued to the DHCP server (DHCP DISCOVER) to the DHCP server in a state where the connection of the own device is OFF And a temporary IP address issuing step for issuing a temporary IP address
Proxy DHCP offer response step of returning a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued in the temporary IP address issue step to the DHCP discover to the CPE;
When a DHCP request (DHCP REQUEST) indicating that the CPE can accept the conditions indicated in the reply is sent in response to the reply made in the proxy DHCP offer reply step, this is received as a proxy of the DHCP server. A proxy DHCP acknowledgment response step of returning a DHCP acknowledgment (DHCP ACK) to the CPE;
When data is sent from the CPE to the WAN line, the state shifts to a state of waiting for data transmission in a state in which the connection between the WAN line and the own apparatus is off, and the WAN line and the own apparatus WAN line connection requesting step for requesting connection;
Until the WAN line and its own apparatus are connected by the request in the WAN line connection request step, the CPE sends a DHCP request at the time of lease time update so as to renew the lease time of the IP address presented in the DHCP offer. A negative acknowledgment reply step for sending back a DHCP negative acknowledgment that rejects this request upon transmission;
When the WAN request is sent for the first time after the lease time renewal DHCP request is sent after the WAN line and the own apparatus are connected by the WAN line connection request step and a predetermined time within the lease time presented by the DHCP server has elapsed. A DHCP request addressed to a DHCP server that sends a DHCP request on behalf of the CPE to
When the DHCP server returns a DHCP acknowledgment that means that the DHCP server can continuously issue the same IP address in response to the DHCP request addressed to the DHCP server sent in the DHCP request addressed to the DHCP server, this DHCP acknowledge A DHCP acknowledgment return step for returning a request to the CPE.

(付記14)
前記CPEが前記データの通信を予め定めた時間以上行わないとき送信データが不在であると判別する送信データ不在判別ステップと、この送信データ不在判別ステップで送信データの不在を判別したとき払い出した前記IPアドレスを返却するためのDHCPリリース(DHCP RELEASE)を前記DHCPサーバに送信するDHCPリリース送信ステップと、このDHCPリリース送信ステップで前記DHCPリリースを送信した後、前記WAN回線との接続を切断するWAN回線接続切断ステップとを更に具備することを特徴とする付記13記載のIPアドレス管理方法。
(Appendix 14)
The transmission data absence determination step for determining that the transmission data is absent when the CPE does not perform communication of the data for a predetermined time or more, and the payout when the absence of transmission data is determined in the transmission data absence determination step A DHCP release transmission step of transmitting a DHCP release (DHCP RELEASE) for returning an IP address to the DHCP server, and a WAN that disconnects the connection to the WAN line after transmitting the DHCP release in the DHCP release transmission step 14. The IP address management method according to appendix 13, further comprising a line connection disconnecting step.

(付記15)
前記WAN回線接続切断ステップで自装置と前記WAN回線の間の接続を切断した後、前記CPEから前記DHCPリクエストが送られてきたときこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するDHCPネガティブ・アクノリッジメント返信ステップを更に具備することを特徴とする付記14記載のIPアドレス管理方法。
(Appendix 15)
After disconnecting the connection between the own apparatus and the WAN line in the WAN line connection disconnecting step, when the DHCP request is sent from the CPE, a DHCP negative acknowledgment that rejects this request is returned. 15. The IP address management method according to appendix 14, further comprising an acknowledgment reply step.

(付記16)
前記WAN回線接続切断ステップで自装置と前記WAN回線の間の接続を切断した後、前記CPEと自装置の物理リンクを一定時間ダウンさせるリンクダウンステップを更に具備することを特徴とする付記14記載のIPアドレス管理方法。
(Appendix 16)
15. The supplementary note 14 further comprising a link down step of down the physical link between the CPE and the own device for a predetermined time after the connection between the own device and the WAN line is cut off in the WAN line connection disconnecting step. IP address management method.

(付記17)
前記DHCPアクノリッジメント返送ステップでは、前記前記DHCPサーバが前記DHCP変換装置に送ってきたDHCPアクノリッジメントの中に含まれるリース時間を自装置が前記CPEに対して示したリース時間に変更して前記CPEに返送するDHCPアクノリッジメントとするリリース時間変更ステップを具備することを特徴とする付記13記載のIPアドレス管理方法。
(Appendix 17)
In the DHCP acknowledgment return step, the lease time included in the DHCP acknowledgment sent by the DHCP server to the DHCP conversion device is changed to the lease time indicated by the own device to the CPE, and the CPE 14. The IP address management method according to appendix 13, further comprising a release time change step for setting a DHCP acknowledgment to be returned to the server.

(付記18)
コンピュータに、
IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記CPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバを接続したWAN(Wide Area Network)回線と自装置の接続がオフとなっている状態で前記CPEが前記DHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行処理と、
前記DHCPディスカバーに対して前記仮のIPアドレス発行処理で発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記CPEに返答する代理DHCPオファ返答処理と、
この代理DHCPオファ返答処理で行った返答に対して前記CPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記CPEに返答する代理DHCPアクノリッジメント返答処理と、
前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記WAN回線と自装置の接続を要求するWAN回線接続要求処理と、
このWAN回線接続要求処理による要求によって前記WAN回線と自装置が接続するまでの間、前記CPEが前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信処理と、
前記WAN回線接続要求処理によって前記WAN回線と自装置が接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信処理と、
このDHCPサーバ宛DHCPリクエスト送信処理で送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送処理
とを実行させることを特徴とするIPアドレス管理プログラム。
(Appendix 18)
On the computer,
A WAN (Wide Area Network) line connected to a DHCP (Dynamic Host Configuration Protocol) server that issues an IP address to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests an IP address (Internet Protocol Address) to be issued When the CPE sends out a DHCP discover requesting the IP address to be issued to the DHCP server (DHCP DISCOVER) to the DHCP server in a state where the connection of the own device is OFF And a temporary IP address issuing process for issuing a temporary IP address
Proxy DHCP offer response processing for returning a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued in the temporary IP address issue processing to the DHCP discover to the CPE;
When a DHCP request (DHCP REQUEST) indicating that the CPE can accept the condition shown in the reply is sent to the reply made in the proxy DHCP offer reply process, this is received as a substitute for the DHCP server. Proxy DHCP acknowledgment response processing for returning a DHCP acknowledgment (DHCP ACK) to the CPE;
When data is sent from the CPE to the WAN line, the state shifts to a state of waiting for data transmission in a state in which the connection between the WAN line and the own apparatus is off, and the WAN line and the own apparatus WAN line connection request processing for requesting connection;
Until the WAN line and its own apparatus are connected by the request by the WAN line connection request processing, the CPE sends a DHCP request at the time of lease time update in order to renew the lease time of the IP address presented in the DHCP offer. A negative acknowledgment reply process that returns a DHCP negative acknowledgment that rejects this request upon transmission;
When the WAN request is sent for the first time after a predetermined time within the lease time presented by the DHCP server after the WAN line is connected by the WAN line connection request processing and the DHCP server is sent, the DHCP server is sent. A DHCP request addressed to a DHCP server that sends a DHCP request on behalf of the CPE to
When the DHCP server returns a DHCP acknowledgment that means that the DHCP server can continue to pay out the same IP address in response to the DHCP request addressed to the DHCP server sent in the DHCP request addressed to the DHCP server, this DHCP acknowledge. An IP address management program for executing a DHCP acknowledgment return process for returning a request to the CPE.

(付記19)
前記CPEが前記データの通信を予め定めた時間以上行わないとき送信データが不在であると判別する送信データ不在判別処理と、この送信データ不在判別処理で送信データの不在を判別したとき払い出した前記IPアドレスを返却するためのDHCPリリース(DHCP RELEASE)を前記DHCPサーバに送信するDHCPリリース送信処理と、このDHCPリリース送信処理で前記DHCPリリースを送信した後、前記WAN回線との接続を切断するWAN回線接続切断処理とを更に実行させることを特徴とする付記18記載のIPアドレス管理プログラム。
(Appendix 19)
The transmission data absence determination process for determining that the transmission data is absent when the CPE does not perform communication of the data for a predetermined time or more, and the payout when the absence of transmission data is determined in the transmission data absence determination process A DHCP release transmission process for transmitting a DHCP release (DHCP RELEASE) for returning an IP address to the DHCP server, and a WAN for disconnecting the WAN line after transmitting the DHCP release in the DHCP release transmission process 19. The IP address management program according to appendix 18, further comprising a line connection disconnection process.

(付記20)
前記WAN回線接続切断処理で自装置と前記WAN回線の間の接続を切断した後、前記CPEから前記DHCPリクエストが送られてきたときこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するDHCPネガティブ・アクノリッジメント返信処理を更に実行させることを特徴とする付記19記載のIPアドレス管理プログラム。
(Appendix 20)
After disconnecting the connection between the own apparatus and the WAN line in the WAN line connection disconnection process, when the DHCP request is sent from the CPE, a DHCP negative acknowledgment that rejects this request is returned. Item 20. The IP address management program according to appendix 19, further comprising executing an acknowledgment reply process.

(付記21)
前記WAN回線接続切断処理で自装置と前記WAN回線の間の接続を切断した後、前記CPEと自装置の物理リンクを一定時間ダウンさせるリンクダウン処理を更に実行させることを特徴とする付記19記載のIPアドレス管理プログラム。
(Appendix 21)
Appendix 19 wherein after the connection between the own apparatus and the WAN line is disconnected in the WAN line connection disconnection process, a link down process is further executed to bring down the physical link between the CPE and the own apparatus for a certain period of time. IP address management program.

(付記22)
前記DHCPアクノリッジメント返送処理では、前記前記DHCPサーバが前記DHCP変換装置に送ってきたDHCPアクノリッジメントの中に含まれるリース時間を自装置が前記CPEに対して示したリース時間に変更して前記CPEに返送するDHCPアクノリッジメントとするリリース時間変更処理を実行させることを特徴とする付記18記載のIPアドレス管理プログラム。
(Appendix 22)
In the DHCP acknowledgment return process, the lease time included in the DHCP acknowledgment sent by the DHCP server to the DHCP conversion device is changed to the lease time indicated by the own device to the CPE, and the CPE 19. The IP address management program according to appendix 18, characterized in that a release time change process is performed as a DHCP acknowledgment returned to the server.

10、100 IPアドレス管理システム
11 DHCPサーバ
12、101 CPE
12a DHCPディスカバー送出手段
12b 条件受け入れ可能時DHCPリクエスト送出手段
12c 通信開始手段
12d リース時間更新時DHCPリクエスト送出手段
12e IPアドレス破棄手段
13、103 DHCP変換装置
13a WAN回線接続オン・オフ手段
13b 代理DHCPオファ返答手段
13c 代理DHCPアクノリッジメント返答手段
13d WAN回線接続要求手段
13e ネガティブ・アクノリッジメント返信手段
13f DHCPサーバ宛DHCPリクエスト送信手段
13g DHCPアクノリッジメント返送手段
20 DHCP変換装置
21 WAN回線接続オン・オフ手段
22 仮のIPアドレス発行手段
23 代理DHCPオファ返答手段
24 代理DHCPアクノリッジメント返答手段
25 WAN回線接続要求手段
26 ネガティブ・アクノリッジメント返信手段
27 DHCPサーバ宛DHCPリクエスト送信手段
28 DHCPアクノリッジメント返送手段
30 IPアドレス管理方法
31 仮のIPアドレス発行ステップ
32 代理DHCPオファ返答ステップ
33 代理DHCPアクノリッジメント返答ステップ
34 WAN回線接続要求ステップ
35 ネガティブ・アクノリッジメント返信ステップ
36 DHCPサーバ宛DHCPリクエスト送信ステップ
37 DHCPアクノリッジメント返送ステップ
40 IPアドレス管理プログラム
41 仮のIPアドレス発行処理
42 代理DHCPオファ返答処理
43 代理DHCPアクノリッジメント返答処理
44 WAN回線接続要求処理
45 ネガティブ・アクノリッジメント返信処理
46 DHCPサーバ宛DHCPリクエスト送信処理
47 DHCPアクノリッジメント返送処理
102 WAN回線
104 WAN側DHCPサーバ
105 LANケーブル
111 制御部
112 CPU
113 メモリ
114 LAN接続部
115 WAN接続部
116 転送処理部
117 DHCP検出部
118 送信待機フラグ格納部
119 WAN接続処理部
120 起動後経過タイマ
121 DHCP処理部
10, 100 IP address management system 11 DHCP server 12, 101 CPE
12a DHCP discover sending means 12b DHCP request sending means when conditions are acceptable 12c Communication start means 12d DHCP request sending means when lease time is updated 12e IP address discarding means 13, 103 DHCP converter 13a WAN line connection on / off means 13b Proxy DHCP offer Reply means 13c Proxy DHCP acknowledgment reply means 13d WAN line connection request means 13e Negative acknowledgment reply means 13f DHCP request transmission means to DHCP server 13g DHCP acknowledgment return means 20 DHCP converter 21 WAN line connection on / off means 22 Temporary IP address issuing means 23 Proxy DHCP offer reply means 24 Proxy DHCP acknowledgment reply means 25 WAN connection Continue request means 26 Negative acknowledgment reply means 27 DHCP server-addressed DHCP request transmission means 28 DHCP acknowledgment return means 30 IP address management method 31 Temporary IP address issue step 32 Proxy DHCP offer reply step 33 Proxy DHCP acknowledge reply step 34 WAN line connection request step 35 Negative acknowledgment return step 36 DHCP request transmission step to DHCP server 37 DHCP acknowledgment return step 40 IP address management program 41 Temporary IP address issue processing 42 Proxy DHCP offer response processing 43 Proxy DHCP acknowledge response Process 44 WAN line connection request process 45 Negative acknowledgment reply process 46 HCP server addressed DHCP request transmission processing 47 DHCP acknowledgment back process 102 WAN line 104 WAN side DHCP server 105 LAN cable 111 controller 112 CPU
DESCRIPTION OF SYMBOLS 113 Memory 114 LAN connection part 115 WAN connection part 116 Transfer process part 117 DHCP detection part 118 Transmission waiting flag storage part 119 WAN connection process part 120 Post-start elapsed timer 121 DHCP process part

Claims (10)

WAN(Wide Area Network)側に配置され、要求のあった装置に対してIPアドレス(Internet Protocol Address)の払い出しを行うDHCP(Dynamic Host Configuration Protocol)サーバと、
このDHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出するDHCPディスカバー送出手段と、このDHCPディスカバー送出手段の送出したDHCPディスカバーに対して提示条件としてのDHCPオファ(DHCP OFFER)が送り返されてきたときこの条件を受け入れ可能である場合にDHCPリクエスト(DHCP REQUEST)を前記DHCPサーバに向けて送出する条件受け入れ可能時DHCPリクエスト送出手段と、この条件受け入れ可能時DHCPリクエスト送出手段の送出したDHCPリクエストに対してDHCPアクノリッジメント(DHCP ACK)が送り返されてきたとき前記DHCPオファで提示されたIPアドレスを使用してデータの通信を開始可能とする通信開始手段と、前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間が経過する前にリース時間更新時DHCPリクエストを送信するリース時間更新時DHCPリクエスト送出手段と、このリース時間更新時DHCPリクエスト送出手段によって前記リース時間更新時DHCPリクエストを送出したときこの更新要求を拒絶するDHCPネガティブ・アクノリッジメントが返送されてきたとき前記DHCPオファで提示されたIPアドレスを破棄するIPアドレス破棄手段とを備えたCPE(Customer Premises Equipment)と、
このCPEと前記DHCPサーバの接続されたWAN回線との間に配置され、このWAN回線との接続をオン・オフするWAN回線接続オン・オフ手段と、このWAN回線接続オン・オフ手段が前記WAN回線と接続していない状態で前記CPEが前記DHCPディスカバーを送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行しこのIPアドレスを含んだDHCPオファを前記CPEに返答する代理DHCPオファ返答手段と、この代理DHCPオファ返答手段の返答に対して前記CPEが前記DHCPリクエストを送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメントを前記CPEに返答する代理DHCPアクノリッジメント返答手段と、前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線接続オン・オフ手段が前記WAN回線と接続していない状態でデータの送信を待機する状態に移行すると共に前記WAN回線接続オン・オフ手段に対してWAN回線との接続を要求するWAN回線接続要求手段と、このWAN回線接続要求手段の要求によって前記WAN回線接続オン・オフ手段がWAN回線との接続をオンにするまでの間、前記CPEが前記リース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信手段と、前記WAN回線接続オン・オフ手段が前記WAN回線を接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信手段と、このDHCPサーバ宛DHCPリクエスト送信手段の送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送手段とを備えたDHCP変換装置
とを具備することを特徴とするIPアドレス管理システム。
A DHCP (Dynamic Host Configuration Protocol) server that is arranged on the WAN (Wide Area Network) side and issues an IP address (Internet Protocol Address) to a requested device;
A DHCP discover sending means for sending out a DHCP discover (DHCP DISCOVER) requesting delivery of an IP address to the own device to the DHCP server, and DHCP as a presentation condition for the DHCP discover sent out by the DHCP discover sending means When this condition can be accepted when an offer (DHCP OFFER) is sent back, a condition accepting condition for sending a DHCP request (DHCP REQUEST) to the DHCP server, and a DHCP request sending means, and when this condition is acceptable When a DHCP acknowledgment (DHCP ACK) is sent back to the DHCP request sent out by the DHCP request sending means, the IP address presented in the DHCP offer is used. Communication start means for enabling data communication, and lease time for transmitting a DHCP request at the time of lease time update before the lease time elapses in order to update the lease time of the IP address presented by the DHCP offer When a DHCP negative acknowledgment that rejects the renewal request is sent back when the lease time renewal DHCP request is sent by the renewal DHCP request sending means and the lease time renewal DHCP request sending means, the DHCP offer CPE (Customer Premises Equipment) having an IP address discarding means for discarding the presented IP address;
WAN line connection on / off means that is arranged between the CPE and the WAN line to which the DHCP server is connected, and turns on / off the connection to the WAN line, and the WAN line connection on / off means includes the WAN When the CPE sends out the DHCP discover in a state where it is not connected to the line, it receives this as a proxy of the DHCP server, issues a temporary IP address, and returns a DHCP offer including this IP address to the CPE Proxy DHCP offer replying means, and when the CPE sends out the DHCP request in response to the reply of the proxy DHCP offer replying means, this is received as a proxy of the DHCP server and a DHCP acknowledgment is returned to the CPE. From the proxy DHCP acknowledgment response means and the CPE When the data for the WAN line is sent, the WAN line connection on / off means shifts to a state of waiting for data transmission in a state where it is not connected to the WAN line, and the WAN line connection on / off WAN line connection request means for requesting connection to the WAN line from the means, and until the WAN line connection on / off means turns on the connection to the WAN line in response to a request from the WAN line connection request means, When the CPE sends a DHCP request when the lease time is updated, negative acknowledgment reply means for returning a DHCP negative acknowledgment rejecting the request, and the WAN line connection on / off means connect the WAN line. Connected and started after a predetermined time within the lease time presented by the DHCP server has elapsed When the lease time is updated, a DHCP request is sent to the DHCP server on behalf of the CPE, and a DHCP request transmission means for the DHCP server that sends the DHCP request to the DHCP server, DHCP acknowledgment return means for returning the DHCP acknowledgment to the CPE when the DHCP server returns a DHCP acknowledgment that means that the DHCP server can continue to issue the same IP address in response to a DHCP request. An IP address management system comprising: a DHCP conversion device provided.
前記DHCP変換装置は、前記CPEが前記データの通信を予め定めた時間以上行わないとき送信データが不在であると判別する送信データ不在判別手段と、この送信データ不在判別手段が送信データの不在を判別したとき払い出した前記IPアドレスを返却するためのDHCPリリース(DHCP RELEASE)を前記DHCPサーバに送信するDHCPリリース送信手段と、このDHCPリリース送信手段が前記DHCPリリースを送信した後、前記WAN回線との接続を切断するWAN回線接続切断手段とを更に具備することを特徴とする請求項1記載のIPアドレス管理システム。   The DHCP conversion apparatus includes: a transmission data absence determination unit that determines that transmission data is absent when the CPE does not perform communication of the data for a predetermined time; and the transmission data absence determination unit detects the absence of transmission data. DHCP release transmission means for transmitting a DHCP release (DHCP RELEASE) for returning the IP address paid out when determined to the DHCP server; and after the DHCP release transmission means transmits the DHCP release, 2. The IP address management system according to claim 1, further comprising WAN line connection disconnecting means for disconnecting the connection. 前記DHCP変換装置は、前記WAN回線接続切断手段が自装置と前記WAN回線の間の接続を切断した後、前記CPEから前記DHCPリクエストが送られてきたときこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するDHCPネガティブ・アクノリッジメント返信手段を更に具備することを特徴とする請求項2記載のIPアドレス管理システム。   The DHCP conversion apparatus rejects a DHCP negative acknowledgment when the DHCP request is sent from the CPE after the WAN line connection disconnection means disconnects the connection between the own apparatus and the WAN line. 3. The IP address management system according to claim 2, further comprising a DHCP negative acknowledgment reply means for replying. 前記DHCP変換装置は、前記WAN回線接続切断手段が自装置と前記WAN回線の間の接続を切断した後、前記CPEと自装置の物理リンクを一定時間ダウンさせるリンクダウン手段を更に具備することを特徴とする請求項2記載のIPアドレス管理システム。   The DHCP conversion apparatus further comprises link down means for bringing the physical link between the CPE and the own apparatus down for a predetermined time after the WAN line connection / disconnection means disconnects the connection between the own apparatus and the WAN line. The IP address management system according to claim 2, wherein: 前記DHCPアクノリッジメント返送手段は、前記前記DHCPサーバが前記DHCP変換装置に送ってきたDHCPアクノリッジメントの中に含まれるリース時間を自装置が前記CPEに対して示したリース時間に変更して前記CPEに返送するDHCPアクノリッジメントとするリリース時間変更手段を具備することを特徴とする請求項1記載のIPアドレス管理システム。   The DHCP acknowledgment return means changes the lease time included in the DHCP acknowledgment sent from the DHCP server to the DHCP conversion device to the lease time indicated by the own device to the CPE, and changes the CPE. 2. The IP address management system according to claim 1, further comprising release time changing means for making a DHCP acknowledgment to be returned to the network. 前記DHCP変換装置は前記WAN回線から受信し前記CPEへ送信するDHCPに関係しないパケットのMACアドレスを書き換えて前記CPEへ転送するMACアドレス変更手段を具備することを特徴とする請求項1記載のIPアドレス管理システム。   2. The IP address according to claim 1, wherein the DHCP conversion device comprises a MAC address changing unit that rewrites a MAC address of a packet not related to DHCP that is received from the WAN line and transmitted to the CPE, and forwards the packet to the CPE. Address management system. IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)と、この要求に応じてIPアドレスを前記CPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバの接続されたWAN(Wide Area Network)回線との間に配置され、前記WAN回線と自装置の接続をオン・オフするWAN回線接続オン・オフ手段と、
このWAN回線接続オン・オフ手段が前記WAN回線と接続していない状態で前記CPEが前記DHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行手段と、
前記DHCPディスカバーに対して前記仮のIPアドレス発行手段の発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記CPEに返答する代理DHCPオファ返答手段と、
この代理DHCPオファ返答手段の返答に対して前記CPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記CPEに返答する代理DHCPアクノリッジメント返答手段と、
前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線接続オン・オフ手段が前記WAN回線と接続していない状態でデータの送信を待機する状態に移行すると共に前記WAN回線接続オン・オフ手段に対してWAN回線との接続を要求するWAN回線接続要求手段と、
このWAN回線接続要求手段の要求によって前記WAN回線接続オン・オフ手段がWAN回線との接続をオンにするまでの間、前記CPEが前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信手段と、
前記WAN回線接続オン・オフ手段が前記WAN回線を接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信手段と、
このDHCPサーバ宛DHCPリクエスト送信手段の送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送手段
とを具備することを特徴とするDHCP変換装置。
A WAN (Wide Area Network) connected to a CPE (Customer Premises Equipment) requesting delivery of an IP address (Internet Protocol Address) and a DHCP (Dynamic Host Configuration Protocol) server that delivers an IP address to the CPE in response to the request. ) WAN line connection on / off means arranged between the line and for turning on / off the connection between the WAN line and the own device;
When the CPE sends out a DHCP discover requesting the IP address to be issued to the DHCP server to the DHCP server while the WAN line connection on / off means is not connected to the WAN line. Temporary IP address issuing means for receiving this as a proxy for the DHCP server and issuing a temporary IP address;
A proxy DHCP offer replying means for replying to the CPE a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued by the temporary IP address issuing means to the DHCP discover;
When a DHCP request (DHCP REQUEST) indicating that the CPE can accept the condition indicated in the reply is sent in response to the reply from the proxy DHCP offer reply means, the DHCP request is received as a proxy of the DHCP server and is received as a DHCP acknowledge. Proxy DHCP acknowledgment response means for responding to the CPE with a response (DHCP ACK);
When data is sent from the CPE to the WAN line, the WAN line connection on / off means shifts to a state of waiting for data transmission without being connected to the WAN line, and the WAN line connection WAN line connection request means for requesting connection to the WAN line to the on / off means;
The CPE renews the lease time of the IP address presented in the DHCP offer until the WAN line connection on / off means turns on the connection to the WAN line in response to a request from the WAN line connection request means. Negative acknowledgment return means for sending back a DHCP negative acknowledgment that rejects this request when sending a DHCP request at the time of lease time renewal,
When the WAN line connection on / off means connects the WAN line and a DHCP request at the time of lease time update is sent for the first time after a predetermined time within the lease time presented by the DHCP server has passed, the DHCP server is sent to the DHCP server. A DHCP server-addressed DHCP request transmitting means for transmitting a DHCP request on behalf of the CPE;
When the DHCP server returns a DHCP acknowledgment indicating that the DHCP server can continue to issue the same IP address in response to the DHCP server-addressed DHCP request sent by the DHCP server-addressed DHCP request transmission means, this DHCP acknowledge A DHCP acknowledgment returning means for returning a request to the CPE.
前記WAN回線から受信し前記CPEへ送信するDHCPに関係しないパケットのMACアドレスを書き換えて前記CPEへ転送するMACアドレス変更手段を具備することを特徴とする請求項7記載のDHCP変換装置。   8. The DHCP conversion apparatus according to claim 7, further comprising a MAC address changing unit that rewrites a MAC address of a packet that is received from the WAN line and is transmitted to the CPE and is not related to DHCP and transfers the packet to the CPE. IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記CPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバを接続したWAN(Wide Area Network)回線と自装置の接続がオフとなっている状態で前記CPEが前記DHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行ステップと、
前記DHCPディスカバーに対して前記仮のIPアドレス発行ステップで発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記CPEに返答する代理DHCPオファ返答ステップと、
この代理DHCPオファ返答ステップで行った返答に対して前記CPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記CPEに返答する代理DHCPアクノリッジメント返答ステップと、
前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記WAN回線と自装置の接続を要求するWAN回線接続要求ステップと、
このWAN回線接続要求ステップによる要求によって前記WAN回線と自装置が接続するまでの間、前記CPEが前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信ステップと、
前記WAN回線接続要求ステップによって前記WAN回線と自装置が接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信ステップと、
このDHCPサーバ宛DHCPリクエスト送信ステップで送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送ステップ
とを具備することを特徴とするIPアドレス管理方法。
A WAN (Wide Area Network) line connected to a DHCP (Dynamic Host Configuration Protocol) server that issues an IP address to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests an IP address (Internet Protocol Address) to be issued When the CPE sends out a DHCP discover requesting the IP address to be issued to the DHCP server (DHCP DISCOVER) to the DHCP server in a state where the connection of the own device is OFF And a temporary IP address issuing step for issuing a temporary IP address
Proxy DHCP offer response step of returning a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued in the temporary IP address issue step to the DHCP discover to the CPE;
When a DHCP request (DHCP REQUEST) indicating that the CPE can accept the conditions indicated in the reply is sent in response to the reply made in the proxy DHCP offer reply step, this is received as a proxy of the DHCP server. A proxy DHCP acknowledgment response step of returning a DHCP acknowledgment (DHCP ACK) to the CPE;
When data is sent from the CPE to the WAN line, the state shifts to a state of waiting for data transmission in a state in which the connection between the WAN line and the own apparatus is off, and the WAN line and the own apparatus WAN line connection requesting step for requesting connection;
Until the WAN line and its own apparatus are connected by the request in the WAN line connection request step, the CPE sends a DHCP request at the time of lease time update so as to renew the lease time of the IP address presented in the DHCP offer. A negative acknowledgment reply step for sending back a DHCP negative acknowledgment that rejects this request upon transmission;
When the WAN request is sent for the first time after the lease time renewal DHCP request is sent after the WAN line and the own apparatus are connected by the WAN line connection request step and a predetermined time within the lease time presented by the DHCP server has elapsed. A DHCP request addressed to a DHCP server that sends a DHCP request on behalf of the CPE to
When the DHCP server returns a DHCP acknowledgment that means that the DHCP server can continuously issue the same IP address in response to the DHCP request addressed to the DHCP server sent in the DHCP request addressed to the DHCP server, this DHCP acknowledge A DHCP acknowledgment return step for returning a request to the CPE.
コンピュータに、
IPアドレス(Internet Protocol Address)の払い出しを要求するCPE(Customer Premises Equipment)の要求に応じてIPアドレスを前記CPEに払い出すDHCP(Dynamic Host Configuration Protocol)サーバを接続したWAN(Wide Area Network)回線と自装置の接続がオフとなっている状態で前記CPEが前記DHCPサーバに向けて自装置へのIPアドレスの払い出しを要求するDHCPディスカバー(DHCP DISCOVER)を送出してきたときこれを前記DHCPサーバの代理として受信して仮のIPアドレスを発行する仮のIPアドレス発行処理と、
前記DHCPディスカバーに対して前記仮のIPアドレス発行処理で発行したIPアドレスを含む提示条件としてのDHCPオファ(DHCP OFFER)を前記CPEに返答する代理DHCPオファ返答処理と、
この代理DHCPオファ返答処理で行った返答に対して前記CPEが返答に示す条件を受け入れ可能であることを示すDHCPリクエスト(DHCP REQUEST)を送出してきたときこれを前記DHCPサーバの代理として受信してDHCPアクノリッジメント(DHCP ACK)を前記CPEに返答する代理DHCPアクノリッジメント返答処理と、
前記CPEから前記WAN回線に向けたデータが送られてきたとき前記WAN回線と自装置の接続がオフとなっている状態でデータの送信を待機する状態に移行すると共に前記WAN回線と自装置の接続を要求するWAN回線接続要求処理と、
このWAN回線接続要求処理による要求によって前記WAN回線と自装置が接続するまでの間、前記CPEが前記DHCPオファで提示された前記IPアドレスのリース時間を更新するためにリース時間更新時DHCPリクエストを送信してくるとこの要求を拒絶するDHCPネガティブ・アクノリッジメントを返信するネガティブ・アクノリッジメント返信処理と、
前記WAN回線接続要求処理によって前記WAN回線と自装置が接続し前記DHCPサーバが提示したリース時間内の所定の時間が経過した後に初めて前記リース時間更新時DHCPリクエストが送られてきたとき前記DHCPサーバに前記CPEの代理でDHCPリクエストを送信するDHCPサーバ宛DHCPリクエスト送信処理と、
このDHCPサーバ宛DHCPリクエスト送信処理で送出したDHCPサーバ宛DHCPリクエストに対して前記DHCPサーバが引き続き同一のIPアドレスを払い出すことが可能なことを意味するDHCPアクノリッジメントを返送してきたときこのDHCPアクノリッジメントを前記CPEに返送するDHCPアクノリッジメント返送処理
とを実行させることを特徴とするIPアドレス管理プログラム。
On the computer,
A WAN (Wide Area Network) line connected to a DHCP (Dynamic Host Configuration Protocol) server that issues an IP address to the CPE in response to a request from a CPE (Customer Premises Equipment) that requests an IP address (Internet Protocol Address) to be issued When the CPE sends out a DHCP discover requesting the IP address to be issued to the DHCP server (DHCP DISCOVER) to the DHCP server in a state where the connection of the own device is OFF And a temporary IP address issuing process for issuing a temporary IP address
Proxy DHCP offer response processing for returning a DHCP offer (DHCP OFFER) as a presentation condition including the IP address issued in the temporary IP address issue processing to the DHCP discover to the CPE;
When a DHCP request (DHCP REQUEST) indicating that the CPE can accept the condition shown in the reply is sent to the reply made in the proxy DHCP offer reply process, this is received as a substitute for the DHCP server. Proxy DHCP acknowledgment response processing for returning a DHCP acknowledgment (DHCP ACK) to the CPE;
When data is sent from the CPE to the WAN line, the state shifts to a state of waiting for data transmission in a state in which the connection between the WAN line and the own apparatus is off, and the WAN line and the own apparatus WAN line connection request processing for requesting connection;
Until the WAN line and its own apparatus are connected by the request by the WAN line connection request processing, the CPE sends a DHCP request at the time of lease time update in order to renew the lease time of the IP address presented in the DHCP offer. A negative acknowledgment reply process that returns a DHCP negative acknowledgment that rejects this request upon transmission;
When the WAN request is sent for the first time after a predetermined time within the lease time presented by the DHCP server after the WAN line is connected by the WAN line connection request processing and the DHCP server is sent, the DHCP server is sent. A DHCP request addressed to a DHCP server that sends a DHCP request on behalf of the CPE to
When the DHCP server returns a DHCP acknowledgment that means that the DHCP server can continue to pay out the same IP address in response to the DHCP request addressed to the DHCP server sent in the DHCP request addressed to the DHCP server, this DHCP acknowledge. An IP address management program for executing a DHCP acknowledgment return process for returning a request to the CPE.
JP2011085258A 2011-04-07 2011-04-07 IP address management system, DHCP converter, IP address management method and program Expired - Fee Related JP5491442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011085258A JP5491442B2 (en) 2011-04-07 2011-04-07 IP address management system, DHCP converter, IP address management method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011085258A JP5491442B2 (en) 2011-04-07 2011-04-07 IP address management system, DHCP converter, IP address management method and program

Publications (2)

Publication Number Publication Date
JP2012222542A true JP2012222542A (en) 2012-11-12
JP5491442B2 JP5491442B2 (en) 2014-05-14

Family

ID=47273613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011085258A Expired - Fee Related JP5491442B2 (en) 2011-04-07 2011-04-07 IP address management system, DHCP converter, IP address management method and program

Country Status (1)

Country Link
JP (1) JP5491442B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015023362A (en) * 2013-07-17 2015-02-02 キヤノン株式会社 Communication terminal device and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285370A (en) * 2000-04-04 2001-10-12 Matsushita Electric Ind Co Ltd Remote access server apparatus and dhcp server apparatus
JP2003152731A (en) * 2001-11-16 2003-05-23 Mitsumi Electric Co Ltd Communication device, ip address acquisition method, and roaming method
JP2005517354A (en) * 2002-02-06 2005-06-09 トムソン ライセンシング ソシエテ アノニム Method and apparatus for determining lease time for dynamic host configuration protocol
JP2005210554A (en) * 2004-01-26 2005-08-04 Fujitsu Access Ltd Dhcp substitute server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001285370A (en) * 2000-04-04 2001-10-12 Matsushita Electric Ind Co Ltd Remote access server apparatus and dhcp server apparatus
JP2003152731A (en) * 2001-11-16 2003-05-23 Mitsumi Electric Co Ltd Communication device, ip address acquisition method, and roaming method
JP2005517354A (en) * 2002-02-06 2005-06-09 トムソン ライセンシング ソシエテ アノニム Method and apparatus for determining lease time for dynamic host configuration protocol
JP2005210554A (en) * 2004-01-26 2005-08-04 Fujitsu Access Ltd Dhcp substitute server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015023362A (en) * 2013-07-17 2015-02-02 キヤノン株式会社 Communication terminal device and control method thereof

Also Published As

Publication number Publication date
JP5491442B2 (en) 2014-05-14

Similar Documents

Publication Publication Date Title
JP5364671B2 (en) Terminal connection status management in network authentication
WO2015003566A1 (en) Method, device and system for transmitting packet in multicast domain name system
JP2005287045A (en) Method for discovery of device connected to ip network and device to carry out the method
JP4940163B2 (en) Communication gateway device and relay method
JP2005020652A5 (en)
JP2004328027A (en) Relaying apparatus
JP2008067303A (en) Relay agent apparatus and proxy address lending apparatus
WO2006054529A1 (en) Server apparatus, mobile terminal, electric appliance, communication system, communication method, and program
US8917629B2 (en) Method and apparatus for detecting devices on a local area network
CN108667672A (en) A kind of automatic adaptation method and router of LAN interface and wan interface
WO2012163215A1 (en) Method, device, apparatus and system for generation of dhcp snooping binding table
JP2008225644A (en) Gateway device, load balancing method for gateway device and load balancing program of gateway device
CN101325587A (en) Method for monitoring DHCP conversation
TWI315139B (en)
JP2005204189A (en) Access user management system and device
US20080180524A1 (en) Remote monitoring control method of network camera
US10742751B2 (en) User based mDNS service discovery
CN107707689A (en) A kind of DHCP message processing method, Dynamic Host Configuration Protocol server and gateway device
WO2012130048A1 (en) Method and apparatus for initializing gateway in device management system
JP5491442B2 (en) IP address management system, DHCP converter, IP address management method and program
JP4697268B2 (en) Communication control device and communication control system
CN113691591B (en) Data transmission method, device and computer readable storage medium
KR101586761B1 (en) Method for managing network components in a network, and a network component
US20220086048A1 (en) Communication management system, management server, vpn server, terminal, communication management method, and program
JP4092858B2 (en) Security method and terminal adapter device for internet connection

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20121016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130625

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130814

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140227

R150 Certificate of patent or registration of utility model

Ref document number: 5491442

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees