JP2000316002A - Dynamic host configuration server and dynamic host configuration method - Google Patents
Dynamic host configuration server and dynamic host configuration methodInfo
- Publication number
- JP2000316002A JP2000316002A JP11124778A JP12477899A JP2000316002A JP 2000316002 A JP2000316002 A JP 2000316002A JP 11124778 A JP11124778 A JP 11124778A JP 12477899 A JP12477899 A JP 12477899A JP 2000316002 A JP2000316002 A JP 2000316002A
- Authority
- JP
- Japan
- Prior art keywords
- client
- address
- server
- assigned
- dynamic host
- 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.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、サーバからクライ
アントにIPアドレスや各種設定項目の値を通知するよ
うにしたサーバ及びそのホストコンフィグレーション方
法に係り、特に、IPアドレスの有効利用が可能な動的
ホストコンフィグレーションサーバ及び多様なクライア
ントに対応でき、設定内容の変更に対応できる動的ホス
トコンフィグレーション方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server in which a server notifies a client of an IP address and values of various setting items, and a host configuration method thereof. The present invention relates to a dynamic host configuration method capable of responding to a dynamic host configuration server and various clients, and capable of responding to a change in setting contents.
【0002】[0002]
【従来の技術】IP(Internet Protocol) 通信機能を備
えた計算機(以下、端末ともいう)が通信を行うために
は、自局のIPアドレスが設定され、さらにデフォルト
ゲートウェイやネームサーバのIPアドレス、ドメイン
名などの様々な項目が正しく設定されていなければなら
ない。従来、このような設定は、人が手作業で行うよう
になっているため、複数の端末に同じIPアドレスが重
複しないように、ネットワーク管理者がIPアドレスの
管理を行っている。しかし、ノートパソコンや携帯端末
などの移動計算機の普及により、ネットワークに対する
端末の接続及び撤去が頻繁になってきた。このためIP
アドレスの管理に要する労力が増加している。2. Description of the Related Art In order for a computer (hereinafter, also referred to as a terminal) having an IP (Internet Protocol) communication function to perform communication, an IP address of its own station is set, and an IP address of a default gateway or a name server is set. Various items such as the domain name must be set correctly. Conventionally, such a setting is manually performed by a person, and a network administrator manages the IP address so that the same IP address does not overlap with a plurality of terminals. However, due to the spread of mobile computers such as notebook personal computers and mobile terminals, connection and removal of terminals from networks have become frequent. Therefore, IP
The effort required to manage addresses is increasing.
【0003】管理作業を自動化してネットワーク管理者
の労力を軽減する方式として、DHCP(Dynamic Host
Configration Protocol,RFC2131)が普及しつつある。こ
の方式では、DHCPクライアント機能を備えた端末
(以下、クライアントという)がDHCPサーバに対し
IPアドレスの割り当てを要求すると、DHCPサーバ
が予め登録されている複数のIPアドレスの中から他の
どのクライアントにも未だ割り当てていないIPアドレ
スを選択してクライアントに割り当てる。また、クライ
アントが設定項目(デフォルトゲートウェイのIPアド
レスなど)をDHCPサーバに通知すると、DHCPサ
ーバは予め設定されている値をクライアントに通知す
る。[0003] As a method of automating the management work and reducing the work of the network administrator, DHCP (Dynamic Host) is used.
The Configuration Protocol (RFC2131) is becoming widespread. In this method, when a terminal having a DHCP client function (hereinafter, referred to as a client) requests the DHCP server to assign an IP address, the DHCP server sends a request to any other client from among a plurality of IP addresses registered in advance. Select an IP address that has not been assigned yet and assign it to the client. When the client notifies the DHCP server of the setting items (such as the IP address of the default gateway), the DHCP server notifies the client of a preset value.
【0004】また、DHCPサーバはクライアントにI
Pアドレスを期限付きで割り当てることができる。割り
当て期限を過ぎたIPアドレスはDHCPサーバが回収
する。従って、ユーザが移動計算機をネットワークに接
続して短い時間だけIPアドレスを使用した後、その移
動計算機を撤去した場合、割り当て期限が過ぎればIP
アドレスが回収されるので、DHCPサーバはこのIP
アドレスを別の計算機に割り当てることができる。これ
により、有限なIPアドレスを再利用することができ
る。[0004] In addition, the DHCP server sends an I
P addresses can be assigned with a time limit. The IP address whose assignment period has passed is collected by the DHCP server. Therefore, if the user connects the mobile computer to the network and uses the IP address for a short period of time and then removes the mobile computer, the IP address will be expired after the expiration of the assignment period.
Since the address is collected, the DHCP server uses this IP
The address can be assigned to another computer. Thereby, a finite IP address can be reused.
【0005】例えば、Windowsパソコン、Mac
intoshパソコン、UNIX計算機には、DHCP
クライアント機能が搭載されている。なお、Windo
wsはマイクロソフト社のOSの商標、Macinto
shはアップル社のパソコン(OS含む)の商標、UN
IXはベル研究所が開発したOSの名称である。[0005] For example, Windows personal computer, Mac
Intosh personal computer, UNIX computer, DHCP
It has a client function. In addition, Windows
ws is a trademark of Microsoft OS, Macinto
sh is a trademark of Apple Computer (including OS), UN
IX is the name of the OS developed by Bell Labs.
【0006】[0006]
【発明が解決しようとする課題】DHCPクライアント
は、割り当て期限が切れる前にIPアドレスを必要とし
なくなり、IPアドレスを放棄する場合に、解放メッセ
ージをDHCPサーバに送る。解放メッセージを受信し
たDHCPサーバは、そのIPアドレスを別の計算機に
割り当てることができる。通常、ユーザがクライアント
をシャットダウン(電源オフ前に行うシステム終了手続
き)する場合には、クライアントが上記解放メッセージ
をDHCPサーバに送る。しかし、移動計算機はシャッ
トダウンされずにネットワークから物理的に離脱される
ことが多く、このような場合には解放メッセージをDH
CPサーバに送ることができない。従来のDHCPサー
バは、IPアドレスがクライアントから返却されない限
り、割り当て期限まではそのIPアドレスを別の計算機
に割り当てない。従って、移動計算機の接続及び離脱が
頻繁に行われる場合、既にクライアントが撤去されてい
るのに割り当て期限が過ぎていないために他のクライア
ントに割り当てられないIPアドレスが増え、IPアド
レスが不足してしまう。The DHCP client no longer needs the IP address before the expiration of the assignment, and sends a release message to the DHCP server when it abandons the IP address. The DHCP server that has received the release message can assign its IP address to another computer. Normally, when the user shuts down the client (system shutdown procedure performed before turning off the power), the client sends the release message to the DHCP server. However, the mobile computer is often physically disconnected from the network without being shut down, and in such a case, the release message is sent to the DH.
Cannot send to CP server. The conventional DHCP server does not assign the IP address to another computer until the IP address is returned from the client until the assignment deadline. Therefore, when a mobile computer is frequently connected and disconnected, the number of IP addresses that cannot be allocated to other clients increases because the allocation time limit has not passed even though the client has already been removed, and the IP address becomes insufficient. I will.
【0007】また、クライアントの機種やOSに応じて
必要な設定項目が異なる。例えば、Windowsパソ
コンの場合には、NetBIOSネームサーバやNet
BIOSノードタイプ、UNIX計算機の場合には、N
IS(Network Information Service) サーバやX Wi
ndow System関連のサーバを設定する必要が
ある。しかし、従来のDHCPサーバは、クライアント
の機種やOSに応じて通知内容を変更する機能は持たな
い。Further, necessary setting items differ depending on the model of the client and the OS. For example, in the case of a Windows personal computer, a NetBIOS name server or Net
BIOS node type, N in case of UNIX computer
IS (Network Information Service) server and X Wi
It is necessary to set the server related to the next system. However, the conventional DHCP server does not have a function of changing the notification content according to the type of the client or the OS.
【0008】また、従来のDHCPサーバは、クライア
ントから要求された時にのみ応答し、要求されていない
場合に自発的にメッセージを送ることはない。従って、
ネットワーク管理者がDHCPサーバの設定内容を変更
しても、DHCPサーバはクライアントから要求されな
い限り新しい設定値をクライアントに通知することはな
い。通常、クライアントは、起動時か、又は割り当て期
間の一定の割合が経過した場合にしかDHCPサーバに
要求メッセージを送信しないので、クライアントの設定
項目が更新されるまでには非常に長い時間がかかってし
まう。このためクライアントが新しい環境に対応しきれ
ず、特に、デフォルトゲートウェイやネームサーバのI
Pアドレスが変更された場合には、新しい設定値を直ち
に通知しないとクライアントが正常に通信できなくなっ
てしまう。A conventional DHCP server responds only when requested by a client, and does not spontaneously send a message when not requested. Therefore,
Even if the network administrator changes the settings of the DHCP server, the DHCP server does not notify the client of new setting values unless requested by the client. Normally, the client sends a request message to the DHCP server only at startup or after a certain percentage of the allocation period has elapsed, so it takes a very long time before the client setting items are updated. I will. For this reason, the client cannot cope with the new environment, and in particular, the default gateway and the name server I
When the P address is changed, the client cannot communicate normally unless a new setting value is immediately notified.
【0009】そこで、本発明の目的は、上記課題を解決
し、IPアドレスの有効利用が可能な動的ホストコンフ
ィグレーションサーバ及び多様なクライアントに対応で
き、設定内容の変更に対応できる動的ホストコンフィグ
レーション方法を提供することにある。Accordingly, an object of the present invention is to solve the above-mentioned problems, to provide a dynamic host configuration server capable of effectively using an IP address, a dynamic host configuration server capable of responding to various clients, and capable of responding to a change in setting contents. The purpose of the present invention is to provide a translation method.
【0010】[0010]
【課題を解決するための手段】上記目的を達成するため
に、請求項1に係る動的ホストコンフィグレーションサ
ーバは、ネットワーク上のクライアントからIPアドレ
スの割り当てを要求されると、予め登録されている複数
のIPアドレスの中から他のどのクライアントにも未だ
割り当てていないIPアドレスを選択し、このIPアド
レスを所定の割り当て期限まで前記クライアントに割り
当て、未割り当てのIPアドレスがなくなった場合、か
つ既にIPアドレスを割り当てているクライアントにI
CMPエコー要求メッセージを送信し、このクライアン
トから応答がない場合、前記割り当て期限が経過してい
なくてもこのクライアントからIPアドレスを強制的に
回収し、このIPアドレスを割り当てに使用するもので
ある。To achieve the above object, a dynamic host configuration server according to claim 1 is registered in advance when a client on a network is requested to assign an IP address. An IP address that has not been assigned to any other client is selected from the plurality of IP addresses, and this IP address is assigned to the client until a predetermined assignment expiration date. I to the client assigning the address
When a CMP echo request message is transmitted and there is no response from this client, the IP address is forcibly collected from this client even if the assignment expiration date has not elapsed, and this IP address is used for assignment.
【0011】また、請求項2に係る動的ホストコンフィ
グレーション方法は、IPアドレスの割り当てをサーバ
に要求するクライアントが自局の機種及びOSをサーバ
に通知し、この通知を受けたサーバは、予め登録されて
いる複数のIPアドレスの中から他のどのクライアント
にも未だ割り当てていないIPアドレスを選択して前記
クライアントに割り当てると共に、予め登録されている
複数の設定項目の中から前記クライアントの機種及びO
Sに関連した項目を選択してその項目の値を前記クライ
アントに通知するものである。[0011] In the dynamic host configuration method according to the second aspect, a client requesting the server to allocate an IP address notifies the server of its model and OS to the server. From among a plurality of registered IP addresses, an IP address not yet assigned to any other client is selected and assigned to the client, and the model and the type of the client are selected from among a plurality of pre-registered setting items. O
The item related to S is selected and the value of the item is notified to the client.
【0012】また、請求項3に係る動的ホストコンフィ
グレーション方法は、クライアントからIPアドレスの
割り当てを要求されたサーバが、予め登録されている複
数のIPアドレスの中から他のどのクライアントにも未
だ割り当てていないIPアドレスを選択して前記クライ
アントに割り当てると共に、自局に設定されている複数
の設定項目の値を前記クライアントに通知し、前記サー
バに設定されている設定項目の値がネットワーク管理者
によって変更されたときには、このサーバが自発的に前
記クライアントに対し設定項目の新しい値を通知し、ク
ライアントは、サーバからの通知を常に待機し、設定項
目の新しい値の通知を受信した場合には、その設定項目
を新しい値に更新するものである。[0012] In the dynamic host configuration method according to the third aspect, the server requested to assign an IP address from the client can send the server to any other client among the plurality of IP addresses registered in advance. A non-assigned IP address is selected and assigned to the client, the values of a plurality of setting items set in the own station are notified to the client, and the values of the setting items set in the server are changed by the network administrator. Is changed by the server, the server voluntarily notifies the client of the new value of the setting item, and the client always waits for the notification from the server, and when the client receives the notification of the new value of the setting item, , The setting item is updated to a new value.
【0013】[0013]
【発明の実施の形態】以下、本発明の一実施形態を添付
図面に基づいて詳述する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the accompanying drawings.
【0014】図1に示されるように、本発明に係る動的
ホストコンフィグレーションサーバ100は、CPU1
01、揮発性メモリ102、不揮発性メモリ103、イ
ーサネットMAC制御LSI104、ポート105によ
って構成されている。不揮発性メモリ103には、本発
明を実施するためのプログラムと構成情報(IPアドレ
ス、各種の設定情報など)とが格納されている。プログ
ラムは、CPU101によって実行される。その際、構
成情報を用いてIPアドレスの割り当て、設定項目の選
択、設定値の通知等が行われる。As shown in FIG. 1, a dynamic host configuration server 100 according to the present invention
01, a volatile memory 102, a nonvolatile memory 103, an Ethernet MAC control LSI 104, and a port 105. The non-volatile memory 103 stores a program for implementing the present invention and configuration information (such as an IP address and various setting information). The program is executed by the CPU 101. At this time, assignment of an IP address, selection of a setting item, notification of a setting value, and the like are performed using the configuration information.
【0015】図2にネットワーク構成を示す。200は
動的ホストコンフィグレーションサーバ、201,20
2,203,204,206はデスクトップパソコン、
205はノートパソコン、207は、これらのネットワ
ーク機器間の通信を中継するハブである。FIG. 2 shows a network configuration. 200 is a dynamic host configuration server, 201 and 20
2, 203, 204 and 206 are desktop personal computers,
205 is a notebook computer, and 207 is a hub for relaying communication between these network devices.
【0016】プログラムは、従来のDHCPサーバの処
理に加えて、IPアドレスを割り当てているクライアン
トにICMPエコー要求メッセージを送信し、このクラ
イアントから所定時間内にICMP応答メッセージを受
信したかどうかの情報を揮発性メモリ102に格納する
処理を行う。The program transmits an ICMP echo request message to a client to which an IP address has been assigned in addition to the processing of the conventional DHCP server, and transmits information as to whether or not an ICMP response message has been received from the client within a predetermined time. A process for storing in the volatile memory 102 is performed.
【0017】図3及び図4に揮発性メモリ102の内容
を示す。図示のように揮発性メモリ102はテーブル化
され、各欄に前記プログラムがIPアドレスの割り当て
に関して管理する情報が格納されている。300,40
0は動的ホストコンフィグレーションサーバに登録され
ているIPアドレスの欄、301,401はIPアドレ
スの割り当て状態の欄、302,402は割り当て期限
の欄、303,403はIDMPエコー要求メッセージ
に対する応答の有無の欄である。FIGS. 3 and 4 show the contents of the volatile memory 102. FIG. As shown in the figure, the volatile memory 102 is tabulated, and information managed by the program regarding the assignment of the IP address is stored in each column. 300, 40
0 is an IP address column registered in the dynamic host configuration server, 301 and 401 are IP address assignment status columns, 302 and 402 are assignment expiration columns, and 303 and 403 are responses of an IDMP echo request message. It is a column of presence or absence.
【0018】まず、図3では、6つのIPアドレスが登
録されているが、未だどのIPアドレスもクライアント
に割り当てされていない。なお、未割当ての状態では、
割り当て期限の欄302、応答の有無の欄303には何
も格納しない。First, in FIG. 3, six IP addresses are registered, but no IP address has yet been assigned to the client. In the unassigned state,
Nothing is stored in the column 302 of the assignment term and the column 303 of the presence or absence of a response.
【0019】次に、図4では、図3で登録されていた全
てのIPアドレスがクライアントに割り当てされてい
る。その後、IPアドレス192.168.0.253
が割り当てられていたクライアント(図2のノートパソ
コン205)がシャットダウン処理を省略してネットワ
ークから離脱されたものとする。上記プログラムは、各
クライアントにICMPエコー要求メッセージを送信す
るが、ノートパソコン205はネットワークから撤去さ
れているので、当該IPアドレスについてのみ応答がな
い。従って、応答の有無の欄403には、応答なしが格
納されている。Next, in FIG. 4, all the IP addresses registered in FIG. 3 are assigned to the client. Then, the IP address 192.168.0.253
It is assumed that the client (notebook personal computer 205 in FIG. 2) to which has been assigned is omitted from the network by omitting the shutdown process. The above program sends an ICMP echo request message to each client, but since the notebook computer 205 has been removed from the network, there is no response only for the IP address. Therefore, no response is stored in the response presence / absence column 403.
【0020】ここで、図2のハブ207に新たなクライ
アントが接続されたとする。このクライアントがIPア
ドレスの割り当てを要求すると、上記プログラムは図5
の流れに従って処理を行う。まず、上記プログラムは、
登録されているIPアドレスの中で現在未割り当てのI
Pアドレスがあるかどうか揮発性メモリ102を検索す
る。未割り当てのIPアドレスが存在する場合は、その
IPアドレスを選択しクライアントに通知する。図4の
ように未割り当てのIPアドレスが存在しない場合は、
ICMPエコー応答メッセージを受信していないIPア
ドレスを検索する。応答がないIPアドレスが存在しな
い場合は、何もせずに終了する。応答がないIPアドレ
スが存在する場合は、そのIPアドレスを選択しクライ
アントに通知する。図4のように、IPアドレス19
2.168.0.253については応答の有無の欄40
3に応答なしが格納されているので、IPアドレス19
2.168.0.253をクライアントに通知する。Here, it is assumed that a new client is connected to the hub 207 in FIG. When the client requests the assignment of an IP address, the above program is executed as shown in FIG.
The processing is performed according to the flow of. First, the above program
Currently unassigned I among registered IP addresses
The volatile memory 102 is searched for a P address. If there is an unassigned IP address, the IP address is selected and notified to the client. When there is no unassigned IP address as shown in FIG.
Search for an IP address that has not received the ICMP echo response message. If there is no unanswered IP address, the process ends without doing anything. If there is an unanswered IP address, the IP address is selected and notified to the client. As shown in FIG.
For 2.168.0.253, the column 40 of the response presence / absence
No. 3 is stored in the IP address 19
Notify the client of 2.168.0.253.
【0021】次に、本発明の他の実施形態を説明する。Next, another embodiment of the present invention will be described.
【0022】まず、従来のDHCPメッセージの構成を
図6により説明する。DHCPの領域は、DHCPヘッ
ダ605とDHCPオプション606とから構成され
る。DHCPオプション606の領域は可変長であり、
基本的にオプションコード(1バイト)、オプション長
(1バイト)、オプションデータ(オプション長に示さ
れたバイト数)のリストになっている。First, the structure of a conventional DHCP message will be described with reference to FIG. The DHCP area includes a DHCP header 605 and a DHCP option 606. The area of the DHCP option 606 is variable length,
Basically, it is a list of an option code (1 byte), an option length (1 byte), and option data (the number of bytes indicated in the option length).
【0023】本発明の動的ホストコンフィグレーション
方法においてクライアントが送信するDHCPメッセー
ジは、図7に示されるように、オプション領域700
に、従来のDHCPクライアントが使用するオプション
(以下、共通オプションという)に加え、機種オプショ
ンとOSオプションとが追加されている。機種オプショ
ン及びOSオプションは、オプションコード701,7
04、オプション長702,705、オプションデータ
703,706から構成されている。機種オプションデ
ータ703の領域にはクライアントのハードウェア情報
が格納され、OSオプションデータ706の領域にはク
ライアントのOS情報が格納される。In the dynamic host configuration method of the present invention, the DHCP message transmitted by the client is, as shown in FIG.
In addition to the options used by the conventional DHCP client (hereinafter referred to as common options), model options and OS options are added. The model options and OS options are option codes 701 and 7
04, option lengths 702 and 705, and option data 703 and 706. The area of the model option data 703 stores hardware information of the client, and the area of the OS option data 706 stores OS information of the client.
【0024】本発明の動的ホストコンフィグレーション
方法において、サーバの不揮発性メモリ103は図8に
示すようにテーブル化され、各欄に情報が格納されてい
る。これらの情報は、予めネットワーク管理者が設定
し、プログラムが参照する。800は設定項目の欄、8
01は設定値の欄であり、これらの情報は従来のDHC
Pサーバにも設定される情報である。本発明に係るサー
バは、これらの情報に加え、各設定項目がどの機種或い
はOSのクライアントに必要とされるかの情報802を
設定する。図8の例では、サブネットマスク、デフォル
トゲートウェイ、DSNサーバは、全てのクライアント
に必要とされる項目(共通設定項目)であり、NetB
IOSネームサーバ、NetBIOSノードタイプはW
indows系クライアントに必要とされる項目であ
り、NISドメイン名、X Windowフォントサー
バはUNIX系クライアントに必要とされる項目である
と設定されている。In the dynamic host configuration method of the present invention, the nonvolatile memory 103 of the server is tabulated as shown in FIG. 8, and information is stored in each column. These pieces of information are set in advance by the network administrator, and are referred to by the program. 800 is a column for setting items, 8
01 is a set value column, and these information are stored in a conventional DHC
This information is also set in the P server. The server according to the present invention sets, in addition to these pieces of information, information 802 indicating which model or OS client needs each setting item. In the example of FIG. 8, the subnet mask, the default gateway, and the DSN server are items (common setting items) required for all clients.
IOS name server, NetBIOS node type is W
This is an item required for an Windows client, and the NIS domain name and the X Window font server are set as items required for a UNIX client.
【0025】本発明に係るサーバは、クライアントから
共通オプションに機種オプション及びOSオプションが
追加されているDHCPメッセージを受信すると、機種
オプション及びOSオプションの領域を参照し、クライ
アントがWindows系である場合には、不揮発性メ
モリ103を参照し、共通設定項目とWindows系
設定項目とをクライアントに通知する。また、クライア
ントがUNIX系である場合には、不揮発性メモリ10
3を参照し、共通設定項目とUNIX系設定項目とをク
ライアントに通知する。When the server according to the present invention receives a DHCP message in which the model option and the OS option are added to the common option from the client, the server refers to the area of the model option and the OS option, and if the client is a Windows system, Refers to the non-volatile memory 103 and notifies the client of common setting items and Windows-related setting items. When the client is a UNIX system, the nonvolatile memory 10
3, the client is notified of the common setting items and the UNIX-related setting items.
【0026】次に、本発明の他の実施形態を説明する。Next, another embodiment of the present invention will be described.
【0027】本発明の動的ホストコンフィグレーション
方法においてクライアントのプログラムは、従来のDH
CPクライアントの処理に加えて、サーバからの設定変
更メッセージを常に待機する処理を行う。一方、サーバ
のプログラムは、従来のDHCPサーバの処理に加え
て、ネットワーク管理者によって設定項目の情報が追加
又は変更又は削除された場合にはクライアントに設定変
更メッセージを送信する処理を行う。追加・変更・削除
を通知する設定変更メッセージは、従来のDHCPメッ
セージのオプション領域に情報を付加して構成する。In the dynamic host configuration method of the present invention, the client program is a conventional DH
In addition to the process of the CP client, a process of always waiting for a setting change message from the server is performed. On the other hand, the server program performs a process of transmitting a setting change message to the client when the information of the setting item is added, changed, or deleted by the network administrator, in addition to the processing of the conventional DHCP server. The setting change message that notifies addition, change, and deletion is configured by adding information to an option area of a conventional DHCP message.
【0028】設定変更メッセージのDHCPオプション
領域を図9に示す。オプション領域900には、追加・
変更された設定項目のコード901、データ長902、
データ903のリストを格納する。また、削除された設
定項目についてはコード904、データ長905のリス
トを格納し、データ長905の領域には0を格納する。FIG. 9 shows the DHCP option area of the setting change message. In the option area 900,
Code 901 of changed setting item, data length 902,
A list of data 903 is stored. For the deleted setting item, a list of the code 904 and the data length 905 is stored, and 0 is stored in the area of the data length 905.
【0029】クライアントは、設定変更メッセージを受
信した場合には、その設定変更メッセージのオプション
領域900を読み取り、直ちに自局の設定を追加・変更
する。データ長が0である設定項目については自局の設
定を削除する。Upon receiving the setting change message, the client reads the option area 900 of the setting change message and immediately adds / changes the setting of its own station. For the setting item whose data length is 0, the setting of the own station is deleted.
【0030】[0030]
【発明の効果】本発明は次の如き優れた効果を発揮す
る。The present invention exhibits the following excellent effects.
【0031】(1)請求項1の発明によると、割り当て
期限が経過していなくてもクライアントが既にネットワ
ークから離脱されている場合には、そのクライアントに
割り当てられていたIPアドレスを他のクライアントに
割り当てることができる。従って、IPアドレスの個数
が少ない場合、計算機の移動が頻繁に行われる場合など
に、IPアドレスの不足を防ぐことができる。(1) According to the first aspect of the present invention, if a client has already left the network even if the assignment expiration date has not passed, the IP address assigned to that client is sent to another client. Can be assigned. Therefore, shortage of IP addresses can be prevented when the number of IP addresses is small or when computers are frequently moved.
【0032】(2)請求項2の発明によると、サーバ
は、クライアントの機種及びOSに関連する設定項目の
値を自動的に選択して通知することができる。様々なタ
イプの計算機が混在するネットワークにおいては、ネッ
トワーク管理者の労力軽減に大きな効果がある。(2) According to the second aspect of the present invention, the server can automatically select and notify the value of the setting item related to the client model and the OS. In a network in which various types of computers coexist, there is a great effect on reducing the labor of the network administrator.
【0033】(3)請求項3の発明によると、サーバ
は、ネットワーク管理者によって設定項目の値が変更さ
れた場合、直ちに新しい設定値をクライアントに通知す
ることができる。従って、クライアントを再起動させる
ことなく、クライアントの設定を更新して、クライアン
トを新しい環境に対応させることができる。クライアン
トの台数が多い時には、ネットワーク管理者の労力軽減
に大きな効果がある。(3) According to the third aspect of the invention, when the value of the setting item is changed by the network administrator, the server can immediately notify the client of the new setting value. Therefore, the client settings can be updated and the client can be adapted to the new environment without restarting the client. When the number of clients is large, there is a great effect on reducing the labor of the network administrator.
【図1】本発明の一実施形態を示す動的ホストコンフィ
グレーションサーバのハードウェア構成図である。FIG. 1 is a hardware configuration diagram of a dynamic host configuration server according to an embodiment of the present invention.
【図2】図1の動的ホストコンフィグレーションサーバ
を用いたネットワークのネットワーク構成図である。2 is a network configuration diagram of a network using the dynamic host configuration server of FIG. 1;
【図3】図1の不揮発性メモリに格納されるIPアドレ
ス割当管理情報の図である。FIG. 3 is a diagram of IP address assignment management information stored in a nonvolatile memory of FIG. 1;
【図4】図1の不揮発性メモリに格納されるIPアドレ
ス割当管理情報の図である。FIG. 4 is a diagram of IP address assignment management information stored in a nonvolatile memory of FIG. 1;
【図5】図1の動的ホストコンフィグレーションサーバ
がIPアドレスの割り当て要求に応じて行う処理の流れ
図である。5 is a flowchart of a process performed by the dynamic host configuration server in FIG. 1 in response to an IP address assignment request.
【図6】DHCPメッセージの構成図である。FIG. 6 is a configuration diagram of a DHCP message.
【図7】本発明の動的ホストコンフィグレーション方法
に使用するDHCPメッセージのオプション領域の構成
図である。FIG. 7 is a configuration diagram of an optional area of a DHCP message used in the dynamic host configuration method of the present invention.
【図8】図1の不揮発性メモリに格納される設定情報の
図である。FIG. 8 is a diagram of setting information stored in a nonvolatile memory of FIG. 1;
【図9】本発明の動的ホストコンフィグレーション方法
に使用するDHCPメッセージのオプション領域の構成
図である。FIG. 9 is a configuration diagram of an optional area of a DHCP message used in the dynamic host configuration method of the present invention.
100,200 動的ホストコンフィグレーションサー
バ 101 CPU 102 揮発性メモリ 103 不揮発性メモリ 201,202,203,204,206 デスクトッ
プパソコン 205 ノートパソコン100, 200 Dynamic host configuration server 101 CPU 102 Volatile memory 103 Non-volatile memory 201, 202, 203, 204, 206 Desktop personal computer 205 Note personal computer
Claims (3)
アドレスの割り当てを要求されると、予め登録されてい
る複数のIPアドレスの中から他のどのクライアントに
も未だ割り当てていないIPアドレスを選択し、このI
Pアドレスを所定の割り当て期限まで前記クライアント
に割り当て、未割り当てのIPアドレスがなくなった場
合、かつ既にIPアドレスを割り当てているクライアン
トにICMPエコー要求メッセージを送信し、このクラ
イアントから応答がない場合、前記割り当て期限が経過
していなくてもこのクライアントからIPアドレスを強
制的に回収し、このIPアドレスを割り当てに使用する
ことを特徴とする動的ホストコンフィグレーションサー
バ。1. A client on a network receives an IP
When an address assignment is requested, an IP address that has not been assigned to any other client is selected from a plurality of IP addresses registered in advance, and this IP address is selected.
When a P address is assigned to the client until a predetermined assignment expiration date and there are no unassigned IP addresses, and when an ICMP echo request message is transmitted to a client to which an IP address has already been assigned, and there is no response from this client, A dynamic host configuration server which forcibly collects an IP address from a client even if the assignment expiration date has not elapsed, and uses the IP address for assignment.
するクライアントが自局の機種及びOSをサーバに通知
し、この通知を受けたサーバは、予め登録されている複
数のIPアドレスの中から他のどのクライアントにも未
だ割り当てていないIPアドレスを選択して前記クライ
アントに割り当てると共に、予め登録されている複数の
設定項目の中から前記クライアントの機種及びOSに関
連した項目を選択してその項目の値を前記クライアント
に通知することを特徴とする動的ホストコンフィグレー
ション方法。2. A client requesting a server to assign an IP address notifies the server of its own model and OS, and the server receiving the notification sends another server from among a plurality of IP addresses registered in advance. An IP address not yet assigned to any client is selected and assigned to the client, and an item related to the model and OS of the client is selected from a plurality of pre-registered setting items, and the value of the item is selected. A dynamic host configuration method.
てを要求されたサーバが、予め登録されている複数のI
Pアドレスの中から他のどのクライアントにも未だ割り
当てていないIPアドレスを選択して前記クライアント
に割り当てると共に、自局に設定されている複数の設定
項目の値を前記クライアントに通知し、前記サーバに設
定されている設定項目の値がネットワーク管理者によっ
て変更されたときには、このサーバが自発的に前記クラ
イアントに対し設定項目の新しい値を通知し、クライア
ントは、サーバからの通知を常に待機し、設定項目の新
しい値の通知を受信した場合には、その設定項目を新し
い値に更新することを特徴とする動的ホストコンフィグ
レーション方法。3. A server which has been requested by a client to assign an IP address is assigned to a plurality of registered IP addresses.
From among the P addresses, an IP address not yet assigned to any other client is selected and assigned to the client, and the values of a plurality of setting items set in the own station are notified to the client. When the value of the set item is changed by the network administrator, the server voluntarily notifies the client of the new value of the set item, and the client always waits for the notification from the server, A dynamic host configuration method characterized by updating a setting item to a new value when a notification of a new value of the item is received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11124778A JP2000316002A (en) | 1999-04-30 | 1999-04-30 | Dynamic host configuration server and dynamic host configuration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11124778A JP2000316002A (en) | 1999-04-30 | 1999-04-30 | Dynamic host configuration server and dynamic host configuration method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000316002A true JP2000316002A (en) | 2000-11-14 |
Family
ID=14893892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11124778A Pending JP2000316002A (en) | 1999-04-30 | 1999-04-30 | Dynamic host configuration server and dynamic host configuration method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000316002A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001211180A (en) * | 2000-01-26 | 2001-08-03 | Nec Commun Syst Ltd | Dhcp server with client authenticating function and authenticating method thereof |
JP2003069593A (en) * | 2001-08-29 | 2003-03-07 | Fujitsu Ltd | Mobile IP network system |
JP2006319667A (en) * | 2005-05-12 | 2006-11-24 | Matsushita Electric Ind Co Ltd | Terminal address setting method and device thereof |
WO2009104482A1 (en) * | 2008-02-19 | 2009-08-27 | 日本電気株式会社 | Apparatus for determining address, communication system, method and program for determining the address |
US7590742B2 (en) | 2003-12-16 | 2009-09-15 | Nokia Corporation | IP address management |
JP2021052264A (en) * | 2019-09-24 | 2021-04-01 | サクサ株式会社 | Communication system, master gateway, slave gateway, and address allocation program |
-
1999
- 1999-04-30 JP JP11124778A patent/JP2000316002A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001211180A (en) * | 2000-01-26 | 2001-08-03 | Nec Commun Syst Ltd | Dhcp server with client authenticating function and authenticating method thereof |
JP2003069593A (en) * | 2001-08-29 | 2003-03-07 | Fujitsu Ltd | Mobile IP network system |
US7590742B2 (en) | 2003-12-16 | 2009-09-15 | Nokia Corporation | IP address management |
JP2006319667A (en) * | 2005-05-12 | 2006-11-24 | Matsushita Electric Ind Co Ltd | Terminal address setting method and device thereof |
JP4679960B2 (en) * | 2005-05-12 | 2011-05-11 | パナソニック株式会社 | Terminal address setting device |
WO2009104482A1 (en) * | 2008-02-19 | 2009-08-27 | 日本電気株式会社 | Apparatus for determining address, communication system, method and program for determining the address |
JP5392097B2 (en) * | 2008-02-19 | 2014-01-22 | 日本電気株式会社 | Address determining apparatus, communication system, address determining method and program |
US9497067B2 (en) | 2008-02-19 | 2016-11-15 | Nec Corporation | Address determination apparatus, communication system, address determination method, and program |
JP2021052264A (en) * | 2019-09-24 | 2021-04-01 | サクサ株式会社 | Communication system, master gateway, slave gateway, and address allocation program |
JP7371414B2 (en) | 2019-09-24 | 2023-10-31 | サクサ株式会社 | Communication system, parent gateway, child gateway and address assignment program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3641128B2 (en) | MOBILE COMPUTER DEVICE, MOBILE COMPUTER MANAGEMENT DEVICE, MOBILE COMPUTER MANAGEMENT METHOD, AND COMMUNICATION CONTROL METHOD | |
JP3643330B2 (en) | Method and system for automatically assigning a boot server to a PXE client on a network via a DHCP server | |
US7231660B1 (en) | Method and system for preventing unauthorized server interference in an internet protocol network | |
US6965929B2 (en) | Configuring a network device | |
US20080028071A1 (en) | Communication load reducing method and computer system | |
JP4470006B2 (en) | Power saving support device | |
JP2002368763A (en) | Network device, server device, client device, network IP address assigning method and program | |
CN111294416A (en) | Method for obtaining IP address and related products | |
WO2002078270A1 (en) | Router apparatus and band control method thereof | |
JP3919781B2 (en) | Method and apparatus for managing IP addresses and name mapping for wireless clients | |
JP2000316002A (en) | Dynamic host configuration server and dynamic host configuration method | |
JP6445408B2 (en) | Communication system and setting method | |
JP2006148813A (en) | Analysis apparatus management system, and program and analysis apparatus for analysis apparatus management server | |
JP2017017631A (en) | Packet transmission equipment, communication network system and address allocation confirmation method | |
Cisco | Configuring DHCP Servers | |
JP3979055B2 (en) | Fixed address setting device, fixed address setting method, and fixed address setting program | |
JP2005110001A (en) | Communication environment setting method and communication environment setting program | |
KR101001434B1 (en) | Adaptive Dynamic IP Address Management System and Management Method | |
JP3775378B2 (en) | Firewall system that supports dynamic IP address assignment | |
JP2002135254A (en) | Communication processor and its program-recording medium | |
CN110838981B (en) | Method, device and equipment for user internet route selection and computer readable storage medium | |
JP2002164904A (en) | Dhcp server | |
JP7475558B1 (en) | Equipment management system and equipment management method | |
KR100383588B1 (en) | Apparatus and method for managing internet protocol address | |
JP2001148718A (en) | Network address acquisition system |