JP3948492B2 - Setting information allocation method for external network connection - Google Patents

Setting information allocation method for external network connection Download PDF

Info

Publication number
JP3948492B2
JP3948492B2 JP2007045833A JP2007045833A JP3948492B2 JP 3948492 B2 JP3948492 B2 JP 3948492B2 JP 2007045833 A JP2007045833 A JP 2007045833A JP 2007045833 A JP2007045833 A JP 2007045833A JP 3948492 B2 JP3948492 B2 JP 3948492B2
Authority
JP
Japan
Prior art keywords
address
server
client
setting information
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007045833A
Other languages
Japanese (ja)
Other versions
JP2007181239A (en
Inventor
武央 吉田
直樹 山田
二三雄 北川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2007045833A priority Critical patent/JP3948492B2/en
Publication of JP2007181239A publication Critical patent/JP2007181239A/en
Application granted granted Critical
Publication of JP3948492B2 publication Critical patent/JP3948492B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、外部ネットワークであるインターネットに接続可能なクライアントサーバシステムにおいて、ネットワーク通信の可用性の向上に関する。   The present invention relates to improvement of network communication availability in a client server system connectable to the Internet, which is an external network.

図13は、インターネットへのアクセスを可能にしたクライアントサーバシステムで構築されたネットワークシステムの基本的な構成図である。図13には、インターネット1に通信回線3を介して接続されたゲートウェイ(GW)4と、DHCP(Dynamic Host Configuration Protocol)サーバ5と、インターネット1へアクセスする1乃至複数台のクライアント6とがLAN(Local Area Network)7に接続された構成が示されている。   FIG. 13 is a basic configuration diagram of a network system constructed by a client server system that enables access to the Internet. In FIG. 13, a gateway (GW) 4 connected to the Internet 1 via a communication line 3, a DHCP (Dynamic Host Configuration Protocol) server 5, and one or more clients 6 accessing the Internet 1 are connected to the LAN. A configuration connected to (Local Area Network) 7 is shown.

この構成において、クライアント6は、インターネット1へアクセスする際にDHCPサーバ5に対してIPアドレス割当要求を送信する。DHCPサーバ5では、そのIPアドレス割当要求に応じてそのクライアント6にIPアドレスを割り当て、既知であるゲートウェイ4のアドレスと共に返信する。クライアント6は、DHCPサーバ5により送られてきた情報をもとにインターネット1との接続を依頼するゲートウェイ2を特定し、DHCPサーバ5により割り当てられたIPアドレスを用いてそのゲートウェイ4、通信回線3を経由してインターネット1にアクセスすることになる。   In this configuration, the client 6 transmits an IP address assignment request to the DHCP server 5 when accessing the Internet 1. In response to the IP address assignment request, the DHCP server 5 assigns an IP address to the client 6 and sends it back together with the known gateway 4 address. The client 6 specifies the gateway 2 that requests connection to the Internet 1 based on the information sent from the DHCP server 5, and uses the IP address assigned by the DHCP server 5 to determine the gateway 4 and the communication line 3. The Internet 1 is accessed via the Internet.

一般に、LAN7に接続されるクライアント6の台数は、増加する傾向にあるが、クライアント6の台数が増加するに連れ、各装置にかかる負荷は必然的に増加することになる。ネットワーク管理者は、通常、通信回線3を専用線にするなど通信能力を増強させたり、サーバ5、ゲートウェイ4の処理性能を向上させたり、種々のプロクシサーバを設置するなどして負荷の増大に対処しようとする。あるいは、LAN7をセグメント化し、分割したLAN毎に図5に示した通信回線3、ゲートウェイ4及びサーバ5を別途用意する。   In general, the number of clients 6 connected to the LAN 7 tends to increase. However, as the number of clients 6 increases, the load on each device inevitably increases. The network administrator usually increases the load by increasing the communication capability such as making the communication line 3 a dedicated line, improving the processing performance of the server 5 and the gateway 4, or installing various proxy servers. Try to deal with it. Alternatively, the LAN 7 is segmented, and the communication line 3, the gateway 4, and the server 5 shown in FIG. 5 are separately prepared for each divided LAN.

ここで、複数台のゲートウェイ4及びDHCPサーバ5がLAN7に接続されたシステム構成の場合について、クライアント6がIPアドレス及びゲートウェイ4のアドレスを獲得するまでの処理について詳述する。   Here, in the case of a system configuration in which a plurality of gateways 4 and DHCP servers 5 are connected to the LAN 7, processing until the client 6 acquires the IP address and the address of the gateway 4 will be described in detail.

まだ、IPアドレスを獲得していないクライアント6は、DHCPDISCOVERメッセージをブロードキャストする。全てのDHCPサーバ5は、このメッセージを受信するが、このうち当該クライアント6に応答するようにプログラムされた1乃至複数台のDHCPサーバ5は、そのクライアント6にDHCPOFFERメッセージを返信する。このDHCPOFFERメッセージには、割り当てるIPアドレス、ゲートウェイ4のアドレス及びIPアドレスの貸出期間が含まれている。クライアント6は、DHCPサーバ5からの応答DHCPOFFERメッセージを集め、その中から一つを選択する。そして、該当するDHCPサーバ5へDHCPREQUESTメッセージを送信する。DHCPサーバ5は、送られてきたDHCPREQUESTメッセージに応じてIPアドレスの貸出しを開始するためにDHCPACKを送って応答する。このようにして、クライアント6は、割り当てられたIPアドレス及びゲートウェイ4を用いてインターネット1にアクセスすることができる。   A client 6 that has not yet acquired an IP address broadcasts a DHCPDISCOVER message. All of the DHCP servers 5 receive this message, and one or more DHCP servers 5 programmed to respond to the client 6 return a DHCPOFFER message to the client 6. This DHCPOFFER message includes the IP address to be assigned, the gateway 4 address, and the IP address lending period. The client 6 collects response DHCPOFFER messages from the DHCP server 5 and selects one of them. Then, a DHCPREQUEST message is transmitted to the corresponding DHCP server 5. The DHCP server 5 responds by sending DHCPACK in order to start lending an IP address in response to the sent DHCPREQUEST message. In this way, the client 6 can access the Internet 1 using the assigned IP address and the gateway 4.

ところで、DHCPでは、IPアドレスの貸出期間(リース期間)というのがDHCPサーバ5によって設定されており、その貸出期間を過ぎてIPアドレスを使用することはできない。そして、貸出しの制御権はDHCPサーバ5にある。そのため、インターネット1へのアクセスを継続して行いたいクライアント6は、貸し出しをしたDHCPサーバ5に対してDHCPREQUESTメッセージを送信することにより延長を要求する。DHCPサーバ5は、送られてきたDHCPREQUESTメッセージに応じて使用の継続を承認する場合はDHCPACKを送信する。このようにして、クライアント6は、割り当てられたIPアドレス及びゲートウェイ4を継続使用してインターネット1にアクセスすることができる。   Incidentally, in DHCP, the IP server lending period (lease period) is set by the DHCP server 5, and the IP address cannot be used after the lending period. The control right for lending resides in the DHCP server 5. Therefore, the client 6 who wants to continue accessing the Internet 1 requests extension by transmitting a DHCPREQUEST message to the rented DHCP server 5. The DHCP server 5 transmits DHCPACK in the case where the continuation of use is approved according to the sent DHCPREQUEST message. In this way, the client 6 can access the Internet 1 using the assigned IP address and the gateway 4 continuously.

もし、DHCPサーバ5がIPアドレスの継続使用を承認しない場合はDHCPNACKを送信する。DHCPNACKを受信したクライアント6は、貸出期間を過ぎてからは使用中のIPアドレスを使用することができないので、初期の状態、すなわちIPアドレスを獲得していない状態に戻る。従って、クライアント6は、前述したようにDHCPDISCOVERメッセージをブロードキャストしてIPアドレスの獲得を改めて行うことになる。   If the DHCP server 5 does not approve the continued use of the IP address, a DHCPNACK is transmitted. Since the client 6 that has received DHCPPNACK cannot use the IP address in use after the lending period, the client 6 returns to the initial state, that is, the state in which the IP address has not been acquired. Therefore, as described above, the client 6 broadcasts the DHCPDISCOVER message and acquires an IP address again.

また、送信したDHCPREQUESTメッセージに対して貸し出しをしたDHCPサーバ5から何ら応答がない場合、そのDHCPサーバ5は停止しているかと到達不可能な状態にあると仮定して、DHCPREQUESTメッセージをブロードキャストする。これにより、新たなDHCPサーバ5からIPアドレス及びゲートウェイのアドレスを獲得する。   When there is no response from the DHCP server 5 that has lent out the transmitted DHCPREQUEST message, the DHCP server 5 broadcasts the DHCPREQUEST message on the assumption that the DHCP server 5 is stopped or unreachable. As a result, the IP address and gateway address are acquired from the new DHCP server 5.

しかしながら、従来においては、クライアントがインターネットへのアクセスをする際のDHCPサーバを選択していた。つまり、クライアント主導でIPアドレス及びゲートウェイが決定されていたので、DHCPサーバ側においてゲートウェイの障害対策やネットワーク負荷の調整を行うことが困難であった。   However, conventionally, a DHCP server is selected when a client accesses the Internet. That is, since the IP address and the gateway are determined by the client, it is difficult for the DHCP server side to take measures against the gateway failure and adjust the network load.

また、インターネットへのアクセスを継続して行いたい場合においてIPアドレスの継続使用をDHCPサーバが承認しなかった場合には、他のDHCPサーバからIPアドレスを獲得することはできるが、使用するIPアドレスが変更されてしまう。このIPアドレスの変更に伴い継続中であった通信に支障を来すおそれがあった。   If the DHCP server does not approve the continuous use of the IP address when it is desired to continue accessing the Internet, the IP address can be acquired from another DHCP server, but the IP address to be used Will be changed. There has been a risk of hindering the ongoing communication with the change of the IP address.

本発明は以上のような問題を解決するためになされたものであり、その目的は、IPアドレスやゲートウェイのアドレスなど外部ネットワークとの接続のために必要な設定情報をクライアントへ好適に割り当てることのできる外部ネットワーク接続のための設定情報割当方法を提供することにある。   The present invention has been made to solve the above problems, and its purpose is to suitably assign setting information necessary for connection with an external network such as an IP address and a gateway address to a client. Another object of the present invention is to provide a setting information allocation method for connecting to an external network.

本発明に係る外部ネットワーク接続のための設定情報割当方法は、DHCPサーバにより実行され、複数のゲートウェイのうちいずれかを経由して外部ネットワークと接続されるクライアントからの割当要求に応じて、少なくともゲートウェイの所在情報を含む設定情報を生成して返す設定情報割当方法において、クライアントからの割当要求に応じて返す設定情報に、ゲートウェイが各クライアントに順番に割り振られるようにゲートウェイの所在情報を設定することを特徴とする。   A setting information allocation method for external network connection according to the present invention is executed by a DHCP server, and at least a gateway according to an allocation request from a client connected to an external network via any one of a plurality of gateways In the setting information allocation method that generates and returns the setting information including the location information of the gateway, the gateway location information is set so that the gateway is sequentially allocated to each client in the setting information returned in response to the allocation request from the client. It is characterized by.

また、他の発明に係る外部ネットワーク接続のための設定情報割当方法は、DHCPサーバにより実行され、複数のゲートウェイのうちいずれかを経由して外部ネットワークと接続されるクライアントからの割当要求に応じて、少なくともゲートウェイの所在情報を含む設定情報を生成して返す設定情報割当方法において、受信したクライアントからの割当要求を解析する解析ステップと、割当要求に含まれるクライアント固有の情報に基づいて、当該クライアントに割り当てられた設定情報を保持する設定情報対応テーブルから当該クライアントに対して設定情報が既に割り当てられているかを確認する確認ステップと、当該クライアントに対して設定情報が割り当てられている場合において当該設定情報に所在情報が含まれているゲートウェイを経由して外部ネットワークとの接続が現在できない場合、接続可能な他のゲートウェイの所在情報を設定情報に含ませる設定情報生成ステップと、生成した設定情報を当該クライアントへ送信する送信ステップとを含むことを特徴とする。   A setting information allocation method for external network connection according to another invention is executed by a DHCP server in response to an allocation request from a client connected to an external network via any one of a plurality of gateways. In the setting information allocation method for generating and returning setting information including at least gateway location information, an analysis step for analyzing the allocation request from the received client and the client based on the client-specific information included in the allocation request A confirmation step for confirming whether the setting information is already assigned to the client from the setting information correspondence table holding the setting information assigned to the client, and the setting information when the setting information is assigned to the client. Gate whose location information is included in the information A setting information generation step for including location information of other connectable gateways in the setting information when a connection with an external network cannot be made via the gateway, and a transmission step for transmitting the generated setting information to the client. It is characterized by including.

本発明によれば、クライアントと外部ネットワークとを接続する通信回線を多重化し、また、外部ネットワークに接続する通信経路を動的に決定し接続できるようにしたので、通信経路上のいずれかのサーバあるいは通信回線に異常が発生したとしても、クライアントは、他の通信経路にて外部ネットワークにアクセスすることができる。   According to the present invention, the communication line connecting the client and the external network is multiplexed, and the communication path to be connected to the external network is dynamically determined and can be connected. Alternatively, even if an abnormality occurs in the communication line, the client can access the external network through another communication path.

また、クライアントを外部ネットワークに接続するための通信経路を固定化させていないので、各サーバの負荷状況に応じて負荷分散を行うことができる。   In addition, since the communication path for connecting the client to the external network is not fixed, load distribution can be performed according to the load status of each server.

また、クライアントに対していったん割り当てた通信用アドレスを何度も繰り返し利用することができるので、通信用アドレスが動的に切り替わることにより発生しうる障害が発生するおそれがない。   In addition, since the communication address once assigned to the client can be repeatedly used, there is no possibility that a failure that may occur due to the dynamic switching of the communication address occurs.

以下、図面に基づいて、本発明の好適な実施の形態について説明する。なお、従来例と同じ構成要素には、同じ符号を付ける。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the same component as a prior art example.

実施の形態1.
図1は、本発明に係る外部ネットワーク接続のための設定情報割当方法を実施するクライアントサーバシステムを示したブロック構成図である。本実施の形態におけるクライアントサーバシステムは、1台のサーバ10と2台のゲートウェイ18,28と複数台のクライアント6がLAN7に接続された構成を有している。サーバ10以外は従来例と同じ装置でよい。各クライアント6は、いずれかのゲートウェイ18,28を経由してインターネット1へアクセスすることができる。クライアント6は、汎用的なDHCPクライアントとしての機能を持っていればよく、本実施の形態特有の機能は不要である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a client server system that implements a setting information allocation method for external network connection according to the present invention. The client server system in the present embodiment has a configuration in which one server 10, two gateways 18 and 28, and a plurality of clients 6 are connected to a LAN 7. Except for the server 10, the same device as the conventional example may be used. Each client 6 can access the Internet 1 via one of the gateways 18 and 28. The client 6 only needs to have a function as a general-purpose DHCP client, and a function specific to this embodiment is not necessary.

サーバ10は、従来のDHCPサーバと同等の機能を有するサーバであってDHCPに相当するIPアドレスを動的に割り当てる処理機能を有する。ただし、後述する処理により明らかになるが、IPアドレスの割当処理の内容が異なっている。本実施の形態におけるサーバ10は、アドレス割当処理部11、通信経路監視部13及びアドレス対応テーブル14を有している。アドレス割当処理部11は、DHCPサーバ相当の機能を有し、クライアント6からのIPアドレス割当要求に応じて当該クライアント6にIPアドレス等を割り当てるアドレス割当処理を実行する。通信経路監視部13は、クライアント6がインターネット1へアクセスする際に経由するゲートウェイ18、通信回線19あるいはゲートウェイ28、通信回線29を経由して形成される各ネットワーク経路の状態(接続可/不可)を監視する。   The server 10 is a server having a function equivalent to that of a conventional DHCP server, and has a processing function for dynamically assigning an IP address corresponding to DHCP. However, as will be apparent from the processing described later, the contents of the IP address assignment processing are different. The server 10 in this embodiment includes an address assignment processing unit 11, a communication path monitoring unit 13, and an address correspondence table 14. The address assignment processing unit 11 has a function equivalent to a DHCP server, and executes an address assignment process for assigning an IP address or the like to the client 6 in response to an IP address assignment request from the client 6. The communication path monitoring unit 13 is in a state of each network path formed via the gateway 18, the communication line 19 or the gateway 28, and the communication line 29 through which the client 6 accesses the Internet 1 (connection possible / impossible). To monitor.

図2は、本実施の形態におけるアドレス対応テーブル14のデータ構成例を示した図である。アドレス対応テーブル14は、MACアドレスとIPアドレスと基本GWアドレスと使用GWアドレスとが対応づけられたアドレス対応情報を保持する。MACアドレスは、各クライアント6に固有に割り当てられたクライアント識別アドレスである。IPアドレスは、クライアント6に対して動的に割り当てた通信用アドレスである。基本GWアドレスは、IPアドレスを獲得していないクライアント6に対して新規に割り当てたゲートウェイ18,28のアドレスである。各クライアント6における初期値と言うことができる。使用GWアドレスは、当該クライアント6が実際に使用しているゲートウェイのアドレスである。   FIG. 2 is a diagram showing a data configuration example of the address correspondence table 14 in the present embodiment. The address correspondence table 14 holds address correspondence information in which a MAC address, an IP address, a basic GW address, and a used GW address are associated with each other. The MAC address is a client identification address uniquely assigned to each client 6. The IP address is a communication address dynamically assigned to the client 6. The basic GW address is an address of the gateways 18 and 28 newly assigned to the client 6 that has not acquired an IP address. This can be said to be an initial value in each client 6. The used GW address is an address of a gateway actually used by the client 6.

本実施の形態において特徴的なことは、クライアント6が使用するIPアドレス及びゲートウェイ18,28をサーバ主導で決定できるようにしたことであるが、この特徴的なアドレス割当処理について図3に示したシーケンス図を用いて説明する。   What is characteristic in this embodiment is that the IP address used by the client 6 and the gateways 18 and 28 can be determined by the server. This characteristic address assignment processing is shown in FIG. This will be described with reference to a sequence diagram.

まず、図3には、サーバ10と2台のクライアント6との間での通信シーケンスが示されている。各クライアントA,BのMACアドレスは、それぞれX,Yとし、現時点では共にIPアドレスを獲得していないものとする。   First, FIG. 3 shows a communication sequence between the server 10 and the two clients 6. Assume that the MAC addresses of the clients A and B are X and Y, respectively, and that no IP address has been acquired at the present time.

まず、クライアントAは、インターネット1へのアクセスをするためにIPアドレスを取得する必要があり、そのためにIPアドレス割当要求(DHCPDISCOVERメッセージ)をサーバ10へ送信する(S1)。正確にはブロードキャストするが、この例ではサーバは1台だけなのでサーバ10のみが受信することになる。サーバ10のアドレス割当処理部11は、IPアドレス割当要求に含まれているクライアントAのMACアドレスXに基づいてアドレス対応テーブル14を参照にクライアントAに対してIPアドレスを割り当てているかいないかを確認する。ここでは、IPアドレスを獲得していないときの説明なので、アドレス割当処理部11は、アドレス対応テーブル14に登録されていない未割当のIPアドレスを求めてそれをクライアントAのために割り当てる。更に、アドレス割当処理部11は、GW1,GW2のうちクライアントAが用いる一のゲートウェイを決定する。更に、アドレス割当処理部11は、IPアドレスのリース期間として基本リース期間(デフォルト値)を取得する。このようにして、取得したIPアドレス、接続情報としてGWアドレス、更にリース期間を含む設定情報を生成する。そして、その生成した設定情報(DHCPOFFERメッセージ)をクライアントAへ送信する(S2)。図3には、クライアントAに対してIPアドレスPを割り当て、GW1を使用させ、リース期間を12時間(基本リース期間)とする内容の設定情報を送信する例が示されている。なお、クライアント6に対して割り当てた設定情報が有効である期間(割当期間)というのは、その設定情報に設定したIPアドレスのリース期間と同義である。   First, the client A needs to acquire an IP address in order to access the Internet 1, and for this purpose, sends an IP address assignment request (DHCPDISCOVER message) to the server 10 (S1). Although it broadcasts correctly, in this example, since there is only one server, only the server 10 receives it. The address assignment processing unit 11 of the server 10 confirms whether or not an IP address is assigned to the client A by referring to the address correspondence table 14 based on the MAC address X of the client A included in the IP address assignment request. To do. Here, since it is an explanation when the IP address is not acquired, the address assignment processing unit 11 obtains an unassigned IP address that is not registered in the address correspondence table 14 and assigns it to the client A. Further, the address assignment processing unit 11 determines one gateway used by the client A among the GW1 and GW2. Further, the address allocation processing unit 11 acquires a basic lease period (default value) as the lease period of the IP address. In this way, setting information including the acquired IP address, GW address as connection information, and lease period is generated. Then, the generated setting information (DHCPOFFER message) is transmitted to the client A (S2). FIG. 3 shows an example in which IP address P is assigned to client A, GW1 is used, and setting information with a lease period of 12 hours (basic lease period) is transmitted. The period during which the setting information assigned to the client 6 is valid (assignment period) is synonymous with the lease period of the IP address set in the setting information.

クライアントAは、サーバ10から送られてきたDHCPOFFERメッセージに応じてDHCPに従いサーバ10を特定するためにDHCPREQUESTメッセージを送信する(S3)。サーバ10は、送られてきたDHCPREQUESTメッセージに応じてIPアドレスの貸出しを開始するためにDHCPACKを返信する(S4)。このようにして、クライアントAは、割り当てられたIPアドレス及びゲートウェイ18を用いてインターネット1にアクセスすることができる。また、サーバ10は、DHCPACK送信後、上記処理により割り当てたゲートウェイ18のアドレスをアドレス対応テーブル14の基本GWアドレスと使用GWアドレスの双方に設定する(S5)。   In response to the DHCPOFFER message sent from the server 10, the client A transmits a DHCPREQUEST message to identify the server 10 according to DHCP (S3). The server 10 returns DHCPACK in order to start lending the IP address in response to the sent DHCPREQUEST message (S4). In this way, the client A can access the Internet 1 using the assigned IP address and the gateway 18. Further, after transmitting DHCPACK, the server 10 sets the address of the gateway 18 assigned by the above processing as both the basic GW address and the used GW address in the address correspondence table 14 (S5).

クライアントBに対しても、アドレス割当処理部11はクライアントAと全く同様の処理を行うことでクライアントBにインターネット1へのアクセスを開始させることができる(S6〜S10)。但し、クライアントAと異なる内容の設定情報を生成する。すなわち、異なるIPアドレスQを割り当てることは当然のことであるが、クライアントAに続いてIPアドレスの割当対象となったクライアントBには、使用するゲートウェイとしてGW2を割り当てる。これは、アドレス割当処理部11が各ゲートウェイ18,28を割当要求を発した各クライアント6に対して順番に割り振るように作用するからである。従って、クライアントBには、GW1に続くGW2が割り当てられる。このように、各ゲートウェイ18,28に対してクライアント6をほぼ均等に配分することができるので、各ゲートウェイ18,28にかかる負荷をほぼ均等にすることができる。なお、クライアントBに対するリース期間は、基本リース期間(12時間)である。   Also for the client B, the address assignment processing unit 11 can cause the client B to start accessing the Internet 1 by performing exactly the same processing as the client A (S6 to S10). However, setting information having contents different from those of the client A is generated. That is, it is natural to assign a different IP address Q, but GW2 is assigned as a gateway to be used for client B, which is the target of IP address assignment following client A. This is because the address allocation processing unit 11 acts to sequentially allocate the gateways 18 and 28 to the clients 6 that issued the allocation request. Therefore, GW2 following GW1 is assigned to client B. As described above, since the clients 6 can be distributed almost equally to the gateways 18 and 28, the load applied to the gateways 18 and 28 can be made substantially equal. The lease period for client B is a basic lease period (12 hours).

ここで、サーバ10の通信経路監視部13がゲートウェイ18に障害が発生したことを検知したとする(S11)。より正確にいうと、通信経路監視部13は、ゲートウェイ18自体の故障、通信回線19の切断などの理由でゲートウェイ18を介してインターネット1への接続ができなくなったことを検知する。   Here, it is assumed that the communication path monitoring unit 13 of the server 10 detects that a failure has occurred in the gateway 18 (S11). More precisely, the communication path monitoring unit 13 detects that connection to the Internet 1 cannot be made via the gateway 18 due to a failure of the gateway 18 itself, disconnection of the communication line 19, or the like.

その後、クライアントAからIPアドレスの使用延長の要求のためにDHCPREQUESTメッセージが、あるいは図3には省略したが、いったん使用を終了した後に再度IPアドレスを獲得するためにDHCPDISCOVERメッセージが送られてくると(S12)、アドレス割当処理部11は、その割当要求に応じて設定情報を生成することになる。延長使用による割当要求の場合においてクライアントAに対して割り当てたゲートウェイ18が正常の場合は、アドレス対応テーブル14を参照することによってクライアントAに既に割り当てているIPアドレス及びゲートウェイ18のアドレスを取得し、そのIPアドレス、GWアドレス及びリース期間を含む設定情報を生成してクライアントAに送信すればよい。但し、この例のように、ゲートウェイ18が停止しているような場合、アドレス割当処理部11は、次のように情報を取得して設定情報を生成する。まず、IPアドレスに関しては、アドレス対応テーブル14から割当済みIPアドレスを取得する。また、インターネット1へのネットワーク経路となるゲートウェイとしては、正常に動作しているGW2のアドレスを取得する。そして、リース期間としては、基本リース期間より短い時間(1時間)を設定する。このような情報を含む設定情報を生成してクライアントAに送信する(S13)。これにより、クライアントAは、割り当てられたGW1に障害が発生したときでもサーバ10が使用可能なGW2に切り替えてくれるので、インターネット1へのアクセスを継続して行うことができる。IPアドレスの再獲得の場合でも同様にGW1の障害の影響を受けることなくインターネット1へのアクセスを開始することができる。   Thereafter, when a DHCPREQUEST message is sent from the client A to request extension of use of the IP address, or a DHCPDISCOVER message is sent to acquire the IP address again after the use is finished, it is omitted in FIG. (S12) The address assignment processing unit 11 generates setting information in response to the assignment request. If the gateway 18 assigned to the client A is normal in the case of the assignment request by extension use, the IP address already assigned to the client A and the address of the gateway 18 are obtained by referring to the address correspondence table 14. Setting information including the IP address, GW address, and lease period may be generated and transmitted to the client A. However, when the gateway 18 is stopped as in this example, the address assignment processing unit 11 acquires information as follows to generate setting information. First, for an IP address, an assigned IP address is acquired from the address correspondence table 14. In addition, as a gateway serving as a network route to the Internet 1, the address of the GW 2 that is operating normally is acquired. As the lease period, a time (1 hour) shorter than the basic lease period is set. Setting information including such information is generated and transmitted to the client A (S13). As a result, the client A can switch to the GW 2 that can be used by the server 10 even when a failure occurs in the assigned GW 1, and can continue to access the Internet 1. Similarly, in the case of reacquiring the IP address, access to the Internet 1 can be started without being affected by the failure of the GW 1.

設定情報の送信が終了すると、アドレス割当処理部11は、アドレス対応テーブル14に設定されているクライアントAの使用GWアドレスをGW1からGW2のアドレスに更新する(S14)。   When the transmission of the setting information is completed, the address assignment processing unit 11 updates the use GW address of the client A set in the address correspondence table 14 from the address GW1 to the address GW2 (S14).

その後、サーバ10の通信経路監視部13がゲートウェイ18が復旧したことを検知した後(S15)、クライアントAからIPアドレスの使用延長の要求のためにDHCPREQUESTメッセージが送られてくると(S16)、アドレス割当処理部11は、その割当要求に応じて次のようにして設定情報を生成することになる。すなわち、アドレス割当処理部11は、クライアントAに対して割り当てた基本GWアドレスであるゲートウェイ18が正常に稼動しているので、アドレス対応テーブル14を参照することによってIPアドレス及び基本GWアドレスを取得する。この取得したIPアドレス、GWアドレス及びリース期間として基本リース期間を含む設定情報を生成する。そして、設定情報をクライアントAに送信する(S17)。その後、アドレス割当処理部11は、アドレス対応テーブル14に設定されているクライアントAの使用GWアドレスをGW2からGW1のアドレスに更新する(S18)。   Thereafter, after the communication path monitoring unit 13 of the server 10 detects that the gateway 18 has been restored (S15), when a DHCPREQUEST message is sent from the client A for a request to extend the use of the IP address (S16), In response to the allocation request, the address allocation processing unit 11 generates setting information as follows. That is, the address assignment processing unit 11 acquires the IP address and the basic GW address by referring to the address correspondence table 14 because the gateway 18 that is the basic GW address assigned to the client A is operating normally. . Setting information including a basic lease period as the acquired IP address, GW address, and lease period is generated. Then, the setting information is transmitted to the client A (S17). Thereafter, the address assignment processing unit 11 updates the used GW address of the client A set in the address correspondence table 14 from the GW2 to the GW1 address (S18).

以上のように、本実施の形態によれば、クライアントAに対して最初に割り当てたゲートウェイ18経由でインターネット1への接続ができないとき延長使用時にはGW2を割り当てることによって継続して使用できるようにし、GW1が復旧したとき延長使用時にはGW2を継続使用させるのではなくGW1を戻すようにした。サーバ10は、前述したように初期設定の際に負荷分散を考慮してクライアントAに対してGW1を割り当てている。従って、延長使用時にGW1が復旧しているのであれば元のGW1に戻すことによってゲートウェイ18,28にかかる負荷分散の維持を図ることができる。このように、本実施の形態においては、クライアント6に対して負荷分散を考慮して最初に割り当てたゲートウェイ18,28を通常使用する基本ゲートウェイとし、基本ゲートウェイが障害により使用できないときに使用するゲートウェイは、その障害発生期間における代用ゲートウェイという位置づけにしている。   As described above, according to the present embodiment, when connection to the Internet 1 cannot be made via the gateway 18 initially assigned to the client A, it can be continuously used by allocating the GW 2 during extended use. When GW1 is restored, GW1 is returned instead of continuing to use GW2 during extended use. As described above, the server 10 assigns GW1 to the client A in consideration of load distribution at the time of initial setting. Therefore, if the GW 1 is restored during the extended use, the load distribution applied to the gateways 18 and 28 can be maintained by returning to the original GW 1. As described above, in the present embodiment, the gateways 18 and 28 initially assigned to the client 6 in consideration of load distribution are used as basic gateways that are normally used, and gateways that are used when the basic gateway cannot be used due to a failure. Is positioned as a substitute gateway during the failure occurrence period.

更に、本実施の形態においては、代用ゲートウェイと共に設定情報に設定するリース期間を基本リース期間より短い時間とした。これにより、基本ゲートウェイが復旧したときには使用するゲートウェイをより早く基本ゲートウェイに戻すことができ、負荷が不均等である時間をより短時間にすることができる。この効果をより得るためには、設定情報に代用ゲートウェイと共に設定するリース期間をより短く設定することが望ましいので、本実施の形態では、設定可能な最小時間である1時間を代用ゲートウェイの際のリース期間として設定したが、この設定時間を必ずしも1時間とする必要はない。   Furthermore, in the present embodiment, the lease period set in the setting information together with the substitute gateway is set to be shorter than the basic lease period. Thereby, when the basic gateway is restored, the gateway to be used can be returned to the basic gateway earlier, and the time when the load is uneven can be shortened. In order to obtain this effect more, it is desirable to set a shorter lease period to be set together with the substitute gateway in the setting information. Therefore, in this embodiment, 1 hour, which is the minimum settable time, is set for the substitute gateway. Although set as the lease period, this set time is not necessarily set to 1 hour.

実施の形態2.
図4は、本実施の形態においてサーバと2台のクライアントとの間での通信シーケンスを示した図である。図3と同じ処理には同じ符号を付け、説明を適宜省略する。
Embodiment 2. FIG.
FIG. 4 is a diagram showing a communication sequence between the server and two clients in the present embodiment. The same processes as those in FIG. 3 are denoted by the same reference numerals, and description thereof is omitted as appropriate.

上記実施の形態1においてGW1が故障等により使用できないとき、クライアントAは、リース期間に近づいて(正確にはリース期間の50%を経過した時点で)DHCPREQUESTメッセージ(割当要求)を送信することになる(S12)。それまでは、インターネット1へアクセスするとエラーが発生するので何らかの対応が要求される。そこで、本実施の形態では、通信経路監視部13がゲートウェイ18に障害が発生したことを検知したとすると(S11)、その時点でその旨をクライアント6へ通知するようにしたことを特徴としている。   In the first embodiment, when the GW 1 cannot be used due to a failure or the like, the client A approaches the lease period (more precisely, when 50% of the lease period has elapsed) and transmits a DHCPREQUEST message (allocation request). (S12). Until then, an error occurs when accessing the Internet 1 and some action is required. Therefore, the present embodiment is characterized in that if the communication path monitoring unit 13 detects that a failure has occurred in the gateway 18 (S11), it notifies the client 6 to that effect at that time. .

すなわち、アドレス割当処理部11は、ゲートウェイ18の障害が検知されると、その旨をクライアント6に対してブロードキャストする(S19)。このブロードキャストのためのメッセージはDHCPに用意されていないため、本実施の形態では、DHCPNOTICEメッセージを仮定してブロードキャストする。なお、本実施の形態では、DHCPNOTICEメッセージをブロードキャストするが、GW1を使用しているクライアント6は、アドレス対応テーブル14の使用GWアドレスから明らかなので、該当するクライアント6のみに個別に送信するようにしてもよい。   That is, when the failure of the gateway 18 is detected, the address allocation processing unit 11 broadcasts that fact to the client 6 (S19). Since the message for broadcasting is not prepared in DHCP, in the present embodiment, broadcasting is performed assuming a DHCPNOTICE message. In this embodiment, a DHCPNOTICE message is broadcast. However, since the client 6 using GW1 is apparent from the GW address used in the address correspondence table 14, it should be transmitted individually only to the corresponding client 6. Also good.

GW1が割り当てられていたクライアントAは、DHCPNOTICEメッセージを受信すると、リース期間の経過時間に関係なくDHCPREQUESTメッセージ(割当要求)を送信する(S12)。これにより、実施の形態1において説明した手順にてGW2が割り当てられ、同一IPアドレスの使用延長前と同様にインターネット1へ継続してアクセスすることができる(S13)。   Upon receiving the DHCPNOTICE message, the client A to which GW1 has been allocated transmits a DHCPREQUEST message (allocation request) regardless of the elapsed time of the lease period (S12). Thereby, the GW 2 is assigned by the procedure described in the first embodiment, and the Internet 1 can be continuously accessed in the same manner as before the use extension of the same IP address (S13).

その後、通信経路監視部13がゲートウェイ18が復旧したことを検知したとすると(S15)、アドレス割当処理部11は、その旨のDHCPNOTICEメッセージをブロードキャストする(S20)。障害発生のときと同様にアドレス対応テーブル14を参照して基本GWアドレスがGW1であって使用GWアドレスがGW1でないクライアント6に対してのみ個別に送信するようにしてもよい。   Thereafter, if the communication path monitoring unit 13 detects that the gateway 18 has been restored (S15), the address assignment processing unit 11 broadcasts a DHCPNOTICE message to that effect (S20). As in the case of the occurrence of a failure, the address correspondence table 14 may be referred to individually transmit only to the client 6 whose basic GW address is GW1 and whose used GW address is not GW1.

基本GWアドレスがGW1であって使用GWアドレスがGW1でないクライアントAは、DHCPNOTICEメッセージを受信すると、リース期間の経過時間に関係なくDHCPREQUESTメッセージ(割当要求)を送信する(S16)。これにより、実施の形態1において説明した手順と同様にして使用するゲートウェイを基本GWアドレスであるGW1に戻すことができる(S17)。   When the client A having the basic GW address GW1 and the GW address not using GW1 receives the DHCPNOTICE message, the client A transmits a DHCPREQUEST message (allocation request) regardless of the elapsed time of the lease period (S16). Thereby, the gateway to be used can be returned to the basic GW address GW1 in the same manner as the procedure described in the first embodiment (S17).

本実施の形態によれば、DHCPNOTICEメッセージを用いることにより使用中のゲートウェイ18,28を介してインターネット1へアクセスできなくなった時点で使用するゲートウェイ18,28を即座に切り替えることができる。また、基本ゲートウェイが復旧したときには即座に元に戻すことができる。   According to the present embodiment, by using the DHCPNOTICE message, the gateways 18 and 28 to be used can be immediately switched when the Internet 1 cannot be accessed through the gateways 18 and 28 in use. Also, when the basic gateway is restored, it can be restored immediately.

実施の形態3. Embodiment 3 FIG.

図5は、本発明に係る外部ネットワーク接続のための設定情報割当方法を実施する他のクライアントサーバシステムを示したブロック構成図である。本実施の形態におけるクライアントサーバシステムは、上記各実施の形態と異なり、複数台のサーバ10,20,30を有している。各サーバ10,20,30は、同等の機能を有している。本実施の形態においては、図5に示したように3台のサーバ10,20,30によってサーバシステムを構成する場合を例にして説明する。もちろん、2台であっても4台以上であってもよい。ゲートウェイ18,28,38も便宜的に3台としたが、サーバの台数に一致させる必要はない。ゲートウェイ18,28,38自体は、実施の形態1,2と同様に既製品でよい。   FIG. 5 is a block diagram showing another client-server system that implements the setting information assignment method for external network connection according to the present invention. Unlike the above embodiments, the client server system in the present embodiment has a plurality of servers 10, 20, and 30. Each server 10, 20, and 30 has an equivalent function. In the present embodiment, a case where a server system is configured by three servers 10, 20, and 30 as shown in FIG. 5 will be described as an example. Of course, it may be two or four or more. Three gateways 18, 28, and 38 are also shown for convenience, but it is not necessary to match the number of servers. The gateways 18, 28, and 38 themselves may be off-the-shelf products as in the first and second embodiments.

このサーバシステムと同じLAN7に接続された1乃至複数台のクライアント6は、いずれかのゲートウェイ18,28,38、通信回線19,29,39を介してインターネット1にアクセスすることになる。クライアント6は、汎用的なDHCPクライアントとしての機能を持っていればよく、本実施の形態特有の機能は不要である。   One or a plurality of clients 6 connected to the same LAN 7 as this server system accesses the Internet 1 via any one of the gateways 18, 28, 38 and the communication lines 19, 29, 39. The client 6 only needs to have a function as a general-purpose DHCP client, and a function specific to this embodiment is not necessary.

ここで、サーバ10,20,30の機能の概要及び構成について説明するが、各サーバ10,20,30は、全て対等な構成を有しているためサーバ10を代表させて説明する。   Here, the outline and configuration of the functions of the servers 10, 20, and 30 will be described. However, since the servers 10, 20, and 30 all have the same configuration, the server 10 will be described as a representative.

サーバ10は、アドレス割当処理部11、サーバ管理部12、通信経路監視部13、アドレス対応テーブル14及びコーディネータリストテーブル15を有している。アドレス割当処理部11は、クライアント6からのIPアドレス割当要求に応じて当該クライアント6にIPアドレス等を割り当てるアドレス割当処理を実行する。サーバ管理部12は、アドレス割当処理を実行させる唯一つのサーバ(以下、「コーディネータサーバ」と称する)を決定する。通信経路監視部13は、クライアント6がインターネット1へアクセスする際に経由するゲートウェイ18、通信回線19を通るネットワーク経路、ゲートウェイ28、通信回線29を通るネットワーク経路及びゲートウェイ38、通信回線39を通るネットワーク経路の状態(接続可/不可)を監視する。通信経路監視部に関しては、全てのサーバ10,20,30に設ける必要はなく、少なくとも1台のサーバに設けて、設けられていない他のサーバへネットワーク経路の状態を通知するようにしてよい。   The server 10 includes an address assignment processing unit 11, a server management unit 12, a communication path monitoring unit 13, an address correspondence table 14, and a coordinator list table 15. The address assignment processing unit 11 executes an address assignment process for assigning an IP address or the like to the client 6 in response to an IP address assignment request from the client 6. The server management unit 12 determines a single server (hereinafter, referred to as “coordinator server”) that executes the address assignment process. The communication path monitoring unit 13 includes a gateway 18 through which the client 6 accesses the Internet 1, a network path through the communication line 19, a network path through the gateway 28, the communication line 29, and a network through the gateway 38 and the communication line 39. Monitor the route status (connection possible / impossible). The communication path monitoring unit need not be provided in all the servers 10, 20, and 30, but may be provided in at least one server so as to notify the network path status to other servers that are not provided.

図6は、本実施の形態におけるアドレス対応テーブル14のデータ構成例を示した図である。本実施の形態におけるアドレス対応テーブル14は、実施の形態1において説明したデータ構成に加え、更にサーバアドレスがクライアント6毎に対応させて保持される。サーバアドレスは、対応するクライアント6のためにコーディネータサーバとして動作しIPアドレスを割り当てたサーバのアドレスである。   FIG. 6 is a diagram showing a data configuration example of the address correspondence table 14 in the present embodiment. In the address correspondence table 14 according to the present embodiment, in addition to the data configuration described in the first embodiment, a server address is further held corresponding to each client 6. The server address is an address of a server that operates as a coordinator server for the corresponding client 6 and is assigned an IP address.

図7は、本実施の形態におけるコーディネータリストテーブル15のデータ構成例を示した図である。詳細は後述するが、本実施の形態では、サーバシステムを構成するサーバ10,20,30のうちサーバ管理部12,22,32間の後述する所定の規則に従いコーディネータサーバを決定し、そのコーディネータサーバに搭載されたアドレス割当処理部にのみアドレス割当処理を実行させるようにしている。コーディネータリストテーブル15には、コーディネータサーバとなりうる候補のサーバアドレスが登録されている。図7に示した例では、サーバ10,20,30の各アドレスSA,SB,SCが登録されているので、全サーバ10,20,30がコーディネータサーバになることができる。なお、コーディネータリストテーブル15には、予め設定しておいてもよいし、稼働中のサーバのサーバ管理部12,22,32がリアルタイムに設定するようにしてもよい。   FIG. 7 is a diagram showing a data configuration example of the coordinator list table 15 in the present embodiment. Although details will be described later, in this embodiment, a coordinator server is determined according to a predetermined rule described later between the server management units 12, 22, and 32 among the servers 10, 20, and 30 constituting the server system, and the coordinator server Only the address allocation processing unit installed in the system executes address allocation processing. In the coordinator list table 15, candidate server addresses that can be coordinator servers are registered. In the example shown in FIG. 7, since the addresses SA, SB, and SC of the servers 10, 20, and 30 are registered, all the servers 10, 20, and 30 can be coordinator servers. The coordinator list table 15 may be set in advance, or may be set in real time by the server management units 12, 22, and 32 of the operating server.

なお、本実施の形態におけるサーバ10は、DHCPサーバが持つIPアドレスの動的割当機能に特徴を有しているので、DHCPサーバという位置づけで説明しているが、DHCPサーバに相当する機能に加えてDNS(Domain Name System)サーバ、DAP(Directory Access Protocol)の各機能を搭載してもよい。更に、ゲートウェイサーバを別途設けずにサーバ10にゲートウェイ機能を搭載することも可能である。   The server 10 according to the present embodiment is characterized by the dynamic IP address assignment function of the DHCP server. Therefore, the server 10 is described as a DHCP server, but in addition to the function corresponding to the DHCP server. Each function of a DNS (Domain Name System) server and DAP (Directory Access Protocol) may be installed. Furthermore, it is possible to mount a gateway function in the server 10 without providing a separate gateway server.

次に、本実施の形態におけるクライアント6へのアドレス割当処理について図8に示したフローチャートを用いて説明する。この図8において説明するアドレス割当処理は、クライアント6がDHCPDISCOVERメッセージをブロードキャストして、IPアドレスを新規に獲得するときの処理である。DHCPREQUESTメッセージを送信してIPアドレスの貸出しを更新するときの割当処理については追って説明する。   Next, address allocation processing to the client 6 in the present embodiment will be described using the flowchart shown in FIG. The address assignment process described in FIG. 8 is a process when the client 6 broadcasts a DHCPDISCOVER message and acquires a new IP address. The assignment process when the DHCPREQUEST message is transmitted to update the IP address lending will be described later.

まず、クライアント6は、IPアドレスを新規に獲得するためにDHCPDISCOVERメッセージ(IPアドレス割当要求)をサーバ10,20,30へブロードキャストする。この要求の受取先となるサーバ10,20,30は特定されておらず、LAN7に接続された全てのサーバ10,20,30が受信することになる(ステップ101)。しかしながら、本実施の形態において実際にその要求に対応するのは、コーディネータサーバのみであり、それ以外のサーバはIPアドレス割当要求を受信したとしても原則何も処理しない(ステップ102)。つまり、DHCPOFFERメッセージで応答しない。図8には、その例外処理(ステップ121〜125)が示されているが、これについては後述する。以降の説明では、サーバ10が現時点においてコーディネータサーバであるものとして説明する。コーディネータサーバの決定方法については追って説明する。   First, the client 6 broadcasts a DHCPDISCOVER message (IP address assignment request) to the servers 10, 20, 30 in order to acquire a new IP address. The servers 10, 20, and 30 that are the recipients of this request are not specified, and all the servers 10, 20, and 30 connected to the LAN 7 receive them (step 101). However, in the present embodiment, only the coordinator server actually responds to the request, and other servers do not process anything in principle even if an IP address assignment request is received (step 102). That is, it does not respond with a DHCPOFFER message. FIG. 8 shows the exception processing (steps 121 to 125), which will be described later. In the following description, it is assumed that the server 10 is currently a coordinator server. A method for determining the coordinator server will be described later.

コーディネータサーバであることを認識しているサーバ10のアドレス割当処理部11は、IPアドレス割当要求の発信元であるクライアント6に対応するアドレス対応情報がアドレス対応テーブル14に登録されていないので、当該クライアント6に対してIPアドレス等を割り当てる(ステップ104)。この割当てにより設定情報を生成する処理は、実施の形態1,2と同じなので説明を省略する。但し、本実施の形態においては、アドレス対応テーブル14にコーディネータサーバのアドレスを設定する必要があるので、アドレス割当処理部11は、サーバ10のアドレスSAを当該クライアント6に対応付けてIPアドレス等と共に設定する。そして、当該クライアント6に対して割り当てたIPアドレス、使用GWアドレス及びサーバアドレスを含む設定情報を返答する(ステップ105)。そして、アドレス割当処理部11は、当該クライアント6のMACアドレスに、割り当てたIPアドレス、サーバアドレス、基本GWアドレス及び使用GWアドレスとしてゲートウェイのアドレスを対応付けしてアドレス対応情報を生成し、アドレス対応テーブル14に登録する(ステップ106)。   Since the address allocation processing unit 11 of the server 10 that has recognized that it is a coordinator server, the address correspondence information corresponding to the client 6 that is the source of the IP address allocation request is not registered in the address correspondence table 14. An IP address or the like is assigned to the client 6 (step 104). Since the process for generating the setting information by this assignment is the same as in the first and second embodiments, the description thereof is omitted. However, in this embodiment, since it is necessary to set the address of the coordinator server in the address correspondence table 14, the address assignment processing unit 11 associates the address SA of the server 10 with the client 6 together with the IP address and the like. Set. Then, setting information including the IP address, the used GW address, and the server address assigned to the client 6 is returned (step 105). Then, the address allocation processing unit 11 generates address correspondence information by associating the MAC address of the client 6 with the gateway address as the assigned IP address, server address, basic GW address, and used GW address. Register in the table 14 (step 106).

以上のアドレス割当処理により、クライアント6は、IPアドレス等を取得したので、サーバ10により設定されたいずれかのゲートウェイ18,28,38を経由してインターネット1へアクセスすることができる。   Through the above address assignment processing, the client 6 has acquired the IP address and the like, and can access the Internet 1 via any of the gateways 18, 28 and 38 set by the server 10.

更に、アドレス割当処理部11は、クライアント6のみならず、アドレス対応情報を他のサーバ20,30にも同報送信にて通知する(ステップ107)。各サーバ20,30では、送られてきたアドレス対応情報により自己保有のアドレス対応テーブル24,34を更新することで、データ整合性の維持を図る。   Furthermore, the address assignment processing unit 11 notifies not only the client 6 but also the address correspondence information to the other servers 20 and 30 by broadcast transmission (step 107). The servers 20 and 30 maintain the data consistency by updating their own address correspondence tables 24 and 34 with the received address correspondence information.

以上のようにして、アドレス割当処理部11による一連のアドレス割当処理が終了すると、各サーバ10,20,30のサーバ管理部12,22,32は、協調動作をして、コーディネータサーバローテーションを実行することでコーディネータ権(割当権)の移譲を行う(ステップ108)。この処理については追って詳述する。   As described above, when a series of address assignment processing by the address assignment processing unit 11 is completed, the server management units 12, 22, and 32 of the servers 10, 20, and 30 perform coordinated operations and execute coordinator server rotation. As a result, the coordinator right (assignment right) is transferred (step 108). This process will be described in detail later.

次に、クライアント6がDHCPREQUESTメッセージを送信してIPアドレスの使用延長を要求するときのIPアドレス割当処理について図9を用いて説明する。   Next, IP address assignment processing when the client 6 sends a DHCPREQUEST message to request extension of use of the IP address will be described with reference to FIG.

クライアント6が使用延長の要求の場合に送信するDHCPREQUESTメッセージ(IPアドレス割当要求)は、ブロードキャストではなくIPアドレスを割り当てたサーバに対して送信される。そのサーバのアドレスは、IPアドレス獲得時に受け取った設定情報に含まれている。上記例に従うと、サーバ10がその要求を受信することになる(ステップ131)。   The DHCPREQUEST message (IP address assignment request) transmitted when the client 6 requests to extend the use is transmitted to the server to which the IP address is assigned instead of broadcast. The server address is included in the setting information received when the IP address is acquired. According to the above example, the server 10 receives the request (step 131).

サーバ10のアドレス割当処理部11は、クライアント6から送られてきたIPアドレス割当要求を受け取ると、その内容を解析して送信元を特定する。そして、アドレス対応テーブル14から当該クライアント6のアドレス対応情報を取得し(ステップ132)、そのクライアント6に対して割当済みのIPアドレスを再度割り当てる(ステップ133)。更に、アドレス割当処理部11は、通信経路監視部13にゲートウェイの動作状況を問い合わせて使用するゲートウェイを割り当てる(ステップ134)。この使用するゲートウェイを割り当てる処理については、実施の形態1と同じなので詳細な説明は省略する。端的に言うと、基本GWアドレスが正常に稼動しているのであれば、基本GWアドレスを割り当て、基本GWアドレスが使用できない状態であれば、代用GWアドレスを割り当てる。そして、設定情報を生成して(ステップ135)、当該クライアント6へ返信する(ステップ136)。なお、設定情報に設定するリース期間は、基本ゲートウェイの場合と代用ゲートウェイの場合とで異なるようにすることは上記実施の形態1と同様にする。そして、アドレス割当処理部11は、当該クライアント6のMACアドレスに、再度割り当てたIPアドレス等を対応付けしてアドレス対応情報を生成し、アドレス対応テーブル14を更新する(ステップ137)。そして、この更新した旨を他のサーバ20,30へ通知する(ステップ138)。この処理では、使用GWアドレスのみが変更されている可能性があり、他は単に同じデータで上書きされると言うことができる。   When the address allocation processing unit 11 of the server 10 receives the IP address allocation request sent from the client 6, it analyzes the content and identifies the transmission source. Then, the address correspondence information of the client 6 is acquired from the address correspondence table 14 (step 132), and the assigned IP address is reassigned to the client 6 (step 133). Further, the address assignment processing unit 11 inquires of the communication path monitoring unit 13 about the operation status of the gateway and assigns a gateway to be used (step 134). Since the processing for assigning the gateway to be used is the same as that in the first embodiment, detailed description thereof is omitted. In short, a basic GW address is assigned if the basic GW address is operating normally, and a substitute GW address is assigned if the basic GW address cannot be used. Then, setting information is generated (step 135) and returned to the client 6 (step 136). Note that the lease period set in the setting information is different between the case of the basic gateway and the case of the substitute gateway, as in the first embodiment. Then, the address assignment processing unit 11 associates the reassigned IP address and the like with the MAC address of the client 6 to generate address correspondence information, and updates the address correspondence table 14 (step 137). Then, the server 20 and 30 are notified of this update (step 138). In this process, it can be said that only the used GW address may have been changed, and others are simply overwritten with the same data.

このように、本実施の形態によれば、クライアント6は、いったん割り当てられたIPアドレスを何度も繰り返し利用することができるので、IPアドレスが動的に切り替わることにより発生しうる障害が発生しなくなる。   As described above, according to the present embodiment, the client 6 can repeatedly use the once assigned IP address, and thus a failure that may occur due to the dynamic switching of the IP address occurs. Disappear.

ところで、クライアント6から送られてくるDHCPREQUESTメッセージ(IPアドレス割当要求)を受信すべきサーバが何らかの理由によりダウンしている可能性もある。この場合、クライアント6は、サーバからの応答がないことによりサーバがダウンしたなどの理由でメッセージの到達が不可能であると判断してDHCPREQUESTメッセージをブロードキャストする。   Incidentally, the server that should receive the DHCPREQUEST message (IP address assignment request) sent from the client 6 may be down for some reason. In this case, the client 6 determines that the message cannot be reached because the server is down due to no response from the server, and broadcasts a DHCPREQUEST message.

このDHCPREQUESTメッセージに対して、コーディネータ権を取得している、又は取得したサーバが対応することになる。ここでは、サーバ20が対応することにすると、サーバ20は、サーバ10に代わってIPアドレスの再割り当て処理を実行する。この割当処理の内容は、前述した処理(ステップ132〜138)と同じなので詳細な説明は省略するが、アドレス対応テーブル14に設定するサーバアドレスをサーバ20のアドレスSBに書き換える。これは、再度のIPアドレスの延長使用のために送られてくるDHCPREQUESTメッセージに備えるためである。ただ、サーバアドレスの更新に関しては、GWアドレスと同様に基本と代用を設定できるようにしてもよい。   A coordinator right is acquired or the acquired server responds to this DHCPREQUEST message. Here, if the server 20 responds, the server 20 executes an IP address reassignment process on behalf of the server 10. Since the contents of this allocation process are the same as those described above (steps 132 to 138), a detailed description is omitted, but the server address set in the address correspondence table 14 is rewritten to the address SB of the server 20. This is to prepare for a DHCPREQUEST message sent for the extended use of the IP address again. However, regarding the update of the server address, the basic and substitution may be set in the same manner as the GW address.

ここで、図8を用いてコーディネータサーバの決定方法について説明する。   Here, the determination method of a coordinator server is demonstrated using FIG.

図8において、コーディネータサーバであるサーバ10のサーバ管理部12は、コーディネータリストテーブル15を参照し、自己(この例ではサーバ10)の次(最後尾の場合は先頭)にリストされているサーバ(この例ではサーバ20)に対してコーディネートサーバであることを示すコーディネータ権を移譲する(ステップ108)。具体的には、その旨を示すメッセージを交換する。新たにコーディネータサーバとなったサーバ20は、図8に示したフローに従い改めてコーディネータサーバとして動作する。その処理内容は、前述したサーバ10における処理と同じである。一方、コーディネータサーバでなくなったサーバ10は、前述のサーバ20,30と同様に処理することになる。つまり、受信したDHCPDISCOVERメッセージ(IPアドレス割当要求)に対して、原則何も処理しない。   In FIG. 8, the server management unit 12 of the server 10 that is the coordinator server refers to the coordinator list table 15, and the server (first in the last case) listed next to itself (the server 10 in this example) ( In this example, the coordinator right indicating the coordinate server is transferred to the server 20) (step 108). Specifically, messages indicating that are exchanged. The server 20 that newly becomes a coordinator server operates again as a coordinator server in accordance with the flow shown in FIG. The processing content is the same as the processing in the server 10 described above. On the other hand, the server 10 that is no longer the coordinator server performs the same processing as the servers 20 and 30 described above. That is, nothing is processed in principle for the received DHCPDISCOVER message (IP address assignment request).

前述したように、本実施の形態におけるアドレス割当処理では、コーディネートサーバによりIPアドレス割当処理が実行されると自己が当該クライアント6に対するコーディネートサーバとしてアドレス対応テーブル14に登録される。そして、処理終了の度にコーディネータ権をコーディネータリストテーブル15に従い順番に移譲していくので、各サーバ10,20,30が対応すべきクライアント6の数は、ほぼ同数になるはずである。すなわち、実施の形態1において説明したように、コーディネータサーバローテーションを実行することによって負荷分散を実現することができる。更に、コーディネータ権の送り側と受取側とが正常に動作していなければ正常に移譲することができないので、サーバアライブ機能も果たしている。ここで、コーディネータ権の送り側及び受取側で異常が発生したときの処理について説明する。   As described above, in the address assignment process in the present embodiment, when the IP address assignment process is executed by the coordinate server, the self is registered in the address correspondence table 14 as a coordinate server for the client 6. Since the coordinator right is sequentially transferred according to the coordinator list table 15 every time processing is completed, the number of clients 6 to which each server 10, 20, and 30 should correspond should be almost the same. That is, as described in the first embodiment, load distribution can be realized by executing the coordinator server rotation. Furthermore, since the sending side and the receiving side of the coordinator right cannot be transferred normally unless they operate normally, the server alive function is also achieved. Here, processing when an abnormality occurs on the sending side and the receiving side of the coordinator right will be described.

まず、ステップ108において、受取側がダウンしているなどで所定時間内にコーディネータ権を受け取らなかったとすると(ステップ109)、コーディネータサーバにおけるサーバ管理部12は、サーバ20のアドレスをコーディネータリストテーブル15から削除すると共に(ステップ110)、サーバ20以外の他のサーバ30に対してその旨を同報送信にて通知する(ステップ111)。これを受けたサーバ30は、自己のコーディネータリストテーブル35からサーバ20のアドレスを削除することでデータ整合性を維持する。そして、サーバ管理部12は、更に次にリストされているサーバ(この例ではサーバ30)に対してコーディネートサーバであることを示すコーディネータ権が移譲される(ステップ112)。この処理を繰り返すことで次にコーディネータサーバとなるサーバを見つけだす。   First, in step 108, if the coordinator right is not received within a predetermined time because the receiving side is down (step 109), the server management unit 12 in the coordinator server deletes the address of the server 20 from the coordinator list table 15. At the same time (step 110), the server 30 other than the server 20 is notified by broadcast transmission (step 111). Receiving this, the server 30 maintains the data consistency by deleting the address of the server 20 from its own coordinator list table 35. Then, the server management unit 12 transfers the coordinator right indicating that it is a coordinated server to the next listed server (in this example, the server 30) (step 112). By repeating this process, the next server to be the coordinator server is found.

また、コーディネート権を受け取ったことによりコーディネートサーバとなったサーバ自体が何らかの理由によりダウンしてしまう可能性もある。この状態を放っておくと、クライアント6が発するDHCPDISCOVERメッセージを処理するサーバがいなくなってしまう。そこで、本実施の形態では、コーディネータサーバでなくても次にコーディネータサーバになる予定のサーバは、次のような処理を実行する。   In addition, the server itself that becomes the coordination server by receiving the coordination right may be down for some reason. If this state is left unattended, there is no server for processing the DHCPDISCOVER message issued by the client 6. Therefore, in this embodiment, even if it is not a coordinator server, the server that is scheduled to become the coordinator server next executes the following process.

すなわち、図8において、次にコーディネータサーバになる予定のサーバは、コーディネータリストテーブル15を参照することによって事前に特定することができる(ステップ121)。従って、該当するサーバ(例えばサーバ20)は、DHCPDISCOVERメッセージを受信してから所定時間内に通常コーディネータサーバからステップ107における通知が送られてこないと(ステップ122)、コーディネートサーバに何らかの障害が発生したと判断する。   That is, in FIG. 8, the server that is scheduled to become the coordinator server next can be identified in advance by referring to the coordinator list table 15 (step 121). Therefore, if the corresponding server (for example, server 20) does not receive the notification in step 107 from the normal coordinator server within a predetermined time after receiving the DHCPDISCOVER message (step 122), some trouble has occurred in the coordinated server. Judge.

サーバ20は、以上のようにコーディネートサーバが動作不能と判断すると、自らコーディネータ権を取得しにいくことによってコーディネートサーバとなり(ステップ123)、障害が発生したサーバ10をコーディネータリストテーブル15から削除すると共に(ステップ124)、サーバ10以外の他のサーバ30に対してその旨を同報送信にて通知する(ステップ125)。そして、コーディネートサーバとなったことで、サーバ20は、図8に示したフローに従い改めてコーディネータサーバとして動作する。   When the server 20 determines that the coordinating server is inoperable as described above, the server 20 becomes a coordinating server by going to acquire the coordinator right (step 123), and deletes the failed server 10 from the coordinator list table 15. (Step 124), the fact is notified to the other servers 30 other than the server 10 by broadcast transmission (Step 125). And by becoming a coordination server, the server 20 operates again as a coordinator server according to the flow shown in FIG.

以上のようにして、各クライアント6は、サーバ10により設定されたIPアドレス及びGWアドレスを使用してインターネット1へアクセスすることができる。クライアント6がインターネット1へのアクセスを終了するときには、DHCPに従いIPアドレスを回収する。   As described above, each client 6 can access the Internet 1 using the IP address and GW address set by the server 10. When the client 6 ends access to the Internet 1, the IP address is collected according to DHCP.

ここで、図を用いてコーディネータ権の移譲に着目して更に詳述する。図10は、前述したIPアドレス割当処理実行の際に実行されるコーディネータ権(割当権)の移譲を表したシーケンス図である。図10では、MACアドレスX,Yである2台のクライアントA,Bと2台のサーバC,Dが示されている。この処理の開始時ではサーバCが割当権を獲得しているものとする。なお、処理の内容自体は、図8と重複している。   Here, the details will be described in detail with a focus on the transfer of the coordinator right using the figure. FIG. 10 is a sequence diagram showing the transfer of the coordinator right (assignment right) executed when the IP address assignment process described above is executed. In FIG. 10, two clients A and B and two servers C and D having MAC addresses X and Y are shown. It is assumed that the server C has acquired the allocation right at the start of this process. The content of the process itself is the same as that in FIG.

クライアントAは、IPアドレス割当要求(DHCPDISCOVERメッセージ)をブロードキャストすると(S21)、この要求に応じて割当権を保持するサーバCが設定情報を生成し、その生成した設定情報(DHCPOFFERメッセージ)をクライアントAへ送信する(S22)。なお、設定情報の生成に関しては説明済みである。設定情報受信後にDHCPREQUESTメッセージとDHCPACKの情報が交換された後(S23,24)、クライアントAは、アドレス対応テーブルに登録する(S25)。そして、登録した旨を各サーバへ通知し(S26)、この通知を受けたサーバDは、自己が保持管理するアドレス対応テーブルを更新する(S27)。移譲のコーディネータサーバとしての割当処理が終了すると、クライアントAは、コーディネータリストテーブルを参照にサーバDへ割当権を移譲する(S28)。正常に動作しているサーバDは、サーバCから移譲された割当権を取得する(S29)。   When the client A broadcasts an IP address assignment request (DHCPDISCOVER message) (S21), the server C holding the assignment right generates setting information in response to this request, and the generated setting information (DHCPOFFER message) is sent to the client A. (S22). The generation of the setting information has already been described. After the DHCPREQUEST message and DHCPACK information are exchanged after receiving the setting information (S23, 24), the client A registers in the address correspondence table (S25). Then, the server D is notified of the registration (S26), and the server D that has received the notification updates the address correspondence table held and managed by itself (S27). When the assignment process as the coordinator server for transfer is completed, the client A transfers the assignment right to the server D with reference to the coordinator list table (S28). The server D operating normally acquires the assignment right transferred from the server C (S29).

その後、サーバDは、クライアントBがブロードキャストしたIPアドレス割当要求(DHCPDISCOVERメッセージ)を受信すると、上記S21〜S24と同様の処理をしてIPアドレスを割り当てる(S30〜S33)。そして、S25〜27と同様に動作して各サーバC,Dのアドレス対応テーブルを更新し(S34〜S36)、S28,29と同様に動作して割当権を次のサーバへ移譲する(S37,38)。   Thereafter, when the server D receives the IP address assignment request (DHCPDISCOVER message) broadcasted by the client B, the server D assigns an IP address by performing the same processing as S21 to S24 (S30 to S33). Then, it operates in the same manner as in S25 to 27 to update the address correspondence table of each server C and D (S34 to S36), and operates in the same manner as in S28 and 29 to transfer the allocation right to the next server (S37, S36). 38).

