JP3971341B2 - Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program - Google Patents

Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program Download PDF

Info

Publication number
JP3971341B2
JP3971341B2 JP2003138116A JP2003138116A JP3971341B2 JP 3971341 B2 JP3971341 B2 JP 3971341B2 JP 2003138116 A JP2003138116 A JP 2003138116A JP 2003138116 A JP2003138116 A JP 2003138116A JP 3971341 B2 JP3971341 B2 JP 3971341B2
Authority
JP
Japan
Prior art keywords
network information
packet
server
subnet
information
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
JP2003138116A
Other languages
Japanese (ja)
Other versions
JP2004343465A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2003138116A priority Critical patent/JP3971341B2/en
Publication of JP2004343465A publication Critical patent/JP2004343465A/en
Application granted granted Critical
Publication of JP3971341B2 publication Critical patent/JP3971341B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、クライアントに対してネットワーク情報を割り当てるネットワーク情報割当方法及びその装置と、そのネットワーク情報割当技術の実現に用いられるネットワーク情報割当プログラム及びそのプログラムを記録した記録媒体と、クライアントに対してブート情報を割り当てるブート情報割当方法及びその装置と、そのブート情報割当技術の実現に用いられるブート情報割当プログラム及びそのプログラムを記録した記録媒体とに関する。
【0002】
あるサブネットに存在してクライアントに対してブート情報を提供するサーバと、サブネット間を移動するクライアントとで構成されるシステムがある。
【0003】
本発明は、このようなシステムで用いられるネットワーク情報割当技術およびブート情報割当技術に関するものであり、より具体的には、ディスクレスブートシステムにおける、ディスクレスクライアントへのネットワーク情報、ブート情報の割当技術に関するものである。
【0004】
【従来の技術】
従来、ディスクレスクライアントと、DHCPサーバ(DHCP:動的ホスト構成プロトコル)と、TFTPサーバ(TFTP:単純ファイル転送プロトコル)と、ファイルサーバとがIPネットワークに接続されているディスクレスブートシステムでは、ブートするディスクレスクライアントが、まず始めに、DHCPサーバに対して問い合わせを行う。
【0005】
問い合わせを受けたDHCPサーバは、問い合わせをしたディスクレスクライアントをディスクレスクライアントのMACアドレスにより識別し、ディスクレスクライアントに割り当てるIPアドレスやサブネットマスクやルータアドレスやブロードキャストアドレスといったネットワーク情報と、TFTPサーバのIPアドレスや起動ファイル名や起動ファイル用スクリプト名といったディスクレスブートに必要なブート情報とをディスクレスクライアントに回答する。
【0006】
この回答より、ディスクレスクライアントは、TFTPサーバから起動ファイル、起動ファイル用スクリプトを取得し、この取得した起動ファイルを実行することによりカーネルイメージをTFTPサーバから取得する。次に、ディスクレスクライアントは、この取得したカーネルを起動し、ファイルサーバに接続して、使用可能なファイルシステムをマウントして、ブートを完了する(例えば、特許文献1参照)。
【0007】
しかるに、IPネットワークが幾つかのサブネットから成るディスクレスブートシステムにおいて、ディスクレスクライアントのネットワーク情報、ブート情報を、あるサブネットのDHCPサーバに、DHCPサーバが存在するサブネットのネットワークアドレスに合わせて1つ登録したとしても、ディスクレスクライアントが異なるサブネットに移動した場合、移動先のサブネットのDHCPサーバには、移動してきたディスクレスクライアントの登録はなく、したがって、ディスクレスクライアントは、ネットワーク情報、ブート情報を取得できないことになる。
【0008】
このとき、異なるサブネットへのDHCPパケットの転送を行なうDHCPリレーエージェントをサブネット間に構築したとしても、移動するディスクレスクライアントは、移動元のサブネットのネットワークアドレスに合ったネットワーク情報については取得できるものの、移動先サブネットのネットワークアドレスに合ったネットワーク情報については取得できない。
【0009】
これから、移動するディスクレスクライアントへネットワーク情報、ブート情報を割り当てるためには、全サブネットにおいて、サブネット内のDHCPサーバに、サブネットのネットワークアドレスに合ったネットワーク情報、ブート情報を手動で登録するか、または、異なるサブネットへのDHCPパケットの転送を行なうDHCPリレーエージェントをサブネット間に構築し、ある1つのサブネットのDHCPサーバに、移動するディスクレスクライアント1つに対して、ネットワーク情報とブート情報とで構成される一対の情報を全サブネット分、手動で登録する必要がある。
【0010】
ここで、DHCPリレーエージェントとは、ルータやサーバ等に備えられており、異なるサブネットにあるクライアントとサーバとの間でDHCPパケットを転送する機能を有しており、このDHCPリレーエージェントには、転送先のDHCPサーバのIPアドレスが登録されており、一方、転送先のDHCPサーバには、DHCPリレーエージェントのIPアドレスが登録されている。
【0011】
DHCPリレーエージェントは、あるサブネット内でブロードキャストされたDHCPパケットを別サブネットのDHCPサーバに転送し、これを受けて、DHCPサーバは、その応答をDHCPリレーエージェントに返す。
【0012】
このDHCPパケットを転送する場合、DHCPリレーエージェントは、DHCPパケットのゲートウェイIPアドレス欄に、DHCPパケットを受信したDHCPリレーエージェントのネットワークインタフェースのIPアドレス(DHCPリレーエージェントのIPアドレス)を記述することになる。
【0013】
【特許文献1】
特開2002−169694
【0014】
【発明が解決しようとする課題】
しかしながら、従来技術については、次のような問題がある。
【0015】
すなわち、ディスクレスブートシステムにおいて、異なるサブネットに移動するディスクレスクライアントのネットワーク情報、ブート情報をDHCPサーバに対して手動で登録する場合、サブネットの数だけ登録する必要があり、時間がかかり、かつミスを招きやすいという問題がある。
【0016】
そして、移動するディスクレスクライアントのネットワーク情報、ブート情報をサブネット毎に管理することは、複雑で管理コストがかかるという問題がある。
【0017】
本発明はかかる事情に鑑みてなされたものであって、いくつかのサブネットから成るネットワークにより構築されたディスクレスブートシステムなどのようなシステムにおいて、異なるサブネットに移動するクライアントへの効率的なネットワーク情報、ブート情報の割り当てを実現する新たな技術の提供を目的とする。
【0018】
【課題を解決するための手段】
(イ)本発明のネットワーク情報割当装置の構成
上記目的を達成するために、本発明のネットワーク情報割当装置は、あるサブネットに存在するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してネットワーク情報を割り当てることを実現するために、(1)サブネット毎のネットワーク情報を記憶する記憶手段と、(2)サブネット間を流れるパケットが、クライアントの要求に応答してサーバに問い合わせを行うエージェントからサーバへ転送されるパケットであるのか、サーバからエージェントへ転送されるパケットであるのか、それ以外のパケットであるのかを検出する検出手段と、(3)サーバ宛のパケットであることが検出される場合に、記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、エージェント宛のパケットであることが検出される場合に、記憶手段からエージェントの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替える付け替え手段とを備えるように構成する。
【0019】
以上の各処理手段が動作することで実現される本発明のネットワーク情報割当方法はコンピュータプログラムで実現できるものであり、このコンピュータプログラムは、半導体メモリなどのような適当な記録媒体に記録して提供されたり、ネットワークを介して提供され、本発明を実施する際にインストールされてCPUなどの制御手段上で動作することにより本発明を実現することになる。
【0020】
このように構成される本発明のネットワーク情報割当装置では、サブネット間を流れるパケットが転送されてくると、そのパケットが、エージェントからサーバへ転送されるパケットであるのか、サーバからエージェントへ転送されるパケットであるのか、それ以外のパケットであるのかを検出する。
【0021】
そして、エージェントからサーバへ転送されるパケットが転送されてきたことを検出すると、記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替える。一方、サーバからエージェントへ転送されるパケットが転送されてきたことを検出すると、記憶手段からエージェントの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替える。
【0022】
このようにして、本発明のネットワーク情報割当装置によれば、いくつかのサブネットから成るネットワークにより構築されたディスクレスブートシステムなどのようなシステムにおいて、異なるサブネットに移動するクライアントに対して、ネットワーク情報を効率的に割り当てることができるようになる。
【0023】
(ロ)本発明のブート情報割当装置の構成
上記目的を達成するために、本発明のブート情報割当装置は、あるサブネットに存在してクライアントにブート情報を提供するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してブート情報を割り当てることを実現するために、(1)サブネット毎のネットワーク情報を記憶する記憶手段と、(2)サブネット間を流れるパケットが、クライアントの要求に応答してサーバにブート情報の問い合わせを行うエージェントからサーバへ転送されるブート情報の問い合わせパケットであるのか、その問い合わせに応答してサーバからエージェントへ転送されるブート情報の返答パケットであるのか、それ以外のパケットであるのかを検出する検出手段と、(3)問い合わせパケットであることが検出される場合に、記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、返答パケットであることを検出される場合に、記憶手段からエージェントの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替える付け替え手段とを備えるように構成する。
【0024】
以上の各処理手段が動作することで実現される本発明のブート情報割当方法はコンピュータプログラムで実現できるものであり、このコンピュータプログラムは、半導体メモリなどのような適当な記録媒体に記録して提供されたり、ネットワークを介して提供され、本発明を実施する際にインストールされてCPUなどの制御手段上で動作することにより本発明を実現することになる。
【0025】
このように構成される本発明のブート情報割当装置では、サブネット間を流れるパケットが転送されてくると、そのパケットが、エージェントからサーバへ転送されるブート情報の問い合わせパケットであるのか、その問い合わせに応答してサーバからエージェントへ転送されるブート情報の返答パケットであるのか、それ以外のパケットであるのかを検出する。
【0026】
そして、ブート情報の問い合わせパケットが転送されてきたことを検出すると、記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替える。一方、ブート情報の返答パケットが転送されてきたことを検出すると、記憶手段からエージェントの存在するサブネットのネットワーク情報を取得して、そのパケットの持つネットワーク情報をその取得したネットワーク情報に付け替える。
【0027】
このようにして、本発明のブート情報割当装置によれば、いくつかのサブネットから成るネットワークにより構築されたディスクレスブートシステムなどのようなシステムにおいて、異なるサブネットに移動するクライアントに対して、ブート情報を効率的に割り当てることができるようになる。
【0028】
次に、幾つかのサブネットから成り、それらのサブネット同士がルータまたはルーティング機能を持つサーバにより繋がれているIPネットワークにおいて、1つ以上のDHCPクライアント、1つ以上のDHCPサーバが存在する場合のシステムへの適用を具体例にして、本発明の構成について詳細に説明する。
【0029】
本発明では、あるMACアドレスを持つDHCPクライアントに対して、ある任意のサブネットのDHCPサーバが、そのDHCPサーバが存在するサブネットのIPアドレス、サブネットマスク、ルータアドレス、ブロードキャストアドレスのネットワーク情報を1つ割り当てる。このとき、DHCPクライアントがDHCPサーバと異なるサブネットに移動して、サブネット間に存在するDHCPリレーエージェントを介しDHCP問い合わせを行なった場合にも、移動先サブネットのネットワークアドレスに合ったネットワーク情報を自動的に割り当てることを実現する。
【0030】
この実現のために、本発明は、(1)サブネットからサブネットに流れるイーサネットフレームのうち、DHCPリレーエージェントを介して流れるDHCPパケットを含むイーサーネットフレームを、イーサーネットフレームのUDPヘッダーの送信ポート番号及び宛先ポート番号に記述されているポート番号より検出する処理を行う『DHCPパケット検出機能』と、(2)DHCPパケット検出機能により検出されたイーサーフレームのDHCPパケット内のクライアントIPアドレス、ユーザIPアドレス、サブネットマスク、ルータアドレス、ブロードキャストアドレス、要求IPアドレスがある場合には要求IPアドレスを、DHCPサーバ側のサブネットからDHCPクライアント側のサブネットにイーサーネットフレームが流れる場合には、DHCPクライアント側のサブネットのネットワークアドレスに合わせて付け替え、これとは逆に、DHCPクライアント側のサブネットからDHCPサーバ側のサブネットにイーサーネットフレームが流れる場合には、DHCPサーバ側のサブネットのネットワークアドレスに合わせて付け替える処理を行う『ネットワーク情報付け替え機能』と、(3)ネットワーク情報付け替え機能より参照されることになるサブネット毎のネットワーク情報を記憶する『ネットワーク情報記憶機能』とを備える。
【0031】
この構成に従って、本発明によれば、幾つかのサブネットから成り、それらのサブネット同士がルータまたはルーティング機能を持つサーバにより繋がれているIPネットワーク上に、1つ以上のディスクレスクライアント、1つ以上のDHCPサーバ、TFTPサーバ、ファイルサーバまたはiSCSIディスクを備えたディスクレスブートシステムにおいて、あるMACアドレスを持つディスクレスクライアントに対して、ある任意のサブネットのDHCPサーバが、そのDHCPサーバが存在するサブネットのIPアドレス、サブネットマスク、ルータアドレス、ブロードキャストアドレスのネットワーク情報と、ディスクレスブートに必要なブート情報とを1つ割り当てることにより、ディスクレスクライアントがDHCPサーバと異なるサブネットに移動して、サブネット間に存在するDHCPリレーエージェントを介しDHCP問い合わせを行なった場合にも、移動先サブネットのネットワークアドレスに合ったIPアドレス、サブネットマスク、ルータアドレス、ブロードキャストアドレスのネットワーク情報と、ディスクレスブートに必要なTFTPサーバのIPアドレス、起動ファイル名、起動ファイル用スクリプト名のブート情報とを自動的に割り当てることができるようになる。
【0032】
【発明の実施の形態】
次に、本発明について図面を参照して詳細に説明する。
【0033】
図1に、本発明の一実施形態例を図示する。
【0034】
図中、1は第1のサブネット(以下、サブネットAと称する)、2は第2のサブネット(以下、サブネットBと称する)、3はDHCPサーバ、4はTFTPサーバ、5はファイルサーバ、6はディスクレスクライアント、7は本発明を具備するルータ(ルーティング機能を持つサーバのこともある)である。
【0035】
ここで、図1では、サブネットAにDHCPサーバ3が存在していることを想定している。
【0036】
本発明を具備するルータ7は、DHCPパケット検出機能70と、ネットワーク情報付け替え機能71と、サブネットに対応付ける形で設けられるDHCPリレーエージェント72とを備える。
【0037】
DHCPパケット検出機能70は、サブネットAとサブネットBとの間を流れるイーサーネットフレーム(イーサーネットは登録商標)からDHCPパケットを含むイーサネットフレームを抽出して、ネットワーク情報付け替え機能71に送信する。それ以外のイーサーネットフレームについては、イーサーネットフレーム内のIPヘッダー内の宛先IPアドレスを確認して、サブネットAから流れてきたイーサーネットフレームについてはサブネットBへ流し、サブネットBから流れてきたイーサーネットフレームについてはサブネットAへ流す。
【0038】
DHCPパケット検出機能70は、具体的には、図2の処理フローに示すように、イーサネットフレーム内のIPヘッダー内のプロトコル欄がUDPで、かつ、UDPヘッダー内の送信ポート番号が67で宛先ポート番号が68であるか、あるいは、送信ポート番号が68で宛先ポート番号が67である場合のみ、DHCPパケットを含むイーサネットフレームとして抽出して、それをネットワーク情報付け替え機能71に送信するように処理する。
【0039】
ここで、UDPヘッダー内の送信ポート番号が67で宛先ポート番号が68であるパケットは、DHCPサーバ3からディスクレスクライアント6へ送信されるパケットであることを示しており、UDPヘッダー内の送信ポート番号が68で宛先ポート番号が67であるパケットは、ディスクレスクライアント6からDHCPサーバ3へ送信されるパケットであることを示している。
【0040】
ネットワーク情報付け替え機能71は、ネットワーク情報記憶テーブル710を保持して、このネットワーク情報記憶テーブル710を使って、サブネット間を流れるパケットのネットワーク情報の付け替え処理を実行する。
【0041】
ネットワーク情報記憶テーブル710は、具体的には、図3に示すように、サブネットAとサブネットBとについて、ネットワークアドレス、サブネットマスク、ルーターアドレス、ブロードキャストアドレス、DHCPサーバのIPアドレス、DHCPリレーエージェントのIPアドレスを記憶している。
【0042】
図4及び図5に、ネットワーク情報付け替え機能71の実行する処理フローを図示する。
【0043】
次に、これらの処理フローに従って、ネットワーク情報付け替え機能71の実行する処理について詳細に説明する。
【0044】
ネットワーク情報付け替え機能71は、DHCPパケット検出機能70より受信したイーサーネットフレームのうち、IPヘッダー内の宛先IPアドレス欄にDHCPサーバのIPアドレスが記載されている場合には、図4の処理フローに示すように、イーサーネットフレーム内のDHCPパケット内のクライアントIPアドレス、サブネットマスク、ルータアドレス、ブロードキャストアドレス、要求IPアドレスを、そのDHCPサーバのIPアドレスが記載されている方のサブネットのネットワークアドレス、サブネットマスク、ルーターアドレス、ブロードキャストアドレスに合わせて付け替えた後、DHCPパケット検出機能70にイーサーネットフレームを送信する。
【0045】
ただし、値が0の場合や、設定されていない場合には付け替えない。また、IPアドレスについては、IPアドレスの中にサブネットのネットワークアドレスを記述している箇所であるので、そこを付け替えることになる。
【0046】
一方、ネットワーク情報付け替え機能71は、DHCPパケット検出機能70より受信したイーサーネットフレームのうち、IPヘッダー内の宛先IPアドレス欄にDHCPリレーエージェントのIPアドレスが記載されている場合には、図5の処理フローに示すように、イーサーネットフレーム内のDHCPパケット内のクライアントIPアドレス、ユーザIPアドレス、サブネットマスク、ルータアドレス、ブロードキャストアドレスを、そのDHCPリレーエージェントのIPアドレスが記載されている方のサブネットのネットワークアドレス、サブネットマスク、ルーターアドレス、ブロードキャストアドレスに合わせて付け替えた後、DHCPパケット検出機能70にイーサーネットフレームを送信する。
【0047】
ただし、値が0の場合や、設定されていない場合には付け替えない。また、IPアドレスについては、IPアドレスの中にサブネットのネットワークアドレスを記述している箇所であるので、そこを付け替えることになる。
【0048】
このようにして、ネットワーク情報付け替え機能71は、図4及び図5の処理フローに従って、イーサーネットフレーム内のDHCPパケット内の値を付け替えた後、DHCPパケット検出機能70にイーサーネットフレームを送信するのである。
【0049】
これを受けて、DHCPパケット検出機能70は、イーサーネットフレーム内のIPヘッダー内の宛先IPアドレス、送信元IPアドレスを確認して、サブネットAから流れてきたイーサーネットフレームについてはサブネットBへ流し、サブネットBから流れてきたイーサーネットフレームについてはサブネットAへ流す。
【0050】
次に、このように構成される本発明を具備するルータ7の処理について具体的に説明する。
【0051】
例えば、あるディスクレスクライアントP(MACアドレス“PPPP”)に対して、DHCPサーバ3にて、IPアドレスを“192.168.10.101”、サブネットマスクを“255.255.255.0 ”、ルータアドレスを“192.168.10.1”、ブロードキャストアドレスを“192.168.10.255”、TFTPサーバ4のIPアドレスを“192.168.10.10 ”、起動ファイル名を“P0001”、起動ファイル用スクリプト名を“P0001”と設定したとする。
【0052】
このディスクレスクライアントPをサブネットBに移動して起動すると、まず、DHCP問い合わせを行なう。この問い合せは、サブネットB内でブロードキャストされ、DHCPリレーエージェント72が、サブネットAのDHCPサーバ3に転送する。
【0053】
サブネットAのDHCPサーバ3は、その回答をDHCPリレーエージェント72に返し、DHCPリレーエージェント72がブロードキャストすることにより、ディスクレスクライアント6がその回答を得る。
【0054】
このようにして、DHCPリレーエージェント72を介してDHCPサーバ3とやり取りをする間に、DHCPパケットを含むイーサーネットフレームは、DHCPパケット検出機能70に検出され、ネットワーク情報付け替え機能71によりネットワーク情報のみが付け替えられる。
【0055】
そして、図3を元にして付け替えられたとすると、ディスクレスクライアントP(MACアドレス“PPPP”)は、DHCPサーバ3との何回かのやり取り後、最終的に、IPアドレスが“192.168.20.101”、サブネットマスクが“255.255.255.0 ”、ルータアドレスが“192.168.20.1”、ブロードキャストアドレスが“192.168.20.255”という回答を得ることで、サブネットBのネットワークアドレスにあったネットワーク情報が自動的に得られることになる。
【0056】
さらに、TFTPサーバ4のIPアドレス、起動ファイル名、起動ファイル用スクリプト名のブート情報については付け替えられないため、TFTPサーバ4のIPアドレスが“192.168.10.10 ”、起動ファイル名が“P0001”、起動ファイル用スクリプト名が“P0001”という回答を得て、これらのブート情報を元にして、TFTPサーバ4から起動ファイル、起動ファイル用スクリプトを取得して、その取得した起動ファイルを実行することによりカーネルイメージをTFTPサーバ4から取得することができる。
【0057】
これから、ディスクレスクライアントP(MACアドレス“PPPP”)は、次にカーネルを起動し、ファイルサーバ5に接続して、使用可能なファイルシステムをマウントして、ブートを完了することになる。
【0058】
このようにして、異なるサブネットに移動するディスクレスクライアントのネットワーク情報、ブート情報をあるDHCPサーバに1つ登録することで、自動的に、ブート情報と移動先のサブネットのネットワークアドレスに合ったネットワーク情報とを取得できるため、作業が簡易になり、人手による投入ミスがなくなる。
【0059】
また、移動するディスクレスクライアントのネットワーク情報、ブート情報を1つのDHCPサーバで管理することにより、管理コストの削減が図れる。
【0060】
【発明の効果】
以上説明したように、本発明によれば、いくつかのサブネットから成るネットワークにより構築されたディスクレスブートシステムなどのようなシステムにおいて、異なるサブネットに移動するクライアントに対して、ネットワーク情報を効率的に割り当てることができるようになる。
【0061】
そして、本発明によれば、いくつかのサブネットから成るネットワークにより構築されたディスクレスブートシステムなどのようなシステムにおいて、異なるサブネットに移動するクライアントに対して、ブート情報を効率的に割り当てることができるようになる。
【図面の簡単な説明】
【図1】本発明の一実施形態例である。
【図2】DHCPパケット検出機能の実行する処理フローである。
【図3】ネットワーク情報記憶テーブルのテーブルデータの一例を示す図である。
【図4】ネットワーク情報付け替え機能の実行する処理フローである。
【図5】ネットワーク情報付け替え機能の実行する処理フローである。
【符号の説明】
1 第1のサブネット
2 第2のサブネット
3 DHCPサーバ
4 TFTPサーバ
5 ファイルサーバ
6 ディスクレスクライアント
7 ルータ
70 DHCPパケット検出機能
71 ネットワーク情報付け替え機能
72 DHCPリレーエージェント
710 ネットワーク情報記憶テーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a network information allocation method and apparatus for allocating network information to a client, a network information allocation program used for realizing the network information allocation technique, a recording medium storing the program, and a boot for the client The present invention relates to a boot information assignment method and apparatus for assigning information, a boot information assignment program used for realizing the boot information assignment technique, and a recording medium on which the program is recorded.
[0002]
There is a system including a server that exists in a certain subnet and provides boot information to a client, and a client that moves between subnets.
[0003]
The present invention relates to a network information allocation technique and a boot information allocation technique used in such a system, and more specifically to an allocation technique for network information and boot information to a diskless client in a diskless boot system. It is.
[0004]
[Prior art]
Conventionally, in a diskless boot system in which a diskless client, a DHCP server (DHCP: dynamic host configuration protocol), a TFTP server (TFTP: simple file transfer protocol), and a file server are connected to an IP network, the diskless to boot First, the client makes an inquiry to the DHCP server.
[0005]
Upon receiving the inquiry, the DHCP server identifies the inquired diskless client by the MAC address of the diskless client, network information such as the IP address, subnet mask, router address, and broadcast address assigned to the diskless client, and the IP address and activation of the TFTP server. The boot information necessary for the diskless boot such as the file name and the script name for the start file is returned to the diskless client.
[0006]
From this answer, the diskless client acquires a startup file and a startup file script from the TFTP server, and acquires a kernel image from the TFTP server by executing the acquired startup file. Next, the diskless client activates the acquired kernel, connects to a file server, mounts an available file system, and completes booting (see, for example, Patent Document 1).
[0007]
However, in a diskless boot system in which the IP network is composed of several subnets, it is assumed that the network information and boot information of the diskless client are registered in the DHCP server of a certain subnet according to the network address of the subnet in which the DHCP server exists. However, when a diskless client moves to a different subnet, the moved diskless client is not registered in the DHCP server of the destination subnet, and therefore the diskless client cannot acquire network information and boot information.
[0008]
At this time, even if a DHCP relay agent that transfers DHCP packets to different subnets is constructed between subnets, the moving diskless client can acquire network information that matches the network address of the source subnet, Network information that matches the network address of the destination subnet cannot be acquired.
[0009]
From now on, in order to assign network information and boot information to the moving diskless client, in all subnets, manually register the network information and boot information matching the subnet network address with the DHCP server in the subnet, or A DHCP relay agent that transfers DHCP packets to different subnets is constructed between subnets, and a pair consisting of network information and boot information for a single diskless client that moves to a DHCP server in one subnet. Must be registered manually for all subnets.
[0010]
Here, the DHCP relay agent is provided in a router, a server, or the like, and has a function of transferring a DHCP packet between a client and a server in different subnets. The IP address of the previous DHCP server is registered, while the IP address of the DHCP relay agent is registered in the transfer destination DHCP server.
[0011]
The DHCP relay agent transfers a DHCP packet broadcast in a certain subnet to a DHCP server in another subnet, and in response to this, the DHCP server returns a response to the DHCP relay agent.
[0012]
When transferring this DHCP packet, the DHCP relay agent describes the IP address of the network interface of the DHCP relay agent that received the DHCP packet (IP address of the DHCP relay agent) in the gateway IP address field of the DHCP packet. .
[0013]
[Patent Document 1]
JP 2002-169694 A
[0014]
[Problems to be solved by the invention]
However, the conventional technique has the following problems.
[0015]
That is, in a diskless boot system, when manually registering network information and boot information of a diskless client that moves to a different subnet to the DHCP server, it is necessary to register the number of subnets, which takes time and causes mistakes. There is a problem that it is easy.
[0016]
In addition, managing the network information and boot information of the moving diskless client for each subnet has a problem that it is complicated and requires management costs.
[0017]
The present invention has been made in view of such circumstances, and in a system such as a diskless boot system constructed by a network composed of several subnets, efficient network information for clients moving to different subnets, The purpose is to provide a new technology for realizing the allocation of boot information.
[0018]
[Means for Solving the Problems]
(A) Configuration of network information allocation apparatus of the present invention
In order to achieve the above object, the network information allocating device of the present invention is used in a system including a server existing in a certain subnet and a client moving between subnets, and allocates network information to the client. (1) Storage means for storing network information for each subnet, and (2) packets flowing between subnets are transferred from the agent inquiring to the server in response to the client request to the server. Detecting means for detecting whether it is a packet, a packet transferred from the server to the agent, or any other packet, and (3) a storage means when it is detected that the packet is addressed to the server Obtain the network information of the subnet where the server exists from The network information of the packet is replaced with the acquired network information. On the other hand, when it is detected that the packet is addressed to the agent, the network information of the subnet where the agent exists is obtained from the storage means, and the packet has A replacement means for replacing the network information with the acquired network information is provided.
[0019]
The network information allocating method of the present invention realized by the operation of each of the above processing means can be realized by a computer program, and this computer program is recorded on an appropriate recording medium such as a semiconductor memory and provided. Or provided via a network, installed when implementing the present invention, and operated on a control means such as a CPU, thereby realizing the present invention.
[0020]
In the network information allocating device of the present invention configured as described above, when a packet flowing between subnets is transferred, the packet is transferred from the agent to the server or transferred from the server to the agent. It is detected whether it is a packet or another packet.
[0021]
When detecting that the packet transferred from the agent to the server has been transferred, the network information of the subnet in which the server exists is acquired from the storage means, and the network information of the packet is replaced with the acquired network information. . On the other hand, when it is detected that a packet transferred from the server to the agent has been transferred, the network information of the subnet where the agent exists is acquired from the storage means, and the network information of the packet is replaced with the acquired network information. .
[0022]
In this way, according to the network information allocating device of the present invention, in a system such as a diskless boot system constructed by a network composed of several subnets, network information is sent to clients moving to different subnets. It becomes possible to allocate efficiently.
[0023]
(B) Configuration of the boot information allocation device of the present invention
In order to achieve the above object, a boot information allocating device of the present invention is used in a system including a server that exists in a certain subnet and provides boot information to a client and a client that moves between subnets. (1) storage means for storing network information for each subnet, and (2) a packet flowing between subnets is sent to the server in response to a client request. Whether it is a boot information inquiry packet transferred from the agent that makes the inquiry to the server, a response packet of boot information that is transferred from the server to the agent in response to the inquiry, or any other packet Detecting means for detecting; (3) an inquiry packet; Is detected, the network information of the subnet where the server exists is acquired from the storage means, the network information of the packet is replaced with the acquired network information, and on the other hand, it is detected that it is a reply packet In this case, the information processing apparatus is configured to include network information of a subnet in which the agent exists from the storage means, and replacement means for replacing the network information of the packet with the acquired network information.
[0024]
The boot information assignment method of the present invention realized by the operation of each of the above processing means can be realized by a computer program, and this computer program is recorded on an appropriate recording medium such as a semiconductor memory and provided. Or provided via a network, installed when implementing the present invention, and operated on a control means such as a CPU, thereby realizing the present invention.
[0025]
In the boot information allocating device of the present invention configured as described above, when a packet flowing between subnets is transferred, whether or not the packet is a boot information inquiry packet transferred from the agent to the server. In response, it detects whether it is a reply packet of boot information transferred from the server to the agent or any other packet.
[0026]
When it is detected that the boot information inquiry packet has been transferred, the network information of the subnet in which the server exists is acquired from the storage means, and the network information of the packet is replaced with the acquired network information. On the other hand, when it is detected that the response packet of the boot information has been transferred, the network information of the subnet in which the agent exists is acquired from the storage means, and the network information of the packet is replaced with the acquired network information.
[0027]
In this way, according to the boot information assigning device of the present invention, in a system such as a diskless boot system constructed by a network composed of several subnets, boot information is sent to clients moving to different subnets. It becomes possible to allocate efficiently.
[0028]
Next, a system in which there are one or more DHCP clients and one or more DHCP servers in an IP network which is composed of several subnets and these subnets are connected by a router or a server having a routing function The configuration of the present invention will be described in detail with reference to a specific example.
[0029]
In the present invention, for a DHCP client having a certain MAC address, a DHCP server in a certain arbitrary subnet assigns one piece of network information of the IP address, subnet mask, router address, and broadcast address of the subnet in which the DHCP server exists. . At this time, even when the DHCP client moves to a different subnet from the DHCP server and makes a DHCP inquiry via the DHCP relay agent existing between the subnets, the network information matching the network address of the destination subnet is automatically obtained. Realize the allocation.
[0030]
In order to realize this, the present invention provides (1) an Ethernet frame including a DHCP packet flowing through a DHCP relay agent among Ethernet frames flowing from a subnet to a subnet, a transmission port number of a UDP header of the Ethernet frame, and “DHCP packet detection function” that performs detection from the port number described in the destination port number; and (2) client IP address, user IP address in the DHCP packet of the Ethernet frame detected by the DHCP packet detection function, If there is a subnet mask, router address, broadcast address, and requested IP address, the requested IP address is transferred from the subnet on the DHCP server side to the subnet on the DHCP client side. If the Ethernet frame flows from the DHCP client-side subnet to the DHCP server-side subnet, the DHCP server-side subnet is switched. A “network information replacement function” for performing a replacement process according to the network address, and (3) a “network information storage function” for storing network information for each subnet to be referred to by the network information replacement function.
[0031]
According to this configuration, according to the present invention, one or more diskless clients, one or more on an IP network consisting of several subnets, which are connected by a router or a server having a routing function. In a diskless boot system including a DHCP server, a TFTP server, a file server, or an iSCSI disk, for a diskless client having a certain MAC address, a DHCP server in an arbitrary subnet has an IP address of a subnet in which the DHCP server exists, By assigning one piece of network information of subnet mask, router address, and broadcast address and boot information necessary for diskless boot, a diskless client can become a DHCP server. Even when a DHCP inquiry is made through a DHCP relay agent existing between subnets, the network information of the IP address, subnet mask, router address, and broadcast address that matches the network address of the destination subnet Thus, it becomes possible to automatically assign the TFTP server IP address, the startup file name, and the boot information of the startup file script name necessary for the diskless boot.
[0032]
DETAILED DESCRIPTION OF THE INVENTION
Next, the present invention will be described in detail with reference to the drawings.
[0033]
FIG. 1 illustrates an example embodiment of the present invention.
[0034]
In the figure, 1 is a first subnet (hereinafter referred to as subnet A), 2 is a second subnet (hereinafter referred to as subnet B), 3 is a DHCP server, 4 is a TFTP server, 5 is a file server, and 6 is A diskless client 7 is a router (which may be a server having a routing function) having the present invention.
[0035]
Here, in FIG. 1, it is assumed that the DHCP server 3 exists in the subnet A.
[0036]
The router 7 having the present invention includes a DHCP packet detection function 70, a network information replacement function 71, and a DHCP relay agent 72 provided in association with a subnet.
[0037]
The DHCP packet detection function 70 extracts an Ethernet frame including a DHCP packet from an Ethernet frame (Ethernet is a registered trademark) flowing between the subnet A and the subnet B, and transmits the Ethernet frame to the network information replacement function 71. For the other Ethernet frames, the destination IP address in the IP header in the Ethernet frame is confirmed, and the Ethernet frame that has flowed from subnet A is flowed to subnet B, and the Ethernet that has flowed from subnet B The frame is sent to subnet A.
[0038]
Specifically, as shown in the processing flow of FIG. 2, the DHCP packet detection function 70 is configured such that the protocol column in the IP header in the Ethernet frame is UDP, the transmission port number in the UDP header is 67, and the destination port. Only when the number is 68, or when the transmission port number is 68 and the destination port number is 67, an Ethernet frame including a DHCP packet is extracted and processed so as to be transmitted to the network information reassigning function 71 .
[0039]
Here, the packet having the transmission port number 67 in the UDP header and the destination port number 68 indicates that the packet is transmitted from the DHCP server 3 to the diskless client 6, and the transmission port number in the UDP header. , 68 and the destination port number 67 indicates that the packet is transmitted from the diskless client 6 to the DHCP server 3.
[0040]
The network information replacement function 71 holds a network information storage table 710 and uses this network information storage table 710 to execute a network information replacement process for packets flowing between subnets.
[0041]
Specifically, as shown in FIG. 3, the network information storage table 710 includes a network address, a subnet mask, a router address, a broadcast address, an IP address of a DHCP server, and an IP address of a DHCP relay agent for the subnet A and the subnet B. I remember the address.
[0042]
4 and 5 show a processing flow executed by the network information replacement function 71. FIG.
[0043]
Next, processing executed by the network information replacement function 71 will be described in detail according to these processing flows.
[0044]
When the IP address of the DHCP server is described in the destination IP address column in the IP header in the Ethernet frame received from the DHCP packet detection function 70, the network information reassigning function 71 performs the processing flow of FIG. As shown, the client IP address, subnet mask, router address, broadcast address, request IP address in the DHCP packet in the Ethernet frame, the network address of the subnet in which the IP address of the DHCP server is described, the subnet After changing according to the mask, router address, and broadcast address, an Ethernet frame is transmitted to the DHCP packet detection function 70.
[0045]
However, if the value is 0 or not set, no replacement is made. Further, since the IP address is a part where the network address of the subnet is described in the IP address, it will be replaced.
[0046]
On the other hand, when the IP address of the DHCP relay agent is described in the destination IP address column in the IP header in the Ethernet frame received from the DHCP packet detecting function 70, the network information reassigning function 71 is shown in FIG. As shown in the processing flow, the client IP address, user IP address, subnet mask, router address, and broadcast address in the DHCP packet in the Ethernet frame are stored in the subnet in which the IP address of the DHCP relay agent is described. After changing according to the network address, subnet mask, router address, and broadcast address, the Ethernet frame is transmitted to the DHCP packet detection function 70.
[0047]
However, if the value is 0 or not set, no replacement is made. Further, since the IP address is a part where the network address of the subnet is described in the IP address, it will be replaced.
[0048]
In this way, the network information reassignment function 71 transmits the Ethernet frame to the DHCP packet detection function 70 after reassigning the value in the DHCP packet in the Ethernet frame according to the processing flow of FIGS. 4 and 5. is there.
[0049]
In response to this, the DHCP packet detection function 70 confirms the destination IP address and the source IP address in the IP header in the Ethernet frame, and flows the Ethernet frame flowing from the subnet A to the subnet B. The Ethernet frame flowing from the subnet B is sent to the subnet A.
[0050]
Next, the processing of the router 7 having the present invention configured as described above will be specifically described.
[0051]
For example, for a certain diskless client P (MAC address “PPPP”), the DHCP server 3 has an IP address “192.168.10.101”, a subnet mask “255.255.255.0”, a router address “192.168.10.1”, Assume that the broadcast address is set to “192.168.10.255”, the IP address of the TFTP server 4 is set to “192.168.10.10”, the startup file name is set to “P0001”, and the startup file script name is set to “P0001”.
[0052]
When this diskless client P is moved to the subnet B and activated, first, a DHCP inquiry is performed. This inquiry is broadcast in the subnet B, and the DHCP relay agent 72 forwards it to the DHCP server 3 in the subnet A.
[0053]
The DHCP server 3 in the subnet A returns the answer to the DHCP relay agent 72, and the DHCP relay agent 72 broadcasts, so that the diskless client 6 obtains the answer.
[0054]
In this way, while exchanging with the DHCP server 3 via the DHCP relay agent 72, the Ethernet frame including the DHCP packet is detected by the DHCP packet detection function 70, and only the network information is detected by the network information replacement function 71. Can be replaced.
[0055]
If the diskless client P (MAC address “PPPP”) is exchanged with the DHCP server 3 several times, the IP address is finally “192.168.20.101”. Obtaining the answer that the subnet mask is “255.255.255.0”, the router address is “192.168.20.1”, and the broadcast address is “192.168.20.255”, the network information that matches the network address of subnet B is automatically obtained. become.
[0056]
Furthermore, since the boot information of the TFTP server 4 IP address, startup file name, and startup file script name cannot be changed, the IP address of the TFTP server 4 is “192.168.10.10”, the startup file name is “P0001”, and startup A kernel is obtained by obtaining an answer that the file script name is “P0001”, acquiring a startup file and a startup file script from the TFTP server 4 based on the boot information, and executing the acquired startup file. An image can be acquired from the TFTP server 4.
[0057]
From now on, the diskless client P (MAC address “PPPP”) starts the kernel next, connects to the file server 5, mounts an available file system, and completes booting.
[0058]
In this way, by registering one network information and boot information of a diskless client moving to a different subnet with a certain DHCP server, network information matching the boot information and the network address of the destination subnet is automatically updated. This makes it easy to work and eliminates manual input errors.
[0059]
Also, the management cost can be reduced by managing the network information and boot information of the moving diskless client with one DHCP server.
[0060]
【The invention's effect】
As described above, according to the present invention, in a system such as a diskless boot system constructed by a network composed of several subnets, network information is efficiently allocated to clients moving to different subnets. Will be able to.
[0061]
According to the present invention, in a system such as a diskless boot system constructed by a network composed of several subnets, boot information can be efficiently allocated to clients moving to different subnets. become.
[Brief description of the drawings]
FIG. 1 is an example of an embodiment of the present invention.
FIG. 2 is a processing flow executed by a DHCP packet detection function.
FIG. 3 is a diagram illustrating an example of table data of a network information storage table.
FIG. 4 is a processing flow executed by a network information replacement function.
FIG. 5 is a processing flow executed by a network information replacement function.
[Explanation of symbols]
1 First subnet
2 Second subnet
3 DHCP server
4 TFTP server
5 File server
6 Diskless client
7 routers
70 DHCP packet detection function
71 Network information replacement function
72 DHCP relay agent
710 Network information storage table

