JP2005210554A - Dhcp substitute server - Google Patents
Dhcp substitute server Download PDFInfo
- Publication number
- JP2005210554A JP2005210554A JP2004016505A JP2004016505A JP2005210554A JP 2005210554 A JP2005210554 A JP 2005210554A JP 2004016505 A JP2004016505 A JP 2004016505A JP 2004016505 A JP2004016505 A JP 2004016505A JP 2005210554 A JP2005210554 A JP 2005210554A
- Authority
- JP
- Japan
- Prior art keywords
- dhcp
- setting information
- server
- proxy server
- client
- 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
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明はDHCP代理サーバに関し、IP(Internet Protocol)ネットワークに一時的に接続するコンピュータ(DHCPクライアント)に対して、接続に必要なIPアドレスやゲートウェイアドレス等の設定情報を自動的に通知するプロトコルであるDHCP(Dynamic Host Configuration Protocol)の機能を実装し、上位のDHCPサーバに代わってDHCPクライアントにIPアドレス等の設定情報を割り当てて通知する装置に関する。 The present invention relates to a DHCP proxy server, which is a protocol for automatically notifying setting information such as an IP address and a gateway address necessary for connection to a computer (DHCP client) temporarily connected to an IP (Internet Protocol) network. The present invention relates to an apparatus that implements a function of a certain Dynamic Host Configuration Protocol (DHCP), and assigns and notifies setting information such as an IP address to a DHCP client in place of a higher-level DHCP server.
ADSL(Asymmetric Digital Subscriber Line)や光ファイバ等によるブロードバンド回線の普及に伴い、任意の場所からネットワークに接続可能な通信環境が整備されつつある。ユーザコンピュータをネットワークに接続して通信する場合、まず、ネットワークとの接続に必要なIPアドレスを該コンピュータに設定しなければならない。 With the widespread use of broadband lines such as ADSL (Asymmetric Digital Subscriber Line) and optical fibers, a communication environment that can connect to a network from any place is being prepared. When communicating by connecting a user computer to a network, first, an IP address necessary for connection to the network must be set in the computer.
ネットワークに接続するコンピュータに設定するIPアドレスを動的に割り当て、ゲートウェイアドレスやDNSサーバアドレスなどの設定情報を該コンピュータに通知する技術として、DHCPシステムが規定されている(IPv4:RFC2131,IPv6:RFC3315)。 The DHCP system is defined as a technique for dynamically assigning an IP address to be set to a computer connected to a network and notifying the computer of setting information such as a gateway address and a DNS server address (IPv4: RFC2131, IPv6: RFC3315). ).
DHCPシステムは、DHCPサーバとDHCPクライアント(ユーザコンピュータ)とから構成され、DHCPサーバには予めそのネットワークのネットワークアドレス、ネットマスク、DHCPクライアントに割り当て可能なIPアドレスの範囲、ゲートウェイアドレス、DNSサーバアドレス等を設定しておき、DHCPクライアントがネットワーク接続に参加する際にブロードキャストにより送出する設定要求をDHCPサーバで受け取り、DHCPサーバは設定可能な範囲のIPアドレスの中から未使用のIPアドレスを該DHCPクライアントに貸し出し、以降、該DHCPクライアントはこの貸し出されたIPアドレスを一定期間使用してネットワークとの接続を行う。 The DHCP system is composed of a DHCP server and a DHCP client (user computer). The DHCP server has a network address, a netmask, a range of IP addresses that can be assigned to the DHCP client, a gateway address, a DNS server address, etc. The DHCP server receives a setting request transmitted by broadcast when the DHCP client joins the network connection, and the DHCP server receives an unused IP address from the settable IP addresses. After that, the DHCP client uses this lent IP address for a certain period to connect to the network.
DHCPサーバはDHCPクライアントに貸し出すIPアドレスの通知のほかに、ネットマスク、デフォルトゲートウェイ、DNS(Domain Name System)サーバアドレス、SIP(Session Initiation Protocol)サーバアドレス等、外部ネットワークへのアクセスに必要な情報を通知し、DHCPクライアントは該通知された情報を設定して種々の通信を行う。 In addition to notifying the IP address lent to the DHCP client, the DHCP server provides information necessary for accessing the external network, such as a netmask, default gateway, DNS (Domain Name System) server address, and SIP (Session Initiation Protocol) server address. The DHCP client performs various communications by setting the notified information.
通常、DHCPサーバとDHCPクライアントとの間はリンクローカル(同一サブネット)のネットワークで接続され、リンクローカルを跨いで(DHCPサーバ−DHCPクライアント間にルータを挟んで)DHCP通信を行うことはない。しかし、必ずしも同一サブネット内にDHCPサーバが設置可能であるとは限らず、設置不可の場合の解決策として、サブネットの異なるDHCPサーバとDHCPクライアントと間に、リレー機能を有するルータを設け、DHCP通信を中継するDHCPリレー方式が規定されている(IPv4:RFC2131,3046:,IPv6:RFC3315)。 Normally, a DHCP server and a DHCP client are connected by a link local (same subnet) network, and DHCP communication is not performed across the link local (a router between the DHCP server and the DHCP client). However, it is not always possible to install a DHCP server in the same subnet. As a solution when the installation is impossible, a router having a relay function is provided between a DHCP server and a DHCP client in different subnets, and DHCP communication is performed. The DHCP relay system for relaying the network is defined (IPv4: RFC2131, 3046 :, IPv6: RFC3315).
但し、このDHCPリレー方式は、DHCPサーバとDHCPクライアントとの間で通信するDHCP通信を単純に中継するだけであり、DHCPクライアントが増加するにつれてDHCP通信のトラフィックが増加し、DHCPサーバの処理負荷が増大するとともに、DHCPクライアントに貸し出すIPアドレスの管理も複雑になってくる。 However, this DHCP relay system simply relays the DHCP communication communicated between the DHCP server and the DHCP client. As the number of DHCP clients increases, the traffic of the DHCP communication increases, and the processing load of the DHCP server increases. As the number increases, management of IP addresses lent to DHCP clients also becomes complicated.
本発明に関連するDHCPサーバについて記載されている先行技術文献として下記の特許文献等がある。
本発明は、DHCP通信のトラフィックが増加する趨向にある通信環境において、DHCP通信処理を集中管理するDHCPサーバの処理負荷の軽減化を図るとともに、DHCPサーバにおけるDHCPクライアントへのIPアドレスの配布管理を簡易化することができるDHCP代理サーバを提供することを目的とする。 The present invention reduces the processing load of a DHCP server that centrally manages DHCP communication processing in a communication environment that tends to increase the traffic of DHCP communication, and manages the distribution of IP addresses to DHCP clients in the DHCP server. It is an object to provide a DHCP proxy server that can be simplified.
本発明のDHCP代理サーバは、(1)IPネットワークにおいてDHCPサーバからDHCPクライアントに配布するIPアドレスの設定情報を、DHCPサーバから取得して保持する設定情報保持手段と、DHCPクライアントからのIPアドレスの配布要求を受信すると、DHCPサーバに代わって、前記設定情報保持手段に保持されている設定情報をDHCPクライアントに配布する設定情報配布手段とを備えたものである。 The DHCP proxy server of the present invention includes (1) setting information holding means for acquiring and holding IP address setting information distributed from the DHCP server to the DHCP client in the IP network, and IP address setting from the DHCP client. When a distribution request is received, setting information distribution means for distributing the setting information held in the setting information holding means to the DHCP client is provided in place of the DHCP server.
また、(2)前記DHCPクライアントからのIPアドレスの配布要求を受信したとき、前記設定情報保持手段に配布すべき設定情報が保持されていない場合にのみ、前記DHCPサーバに対して設定情報の配布要求を行って取得する手段を備えたものである。 (2) When receiving the IP address distribution request from the DHCP client, the distribution of the setting information to the DHCP server is performed only when the setting information to be distributed is not held in the setting information holding means. Means are provided for making a request.
また、(3)前記DHCPサーバに対し、同種類の複数個の設定情報を1回のDHCP通信により要求して取得する手段を備えたものである。 Further, (3) a means for requesting and acquiring a plurality of setting information of the same type from the DHCP server by one DHCP communication.
また、(4)前記DHCPクライアントからの設定情報配布要求に対し、DHCP代理サーバ内に保持している設定情報の中から一部の設定情報を選択して各DHCPクライアントに通知する手段を備えたものである。 (4) In response to a setting information distribution request from the DHCP client, there is provided means for selecting a part of the setting information from the setting information held in the DHCP proxy server and notifying the DHCP client. Is.
また、(5)前記DHCPクライアントからの設定情報配布要求に対し、DHCP代理サーバ内に保持している設定情報の中から一定範囲の設定情報を選択して各DHCPクライアントに通知する手段を備えたものである。 (5) In response to the setting information distribution request from the DHCP client, there is provided means for selecting a predetermined range of setting information from the setting information held in the DHCP proxy server and notifying each DHCP client. Is.
また、(6)DHCP代理サーバに接続されている複数のDHCPクライアントからの設定情報配布要求に対し、該設定情報配布要求を受信した順番に従って、DHCP代理サーバ内に保持している設定情報の中から順に選択して各DHCPクライアントに通知する手段を備えたものである。 Further, (6) in response to setting information distribution requests from a plurality of DHCP clients connected to the DHCP proxy server, in the setting information held in the DHCP proxy server according to the order in which the setting information distribution requests are received. Are provided in order, and are notified to each DHCP client.
また、(7)DHCP代理サーバに接続されている複数のDHCPクライアントからの設定情報配布要求に対し、各DHCPクライアントの固有情報に従って、DHCP代理サーバ内に保持している設定情報の中から選択して各DHCPクライアントに通知する手段を備えたものである。 Also, (7) in response to setting information distribution requests from a plurality of DHCP clients connected to the DHCP proxy server, select from the setting information held in the DHCP proxy server according to the specific information of each DHCP client. Means for notifying each DHCP client.
また、(8)IPv4ネットワーク上でIPv4アドレスの設定情報を複数個取得する場合、DHCPヘッダーのオプションフィールドを拡張したフレームを用い、前記DHCPサーバに対して同種類の複数個の設定情報を要求して取得する手段を備えたものである。 (8) When a plurality of IPv4 address setting information is acquired on the IPv4 network, a frame with an extended option field of the DHCP header is used to request a plurality of setting information of the same type from the DHCP server. It is provided with the means to acquire.
本発明によれば、DHCPサーバからDHCPクライアントに配布するIPアドレスの設定情報を、DHCP代理サーバがDHCPサーバから取得して保持し、DHCPクライアントからのIPアドレスの配布要求を受信すると、DHCP代理サーバがDHCPサーバに代わって設定情報をDHCPクライアントに配布することにより、DHCP通信処理を集中管理するDHCPサーバの処理負荷の軽減することができる。 According to the present invention, when the DHCP proxy server acquires and holds the IP address setting information distributed from the DHCP server to the DHCP client from the DHCP server, and receives the IP address distribution request from the DHCP client, the DHCP proxy server By distributing the setting information to the DHCP client instead of the DHCP server, it is possible to reduce the processing load of the DHCP server that centrally manages the DHCP communication processing.
また、DHCPクライアントからの設定情報配布要求に対し、DHCP代理サーバ内に保持している設定情報の中から、DHCP代理サーバが一部の設定情報を適宜選択して各DHCPクライアントに通知することにより、DHCPサーバでは各DHCPクライアント対応の設定情報の配布指示をDHCP代理サーバに移管することができ、DHCPサーバにおけるDHCPクライアントへの設定情報の配布管理を簡易化することができる。 Also, in response to a setting information distribution request from a DHCP client, the DHCP proxy server appropriately selects some setting information from the setting information held in the DHCP proxy server and notifies each DHCP client. In the DHCP server, the setting information distribution instruction corresponding to each DHCP client can be transferred to the DHCP proxy server, and the distribution management of the setting information to the DHCP client in the DHCP server can be simplified.
図1は本発明によるDHCP代理サーバを用いたDHCPサーバシステムを示す。同図に示すように、DHCPサーバ1とDHCPクライアント3との間に本発明によるDHCP代理サーバ2を配置する。IPネットワークにおいて上位のDHCPサーバ1からDHCPクライアント3に配布するIPアドレス等の設定情報をDHCP代理サーバ2が取得し、DHCP代理サーバ2は、DHCPクライアント3からのIPアドレス等の設定要求を受信すると、DHCPサーバ1の代わりにDHCPクライアント3へIPアドレス等の設定情報を提供する。
FIG. 1 shows a DHCP server system using a DHCP proxy server according to the present invention. As shown in the figure, a
図2は本発明のDHCP代理サーバがDHCPサーバから設定情報を取得する動作例を示す。DHCP代理サーバ2は下位のDHCPクライアント3からの設定情報要求メッセージ4を受けると、その要求内容(設定情報#1及び設定情報#2)がDHCP代理サーバ2内に保持されているか否かを調べ、DHCP代理サーバ2内に保持されていない設定情報のみを上位のDHCPサーバ1に対して要求する設定情報要求メッセージ5を送信する。
FIG. 2 shows an operation example in which the DHCP proxy server of the present invention acquires setting information from the DHCP server. When the DHCP
DHCPサーバ1はDHCP代理サーバ2からの設定情報要求メッセージ5を受けると、それに対する設定情報応答メッセージ6をDHCP代理サーバ2に送信し、DHCP代理サーバ2は該設定情報応答メッセージ6の受信により、DHCPクライアント3へ通知する設定情報を取得する。
Upon receiving the setting
図3は本発明のDHCP代理サーバが複数DHCPクライアントから設定情報要求を受けたときの動作例を示す。DHCP代理サーバ2は下位の2つのDHCPクライアント31及び32からそれぞれ同種類の設定情報要求A及びB(DHCPクライアント31から設定情報#11,#21の要求A、DHCPクライアント32から設定情報#12,#22の要求B)を受け取ると、DHCPサーバ1に対して該同種類の設定情報要求メッセージ5を送信する。
FIG. 3 shows an operation example when the DHCP proxy server of the present invention receives a setting information request from a plurality of DHCP clients. The DHCP
DHCPサーバ1は、DHCP代理サーバ2からの設定情報要求メッセージ5に対する設定情報応答メッセージ6を送信し、DHCP代理サーバ2は設定情報応答メッセージ6受信し、各DHCPクライアント31及び32のそれぞれの要求A及びBに対する設定情報(DHCPクライアント31への設定情報#11,#21の応答A、DHCPクライアント32への設定情報#12,#22の応答B)を取得する。
The DHCP
図4は本発明のDHCP代理サーバが保持する設定情報をDHCPクライアントに通知する動作例を示す。DHCP代理サーバ2は下位DHCPクライアント3からの設定情報要求メッセージ4(設定情報#1及び設定情報#2)を受信すると、DHCP代理サーバ2内の設定情報テーブル21に保持している設定情報の中に該当する設定情報(設定情報#1及び設定情報#2)が存在するかどうかを調べ、該当する設定情報が存在する場合、その設定情報を設定情報テーブル21から読み出してDHCPクライアント3に通知する。
FIG. 4 shows an example of the operation for notifying the DHCP client of the setting information held by the DHCP proxy server of the present invention. When the DHCP
図5は本発明のDHCP代理サーバが同種類の設定情報の中から選択した設定情報をDHCPクライアントに通知する動作例を示す。DHCP代理サーバ2は、上位のDHCPサーバ1から同種類の設定情報#1−1,#1−2,・・・,#1−nを複数(n個)取得して設定情報テーブル21に保持しているとき、DHCPクライアント3からの設定情報要求メッセージ4に対して、設定情報テーブル21に保持する同種類の複数の設定情報の中から一部の設定情報(例.設定情報#1−1,#1−2)を選択して、下位のDHCPクライアント3に通知する。
FIG. 5 shows an operation example in which the DHCP proxy server of the present invention notifies the DHCP client of the setting information selected from the same type of setting information. The DHCP
図6は本発明のDHCP代理サーバが同種類の設定情報の中から選択した一定範囲の設定情報をDHCPクライアントに通知する動作例を示す。DHCP代理サーバ2は、上位のDHCPサーバ1から同種類の設定情報(#1−1,#1−2,・・・,#1−n)及び(#2−1,#2−2,・・・,#2−n)を複数(n個)取得して設定情報テーブル21に格納しているとき、DHCPクライアント3からの設定情報要求メッセージ4に対して、設定情報テーブル21に格納された同種類の複数の設定情報の中から一定範囲の設定情報(#1−1,・・・,#1−j)及び(#2−1,・・・,#2−k)を適宜選択して、下位のDHCPクライアント3に通知する。ここで、j及びkはn未満の整数である。
FIG. 6 shows an operation example in which the DHCP proxy server of the present invention notifies the DHCP client of a certain range of setting information selected from the same type of setting information. The DHCP
図7は本発明のDHCP代理サーバが同種類の設定情報の中から選択した1つの設定情報を通知する動作例を示す。DHCP代理サーバ2は、上位のDHCPサーバ1から同種類の設定情報(#1−1,#1−2,・・・,#1−n)及び(#2−1,#2−2,・・・,#2−n)を複数(n個)取得して設定情報テーブル21に格納しているとき、DHCPクライアント3からの設定情報要求メッセージ4に対して、設定情報テーブル21に格納された同種類の複数の設定情報の中から1つの設定情報(例.#1−2,#2−1)のみを選択して、下位のDHCPクライアント3に通知する。
FIG. 7 shows an operation example in which the DHCP proxy server of the present invention notifies one piece of setting information selected from the same type of setting information. The
図8は本発明のDHCP代理サーバが保持する設定情報をDHCPクライアントからの設定情報要求の発生順に選択して通知する動作例を示す。DHCP代理サーバ2は、DHCP代理サーバ2の下位に接続されている複数のDHCPクライアント31,32,33から、それぞれ設定情報#1を要求するメッセージ4を受信すると、該メッセージ4を受信した順番に従って、設定情報テーブル21に保持している設定情報の中から順に設定情報を選択し、各DHCPクライアント31,32,33に通知する。
FIG. 8 shows an operation example in which the setting information held by the DHCP proxy server of the present invention is selected and notified in the order in which setting information requests from DHCP clients are generated. When the
例えば、DHCPクライアント31が1番目、DHCPクライアント32が2番目、DHCPクライアント33が3番目に設定情報#1を要求するメッセージ4を送信したとすると、DHCP代理サーバ2は、設定情報テーブル21に保持している設定情報#1−1,#1−2,・・・,#1−nの中から順に、DHCPクライアント31に設定情報#1−1、DHCPクライアント32に設定情報#1−2、DHCPクライアント33に設定情報#1−3を選択して通知する。
For example, if the
図9は本発明のDHCP代理サーバが保持する設定情報をDHCPクライアントの固有情報に従って選択し通知する動作例を示す。DHCP代理サーバ2の下位に接続されている複数のDHCPクライアント31,32,33に対して、DHCP代理サーバ2は設定情報要求メッセージを受信した各DHCPクライアント31,32,33の固有情報(例えばMACアドレス)に従って、設定情報テーブル21に保持している設定情報の中から設定情報を選択し、各DHCPクライアント31,32,33に通知する。
FIG. 9 shows an operation example in which the setting information held by the DHCP proxy server of the present invention is selected and notified according to the unique information of the DHCP client. For a plurality of
例えば、設定情報テーブル21は、DHCPクライアント31に対して設定情報#1−1、DHCPクライアント32に対して設定情報#1−20、DHCPクライアント33に対して設定情報#1−k(k≠1,20)を、各DHCPクライアントのMACアドレス等から固定的に決定し、その決定に従って各DHCPクライアントに各設定情報を通知する。
For example, the setting information table 21 includes setting information # 1-1 for the
図10はIPv4のDHCPパケットのオプションフィールドを用いて複数個の設定情報を要求及び応答するフレームの構成例を示す。IPv4ネットワーク上でIPv4設定情報を複数個取得する場合、DHCP代理サーバは、DHCPパケットのオプションフィールドを拡張して複数の設定情報要求を格納した図10の(a)に示す設定情報要求フレームを用い、DHCPサーバに対して同一種類の複数個の設定情報の要求を送信する。 FIG. 10 shows a configuration example of a frame for requesting and responding to a plurality of setting information using an option field of an IPv4 DHCP packet. When acquiring a plurality of pieces of IPv4 setting information on the IPv4 network, the DHCP proxy server uses a setting information request frame shown in FIG. 10A in which a plurality of setting information requests are stored by expanding the option field of the DHCP packet. A request for a plurality of setting information of the same type is transmitted to the DHCP server.
また、DHCPサーバからは、DHCPパケットのオプションフィールドを拡張して複数の設定情報応答を格納した図10の(b)に示す設定情報応答フレームを用い、DHCP代理サーバに対して同一種類の複数個の設定情報の応答を送信する。DHCP代理サーバは、該設定情報応答フレームの受信により複数個の設定情報を取得する。 In addition, the DHCP server uses the setting information response frame shown in FIG. 10B in which a plurality of setting information responses are stored by expanding the option field of the DHCP packet, and a plurality of the same type is sent to the DHCP proxy server. Send a response of the setting information. The DHCP proxy server acquires a plurality of setting information by receiving the setting information response frame.
図11はIPv6ネットワークにDHCP代理サーバを用いたDHCPサーバシステムを示す。IPv6のDHCP代理サーバ(以下、DHCPv6代理サーバと記す。)11−2は、IPv6のDHCPクライアント(以下、DHCPv6クライアントと記す。)11−31,11−32,11−33からのDHCPメッセージを終端し、IPv6のDHCPサーバ(以下、DHCPv6サーバと記す。)11−1へはDHCPメッセージを転送しない。その代わり、DHCPv6サーバ11−1とのDHCP通信はDHCPv6代理サーバが行う。 FIG. 11 shows a DHCP server system using a DHCP proxy server in an IPv6 network. An IPv6 DHCP proxy server (hereinafter referred to as a DHCPv6 proxy server) 11-2 terminates DHCP messages from IPv6 DHCP clients (hereinafter referred to as DHCPv6 clients) 11-31, 11-32, and 11-33. However, the DHCP message is not transferred to the IPv6 DHCP server (hereinafter referred to as a DHCPv6 server) 11-1. Instead, the DHCPv6 proxy server performs DHCP communication with the DHCPv6 server 11-1.
図12はDHCPv6サーバからDHCPv6代理サーバへの設定情報配布のシーケンス例を示す。DHCPv6代理サーバは、起動時にIPv6アドレスのプレフィックス、DNSサーバアドレス及びSIPサーバアドレスの配布を要求する“DHCP Solicit”メッセージをDHCPv6サーバに送信し(ステップ12−1)、DHCPv6サーバは配布するIPv6アドレスのプレフィックス、DNSサーバアドレス及びSIPサーバアドレスを通知する“DHCP Advertise”メッセージジをDHCPv6代理サーバへ送信する(ステップ12−2)。
FIG. 12 shows a sequence example of setting information distribution from the DHCPv6 server to the DHCPv6 proxy server. The DHCPv6 proxy server sends a
DHCPv6代理サーバは“DHCP Advertise”メッセージを受信すると、受信内容の確認のために受信内容を含む “DHCP Request”メッセージをDHCPv6サーバに送信し(ステップ12−3)、DHCPv6サーバはその内容を確認し、正しい内容であれば正常である旨を通知する “DHCP Reply”メッセージをDHCPv6代理サーバへ送信する(ステップ12−4)。DHCPv6代理サーバはDHCPv6サーバとの間で以上のDHCP通信を行い、DHCPv6クライアントへの設定情報の取得を行う。 When the DHCPv6 proxy server receives the “DHCP Advertise” message, it sends a “DHCP Request” message including the received content to the DHCPv6 server to confirm the received content (step 12-3), and the DHCPv6 server confirms the content. If the content is correct, a “DHCP Reply” message notifying that the content is normal is transmitted to the DHCPv6 proxy server (step 12-4). The DHCPv6 proxy server performs the above-described DHCP communication with the DHCPv6 server, and acquires setting information to the DHCPv6 client.
上記のDHCP通信によって、図12に示すように配布するIPv6アドレスのプレフィックス(3ffe:100::/48),DNSサーバアドレス(3ffe:10::100),SIPサーバアドレス(3ffe:10::200)の設定情報を取得する。また、上記のアドレス類などと同一種類の設定情報を複数個取得する場合、同図のステップ12−5に示すように、同様のDHCP通信を複数回行い(同図では2回)、複数の設定情報の取得を行ことも可能である。 As shown in FIG. 12, the IPv6 address prefix (3ffe: 100: / 48), DNS server address (3ffe: 10 :: 100), SIP server address (3ffe: 10 :: 200) distributed by the DHCP communication described above. ) Setting information. In addition, when a plurality of setting information of the same type as the above addresses are acquired, the same DHCP communication is performed a plurality of times (twice in the figure) as shown in Step 12-5 of FIG. It is also possible to acquire setting information.
図13は本発明のDHCPv6代理内の設定情報テーブルの構成例を示す。DHCPv6代理サーバにおいて取得した設定情報の管理は、図13に示すようにDUID(DHCP Unique Identifier)などのようなDHCPクライアント毎に唯一に割り当てた識別子を用い、該識別子DUID対応に各設定情報を設定情報テーブルに格納する構成とすることができる。 FIG. 13 shows a configuration example of a setting information table in the DHCPv6 proxy of the present invention. Management of the setting information acquired in the DHCPv6 proxy server uses an identifier uniquely assigned to each DHCP client such as a DUID (DHCP Unique Identifier) as shown in FIG. 13, and sets each setting information corresponding to the identifier DUID. The information can be stored in the information table.
図14はDHCPv6代理サーバからDHCPv6クライアントへの設定情報配布のシーケンス例を示す。同図に示すように、DHCPv6代理サーバは取得したIPv6アドレスを設定情報テーブル21に保持している状態で、DHCPクライアント31から、DHCP通信によりDNSサーバアドレス及びSIPサーバアドレスの要求メッセージ“DHCP DHCP Solicit”が発せられると(ステップ14−1)、DHCP代理サーバ2はDHCPサーバにアクセスせずに、既に保持している設定情報テーブル21の中から、DHCPクライアント31に対して適切なDNSサーバアドレス(3ffe:100::100)及びSIPサーバアドレス(3ffe:100::200)を選択して“DHCP Advertise”として通知する(ステップ14−2)。
FIG. 14 shows a sequence example of setting information distribution from the DHCPv6 proxy server to the DHCPv6 client. As shown in the figure, while the DHCPv6 proxy server holds the acquired IPv6 address in the setting information table 21, the
その後、DHCPクライアント31は、受信内容の確認のために受信内容を含む “DHCP Request”メッセージをDHCPv6代理サーバ2に送信し(ステップ14−3)、DHCPv6代理サーバ2はその内容を確認し、正しい内容であれば正常である旨を通知する “DHCP Reply”メッセージをDHCPv6クライアント31へ送信する(ステップ14−4)。
After that, the
また、DHCPv6クライアント32からIPv6アドレスのプレフィックスの配布要求のメッセージ“DHCP DHCP Solicit”を受けると(ステップ14−5)、DHCPv6代理サーバ2は、保持しているIPv6アドレスのプレフィックスの値をそのまま、或いはIPv6アドレスのプレフィックス長を変更するなどしてサブネットを分けた形でプレフィックス値を通知する“DHCP Advertise”メッセージをDHCPv6クライアント32へ送信する(ステップ14−6)構成とすることもできる。
Also, upon receiving the IPv6 address prefix distribution request message “DHCP DHCP Solit” from the DHCPv6 client 32 (step 14-5), the
複数のDHCPv6クライアント31,32から設定情報の要求が到来した場合に、通知する設定情報をDHCPv6クライアント毎に固定している場合はその固定した設定情報を、固定していない場合には要求の到来順に設定情報テーブルの中から順に割当てて、各DHCPv6クライアント31,32に通知する。このとき、DHCPv6代理サーバ内の設定情報テーブルの情報内容の例を図15に示す。
When a request for setting information is received from a plurality of
図16はIPv4ネットワークにDHCP代理サーバを用いたDHCPサーバシステムを示す。前述のIPv6のDHCP代理システムと同様に、DHCPクライアント16−31,16−32,16−33からのメッセージをDHCP代理サーバ16−2で終端し、DHCPサーバ16−1には転送しない。つまり、DHCP代理サーバ16−2がDHCPクライアント16−31,16−32,16−33に代わってDHCPサーバ16−1と通信を行い、設定情報を取得する。 FIG. 16 shows a DHCP server system using a DHCP proxy server in an IPv4 network. Similar to the IPv6 DHCP proxy system described above, messages from the DHCP clients 16-31, 16-32, and 16-33 are terminated at the DHCP proxy server 16-2 and are not transferred to the DHCP server 16-1. That is, the DHCP proxy server 16-2 communicates with the DHCP server 16-1 on behalf of the DHCP clients 16-31, 16-32, and 16-33, and acquires setting information.
DHCP代理サーバ16−2は、DHCPクライアント16−31,16−32,16−33に配布する複数のIPアドレスやDNSサーバアドレス等の設定情報を、DHCPクライアント16−31,16−32,16−33から設定要求があったときにDHCPサーバ16−1とDHCP通信を行って取得し、或いはDHCP代理サーバ16−2の起動時などにDHCPサーバ16−1とDHCP通信を行って前もって取得しておく。 The DHCP proxy server 16-2 sends setting information such as a plurality of IP addresses and DNS server addresses distributed to the DHCP clients 16-31, 16-32, and 16-33 to the DHCP clients 16-31, 16-32, and 16--. Obtained by performing DHCP communication with the DHCP server 16-1 when there is a setting request from the 33, or obtained in advance by performing DHCP communication with the DHCP server 16-1 when the DHCP proxy server 16-2 is activated. deep.
そして、DHCP代理サーバ16−2は、DHCPクライアント16−31,16−32,16−33からIPアドレスやDNSサーバアドレスなどの設定情報の取得要求に対し、DHCPサーバ16−1から取得した設定情報の中から適宜選択した設定情報をDHCPクライアントに通知する。このとき、DHCPサーバ16−1から一定範囲のIPアドレスを取得しておき、下位の複数DHCPクライアント16−31,16−32,16−33からの要求に対して、一定範囲のIPアドレスの中から要求順に選択し又は各DHCPクライアントに固定的にIPアドレスを割当てて通知することが可能である。 Then, the DHCP proxy server 16-2 receives the setting information acquired from the DHCP server 16-1 in response to a setting information acquisition request such as an IP address and a DNS server address from the DHCP clients 16-31, 16-32, and 16-33. The DHCP client is notified of setting information appropriately selected from the above. At this time, an IP address in a certain range is acquired from the DHCP server 16-1, and in response to a request from a plurality of lower-level DHCP clients 16-31, 16-32, 16-33, Can be selected in order of request, or each DHCP client can be assigned a fixed IP address and notified.
図17は複数の設定情報を通知するDHCPヘッダーのオプションフィールドにおけるフレーム拡張の例を示す。図17において、Option Codeは独自拡張フレームであることを指定するDHCPオプションコードを示し、Lengthはオプションヘッダの長さを示し、sub optionはここでネットワークID方式指定するサブオプションコードを示し、lengthはサブオプションへツダーの長さを示し、Lease TimeはIPアドレスのリース時間(秒)を示す。( )内の数字はバイト数を示す。 FIG. 17 shows an example of frame extension in the option field of the DHCP header that notifies a plurality of setting information. In FIG. 17, Option Code indicates a DHCP option code that specifies that the frame is a unique extension frame, Length indicates the length of the option header, sub option indicates a sub option code that specifies the network ID method, and length indicates The length of the sub-option header is indicated, and Lease Time indicates the lease time (seconds) of the IP address. Numbers in parentheses indicate the number of bytes.
図17の(a)はネットワークIDによるIPアドレスの割り当ての例を示している。Subnet Maskは配布するIPアドレスのサブネットマスクを示し、IP address(Network lD)はホスト(ユーザコンピュータ)に配布するIPアドレスのネットワーク部を示している。一定範囲のIPアドレスを取得するためには、図17の(a)に示すように、DHCPヘッダー内のオプションフィールドにおいて、オプションフレームを追加・拡張し、IPアドレスのネットワークID部分(例.192.168.0.0/24)を取得し、DHCPクライアントに対しては、IPアドレスのホスト部分をDHCP代理サーバで付与したIPアドレスを配布する構成とすることができる。 FIG. 17A shows an example of IP address assignment by network ID. Subnet Mask indicates the subnet mask of the IP address to be distributed, and IP address (Network ID) indicates the network part of the IP address to be distributed to the host (user computer). In order to obtain a certain range of IP addresses, as shown in FIG. 17A, an option frame is added / extended in the option field in the DHCP header, and the network ID portion (eg, 192. 168.0.0 / 24), and an IP address assigned by the DHCP proxy server to the host part of the IP address can be distributed to the DHCP client.
図17の(b)はIPアドレス範囲指定の割り当ての例を示している。Start IP addressはホスト(ユーザコンピュータ)に配布するIPアドレスの始まりを示し、End IP addressはホスト(ユーザコンピュータ)に配布するIPアドレスの終わりを示す。同図(b)に示すように、配布可能なIPアドレスの始まりと終わりを指定した一定範囲(192.168.0.5/24〜192.168.0.200/24)を取得し、その中から選択したIPアドレスを配布する構成としてもよい。 FIG. 17B shows an example of IP address range designation assignment. Start IP address indicates the start of the IP address distributed to the host (user computer), and End IP address indicates the end of the IP address distributed to the host (user computer). As shown in FIG. 6B, a certain range (192.168.0.5/24 to 192.168.0.200/24) designating the start and end of a distributable IP address is acquired. An IP address selected from among them may be distributed.
図17の(c)は複数のIPアドレスのリストを割り当てる例を示している。IP address listはホスト(ユーザコンピュータ)に配布する複数のIPアドレスのリストを示す。同図の(c)に示すように、配布可能なIPアドレスのリスト(一覧)を取得し、その中から選択したIPアドレスをDHCPクライアントに配布する構成としてもよい。 FIG. 17C shows an example of assigning a list of a plurality of IP addresses. The IP address list indicates a list of a plurality of IP addresses distributed to the host (user computer). As shown in (c) of the figure, it is possible to obtain a list of IP addresses that can be distributed and distribute the IP addresses selected from the list to DHCP clients.
1 DHCPサーバ
2 DHCP代理サーバ
3 DHCPクライアント
1
Claims (8)
DHCPクライアントからのIPアドレスの配布要求を受信すると、DHCPサーバに代わって、前記設定情報保持手段に保持されている設定情報をDHCPクライアントに配布する設定情報配布手段と
を備えたことを特徴とするDHCP代理サーバ。 Setting information holding means for acquiring and holding IP address setting information distributed from the DHCP server to the DHCP client in the IP network;
When receiving an IP address distribution request from a DHCP client, setting information distribution means for distributing the setting information held in the setting information holding means to the DHCP client in place of the DHCP server is provided. DHCP proxy server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004016505A JP2005210554A (en) | 2004-01-26 | 2004-01-26 | Dhcp substitute server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004016505A JP2005210554A (en) | 2004-01-26 | 2004-01-26 | Dhcp substitute server |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005210554A true JP2005210554A (en) | 2005-08-04 |
Family
ID=34901632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004016505A Pending JP2005210554A (en) | 2004-01-26 | 2004-01-26 | Dhcp substitute server |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005210554A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009290888A (en) * | 2008-04-30 | 2009-12-10 | Silex Technology Inc | Power saving support apparatus |
CN102769678A (en) * | 2012-07-23 | 2012-11-07 | 杭州华三通信技术有限公司 | DHCP (Dynamic Host Configuration Protocol) address distributing method and device |
JP2012222542A (en) * | 2011-04-07 | 2012-11-12 | Nec Access Technica Ltd | Ip address management system, dhcp converter, ip address management method and program |
JP2013505613A (en) * | 2009-09-17 | 2013-02-14 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Address server |
JP2013183243A (en) * | 2012-03-01 | 2013-09-12 | Kddi Corp | Program, method, and physical server for allocating address to virtual machine |
JP2018531563A (en) * | 2015-09-29 | 2018-10-25 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Method, apparatus, and system for assigning IP address for master / slave network |
-
2004
- 2004-01-26 JP JP2004016505A patent/JP2005210554A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009290888A (en) * | 2008-04-30 | 2009-12-10 | Silex Technology Inc | Power saving support apparatus |
JP2013505613A (en) * | 2009-09-17 | 2013-02-14 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Address server |
US8862703B2 (en) | 2009-09-17 | 2014-10-14 | International Business Machines Corporation | Address server |
US9009273B2 (en) | 2009-09-17 | 2015-04-14 | International Business Machines Corporation | Address server |
JP2012222542A (en) * | 2011-04-07 | 2012-11-12 | Nec Access Technica Ltd | Ip address management system, dhcp converter, ip address management method and program |
JP2013183243A (en) * | 2012-03-01 | 2013-09-12 | Kddi Corp | Program, method, and physical server for allocating address to virtual machine |
CN102769678A (en) * | 2012-07-23 | 2012-11-07 | 杭州华三通信技术有限公司 | DHCP (Dynamic Host Configuration Protocol) address distributing method and device |
JP2018531563A (en) * | 2015-09-29 | 2018-10-25 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Method, apparatus, and system for assigning IP address for master / slave network |
US10757069B2 (en) | 2015-09-29 | 2020-08-25 | Huawei Technologies Co., Ltd. | IP address allocation method for master-slave network, apparatus, and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2919444B1 (en) | Method, relay device, and system for acquiring internet protocol address in network | |
US6959009B2 (en) | Address acquisition | |
EP2364543B1 (en) | Broadband network access | |
EP2267984B1 (en) | Address configuring method, apparatus and system | |
US7706374B2 (en) | Method for assigning IP address to terminal device and communication system | |
US20120324063A1 (en) | Method, network device, and system for automatically configuring network device in ipv6 network | |
JP2007520970A (en) | Tunneling service method and system | |
US8582449B2 (en) | Apparatus and method for setting a default gateway address in a mobile communication system | |
JP5459809B2 (en) | Method for obtaining the IP address of a dynamic host configuration protocol version 6 server, dynamic host configuration protocol version 6 server, and dynamic host configuration protocol version 6 communication system | |
WO2003024056A2 (en) | Addressing scheme for wireless mobile clients | |
CN101009635A (en) | A message forwarding method for the dynamic host configuration protocol and its network device | |
JP2007509566A (en) | Handover method, handover apparatus, and information recording medium having instructions for performing the handover method under DHCPv4 environment | |
WO2006068747A2 (en) | Distributed domain name service | |
US20130046899A1 (en) | Ipv6 lan-side address assignment policy | |
JP5241957B2 (en) | Method and apparatus for connecting a subscriber unit to an aggregation network supporting IPv6 | |
JP2018509120A (en) | Internet protocol address assignment method and router | |
JP4186733B2 (en) | Communication system, terminal, and address generation method | |
JP2005210554A (en) | Dhcp substitute server | |
JP2001308909A (en) | Method for assigning logical network address and terminal | |
CN112543386B (en) | Address acquisition method and related equipment | |
JP4242752B2 (en) | Address table management method and terminal | |
CN115767510B (en) | Ipv6 self-adaptive networking method, system and PD client | |
KR100687746B1 (en) | Method and apparatus for preventing collision of address | |
KR100644806B1 (en) | Method for automatically configuring address of routers in a multiple hop-based network | |
JP2018174409A (en) | Relay device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060810 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080922 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080930 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090210 |