図11は、コーディネータサーバがダウンしたときの割当権の移譲を表したシーケンス図である。なお、設定情報の内容については上述したとおりなのでこの図からは省略している。図11において、クライアントは、IPアドレス割当要求(DHCPDISCOVERメッセージ)をブロードキャストすると(S41)、この要求に応じて割当権を保持するサーバAが設定情報(DHCPOFFERメッセージ)をクライアントへ送信するはずであるが、サーバAは割当権取得後に障害が発生してダウンしているので(S40)、応答できない。そこで、次のコーディネータサーバとなりうるサーバBがサーバAからの割当通知が所定時間内にないことにより自ら割当権を取得し(S42)、その旨を他のサーバへ通知し(S43)、クライアントAに応答する(S44)。そして、クライアントへの対応が終了したことを他のサーバへ通知し(S45)、割当権を次のサーバCへ移譲する(S46,47)。なお、IPアドレスの新規獲得時も基本的には同じであり、この場合は図8のS121〜S125で説明した。   FIG. 11 is a sequence diagram showing transfer of the assignment right when the coordinator server goes down. Since the contents of the setting information are as described above, they are omitted from this figure. In FIG. 11, when the client broadcasts an IP address assignment request (DHCPDISCOVER message) (S41), the server A holding the assignment right should transmit setting information (DHCPOFFER message) to the client in response to this request. Since server A is down due to a failure after the allocation right is acquired (S40), it cannot respond. Therefore, the server B, which can be the next coordinator server, acquires the allocation right by itself when there is no allocation notification from the server A within a predetermined time (S42), and notifies that to other servers (S43). (S44). Then, it notifies the other server that the correspondence to the client is completed (S45), and transfers the allocation right to the next server C (S46, 47). Note that this is basically the same when a new IP address is acquired, and this case has been described with reference to S121 to S125 in FIG.