Claims (8)

あるサブネットに存在するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してネットワーク情報を割り当てる装置であって、
サブネット毎のネットワーク情報を記憶する記憶手段と、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバに問い合わせを行うエージェントからサーバへ転送されるパケットであるのか、サーバから該エージェントへ転送されるパケットであるのか、それ以外のパケットであるのかを検出する検出手段と、
上記サーバ宛のパケットである場合に、上記記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記エージェント宛のパケットである場合に、上記記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替える付け替え手段とを備えることを、
特徴とするネットワーク情報割当装置。
A device for assigning network information to a client, used in a system composed of a server existing in a certain subnet and a client moving between subnets,
Storage means for storing network information for each subnet;
Packets that flow between subnets are packets that are transferred from the agent that makes an inquiry to the server in response to a client request, are packets that are transferred from the server to the agent, or other packets Detecting means for detecting whether or not
If the packet is addressed to the server, the network information of the subnet in which the server exists is acquired from the storage means, and the network information of the packet is replaced with the acquired network information, while the packet addressed to the agent is In some cases, the network information of the subnet in which the agent exists is acquired from the storage means, and a replacement means for replacing the network information of the packet with the acquired network information,
A network information allocating device as a feature.
あるサブネットに存在するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してネットワーク情報を割り当てる方法であって、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバに問い合わせを行うエージェントからサーバへ転送されるパケットであるのか、サーバから該エージェントへ転送されるパケットであるのか、それ以外のパケットであるのかを検出する過程と、
上記サーバ宛のパケットである場合に、サブネット毎のネットワーク情報を記憶する記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記エージェント宛のパケットである場合に、該記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替える過程とを備えることを、
特徴とするネットワーク情報割当方法。
A method for assigning network information to a client, used in a system composed of a server existing in a subnet and a client moving between subnets,
Packets that flow between subnets are packets that are transferred from the agent that makes an inquiry to the server in response to a client request, are packets that are transferred from the server to the agent, or other packets The process of detecting whether or not
If the packet is addressed to the server, the network information of the subnet in which the server exists is acquired from the storage means for storing the network information for each subnet, and the network information of the packet is replaced with the acquired network information. Obtaining the network information of the subnet in which the agent exists from the storage means when the packet is addressed to the agent, and replacing the network information of the packet with the acquired network information.
A characteristic network information allocation method.
あるサブネットに存在するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してネットワーク情報を割り当てる処理を行うネットワーク情報割当プログラムであって、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバに問い合わせを行うエージェントからサーバへ転送されるパケットであるのか、サーバから該エージェントへ転送されるパケットであるのか、それ以外のパケットであるのかを検出する処理と、
上記サーバ宛のパケットである場合に、サブネット毎のネットワーク情報を記憶する記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記エージェント宛のパケットである場合に、該記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替える処理とをコンピュータに実行させるネットワーク情報割当プログラム。
A network information allocation program that is used in a system composed of a server that exists in a certain subnet and a client that moves between subnets, and that performs processing to allocate network information to the client,
Packets that flow between subnets are packets that are transferred from the agent that makes an inquiry to the server in response to a client request, are packets that are transferred from the server to the agent, or other packets The process of detecting whether
If the packet is addressed to the server, the network information of the subnet in which the server exists is acquired from the storage means for storing the network information for each subnet, and the network information of the packet is replaced with the acquired network information. When the packet is addressed to the agent, the computer executes processing for acquiring network information of the subnet in which the agent exists from the storage unit and replacing the network information of the packet with the acquired network information. Network information allocation program.
あるサブネットに存在するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してネットワーク情報を割り当てる処理を行うネットワーク情報割当プログラムを記録した記録媒体であって、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバに問い合わせを行うエージェントからサーバへ転送されるパケットであるのか、サーバから該エージェントへ転送されるパケットであるのか、それ以外のパケットであるのかを検出する処理と、
上記サーバ宛のパケットである場合に、サブネット毎のネットワーク情報を記憶する記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記エージェント宛のパケットである場合に、該記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替える処理とをコンピュータに実行させるネットワーク情報割当プログラムを記録した記録媒体。
A recording medium recording a network information allocation program for performing a process of allocating network information to a client, used in a system composed of a server existing in a certain subnet and a client moving between subnets,
Packets that flow between subnets are packets that are transferred from the agent that makes an inquiry to the server in response to a client request, are packets that are transferred from the server to the agent, or other packets The process of detecting whether
If the packet is addressed to the server, the network information of the subnet in which the server exists is acquired from the storage means for storing the network information for each subnet, and the network information of the packet is replaced with the acquired network information. When the packet is addressed to the agent, the computer executes processing for acquiring network information of the subnet in which the agent exists from the storage unit and replacing the network information of the packet with the acquired network information. A recording medium on which a network information allocation program is recorded.
あるサブネットに存在してクライアントにブート情報を提供するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してブート情報を割り当てる装置であって、
サブネット毎のネットワーク情報を記憶する記憶手段と、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバにブート情報の問い合わせを行うエージェントからサーバへ転送されるブート情報の問い合わせパケットであるのか、その問い合わせに応答してサーバから該エージェントへ転送されるブート情報の返答パケットであるのか、それ以外のパケットであるのかを検出する検出手段と、
上記問い合わせパケットである場合に、上記記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記返答パケットである場合に、上記記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替える付け替え手段とを備えることを、
特徴とするブート情報割当装置。
A device that is used in a system including a server that exists in a certain subnet and provides boot information to a client and a client that moves between subnets, and assigns boot information to the client.
Storage means for storing network information for each subnet;
Whether the packet that flows between subnets is a boot information inquiry packet that is transferred from the agent that inquires boot information to the server in response to a client request, and is transferred from the server to the agent in response to the inquiry Detecting means for detecting whether it is a response packet of the boot information to be sent or a packet other than that,
If it is the inquiry packet, the network information of the subnet in which the server exists is acquired from the storage means, and the network information of the packet is replaced with the acquired network information. Obtaining the network information of the subnet in which the agent exists from the storage means, and providing a replacement means for replacing the network information of the packet with the acquired network information,
A boot information allocating device as a feature.
あるサブネットに存在してクライアントにブート情報を提供するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してブート情報を割り当てる方法であって、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバにブート情報の問い合わせを行うエージェントからサーバへ転送されるブート情報の問い合わせパケットであるのか、その問い合わせに応答してサーバから該エージェントへ転送されるブート情報の返答パケットであるのか、それ以外のパケットであるのかを検出する過程と、
上記問い合わせパケットである場合に、サブネット毎のネットワーク情報を記憶する記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記返答パケットである場合に、該記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替える過程とを備えることを、
特徴とするブート情報割当方法。
A method of assigning boot information to a client, used in a system comprising a server that exists in a subnet and provides boot information to a client and a client that moves between subnets,
Whether the packet that flows between subnets is a boot information inquiry packet that is transferred from the agent that inquires boot information to the server in response to a client request, and is transferred from the server to the agent in response to the inquiry Detecting whether it is a response packet of the boot information to be sent or a packet other than that,
In the case of the inquiry packet, the network information of the subnet in which the server exists is acquired from the storage means for storing the network information for each subnet, and the network information of the packet is replaced with the acquired network information. Obtaining a network information of the subnet in which the agent is present from the storage means in the case of a reply packet, and replacing the network information of the packet with the acquired network information.
A characteristic boot information allocation method.
あるサブネットに存在してクライアントにブート情報を提供するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してブート情報を割り当てる処理を行うブート情報割当プログラムであって、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバにブート情報の問い合わせを行うエージェントからサーバへ転送されるブート情報の問い合わせパケットであるのか、その問い合わせに応答してサーバから該エージェントへ転送されるブート情報の返答パケットであるのか、それ以外のパケットであるのかを検出する処理と、
上記問い合わせパケットである場合に、サブネット毎のネットワーク情報を記憶する記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記返答パケットである場合に、該記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替えるとをコンピュータに実行させるブート情報割当プログラム。
A boot information allocation program that is used in a system comprising a server that exists in a subnet and provides boot information to a client and a client that moves between subnets, and performs a process of assigning boot information to the client. ,
Whether the packet that flows between subnets is a boot information inquiry packet that is transferred from the agent that inquires boot information to the server in response to a client request, and is transferred from the server to the agent in response to the inquiry Processing to detect whether it is a response packet of the boot information to be sent or other packets,
In the case of the inquiry packet, the network information of the subnet in which the server exists is acquired from the storage means for storing the network information for each subnet, and the network information of the packet is replaced with the acquired network information. A boot information allocation program that, when a reply packet, causes a computer to acquire network information of a subnet in which the agent exists from the storage unit and replace the network information of the packet with the acquired network information.
あるサブネットに存在してクライアントにブート情報を提供するサーバとサブネット間を移動するクライアントとで構成されるシステムで用いられて、クライアントに対してブート情報を割り当てる処理を行うブート情報割当プログラムを記録した記録媒体であって、
サブネット間を流れるパケットが、クライアントの要求に応答してサーバにブート情報の問い合わせを行うエージェントからサーバへ転送されるブート情報の問い合わせパケットであるのか、その問い合わせに応答してサーバから該エージェントへ転送されるブート情報の返答パケットであるのか、それ以外のパケットであるのかを検出する処理と、
上記問い合わせパケットである場合に、サブネット毎のネットワーク情報を記憶する記憶手段からサーバの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替え、一方、上記返答パケットである場合に、該記憶手段から上記エージェントの存在するサブネットのネットワーク情報を取得して、該パケットの持つネットワーク情報をその取得したネットワーク情報に付け替えるとをコンピュータに実行させるブート情報割当プログラムを記録した記録媒体。
Recorded a boot information allocation program that is used in a system that consists of a server that exists in a subnet and provides boot information to the client and a client that moves between subnets, and that assigns boot information to the client. A recording medium,
Whether the packet that flows between subnets is a boot information inquiry packet that is transferred from the agent that inquires boot information to the server in response to a client request, and is transferred from the server to the agent in response to the inquiry Processing to detect whether it is a response packet of the boot information to be sent or other packets,
In the case of the inquiry packet, the network information of the subnet in which the server exists is acquired from the storage means for storing the network information for each subnet, and the network information of the packet is replaced with the acquired network information. A boot information allocation program for causing a computer to acquire network information of a subnet in which the agent is present from the storage means and to replace the network information of the packet with the acquired network information when the packet is a reply packet Recorded recording medium.
JP2003138116A 2003-05-16 2003-05-16 Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program Expired - Fee Related JP3971341B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003138116A JP3971341B2 (en) 2003-05-16 2003-05-16 Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003138116A JP3971341B2 (en) 2003-05-16 2003-05-16 Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program

