[go: up one dir, main page]

JP2003008602A - DHCP server - Google Patents

DHCP server

Info

Publication number
JP2003008602A
JP2003008602A JP2001184752A JP2001184752A JP2003008602A JP 2003008602 A JP2003008602 A JP 2003008602A JP 2001184752 A JP2001184752 A JP 2001184752A JP 2001184752 A JP2001184752 A JP 2001184752A JP 2003008602 A JP2003008602 A JP 2003008602A
Authority
JP
Japan
Prior art keywords
host name
terminal
ddns
dhcp server
address
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
Application number
JP2001184752A
Other languages
Japanese (ja)
Inventor
Tomoiwa Tatsumi
知厳 巽
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP2001184752A priority Critical patent/JP2003008602A/en
Publication of JP2003008602A publication Critical patent/JP2003008602A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 端末からのIPアドレス割当要求に端末のホ
スト名が含まれていない場合、或いは不正なホスト名が
含まれている場合にも、正しいホスト名をDDNSに登
録することができるDHCPサーバを提供する。 【解決手段】 ホスト名がない端末111からのIPア
ドレス割当要求に対して、当該端末111のMACアド
レスで対応表を参照してホスト名を得て、DDNS12
1に当該端末111のホスト名を設定する。
(57) [Problem] To register a correct host name in DDNS even when a host name of the terminal is not included in an IP address assignment request from the terminal or an incorrect host name is included. To provide a DHCP server that can SOLUTION: In response to an IP address assignment request from a terminal 111 having no host name, a host name is obtained by referring to a correspondence table using the MAC address of the terminal 111, and a DDNS 12
1, the host name of the terminal 111 is set.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、端末のホスト名を
DDNSに登録するDHCPサーバに係り、特に、端末
からのIPアドレス割当要求に端末のホスト名が含まれ
ていない場合、或いは不正なホスト名が含まれている場
合にも、正しいホスト名をDDNSに登録することがで
きるDHCPサーバに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DHCP server for registering a host name of a terminal in a DDNS, and particularly when the IP address allocation request from the terminal does not include the host name of the terminal or an illegal host. The present invention relates to a DHCP server capable of registering a correct host name in DDNS even when the name is included.

【0002】[0002]

【従来の技術】DHCPは、RFC1541で規格化さ
れている。DHCPは、IPアドレスを動的にTCP/
IPネットワーク上の端末に割り当てるためのプロトコ
ルである。DHCPを用いたネットワークにおいて、端
末に対するホスト名を固定するため、動的にホスト名と
IPアドレスの組のレコードを作成できるDDNSが使
われている。
2. Description of the Related Art DHCP is standardized by RFC1541. DHCP dynamically changes the IP address to TCP /
It is a protocol for assigning to terminals on an IP network. In a network using DHCP, in order to fix a host name for a terminal, DDNS that can dynamically create a record of a set of a host name and an IP address is used.

【0003】図2に、DDNSに対応した従来のDHC
PサーバとDDNSとを用いたネットワークの例を示
す。図3に、端末、DHCPサーバ、DDNSの間で送
受信されるパケットの構成を示す。
FIG. 2 shows a conventional DHC compatible with DDNS.
An example of a network using a P server and DDNS is shown. FIG. 3 shows the structure of packets transmitted and received between the terminal, the DHCP server, and the DDNS.

【0004】DHCPサーバ201は、端末211から
送信されたIPアドレスを要求する図3(a)に示すパ
ケット350を受け、端末211にIPアドレスを割り
当てると共に、パケット350に含まれているホスト名
351を見て、図3(b)に示すホスト名361と割り
当てたIPアドレス362との組のレコードの情報が入
ったパケット360をDDNS221に送信する。
The DHCP server 201 receives the packet 350 shown in FIG. 3A requesting the IP address transmitted from the terminal 211, allocates the IP address to the terminal 211, and simultaneously, the host name 351 included in the packet 350. 3B, the packet 360 containing the information of the record of the set of the host name 361 and the assigned IP address 362 shown in FIG. 3B is transmitted to the DDNS 221.

【0005】DDNS221は、パケット360を受け
取ると、自らが保持しているホスト名とIPアドレスと
の組のレコードを書き換える。
Upon receiving the packet 360, the DDNS 221 rewrites the record of the set of the host name and the IP address held by itself.

【0006】以下、本明細書で使用する略語について、
英文字綴り、日本語表記、簡単な説明等を付記してお
く。 DHCP ;Dynamic Host Configuration Protoco ダイナミック・ホスト・ コンフィギュレーション・プロトコル RFC ;Request For Comments リクエスト・フォー・コメンツ インタ ーネットアーキテクチャ委員会が発行する標準勧告文書 IP ;Internet Protocol インターネット・プロトコル TCP/IP; Transmission Control Protocol/Internet Protocol トランス ミッション・コントロール・プロトコル/インターネット・プロ トコル DDNS ;Dynamic Domein Name System ダイナミック・ドメイン・ネーム ・システム RFC2136、RFC2137に規定されている システム
The abbreviations used in this specification are as follows:
English spelling, Japanese notation, brief explanation, etc. should be added. DHCP; Dynamic Host Configuration Protoco RFC; Request For Comments Standard Recommendation Documents issued by the Internet Architecture Committee IP; Internet Protocol Internet Protocol TCP / IP; Transmission Control Protocol / Internet Protocol Transmission Control Protocol / Internet Protocol DDNS; Dynamic Domein Name System Dynamic Domain Name System Systems specified in RFC2136 and RFC2137

【0007】[0007]

【発明が解決しようとする課題】図2のように、DHC
Pサーバ201は、端末211からの要求のパケット3
50に含まれているホスト名をレコードに書き込む。こ
のため、図3(c)に示したように、ホスト名が含まれ
ていない要求のパケット370を端末211から受信し
た場合、DHCPサーバ201は、ホスト名をパケット
360のレコードに書き込むことができず、DDNS2
21にホスト名は登録されない。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention As shown in FIG.
The P server 201 uses the packet 3 of the request from the terminal 211.
Write the host name contained in 50 to the record. Therefore, as shown in FIG. 3C, when the request packet 370 that does not include the host name is received from the terminal 211, the DHCP server 201 can write the host name in the record of the packet 360. No, DDNS2
No host name is registered in 21.

【0008】また、端末211のユーザが意図するホス
ト名と異なるホスト名を端末211に付け、その間違っ
たホスト名を要求のパケット350に含めて送信する
と、その間違ったホスト名がそのままパケット360を
介してDDNS221に登録される。
If a host name different from the host name intended by the user of the terminal 211 is attached to the terminal 211 and the incorrect host name is included in the request packet 350 and transmitted, the incorrect host name is directly transmitted to the packet 360. It is registered in the DDNS 221 via the.

【0009】そこで、本発明の目的は、上記課題を解決
し、端末からのIPアドレス割当要求に端末のホスト名
が含まれていない場合、或いは不正なホスト名が含まれ
ている場合にも、正しいホスト名をDDNSに登録する
ことができるDHCPサーバを提供することにある。
Therefore, an object of the present invention is to solve the above problems, and when the IP address allocation request from the terminal does not include the host name of the terminal, or when an incorrect host name is included, It is to provide a DHCP server capable of registering a correct host name in DDNS.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明は、ホスト名がない端末からのIPアドレス割
当要求に対してDDNSに当該端末のホスト名を設定す
るものである。
In order to achieve the above object, the present invention sets a host name of a terminal in DDNS in response to an IP address allocation request from a terminal having no host name.

【0011】また、不正なホスト名を持つ端末からのI
Pアドレス割当要求に対してDDNSに当該端末の正し
いホスト名を設定するものである。
In addition, I from a terminal having an illegal host name
In response to the P address allocation request, the correct host name of the terminal is set in DDNS.

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施形態を添付
図面に基づいて詳述する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0013】図1に示されるように、本発明に係るDH
CPサーバを用いたネットワークは、本発明に係るDH
CPサーバ101、端末111、DDNS121から構
成される。DHCPサーバ101は、ホスト名がない端
末からのIPアドレス割当要求に対してDDNSに当該
端末のホスト名を設定すると共に、不正なホスト名を持
つ端末からのIPアドレス割当要求に対してDDNSに
当該端末の正しいホスト名を設定する機能を有する。こ
の機能を実現するために、DHCPサーバ101は、予
め表1に示す対応表を保持している。この対応表は、端
末に対応するMACアドレス(mac111)とホスト名(hostn
ame111) とをリストにして記憶したものである。
As shown in FIG. 1, the DH according to the present invention.
A network using a CP server is a DH according to the present invention.
It is composed of a CP server 101, a terminal 111, and a DDNS 121. The DHCP server 101 sets the host name of the terminal in DDNS in response to an IP address allocation request from a terminal that does not have a host name, and notifies the DDNS in response to an IP address allocation request from a terminal having an invalid host name. It has the function of setting the correct host name of the terminal. In order to realize this function, the DHCP server 101 holds a correspondence table shown in Table 1 in advance. This correspondence table shows the MAC address (mac111) and host name (hostn
ame111) is stored as a list.