図12は、割当権を保持していたサーバAによる割当処理直後に次の割当権を取得するはずのサーバBがダウンしたときのシーケンス図である。この処理は、図8のS110〜S112に相当する。なお、クライアントからのIPアドレス割当要求(DHCPDISCOVERメッセージ)を受けて当該クライアントにIPアドレスを割り当てる間での処理(S51〜S58)については既に説明したのでその処理の詳細は省略する。   FIG. 12 is a sequence diagram when the server B that should acquire the next allocation right immediately after the allocation process by the server A holding the allocation right is down. This process corresponds to S110 to S112 in FIG. Since the processing (S51 to S58) during the IP address assignment request (DHCPDISCOVER message) from the client and the assignment of the IP address to the client has already been described, the details of the processing are omitted.

サーバAは、コーディネータリストテーブルに従い割当権を移譲すべきサーバBに割当権を移譲しようとしたが(S60)、サーバBからの応答がないことによりサーバBに障害が発生したと判断してコーディネータリストテーブルから削除する(S61)。そして、コーディネータリストテーブルから次に割当権を受けるべきサーバCを特定し、そのサーバCへ割当権の移譲を試みる(S62)。この結果、サーバCは、割当権を取得すると、その旨を他のサーバへ通知する(S63)。   The server A tried to transfer the allocation right to the server B to which the allocation right should be transferred according to the coordinator list table (S60), but determines that a failure has occurred in the server B due to no response from the server B, and the coordinator Delete from the list table (S61). Then, the server C that is to receive the next allocation right is specified from the coordinator list table, and an attempt is made to transfer the allocation right to the server C (S62). As a result, when the server C obtains the allocation right, the server C notifies that to other servers (S63).

本実施の形態によれば、クライアント6とインターネット1とを接続する通信経路を多重化し、また、各クライアント6が使用する通信経路を動的に決定し接続できるようにしたので、ネットワーク経路上のいずれかのゲートウェイ18,28,38に異常が発生したとしても、クライアント6は、通信経路を切り替えることによってインターネット1に継続してアクセスすることができる。   According to the present embodiment, the communication path connecting the client 6 and the Internet 1 is multiplexed, and the communication path used by each client 6 can be dynamically determined and connected. Even if an abnormality occurs in any of the gateways 18, 28, 38, the client 6 can continuously access the Internet 1 by switching the communication path.

なお、本実施の形態においては、サーバのキープアライブ機能を兼ねるためにコーディネータサーバローテーションを実行するようにしたが、ネットワーク接続処理に対する負荷分散だけに着目すれば、特定のサーバをコーディネータサーバとして全てのIPアドレス割当要求に対応するようにしてもよい。この場合、コーディネータサーバは、実際の割当処理を実行するサーバを指名する。もし、その特定のサーバがダウンしたときには、他のサーバにコーディネータサーバを切り替えればよい。すなわち、本実施の形態のように、必ずしもコーディネータサーバローテーションを採用する必要はない。   In this embodiment, the coordinator server rotation is executed in order to also serve as a server keep alive function. However, if attention is paid only to load distribution for the network connection process, a specific server is designated as the coordinator server. You may make it respond | correspond to an IP address allocation request | requirement. In this case, the coordinator server nominates a server that executes the actual allocation process. If that particular server goes down, the coordinator server may be switched to another server. That is, it is not always necessary to employ the coordinator server rotation as in the present embodiment.