Publications (2)

Publication Number Publication Date
JP2004343465A JP2004343465A (en) 2004-12-02
JP3971341B2 true JP3971341B2 (en) 2007-09-05

Family

ID=33527580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003138116A Expired - Fee Related JP3971341B2 (en) 2003-05-16 2003-05-16 Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program

Country Status (1)

Country Link
JP (1) JP3971341B2 (en)

Also Published As

Publication number Publication date
JP2004343465A (en) 2004-12-02

Similar Documents

Publication Publication Date Title
JP4664143B2 (en) Packet transfer apparatus, communication network, and packet transfer method
US20080028071A1 (en) Communication load reducing method and computer system
US7046666B1 (en) Method and apparatus for communicating between divergent networks using media access control communications
US6061739A (en) Network address assignment using physical address resolution protocols
US8429304B2 (en) Information processing apparatus and communication control method
US20090063706A1 (en) Combined Layer 2 Virtual MAC Address with Layer 3 IP Address Routing
JP5220920B2 (en) Method, apparatus, and software for a client application program to access a server application program instance over an Internet Protocol (IP) network
JP2009278261A (en) Information processing device and communication control method
US20050271049A1 (en) DHCP cache method and apparatus
EP1615405A2 (en) Power saving in wireless packet based networks by selective broadcast filtering
US9118721B1 (en) Socket-based internet protocol for wireless networks
KR100894921B1 (en) Apparatus and method of coordinating network events
CN109076022B (en) Network address conversion device, setting request device, communication system, communication method, and storage medium storing program
JP3812285B2 (en) Network system and network equipment
EP2380335B1 (en) Systems and methods for recovering from the failure of a gateway server
JP5813534B2 (en) Program, method and physical server for assigning addresses to virtual machines
JP3971341B2 (en) Network information allocation apparatus and method, network information allocation program and recording medium recording the program, boot information allocation apparatus and method, boot information allocation program and recording medium recording the program
JP3892235B2 (en) Automatic address assignment method
JP4745008B2 (en) Client device, server device, and communication system
WO2017219777A1 (en) Packet processing method and device
US7089334B2 (en) Intelligent network interface port for visiting computers
CN107295113B (en) Network configuration method, switch and server
KR100942719B1 (en) Apparatus having Dynamic Host Configuration Protocol - Snooping function
JP3775378B2 (en) Firewall system that supports dynamic IP address assignment
WO2019142327A1 (en) Relay device and relay method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070404

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070605

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070607

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

Year of fee payment: 3

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

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

Free format text: PAYMENT UNTIL: 20100615

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120615

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130615

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees