JP2004193643A - Ip address automatic assignment method / program, and terminal - Google Patents

Ip address automatic assignment method / program, and terminal Download PDF

Info

Publication number
JP2004193643A
JP2004193643A JP2002355361A JP2002355361A JP2004193643A JP 2004193643 A JP2004193643 A JP 2004193643A JP 2002355361 A JP2002355361 A JP 2002355361A JP 2002355361 A JP2002355361 A JP 2002355361A JP 2004193643 A JP2004193643 A JP 2004193643A
Authority
JP
Japan
Prior art keywords
address
terminal
network
tcp
temporary
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
JP2002355361A
Other languages
Japanese (ja)
Inventor
Keiichiro Ishii
啓一郎 石井
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2002355361A priority Critical patent/JP2004193643A/en
Publication of JP2004193643A publication Critical patent/JP2004193643A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method of quickly and reliably automatically assigning IP addresses while using a method by an ARP request. <P>SOLUTION: An ARP request containing a temporary IP address is sent to a plurality of terminals on a TCP/IP network (203), and the temporary IP address is set as an IP address (207), if no ARP answer is received within a specified time (206). If the ARP answer is received (206), an ICMP-ECHO request is sent to the plurality of terminals on the TCP/IP network (209), unlike repeating the above steps after changing the temporary IP address, ICMP-ECHO answers containing their IP addresses are received from the plurality of terminals (213) to automatically generate IP addresses not conflicting with the IP addresses of the plurality of terminals (214), and they are set as IP addresses (207). The temporary IP address may use an IP address used when the terminal is connected to the network. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、端末のIPアドレスを自動的に割り当てる方法に関する。
【0002】
【従来の技術】
TCP/IPネットワークにおいて、ネットワーク上に端末を接続する場合、端末を一意に識別するためのIPアドレスを端末ごとに割り当てる必要がある。
【0003】
従来の技術では、ネットワークに接続する全ての端末に対してIPアドレスを固定的に割り当てるため、ネットワーク管理者が端末ごとのIPアドレスを管理する必要があった。この場合、可搬型端末の利用者がネットワーク上に端末を接続するごとに、利用可能なIPアドレスをネットワーク管理者に確認し、その都度、端末に設定する必要があった。
【0004】
しかしながら、この方法では、管理者および端末利用者の設定項目が多く、設定誤りによる通信不可が発生するおそれがある。
【0005】
そこで、ネットワーク上に端末が組み込まれる際に、端末が利用できるIPアドレスをサーバに問い合せる方法(DHCP)が提案されている。
【0006】
そして、ネットワーク上にDHCPサーバが存在しない場合には、ネットワーク上の他の端末に対して仮のIPアドレスを含むARP要求パケットを送信し、所定の時間内に他の端末からARP応答が返ってこない場合、この仮のIPアドレスは他の端末によって使用されていないと判断し、正式なIPアドレスとして設定する技術が提案されている(例えば、特許文献1から3参照)。
【0007】
【特許文献1】
特開2002−237816号公報
【特許文献2】
特開平9−200247号公報
【特許文献3】
特開平8−223169号公報
【0008】
【発明が解決しようとする課題】
確かに、ARP要求によるこの方法は、IPアドレスの設定のためのサーバを必要とせず、簡易にIPアドレスを設定できる利点を有する。
【0009】
しかし、ARP応答を受信したときは、仮のIPアドレスが他の端末によって使用されている。そこで、仮のIPアドレスを別のものに代えて、ARP応答が受信されなくなるまで同じ処理を繰り返すことになる。したがって、状況によってはIPアドレスの設定に時間がかかりすぎてしまう可能性がある。
【0010】
そこで本発明の目的は、ARP要求による方法を用いつつ、迅速かつ確実にIPアドレスを自動的に割り付ける方法を提供する。
【0011】
【課題を解決するための手段】
上記目的を達成するために、本発明は、まず、接続する端末が仮のIPアドレスを含むARP要求をTCP/IPネットワーク上の複数の端末に送信し、所定の時間内にARP応答を受信しないときには、仮のIPアドレスをIPアドレスとして設定する。ARP応答を受信したときには、仮のIPアドレスを変更して上の処理を繰り返すのではなく、ICMP−ECHO要求をTCP/IPネットワーク上の複数の端末に送信し、複数の端末からそのIPアドレスを含むICMP−ECHO応答を受信して、複数の端末のIPアドレスと競合しないIPアドレスを自動生成し、IPアドレスとして設定する。
【0012】
また、仮のIPアドレスとしては、端末が前回ネットワークに接続したときのIPアドレスを用いてもよい。本発明で特に想定している可搬型端末において、前回接続したときからそれほど時間が経ってない場合には、前回設定したIPアドレスが他の端末に使用されていない可能性が高く、この場合にはARP要求による処理のみで迅速にIPアドレスを設定できる可能性が高いからである。
【0013】
【発明の実施の形態】
次に、本発明の実施の形態について、図面を参照して説明する。
【0014】
図1を参照すると、本発明の一実施形態の端末1を、多数の端末がすでに接続されているTCP/IPネットワークに接続する様子が示されている。すでに接続されている端末はそれぞれIPアドレスを有しており、端末1は、これらのIPアドレスと競合しないIPアドレスを生成し設定する機能を内蔵する。
【0015】
次に、本発明の一実施形態の端末1の構成を、図2を参照して説明する。
【0016】
端末1は、アドレス生成情報記憶部11と、仮IPアドレス生成部12と、ARP要求送信部13と、ARP応答受信部14と、アドレス競合判定部15と、ICMP−ECHO要求送信部16と、ICMP−ECHO応答受信部17と、本IPアドレス生成部18と、IPアドレス設定部19と、応答端末登録テーブル20を含む。
【0017】
アドレス生成情報記憶部11は、端末1をTCP/IPネットワークに接続し、TCP/IP通信を行うために必要なIPアドレスを生成するためのネットワークアドレス、サブネットマスクを保存する。さらに、端末1が前回TCP/IPネットワークに接続したときのIPアドレスを保存している。
【0018】
仮IPアドレス生成部12は、アドレス生成情報記憶部11に保存されているネットワークアドレスとサブネットマスクをもとに、仮IPアドレスを生成する。
【0019】
ARP要求送信部13は、アドレス生成情報記憶部11に保存されている前回のIPアドレス、または、仮IPアドレス生成部12が生成した仮IPアドレスを有する端末が既にTCP/IPネットワーク上に存在するかを問い合わせるARP要求パケットを生成し送信する。
【0020】
ARP応答受信部14は、TCP/IPネットワーク上の他の端末からのARP応答パケットを受信する。
【0021】
アドレス競合判定部15は、ARP応答の受信をモニターし、ARP応答を受信した場合は、前回のIPアドレスまたは仮IPアドレスがすでに他の端末に使用されていると判断し、所定の時間内にARP応答を受信しなかった場合は、前回のIPアドレスまたは仮IPアドレスは他の端末に使用されていないと判断し、IPアドレスとして設定するようにIPアドレス設定部19に要求する。
【0022】
ICMP−ECHO要求送信部16は、アドレス競合判定部15が前回のIPアドレスまたは仮IPアドレスがすでに使用済みと判断した場合、TCP/IPネットワーク上の他の端末が使用しているIPアドレスを問い合わせるためのICMP−ECHO要求パケットを送信する。
【0023】
ICMP−ECHO応答受信部17は、他の端末から、当該端末のIPアドレスを含むICMP−ECHO応答を受信する。
【0024】
応答端末登録テーブル20は、ICMP−ECHO応答受信部17で受信したICMP−ECHO応答に含まれるネットワーク上の他の端末のIPアドレスを保存する。
【0025】
本IPアドレス生成部18は、応答端末登録テーブル20に登録されたTCP/IPネットワーク上の他の端末のIPアドレスと競合しないIPアドレスを自動生成する。
【0026】
IPアドレス設定部19は、アドレス競合判定部15で他の端末で使用されていないと判断された前回のIPアドレスまたは仮IPアドレス、あるいは、本IPアドレス生成部18で自動生成したIPアドレスを端末に設定するとともに、次回この端末をTCP/IPネットワークに再接続するときのために、設定したIPアドレスをアドレス生成情報記憶部11に保存する。
【0027】
次に、端末1の動作を、図3を参照して説明する。
【0028】
ステップ201で、端末1が前回TCP/IPネットワークに接続したときに割り当てられたIPアドレスをアドレス生成情報記憶部11から取得する。前回割り当てられたIPアドレスが無い場合は、ステップ202で、仮IPアドレス生成部12が仮のIPアドレスをランダムに生成する。
【0029】
ステップ203で、ARP要求送信部13がこれらのIPアドレスを含むARP要求パケットを生成して、TCP/IPネットワーク上の他の端末に送信する。
【0030】
ステップ204でARP応答待ちタイマを設定し、ステップ205でARP応答またはタイムアウトのイベントを待つ。
【0031】
ステップ206でイベント判定を行い、一定時間ARP応答が無く、タイムアウトイベントを受信した場合、このIPアドレスを使用しても競合しないと判断し、ステップ207で端末1にこのIPアドレスを設定する。さらにステップ208で、次にTCP/IPネットワークに接続する際の初期IPアドレスとして、アドレス生成情報記憶部11に保存する。
【0032】
ステップ206でARP応答イベントを受信した場合は、既にTCP/IPネットワーク上の他の端末がこのIPアドレスを使用している。そこでステップ209で、ICMP−ECHO要求パケット(同報送信)を生成し、送信する。
【0033】
ステップ210でICMP−ECHO応答待ちタイマを設定し、ステップ211でICMP−ECHO応答またはタイムアウトのイベントを待つ。
【0034】
ステップ212でイベント判定を行い、ICMP−ECHO応答イベントを受信した場合は、ステップ213でICMP−ECHO応答に含まれる応答発信元の端末のIPアドレスを応答端末登録テーブル20に登録する。その後、ステップ211に戻り、TCP/IPネットワーク上の他の端末からの応答を待ち、ステップ212でタイムアウトイベントを受信するまでこの処理を繰り返す。
【0035】
ステップ211でタイムアウトイベントを受信すると、ステップ214に移る。タイムアウトまでに受信した全てのICMP−ECHO応答パケットに含まれる送信元IPアドレスは既にTCP/IPネットワーク上に存在している他の端末が使用しているため、これらのIPアドレスに競合しないIPアドレスを自動生成する。
【0036】
その後ステップ207で、端末1にこのIPアドレスを設定し、ステップ208で、次にTCP/IPネットワークに接続する際の初期IPアドレスとして、アドレス生成情報記憶部11に保存する。
【0037】
【発明の効果】
以上説明したように、本発明によれば、ARP要求による方法を用いつつ、ICMP−ECHO要求によって他の端末のIPアドレスを取得して競合しないIPアドレスを設定するので、迅速かつ確実にIPアドレスを設定できる。
【0038】
また、仮のIPアドレスとして、端末が前回ネットワークに接続したときのIPアドレスを用いることにより、特に可搬型端末において前回接続したときからそれほど時間が経ってない場合に、前回設定したIPアドレスが他の端末に使用されていない可能性が高く、この場合ARP要求による処理のみで迅速にIPアドレスを設定できる。
【0039】
また、TCP/IPネットワークに接続する端末ごとのIPアドレス管理が不要となるため、常時ネットワークに接続されていない可搬型端末を接続する場合に、接続に際しての空きIPアドレスを確認、設定する作業が不要となる。
【0040】
また、端末側でIPアドレスを生成するため、アドレス管理サーバが不要となり、コスト、管理者の負担、端末利用者の設定作業の負担が軽減できる。
【0041】
また、管理者、利用者の作業軽減により、設定誤りが原因で発生するネットワーク障害を削減できる。
【図面の簡単な説明】
【図1】本発明の端末1が適用されるネットワークシステムを示した図である。
【図2】端末1の構成を示した図である。
【図3】端末1の動作を示した図である。
【符号の説明】
1 端末
11 アドレス生成情報記憶部
12 仮IPアドレス生成部
13 ARP要求送信部
14 ARP応答受信部
15 アドレス競合判定部
16 ICMP−ECHO要求送信部
17 ICMP−ECHO応答受信部
18 本IPアドレス生成部
19 IPアドレス設定部
20 応答端末登録テーブル
201〜214 ステップ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for automatically assigning an IP address of a terminal.
[0002]
[Prior art]
In a TCP / IP network, when a terminal is connected on the network, it is necessary to assign an IP address for uniquely identifying the terminal to each terminal.
[0003]
In the related art, since an IP address is fixedly assigned to all terminals connected to a network, it is necessary for a network administrator to manage an IP address for each terminal. In this case, every time the user of the portable terminal connects the terminal to the network, it is necessary to confirm the available IP address with the network administrator, and to set the IP address in the terminal each time.
[0004]
However, in this method, there are many setting items for the administrator and the terminal user, and there is a possibility that communication may be disabled due to a setting error.
[0005]
Therefore, a method (DHCP) for inquiring a server about an IP address that can be used by a terminal when the terminal is installed on a network has been proposed.
[0006]
If there is no DHCP server on the network, an ARP request packet including a temporary IP address is transmitted to another terminal on the network, and an ARP response is returned from the other terminal within a predetermined time. In such a case, a technique has been proposed in which it is determined that the temporary IP address is not used by another terminal, and the IP address is set as an official IP address (for example, see Patent Documents 1 to 3).
[0007]
[Patent Document 1]
Japanese Patent Application Laid-Open No. 2002-237816 [Patent Document 2]
Japanese Patent Application Laid-Open No. 9-200247 [Patent Document 3]
JP-A-8-223169
[Problems to be solved by the invention]
Certainly, this method using the ARP request has an advantage that an IP address can be easily set without requiring a server for setting the IP address.
[0009]
However, when the ARP response is received, the temporary IP address is being used by another terminal. Therefore, the same process is repeated until the ARP response is no longer received, replacing the temporary IP address with another one. Therefore, depending on the situation, it may take too long to set the IP address.
[0010]
Therefore, an object of the present invention is to provide a method for quickly and reliably automatically assigning an IP address while using a method based on an ARP request.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, first, a connecting terminal transmits an ARP request including a temporary IP address to a plurality of terminals on a TCP / IP network, and does not receive an ARP response within a predetermined time. At times, a temporary IP address is set as an IP address. When the ARP response is received, instead of changing the temporary IP address and repeating the above processing, an ICMP-ECHO request is transmitted to a plurality of terminals on the TCP / IP network, and the IP addresses are transmitted from the plurality of terminals. Upon receiving the included ICMP-ECHO response, an IP address that does not conflict with the IP addresses of a plurality of terminals is automatically generated and set as an IP address.
[0012]
Further, as the temporary IP address, the IP address when the terminal previously connected to the network may be used. In a portable terminal particularly assumed in the present invention, if not much time has passed since the last connection, there is a high possibility that the previously set IP address has not been used by another terminal. This is because there is a high possibility that an IP address can be quickly set only by processing based on an ARP request.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0014]
Referring to FIG. 1, there is shown a state in which a terminal 1 according to an embodiment of the present invention is connected to a TCP / IP network to which many terminals are already connected. Each of the already connected terminals has an IP address, and the terminal 1 has a function of generating and setting an IP address that does not conflict with these IP addresses.
[0015]
Next, the configuration of the terminal 1 according to one embodiment of the present invention will be described with reference to FIG.
[0016]
The terminal 1 includes an address generation information storage unit 11, a temporary IP address generation unit 12, an ARP request transmission unit 13, an ARP response reception unit 14, an address conflict determination unit 15, an ICMP-ECHO request transmission unit 16, It includes an ICMP-ECHO response receiving unit 17, an IP address generating unit 18, an IP address setting unit 19, and a response terminal registration table 20.
[0017]
The address generation information storage unit 11 connects the terminal 1 to a TCP / IP network, and stores a network address and a subnet mask for generating an IP address necessary for performing TCP / IP communication. Further, it stores the IP address when the terminal 1 last connected to the TCP / IP network.
[0018]
The temporary IP address generation unit 12 generates a temporary IP address based on the network address and the subnet mask stored in the address generation information storage unit 11.
[0019]
The ARP request transmission unit 13 determines that the terminal having the previous IP address stored in the address generation information storage unit 11 or the temporary IP address generated by the temporary IP address generation unit 12 already exists on the TCP / IP network. An ARP request packet for inquiring is generated and transmitted.
[0020]
The ARP response receiving unit 14 receives an ARP response packet from another terminal on the TCP / IP network.
[0021]
The address conflict determination unit 15 monitors the reception of the ARP response, and when receiving the ARP response, determines that the previous IP address or the temporary IP address has already been used by another terminal, and within a predetermined time period. When the ARP response is not received, it is determined that the previous IP address or the temporary IP address is not used by another terminal, and the IP address setting unit 19 is requested to set the IP address or the temporary IP address as the IP address.
[0022]
When the address conflict determination unit 15 determines that the previous IP address or the temporary IP address has already been used, the ICMP-ECHO request transmission unit 16 inquires of an IP address used by another terminal on the TCP / IP network. To send an ICMP-ECHO request packet.
[0023]
The ICMP-ECHO response receiving unit 17 receives an ICMP-ECHO response including the IP address of the terminal from another terminal.
[0024]
The response terminal registration table 20 stores the IP address of another terminal on the network included in the ICMP-ECHO response received by the ICMP-ECHO response receiving unit 17.
[0025]
The IP address generation unit 18 automatically generates an IP address that does not conflict with the IP addresses of other terminals on the TCP / IP network registered in the response terminal registration table 20.
[0026]
The IP address setting unit 19 stores the last IP address or temporary IP address determined by the address conflict determination unit 15 not being used by another terminal, or the IP address automatically generated by the IP address generation unit 18 in the terminal. And saves the set IP address in the address generation information storage unit 11 for the next time the terminal is reconnected to the TCP / IP network.
[0027]
Next, the operation of the terminal 1 will be described with reference to FIG.
[0028]
In step 201, an IP address assigned when the terminal 1 previously connected to the TCP / IP network is acquired from the address generation information storage unit 11. If there is no previously assigned IP address, in step 202, the temporary IP address generation unit 12 randomly generates a temporary IP address.
[0029]
In step 203, the ARP request transmitting unit 13 generates an ARP request packet including these IP addresses, and transmits the generated ARP request packet to another terminal on the TCP / IP network.
[0030]
At step 204, an ARP response wait timer is set, and at step 205, an ARP response or timeout event is waited.
[0031]
In step 206, an event is determined. If there is no ARP response for a certain period of time and a timeout event is received, it is determined that there is no conflict even if this IP address is used, and this IP address is set in the terminal 1 in step 207. Further, in step 208, it is stored in the address generation information storage unit 11 as an initial IP address for the next connection to the TCP / IP network.
[0032]
If an ARP response event is received in step 206, another terminal on the TCP / IP network has already used this IP address. In step 209, an ICMP-ECHO request packet (broadcast transmission) is generated and transmitted.
[0033]
In step 210, an ICMP-ECHO response waiting timer is set, and in step 211, an ICMP-ECHO response or timeout event is waited.
[0034]
In step 212, an event is determined. If an ICMP-ECHO response event is received, the IP address of the response source terminal included in the ICMP-ECHO response is registered in the response terminal registration table 20 in step 213. Thereafter, the process returns to step 211 to wait for a response from another terminal on the TCP / IP network, and repeats this process until a time-out event is received in step 212.
[0035]
When a timeout event is received in step 211, the process proceeds to step 214. Since the source IP addresses included in all ICMP-ECHO response packets received before the timeout are used by other terminals already existing on the TCP / IP network, IP addresses that do not conflict with these IP addresses Is automatically generated.
[0036]
Then, in step 207, this IP address is set in the terminal 1, and in step 208, it is stored in the address generation information storage unit 11 as an initial IP address for the next connection to the TCP / IP network.
[0037]
【The invention's effect】
As described above, according to the present invention, an IP address of another terminal is obtained by an ICMP-ECHO request and an IP address that does not conflict is set, using an ARP request method. Can be set.
[0038]
In addition, by using the IP address of the terminal when the terminal was previously connected to the network as the temporary IP address, especially when the portable terminal has not been connected for a long time since the previous connection, the previously set IP address becomes different from the previously set IP address. There is a high possibility that the terminal is not used by the terminal, and in this case, the IP address can be quickly set only by the processing according to the ARP request.
[0039]
In addition, since IP address management for each terminal connected to the TCP / IP network is not required, when connecting a portable terminal that is not always connected to the network, it is necessary to check and set a free IP address for connection. It becomes unnecessary.
[0040]
In addition, since the IP address is generated on the terminal side, an address management server becomes unnecessary, and the cost, the burden on the administrator, and the burden on the terminal user in the setting work can be reduced.
[0041]
Further, by reducing the work of the administrator and the user, it is possible to reduce a network failure caused by a setting error.
[Brief description of the drawings]
FIG. 1 is a diagram showing a network system to which a terminal 1 of the present invention is applied.
FIG. 2 is a diagram showing a configuration of a terminal 1.
FIG. 3 is a diagram showing an operation of the terminal 1.
[Explanation of symbols]
1 Terminal 11 Address generation information storage unit 12 Temporary IP address generation unit 13 ARP request transmission unit 14 ARP response reception unit 15 Address conflict determination unit 16 ICMP-ECHO request transmission unit 17 ICMP-ECHO response reception unit 18 Main IP address generation unit 19 IP address setting unit 20 Response terminal registration table 201-214 Step

Claims (5)

すでに複数の端末が接続されているTCP/IPネットワークに新たに端末を接続する際、前記複数の端末のIPアドレスと競合することなく、IPアドレスを自動的に割り付ける方法において、
接続する端末が、仮のIPアドレスを含むARP要求を前記TCP/IPネットワーク上の前記複数の端末に送信し、所定の時間内にARP応答を受信しないとき、前記仮のIPアドレスを前記接続する端末のIPアドレスとして設定する第1のステップと、
前記第1のステップにおいてARP応答を受信したとき、前記接続する端末はICMP−ECHO要求を前記TCP/IPネットワーク上の前記複数の端末に送信し、前記複数の端末からIPアドレスを含むICMP−ECHO応答を受信して、前記複数の端末のIPアドレスと競合しないIPアドレスを自動生成し、前記接続する端末のIPアドレスとして設定する第2のステップを有することを特徴とする方法。
When a new terminal is connected to a TCP / IP network to which a plurality of terminals are already connected, a method for automatically allocating an IP address without conflicting with the IP addresses of the plurality of terminals,
The connecting terminal transmits an ARP request including a temporary IP address to the plurality of terminals on the TCP / IP network, and connects the temporary IP address when the terminal does not receive an ARP response within a predetermined time. A first step of setting as a terminal IP address;
Upon receiving the ARP response in the first step, the connecting terminal sends an ICMP-ECHO request to the plurality of terminals on the TCP / IP network, and the ICMP-ECHO including an IP address from the plurality of terminals. Receiving a response, automatically generating an IP address that does not conflict with the IP addresses of the plurality of terminals, and setting the IP address as the IP address of the connecting terminal.
前記仮のIPアドレスは、前記接続する端末が前回前記TCP/IPネットワークに接続していたときのIPアドレスである、請求項1に記載の方法。The method according to claim 1, wherein the temporary IP address is an IP address when the connecting terminal was previously connected to the TCP / IP network. TCP/IPネットワークに接続可能な端末装置において、
仮のIPアドレスを含むARP要求を前記TCP/IPネットワーク上の複数の端末に送信し、所定の時間内にARP応答を受信しないとき、前記仮のIPアドレスをIPアドレスとして設定する第1の手段と、
ARP応答を受信したとき、ICMP−ECHO要求を前記TCP/IPネットワーク上の前記複数の端末に送信し、前記複数の端末からIPアドレスを含むICMP−ECHO応答を受信して、前記複数の端末のIPアドレスと競合しないIPアドレスを生成して設定する第2の手段を有することを特徴とする端末装置。
In a terminal device connectable to a TCP / IP network,
A first means for transmitting an ARP request including a temporary IP address to a plurality of terminals on the TCP / IP network and setting the temporary IP address as an IP address when an ARP response is not received within a predetermined time When,
When receiving the ARP response, the ICMP-ECHO request is transmitted to the plurality of terminals on the TCP / IP network, and the ICMP-ECHO response including the IP address is received from the plurality of terminals. A terminal device comprising second means for generating and setting an IP address that does not conflict with an IP address.
前記第1の手段は、前記仮のIPアドレスとして、前回前記TCP/IPネットワークに接続していたときのIPアドレスを用いる、請求項3に記載の端末装置。4. The terminal device according to claim 3, wherein the first unit uses, as the temporary IP address, an IP address that has been previously connected to the TCP / IP network. 5. 請求項1または2のいずれか1項に記載の方法をTCP/IPネットワークに接続する端末に実行させるIPアドレス自動割付プログラム。3. An automatic IP address assignment program for causing a terminal connected to a TCP / IP network to execute the method according to claim 1 or 2.
JP2002355361A 2002-12-06 2002-12-06 Ip address automatic assignment method / program, and terminal Pending JP2004193643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002355361A JP2004193643A (en) 2002-12-06 2002-12-06 Ip address automatic assignment method / program, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002355361A JP2004193643A (en) 2002-12-06 2002-12-06 Ip address automatic assignment method / program, and terminal

Publications (1)

Publication Number Publication Date
JP2004193643A true JP2004193643A (en) 2004-07-08

Family

ID=32756084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002355361A Pending JP2004193643A (en) 2002-12-06 2002-12-06 Ip address automatic assignment method / program, and terminal

Country Status (1)

Country Link
JP (1) JP2004193643A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243364A (en) * 2006-03-07 2007-09-20 Mitsubishi Electric Corp Communications device, communication system, and address setting method
CN100448202C (en) * 2004-12-24 2008-12-31 联想(北京)有限公司 Method and device for detecting conflict of IP addresses in networked computers
WO2010067724A1 (en) 2008-12-09 2010-06-17 三菱重工業株式会社 Battery device
CN102111639A (en) * 2009-12-29 2011-06-29 康佳集团股份有限公司 Network detection method of network television and network television

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100448202C (en) * 2004-12-24 2008-12-31 联想(北京)有限公司 Method and device for detecting conflict of IP addresses in networked computers
JP2007243364A (en) * 2006-03-07 2007-09-20 Mitsubishi Electric Corp Communications device, communication system, and address setting method
JP4723403B2 (en) * 2006-03-07 2011-07-13 三菱電機株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND ADDRESS SETTING METHOD
WO2010067724A1 (en) 2008-12-09 2010-06-17 三菱重工業株式会社 Battery device
US8742617B2 (en) 2008-12-09 2014-06-03 Mitsubishi Heavy Industries, Ltd. Battery apparatus
CN102111639A (en) * 2009-12-29 2011-06-29 康佳集团股份有限公司 Network detection method of network television and network television
CN102111639B (en) * 2009-12-29 2015-01-07 康佳集团股份有限公司 Network detection method of network television and network television

Similar Documents

Publication Publication Date Title
Droms Dynamic host configuration protocol
Droms RFC2131: Dynamic Host Configuration Protocol
JP3641128B2 (en) MOBILE COMPUTER DEVICE, MOBILE COMPUTER MANAGEMENT DEVICE, MOBILE COMPUTER MANAGEMENT METHOD, AND COMMUNICATION CONTROL METHOD
US9800457B2 (en) Network management
US6678732B1 (en) Dynamic host configuration protocol server for allocating IP addresses to a plurality of clients
EP2919444B1 (en) Method, relay device, and system for acquiring internet protocol address in network
EP1635256A1 (en) Communication system and method for upgrade of user terminal software and user terminal upgraded by same
US20080028071A1 (en) Communication load reducing method and computer system
WO2013159641A1 (en) Address allocation method, device, and system
CN101951417A (en) Method, system and trunk equipment for assigning multiple server addresses
JP2001211180A (en) Dhcp server with client authenticating function and authenticating method thereof
EP1472611A1 (en) Automatic remote assignment of internet protocol address information to a network device
Droms RFC1541: Dynamic Host Configuration Protocol
JP2004193643A (en) Ip address automatic assignment method / program, and terminal
JP2001308909A (en) Method for assigning logical network address and terminal
CN108093091B (en) Method for acquiring additional information of host and proxy equipment
WO2020153133A1 (en) Communication management system, management server, vpn server, terminal, communication management method, and program
JP2008244765A (en) Dynamic host configuration protocol server, and ip address assignment method
JP2001189761A (en) Remote access server device
JP2003046519A (en) Address automatic setting method
JP2003179603A (en) Communication control method in communication system, program, transmitter and receiver
JP3775378B2 (en) Firewall system that supports dynamic IP address assignment
EP1355476A1 (en) Processing device for address allocation
CN110995877B (en) Method for automatically updating IP address, snooping equipment and DHCP server
JP3856310B2 (en) Device monitoring apparatus and device monitoring system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040421

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040421

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20041220

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20041220

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060816