また、本実施の形態では、サーバをローテーションさせて単純に負荷分散するようにしたが、各サーバ10,20,30の負荷を実際に計測、比較し、負荷の少ないサーバにクライアント6を割り振るようにしてもよい。   In this embodiment, the server is rotated and the load is simply distributed. However, the load on each of the servers 10, 20, and 30 is actually measured and compared, and the client 6 is allocated to the server with a low load. It may be.

また、本実施の形態では、アドレス対応テーブル14,24,34及びコーディネータリストテーブル15,25,35を各サーバ10,20,30個々に配設することによってデータ整合性を図るための通知をキープアライブとしても利用するようにした。もし、別の方法でキープアライブ機能を実現するのであれば、データベースサーバ等を設置して各テーブルを共有データベース化してもよい。   In this embodiment, the address correspondence tables 14, 24, and 34 and the coordinator list tables 15, 25, and 35 are arranged for each server 10, 20, and 30 to keep notification for data consistency. Also used as alive. If the keep-alive function is realized by another method, a database server or the like may be installed to make each table a shared database.

また、上記においては、障害が発生したサーバをコーディネータリストテーブル15,25,35から削除することしか説明していないが、サーバ復旧後、サーバ管理部12,22,32は、自己のコーディネータリストテーブル15,25,35にアドレスを登録し、他のサーバに通知するようにすることで、コーディネータサーバとして復活することができる。   In the above description, only the server in which the failure has occurred is deleted from the coordinator list tables 15, 25, 35. However, after the server is restored, the server management units 12, 22, 32 have their own coordinator list table. By registering addresses in 15, 25, and 35 and notifying other servers, it is possible to reinstate as a coordinator server.