【0014】[0014]

【表1】 [Table 1]

【0015】DHCPサーバ101は、端末111から
送信されたIPアドレスを要求するパケット350を受
け、端末111にIPアドレスを割り当てる。また、D
HCPサーバ101は、パケット350に含まれている
MACアドレスを見て、対応表を参照し、このMACア
ドレスに対応するホスト名を得る。DHCPサーバ10
1は、このホスト名361と割り当てたIPアドレス3
62との組のレコードの情報が入ったパケット360を
DDNS121に送信する。
The DHCP server 101 receives the packet 350 requesting the IP address transmitted from the terminal 111, and allocates the IP address to the terminal 111. Also, D
The HCP server 101 looks at the MAC address contained in the packet 350, refers to the correspondence table, and obtains the host name corresponding to this MAC address. DHCP server 10
1 is this host name 361 and the assigned IP address 3
The packet 360 containing the information of the record of the pair with 62 is transmitted to the DDNS 121.

【0016】DDNS121は、パケット360を受け
取ると、自らが保持しているホスト名とIPアドレスと
の組のレコードを書き換える。
Upon receiving the packet 360, the DDNS 121 rewrites the record of the set of the host name and the IP address held by itself.

【0017】本発明によれば、端末111から送信され
たIPアドレスを要求するパケット370にホスト名が
含まれていない場合でも、DHCPサーバ101が対応
表をパケット370に含まれているMACアドレスで参
照してホスト名を引き当てるので、そのホスト名がDD
NS121に登録される。
According to the present invention, even if the packet 370 requesting the IP address transmitted from the terminal 111 does not include the host name, the DHCP server 101 uses the MAC address included in the packet 370 as the correspondence table. Since the host name is assigned by reference, the host name is DD
Registered in NS121.

【0018】また、端末111から送信されたIPアド
レスを要求するパケット350に不正なホスト名が含ま
れている場合でも、DHCPサーバ101が対応表をパ
ケット370に含まれているMACアドレスで参照して
ホスト名を引き当てるので、そのホスト名、即ち、正し
いホスト名がDDNS121に登録される。
Further, even if the packet 350 requesting the IP address transmitted from the terminal 111 includes an illegal host name, the DHCP server 101 refers to the correspondence table by the MAC address included in the packet 370. Since the host name is assigned by the DDNS 121, the host name, that is, the correct host name is registered in the DDNS 121.

【0019】[0019]

【発明の効果】本発明は次の如き優れた効果を発揮す
る。
The present invention exhibits the following excellent effects.

【0020】(1)端末からのIPアドレス割当要求に
端末のホスト名が含まれていない場合でも、DDNSに
当該端末の正しいホスト名を設定することができる。
(1) Even when the IP address allocation request from the terminal does not include the host name of the terminal, the correct host name of the terminal can be set in the DDNS.

【0021】(2)端末からのIPアドレス割当要求に
端末の不正なホスト名が含まれている場合でも、DDN
Sに当該端末の正しいホスト名を設定することができ
る。
(2) Even if an illegal host name of the terminal is included in the IP address allocation request from the terminal, the DDN
The correct host name of the terminal can be set in S.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態を示すDHCPサーバを用
いたネットワークの構成図である。
FIG. 1 is a configuration diagram of a network using a DHCP server showing an embodiment of the present invention.

【図2】従来のDHCPサーバを用いたネットワークの
構成図である。
FIG. 2 is a configuration diagram of a network using a conventional DHCP server.

【図3】図1、図2のネットワーク上を流れるパケット
の構成図である。
FIG. 3 is a configuration diagram of a packet flowing on the networks of FIGS. 1 and 2.

【符号の説明】[Explanation of symbols]

101 DHCPサーバ 111 端末 121 DDNS 101 DHCP server 111 terminal 121 DDNS

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ホスト名がない端末からのIPアドレス
割当要求に対してDDNSに当該端末のホスト名を設定
することを特徴とするDHCPサーバ。
1. A DHCP server, which sets a host name of a terminal in DDNS in response to an IP address allocation request from a terminal having no host name.
【請求項2】 不正なホスト名を持つ端末からのIPア
ドレス割当要求に対してDDNSに当該端末の正しいホ
スト名を設定することを特徴とするDHCPサーバ。
2. A DHCP server which sets a correct host name of the terminal in DDNS in response to an IP address allocation request from a terminal having an illegal host name.
JP2001184752A 2001-06-19 2001-06-19 DHCP server Pending JP2003008602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001184752A JP2003008602A (en) 2001-06-19 2001-06-19 DHCP server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001184752A JP2003008602A (en) 2001-06-19 2001-06-19 DHCP server

Publications (1)

Publication Number Publication Date
JP2003008602A true JP2003008602A (en) 2003-01-10

Family

ID=19024460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001184752A Pending JP2003008602A (en) 2001-06-19 2001-06-19 DHCP server

Country Status (1)

Country Link
JP (1) JP2003008602A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505774A3 (en) * 2003-07-28 2006-09-06 Sony Corporation Network interconnection apparatus, network interconnection method, name sesolution apparatus and computer program
JP2006304169A (en) * 2005-04-25 2006-11-02 Canon Inc Data processing apparatus, registration method and program
JP2008187593A (en) * 2007-01-31 2008-08-14 Mitsubishi Electric Corp Public key certificate issuing device, certificate request device, and certificate request program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505774A3 (en) * 2003-07-28 2006-09-06 Sony Corporation Network interconnection apparatus, network interconnection method, name sesolution apparatus and computer program
US7295543B2 (en) 2003-07-28 2007-11-13 Sony Corporation Network interconnection apparatus, network interconnection method, name resolution apparatus and computer program
JP2006304169A (en) * 2005-04-25 2006-11-02 Canon Inc Data processing apparatus, registration method and program
JP2008187593A (en) * 2007-01-31 2008-08-14 Mitsubishi Electric Corp Public key certificate issuing device, certificate request device, and certificate request program

Similar Documents

Publication Publication Date Title
TWI301024B (en) Method enabling network address translation of incoming session initiation protocol connections based on dynamic host configuration protocol address assignments
US7313632B2 (en) Apparatus for converting internet protocal address, and communication method using the same
US7779158B2 (en) Network device
US6101552A (en) Virtual internet protocol gate and the network constructed with the same
US20060056397A1 (en) Access management apparatus, program and remote start-up method of terminal device
CN101729388B (en) Method, media gateway and network system for realizing network address conversion
US20030084162A1 (en) Managing peer-to-peer access to a device behind a firewall
JP2001527331A (en) Ways to support mobility on the Internet
JPWO2004051937A1 (en) User identification system, user identification device, user identification method, address translation device, and program
KR20040065643A (en) Method for performing automatic registration of IP address and IP domain name in IP protocol version 6
US8605736B2 (en) Method, system and apparatus for heterogeneous addressing mapping
WO2007016850A1 (en) A method, system and apparatus for accessing the web server
CN101222495A (en) Method and router for IPv4 network host to access IPv6 network host
CN102299974B (en) A kind of method and apparatus realizing IPv6 prefix assignment
JP2005517354A (en) Method and apparatus for determining lease time for dynamic host configuration protocol
US20050002342A1 (en) Method and arrangement for configuration of a device in a data network
CN1768517B (en) Method, apparatus and system for accessing to a roaming mobile node
CN104506665B (en) Distinguish method and system in a kind of IPv4/IPv6 addresses
JP2003008602A (en) DHCP server
CN100454825C (en) Control Method of Static User Access Network Based on MAC Address
CN101803343B (en) Identifying subnet address range from DNS information
WO2005117346A1 (en) A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol
JP4043261B2 (en) Terminal management device address acquisition system
US20100023620A1 (en) Access controller
WO2022135132A1 (en) Service processing method and apparatus, electronic device, and storage medium