また、ゲートウェイ18,28,38もコーディネータリストテーブル15と同様の管理テーブルを設けて、使用可不可を管理するようにしてもよい。   The gateways 18, 28, and 38 may also be provided with a management table similar to the coordinator list table 15 to manage availability.

本発明に係る外部ネットワーク接続のための設定情報割当方法を実施するクライアントサーバシステムを示したブロック構成図である。1 is a block diagram illustrating a client server system that implements a setting information allocation method for external network connection according to the present invention. FIG. 実施の形態1におけるアドレス対応テーブルのデータ構成例を示した図である。6 is a diagram showing a data configuration example of an address correspondence table in the first embodiment. FIG. 実施の形態1においてサーバと2台のクライアントとの間での通信シーケンスを示した図である。FIG. 3 is a diagram showing a communication sequence between a server and two clients in the first embodiment. 実施の形態2においてサーバと2台のクライアントとの間での通信シーケンスを示した図である。FIG. 10 is a diagram illustrating a communication sequence between a server and two clients in the second embodiment. 本発明に係る外部ネットワーク接続のための設定情報割当方法を実施する他のクライアントサーバシステムを示したブロック構成図である。It is the block block diagram which showed the other client server system which implements the setting information allocation method for the external network connection which concerns on this invention. 実施の形態3におけるアドレス対応テーブルのデータ構成例を示した図である。FIG. 10 is a diagram illustrating a data configuration example of an address correspondence table in the third embodiment. 実施の形態3におけるコーディネータリストテーブルのデータ構成例を示した図である。FIG. 10 is a diagram showing a data configuration example of a coordinator list table in the third embodiment. 実施の形態3におけるクライアントへのアドレス割当処理(新規獲得時)を示したフローチャートである。14 is a flowchart showing address assignment processing (when a new acquisition is performed) to a client in the third embodiment. 実施の形態3におけるクライアントへのアドレス割当処理(延長使用時)を示したフローチャートである。10 is a flowchart showing address assignment processing (when extended use) to a client in the third embodiment. 実施の形態3において割当権の移譲を示したシーケンス図である。FIG. 10 is a sequence diagram showing transfer of assignment right in the third embodiment. 実施の形態3において割当権の移譲を示したシーケンス図である。FIG. 10 is a sequence diagram showing transfer of assignment right in the third embodiment. 実施の形態3において割当権の移譲を示したシーケンス図である。FIG. 10 is a sequence diagram showing transfer of assignment right in the third embodiment. 従来のサーバシステムを示したブロック構成図である。It is the block block diagram which showed the conventional server system.

符号の説明Explanation of symbols

1 インターネット、6 クライアント、7 LAN、10,20,30 サーバ、11,21,31 アドレス割当処理部、12,22,32 サーバ管理部、13,23,33 通信経路監視部、14,24,34 アドレス対応テーブル、15,25,35 コーディネータリストテーブル、18,28,38 ゲートウェイ、19,29,39 通信回線。   1 Internet, 6 clients, 7 LAN, 10, 20, 30 server, 11, 21, 31 Address assignment processing unit, 12, 22, 32 Server management unit, 13, 23, 33 Communication path monitoring unit, 14, 24, 34 Address correspondence table, 15, 25, 35 Coordinator list table, 18, 28, 38 Gateway, 19, 29, 39 Communication line.

Claims (2)

DHCPサーバにより実行され、複数のゲートウェイのうちいずれかを経由して外部ネットワークと接続されるクライアントからの割当要求に応じて、少なくともゲートウェイの所在情報を含む設定情報を生成して返す設定情報割当方法において、
クライアントからの割当要求に応じて返す設定情報に、ゲートウェイが各クライアントに順番に割り振られるようにゲートウェイの所在情報を設定することを特徴とする外部ネットワーク接続のための設定情報割当方法。
Setting information allocation method executed by a DHCP server and generating and returning setting information including at least gateway location information in response to an allocation request from a client connected to an external network via one of a plurality of gateways In
A setting information allocation method for external network connection, characterized in that gateway location information is set in setting information to be returned in response to an allocation request from a client so that the gateway is allocated to each client in turn.
DHCPサーバにより実行され、複数のゲートウェイのうちいずれかを経由して外部ネットワークと接続されるクライアントからの割当要求に応じて、少なくともゲートウェイの所在情報を含む設定情報を生成して返す設定情報割当方法において、
受信したクライアントからの割当要求を解析する解析ステップと、
割当要求に含まれるクライアント固有の情報に基づいて、当該クライアントに割り当てられた設定情報を保持する設定情報対応テーブルから当該クライアントに対して設定情報が既に割り当てられているかを確認する確認ステップと、
当該クライアントに対して設定情報が割り当てられている場合において当該設定情報に所在情報が含まれているゲートウェイを経由して外部ネットワークとの接続が現在できない場合、接続可能な他のゲートウェイの所在情報を設定情報に含ませる設定情報生成ステップと、
生成した設定情報を当該クライアントへ送信する送信ステップと、
を含むことを特徴とする外部ネットワーク接続のための設定情報割当方法。
Setting information allocation method executed by a DHCP server and generating and returning setting information including at least gateway location information in response to an allocation request from a client connected to an external network via one of a plurality of gateways In
An analysis step of analyzing the allocation request from the received client;
A confirmation step for confirming whether the setting information is already assigned to the client from the setting information correspondence table that holds the setting information assigned to the client based on the client-specific information included in the assignment request;
When setting information is assigned to the client, if connection to an external network cannot be made via a gateway whose location information is included in the setting information, the location information of other connectable gateways is displayed. A setting information generation step to be included in the setting information;
A transmission step of transmitting the generated setting information to the client;
A setting information assigning method for connecting to an external network, comprising:
JP2007045833A 2007-02-26 2007-02-26 Setting information allocation method for external network connection Expired - Fee Related JP3948492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007045833A JP3948492B2 (en) 2007-02-26 2007-02-26 Setting information allocation method for external network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007045833A JP3948492B2 (en) 2007-02-26 2007-02-26 Setting information allocation method for external network connection

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001398339A Division JP3948277B2 (en) 2001-12-27 2001-12-27 Setting information allocation method for external network connection

Publications (2)

Publication Number Publication Date
JP2007181239A JP2007181239A (en) 2007-07-12
JP3948492B2 true JP3948492B2 (en) 2007-07-25

Family

ID=38305834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007045833A Expired - Fee Related JP3948492B2 (en) 2007-02-26 2007-02-26 Setting information allocation method for external network connection

Country Status (1)

Country Link
JP (1) JP3948492B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4881829B2 (en) * 2007-10-03 2012-02-22 株式会社日立製作所 Packet forwarding system
CN113783712A (en) 2020-06-09 2021-12-10 中兴通讯股份有限公司 Default gateway management method, gateway manager, server and storage medium

Also Published As

Publication number Publication date
JP2007181239A (en) 2007-07-12

Similar Documents

Publication Publication Date Title
JP3948277B2 (en) Setting information allocation method for external network connection
JP3948278B2 (en) Setting information allocation method for external network connection
TWI469607B (en) Cloud server for managing hostnames and ip addresses, and management method for the cloud server
US7412515B2 (en) Method and apparatus for dynamic assignment of network protocol addresses
US8032616B2 (en) Method of allocating IP address of image forming apparatus using DHCP, image forming apparatus and system of allocating IP address using DHCP
US20070162575A1 (en) Configuration of LAN hosts
JP2003244184A (en) Domain name managing method and apparatus suited thereto
JP2009239931A (en) Method and system for automatic allocation of resources in communication network
JPH11154978A (en) Network system and method for selecting dhcp server
CN111131445B (en) DHCP cluster scheduling method and DHCP cluster system
US20100198910A1 (en) Enhanced method and apparatus for reducing congestion in dhcp network system
US20240163243A1 (en) Systems and methods for improving arp/nd performance on host communication devices
JP3948492B2 (en) Setting information allocation method for external network connection
JP3876737B2 (en) DDNS server, DDNS client terminal, and DDNS system
EP3048756B1 (en) Management method and apparatus for dynamic host configuration protocol server and relay
JP3979446B2 (en) Setting information allocation method for external network connection
JP5287623B2 (en) Virtual server management system, image processing system, virtual server management apparatus, and control program
JP2004007151A (en) Router, ddns client terminal connected to it, and ddns system
JPH1013443A (en) Network system and network management method
Hamme DHCPv6 for Data Centers
KR100377628B1 (en) Implementation method of simultaneously working DHCP server and BOOTP relay agent
JP2007208480A (en) Ddns client
JP2003143172A (en) Network connection device and method for allocating ip address of network connection device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070409

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140427

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees