JPH09200247A - Ip address setting method and device therefor - Google Patents

Ip address setting method and device therefor

Info

Publication number
JPH09200247A
JPH09200247A JP8005765A JP576596A JPH09200247A JP H09200247 A JPH09200247 A JP H09200247A JP 8005765 A JP8005765 A JP 8005765A JP 576596 A JP576596 A JP 576596A JP H09200247 A JPH09200247 A JP H09200247A
Authority
JP
Japan
Prior art keywords
address
network
packet
response
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.)
Granted
Application number
JP8005765A
Other languages
Japanese (ja)
Other versions
JP2701823B2 (en
Inventor
Hiroshi Okamoto
啓 岡本
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8005765A priority Critical patent/JP2701823B2/en
Publication of JPH09200247A publication Critical patent/JPH09200247A/en
Application granted granted Critical
Publication of JP2701823B2 publication Critical patent/JP2701823B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily set an intrinsic internet protocol(IP) address to network equipment. SOLUTION: Through an interface connected to a network, packet data on that network are sampled and the network address of the network is specified (S1) from these packet data. Besides, any arbitrary host address corresponding to this network address is selected (S2), the temporary IP address is set based on these host address and network address, and a response request packet addressed to this temporary IP address is issued (S3) through the interface onto the network. When no response packet is returned corresponding to this response request packet, this temporary IP address is set (S5) as a formal IP address.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、IPアドレス設定
方法及び装置に係り、特に、TCP/IPプロトコルを
使用したネットワーク環境に接続されるネットワーク機
器に、固有のIPアドレスを自動的に設定するIPアド
レス設定方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IP address setting method and apparatus, and more particularly, to an IP address for automatically setting a unique IP address to a network device connected to a network environment using a TCP / IP protocol. The present invention relates to an address setting method and apparatus.

【0002】[0002]

【従来の技術】近年、ネットワーク環境に直接接続でき
る小型のプリンタ装置が普及しはじめている。TCP/
IPプロトコルを使用したネットワーク環境に直接プリ
ンタ装置を接続する場合は、他のネットワーク機器と重
複しない固有のIPアドレス(インタネットアドレス)
を設定する必要がある。このIPアドレスは、単一のネ
ットワーク毎に固有のネットワークアドレスと、当該ネ
ットワークに接続される機器にそれぞれ固有のホストア
ドレスとの組み合わせにより与えられる。
2. Description of the Related Art In recent years, small printers that can be directly connected to a network environment have begun to spread. TCP /
When connecting a printer directly to a network environment using the IP protocol, a unique IP address (Internet address) that does not overlap with other network devices
Need to be set. The IP address is given by a combination of a unique network address for each single network and a unique host address for each device connected to the network.

【0003】特に、最近ではオフィスや工場内にローカ
ルエリアネットワーク(LAN)の敷設される例が増え
ており、システム規模の計画的な拡張に合わせて、上記
のネットワークプリンタを始めネットワーク機器の増設
も頻繁に行われるようになってきている。
In particular, recently, a local area network (LAN) is being installed in offices and factories, and in accordance with the planned expansion of the system scale, the network printer and other network devices can be added. It is becoming more frequent.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来例にあっては、新たにネットワーク機器を増設する場
合、他の既存のネットワーク機器とIPアドレスが重複
しないように綿密な計画の下にIPアドレスを選定する
必要があり、労力を要する不都合があった。また、増設
するネットワーク機器にIPアドレスを設定するには特
別な機器操作を伴うため、機器の設置にあたりネットワ
ークオペレーティングシステムやTCP/IPプロトコ
ルに関する知識に精通した専門の作業者を要する不都合
があった。
However, in the above-mentioned conventional example, when a new network device is added, the IP address is carefully planned so that the IP address does not overlap with other existing network devices. And there was a disadvantage that labor was required. Further, setting an IP address for the network device to be added involves special device operation, and thus there is a problem that a specialized worker who is familiar with knowledge about the network operating system and TCP / IP protocol is required for installing the device.

【0005】[0005]

【発明の目的】本発明は、かかる従来例の有する不都合
を改善し、特に、ネットワーク機器に搭載され又は併設
され、当該ネットワーク機器に固有のIPアドレスを容
易に設定することのできるIPアドレス設定方法及び装
置を提供することを、その目的とする。
An object of the present invention is to solve the disadvantages of the prior art and, in particular, to provide an IP address setting method which is mounted on or attached to a network device and which can easily set an IP address unique to the network device. And to provide an apparatus.

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明で
は、ネットワークに接続されたインタフェースを介し当
該ネットワーク上のパケットデータを採取し、このパケ
ットデータからネットワークのネットワークアドレスを
特定する。また、このネットワークアドレスに対応した
任意のホストアドレスを選択し、このホストアドレス及
びネットワークアドレスに基づいて仮のIPアドレスを
設定し、この仮のIPアドレスに宛てた応答要求パケッ
トをインタフェースを介してネットワーク上に発行す
る。そして、この応答要求パケットに対し応答パケット
が返信されない場合に、上記仮のIPアドレスを正式な
IPアドレスとして設定する、という方法を採ってい
る。
According to the first aspect of the present invention, packet data on a network is collected through an interface connected to the network, and a network address of the network is specified from the packet data. Further, an arbitrary host address corresponding to the network address is selected, a temporary IP address is set based on the host address and the network address, and a response request packet addressed to the temporary IP address is sent to the network via the interface. Issue above. Then, when a response packet is not returned in response to the response request packet, the temporary IP address is set as a formal IP address.

【0007】請求項2記載の発明では、上記応答要求パ
ケットの発行に対し応答パケットが返信された場合に、
上記ホストアドレスを変更し、応答要求パケットを再発
行する、という方法を採っている。
In the invention according to claim 2, when a response packet is returned in response to the issuance of the response request packet,
A method of changing the host address and reissuing the response request packet is adopted.

【0008】請求項3記載の発明では、ネットワークに
接続可能なインタフェースと、このインタフェースを介
し当該ネットワーク上のパケットデータを採取するパケ
ット採取手段と、パケットデータからネットワークのネ
ットワークアドレスを特定するネットワークアドレス特
定手段とを備えている。また、ネットワークアドレスに
対応した任意のホストアドレスを選択するホストアドレ
ス選択手段と、ホストアドレス及びネットワークアドレ
スに基づいて仮のIPアドレスを設定する仮IPアドレ
ス設定手段と、仮のIPアドレスに宛てた応答要求パケ
ットをインタフェースを介してネットワーク上に発行す
る応答要求発行手段とを有する。更に、応答要求パケッ
トに対し応答パケットが返信されない場合に,仮のIP
アドレスを正式なIPアドレスとして設定するIPアド
レス設定手段とを備えた、という構成を採っている。
According to the third aspect of the present invention, an interface connectable to a network, packet collecting means for collecting packet data on the network via the interface, and a network address specification for specifying a network address of the network from the packet data. Means. Further, a host address selecting means for selecting an arbitrary host address corresponding to the network address, a temporary IP address setting means for setting a temporary IP address based on the host address and the network address, and a response addressed to the temporary IP address Response request issuing means for issuing a request packet to the network via the interface. Further, if a response packet is not returned for the response request packet, the temporary IP
An IP address setting means for setting an address as a formal IP address is provided.

【0009】請求項4記載の発明では、上記応答要求パ
ケットの発行に対し応答パケットが返信された場合に、
ホストアドレス選択手段がホストアドレスを変更し、応
答要求発行手段が上記応答要求パケットを再発行する、
という構成を採っている。
In the invention according to claim 4, when a response packet is returned in response to the issuance of the response request packet,
The host address selecting means changes the host address, and the response request issuing means re-issues the response request packet;
The configuration is adopted.

【0010】請求項1又は3記載の発明では、ネットワ
ーク上から採取したパケットデータのネットワークアド
レスと同一のネットワークアドレスを有し、かつ、当該
ネットワークに接続されている他のネットワーク機器と
重複しないホストアドレスを持ったIPアドレスが自動
的に設定される。
According to the first or third aspect of the present invention, a host address which has the same network address as the network address of the packet data collected from the network and does not overlap with other network devices connected to the network Is automatically set.

【0011】請求項2又は4記載の発明では、設定した
仮のIPアドレスが他のネットワーク機器と重複してい
る場合には、ホストアドレスの異なる新たなIPアドレ
スが設定され、応答要求パケットが再発行される。そし
て、仮のIPアドレスが他のネットワーク機器と重複し
ないことが確認された段階で当該仮のIPアドレスが正
式なIPアドレスとして設定される。
In the invention according to claim 2 or 4, when the set temporary IP address overlaps with another network device, a new IP address having a different host address is set, and the response request packet is regenerated. publish. Then, when it is confirmed that the temporary IP address does not overlap with another network device, the temporary IP address is set as an official IP address.

【0012】ここで、応答パケットとは、仮のIPアド
レスと同一のIPアドレスを有するネットワーク機器
が、受信した応答要求パケットに対して返信するパケッ
トをいう。これらの手段により、上記目的を達成しよう
とするものである。
Here, the response packet is a packet that is returned by the network device having the same IP address as the temporary IP address to the received response request packet. The object is achieved by these means.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施形態を図1
乃至図2に基づいて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIG.
It will be described with reference to FIG.

【0014】図1において、IPアドレス設定装置10
は、ネットワークプリンタ100に搭載されている。こ
のネットワークプリンタ100(以下、プリンタ100
という)は、予め準備された制御プログラムに従って各
種の演算処理や制御処理等を実行する中央処理装置(C
PU)1と、このCPU1で扱われる各種のデータを記
憶するメモリ2と、複数の設定スイッチを備えプリンタ
100の印字条件の設定やプリンタ機構の強制動作を付
勢するためのオペレータパネル11と、プリンタ100
の動作状況等を表示する表示部12と、トランシーバケ
ーブルCを介してネットワーク伝送路Bに接続されたイ
ンタフェース3と、このインタフェース3で受信した印
刷データに基づいて記録媒体への印刷を行う印刷部13
とを備えている。ここで、符号TRは、10BASE−
5仕様のネットワーク伝送路Bとトランシーバケーブル
Cとの間を中継するトランシーバを示す。ネットワーク
伝送路B上では、TCP/IPプロトコルに準拠したデ
ータの伝送が行われるようになっている。
In FIG. 1, an IP address setting device 10
Are installed in the network printer 100. This network printer 100 (hereinafter, printer 100)
) Is a central processing unit (C) that executes various arithmetic processes and control processes according to a control program prepared in advance.
PU) 1, a memory 2 for storing various data handled by the CPU 1, an operator panel 11 having a plurality of setting switches for setting printing conditions of the printer 100 and forcing a forced operation of the printer mechanism. Printer 100
A display unit 12 for displaying the operation status of the printer, an interface 3 connected to the network transmission line B via the transceiver cable C, and a printing unit for printing on a recording medium based on print data received by the interface 3. 13
And Here, the code TR is 10BASE-
5 shows a transceiver that relays between a network transmission line B of five specifications and a transceiver cable C. On the network transmission path B, data transmission conforming to the TCP / IP protocol is performed.

【0015】このうち、CPU1,メモリ2,インタフ
ェース3は、IPアドレス設定装置10を構成する。即
ち、CPU1は、通常のプリンタとしての処理機能に加
え、本実施形態において以下の諸機能を実現するように
なっている。
The CPU 1, the memory 2, and the interface 3 constitute an IP address setting device 10. That is, the CPU 1 implements the following various functions in the present embodiment in addition to the processing functions as a normal printer.

【0016】.インタフェース3を介しネットワーク
伝送路B上のパケットデータを採取するパケット採取手
段としての機能。
[0016] A function as packet collecting means for collecting packet data on the network transmission path B via the interface 3;

【0017】.採取したパケットデータからネットワ
ーク伝送路Bのネットワークアドレスを特定するネット
ワークアドレス特定手段としての機能。
[0017] Function as network address specifying means for specifying the network address of the network transmission path B from the collected packet data.

【0018】.特定されたネットワークアドレスに対
応した任意のホストアドレスを選択するホストアドレス
選択手段としての機能。
.. A function as a host address selecting means for selecting an arbitrary host address corresponding to the specified network address.

【0019】.選択されたホストアドレス及びネット
ワークアドレスに基づいて仮のIPアドレスを設定する
仮IPアドレス設定手段としての機能。
[0019] Function as temporary IP address setting means for setting a temporary IP address based on the selected host address and network address.

【0020】.仮のIPアドレスに宛てた応答要求パ
ケットをインタフェース3を介してネットワーク伝送路
B上に発行する応答要求発行手段としての機能。
[0020] A function as a response request issuing means for issuing a response request packet addressed to a temporary IP address on the network transmission path B via the interface 3.

【0021】.発行された応答要求パケットに対し応
答パケットが返信されない場合に,仮のIPアドレスを
正式なIPアドレスとして設定するIPアドレス設定手
段としての機能。
[0021] A function as IP address setting means for setting a temporary IP address as an official IP address when a response packet is not returned in response to the issued response request packet.

【0022】.応答要求パケットに対する応答パケッ
トが返信された場合は、ホストアドレスを変更し、応答
要求パケットを再発行する機能。
[0022] When a response packet is returned for a response request packet, this function changes the host address and reissues the response request packet.

【0023】これらの機能は、メモリ2に準備されてい
る動作プログラムを逐次実行することにより実現される
ようになっている。ここで、メモリ2は、ランダムアク
セスメモリ(RAM)の他、書替可能な付記発性メモリ
(例えば、EEPROM等)を備えている。付記発性メ
モリには、正式に設定されたIPアドレスが格納され
る。
These functions are realized by sequentially executing operation programs prepared in the memory 2. Here, the memory 2 includes a rewritable additional memory (for example, an EEPROM) in addition to a random access memory (RAM). In the additional memory, an officially set IP address is stored.

【0024】次に、上記実施形態におけるIPアドレス
設定動作を図2に基づいて説明する。
Next, an IP address setting operation in the above embodiment will be described with reference to FIG.

【0025】例えば、オペレータパネル11の所定のキ
ーを押下しながらプリンタ100本体の電源を投入する
ことにより、メモリ2からCPU1にファームウェアが
呼び出された後、IPアドレス設定モードに移行され
る。この際、ネットワーク伝送路Bに接続されている全
ての機器を起動させておく。
For example, by turning on the power of the printer 100 while pressing a predetermined key on the operator panel 11, the firmware is called from the memory 2 to the CPU 1, and then the mode is shifted to the IP address setting mode. At this time, all devices connected to the network transmission path B are activated.

【0026】IPアドレス設定モードに移行すると、C
PU1は、ネットワーク伝送路Bを伝送する任意のパケ
ットデータをインタフェース3を介して採取する。続い
て、CPU1は、当該パケットデータの宛先からネット
ワーク伝送路Bに与えられているネットワークアドレス
を特定する(ステップS1)。続いて、CPU1は、特
定したネットワークアドレスに対応する任意のホストア
ドレスを選択する(ステップS2)。例えば、メモリ2
にホストアドレス設定用のカウンタを用意し、このカウ
ンタの指標値に基づいてホストアドレスを設定しても良
い。
When shifting to the IP address setting mode, C
The PU 1 collects arbitrary packet data transmitted on the network transmission path B via the interface 3. Subsequently, the CPU 1 specifies a network address given to the network transmission path B from the destination of the packet data (step S1). Subsequently, the CPU 1 selects an arbitrary host address corresponding to the specified network address (Step S2). For example, memory 2
May be provided with a host address setting counter, and the host address may be set based on the index value of the counter.

【0027】次に、CPU1は、特定したネットワーク
アドレスと選択したホストアドレスとに基づいて仮のI
Pアドレスを設定し、この仮のIPアドレスに宛てた応
答要求パケットをインタフェース3を介しネットワーク
伝送路Bに発行する(ステップS3)。この際、ネット
ワークプリンタ側のホストアドレスには予め設定された
所定の暫定値を用いれば良い。そして、この応答要求パ
ケットの発行に対し、他のネットワーク機器から応答パ
ケットが返信されたか否かを判断する(ステップS
4)。
Next, the CPU 1 determines a temporary I / O based on the specified network address and the selected host address.
The P address is set, and a response request packet addressed to the temporary IP address is issued to the network transmission path B via the interface 3 (step S3). At this time, a predetermined temporary value set in advance may be used for the host address of the network printer. Then, it is determined whether a response packet has been returned from another network device in response to the issuance of the response request packet (step S).
4).

【0028】ここで、応答要求パケットは例えばICM
Pエコーリクエストパケットであり、応答パケットはI
CMPエコーリプライパケットである(pingコマン
ド)。
Here, the response request packet is, for example, ICM
P echo request packet, and the response packet is I
This is a CMP echo reply packet (ping command).

【0029】この結果、応答パケットが返信された場合
は、仮のIPアドレスと同一のIPアドレスを有するネ
ットワーク機器が存在するので、CPU1は、新たに異
なるホストアドレスを選択し、仮のIPアドレスを再度
設定し、応答要求パケットを再発行する(ステップS
2,S3)。
As a result, when a response packet is returned, there is a network device having the same IP address as the temporary IP address, so that the CPU 1 selects a new different host address and changes the temporary IP address. Set again and reissue the response request packet (step S
2, S3).

【0030】一方、応答パケットが返信されない場合、
CPU1は、仮のIPアドレスと同一のIPアドレスを
有するネットワーク機器は存在しないと判断し、当該仮
のIPアドレスを正式なIPアドレスとしてメモリ2の
付記発性メモリに登録する(ステップS5)。また、C
PU1は、正式に登録したIPアドレスを表示部12に
表示する。これにより、システム管理者は、プリンタ1
00に正式に設定されたIPアドレスを知ることができ
る。
On the other hand, when the response packet is not returned,
The CPU 1 determines that there is no network device having the same IP address as the temporary IP address, and registers the temporary IP address as a formal IP address in the additional memory of the memory 2 (step S5). Also, C
The PU 1 displays the officially registered IP address on the display unit 12. Thereby, the system administrator can set the printer 1
It is possible to know the IP address officially set to 00.

【0031】続いて、プリンタ100を再起動すると、
CPU1は、メモリ2に記憶されたIPアドレスを有す
るネットワークプリンタとして起動し、当該IPアドレ
スに宛てられた印刷データをインタフェース3を介して
採取し、印刷部13による印刷動作を付勢する。
Subsequently, when the printer 100 is restarted,
The CPU 1 starts up as a network printer having an IP address stored in the memory 2, collects print data addressed to the IP address via the interface 3, and activates a printing operation by the printing unit 13.

【0032】このように、本実施形態によれば、ネット
ワーク上から採取したパケットデータのネットワークア
ドレスと同一のネットワークアドレスを有し、かつ、当
該ネットワークに接続されている他のネットワーク機器
と重複しないホストアドレスを持ったIPアドレスが自
動的に設定されるので、ネットワーク機器の導入に当た
り管理者によるIPアドレスの計画的な選定が不要とな
り、機器設置時の作業者の労力を軽減することができ
る。また、設置作業に当たりネットワークオペレーティ
ングシステムやTCP/IPプロトコルに関する専門的
な知識を要しないため、設置先のユーザ等でも容易に設
置することができる。
As described above, according to the present embodiment, the host having the same network address as the network address of the packet data collected from the network and not overlapping with other network devices connected to the network. Since an IP address having an address is automatically set, a systematic selection of an IP address by an administrator is not required when installing a network device, and the labor of a worker when installing the device can be reduced. In addition, the installation work does not require any specialized knowledge of the network operating system or the TCP / IP protocol, so that the user at the installation location can easily install the system.

【0033】更に、設定した仮のIPアドレスが他のネ
ットワーク機器と重複している場合には、ホストアドレ
スの異なる新たなIPアドレスが設定され、応答要求パ
ケットが再発行され、仮のIPアドレスが他のネットワ
ーク機器と重複しないことが確認された段階で当該仮の
IPアドレスが正式なIPアドレスとして設定されるの
で、IPアドレスの設定を確実に行うことができる。
Further, when the set temporary IP address is the same as another network device, a new IP address having a different host address is set, a response request packet is reissued, and the temporary IP address is changed. The temporary IP address is set as an official IP address when it is confirmed that the IP address does not overlap with other network devices, so that the IP address can be set reliably.

【0034】ここで、本実施形態におけるIPアドレス
設定装置10は、ネットワークプリンタに限らず、広く
全てのネットワーク機器に好適なものであり、IPアド
レスを必要とするあらゆるネットワーク機器に搭載又は
併設することのできるものである。また、本発明の思想
は、TCP/IPプロトコル以外のあらゆるネットワー
クプロトコルに適用可能なものである。
Here, the IP address setting device 10 according to the present embodiment is not limited to a network printer, but is suitable for a wide variety of network devices. It can be. The concept of the present invention is applicable to all network protocols other than the TCP / IP protocol.

【0035】[0035]

【発明の効果】本発明は、以上のように構成され機能す
るので、請求項1又は3記載の発明では、ネットワーク
上から採取したパケットデータのネットワークアドレス
と同一のネットワークアドレスを有し、かつ、当該ネッ
トワークに接続されている他のネットワーク機器と重複
しないホストアドレスを持ったIPアドレスが自動的に
設定されるので、ネットワーク機器の導入に当たり管理
者によるIPアドレスの計画的な選定が不要となり、機
器設置時の作業者の労力を軽減することができる。ま
た、設置作業に当たりネットワークオペレーティングシ
ステムやTCP/IPプロトコルに関する専門的な知識
を要しないため、設置先のユーザ等でも容易に設置する
ことができる。
Since the present invention is constructed and functions as described above, the invention according to claim 1 or 3 has the same network address as the network address of the packet data collected from the network, and Since an IP address having a host address that does not overlap with other network devices connected to the network is automatically set, there is no need for a systematic selection of an IP address by an administrator when introducing network devices, and The labor of the worker at the time of installation can be reduced. In addition, the installation work does not require any specialized knowledge of the network operating system or the TCP / IP protocol, so that the user at the installation location can easily install the system.

【0036】請求項2又は4記載の発明では、設定した
仮のIPアドレスが他のネットワーク機器と重複してい
る場合には、ホストアドレスの異なる新たなIPアドレ
スが設定され、応答要求パケットが再発行され、仮のI
Pアドレスが他のネットワーク機器と重複しないことが
確認された段階で当該仮のIPアドレスが正式なIPア
ドレスとして設定されるので、IPアドレスの設定を確
実に行うことができる、という従来にない優れたIPア
ドレス設定方法及び装置を提供することができる。
According to the second or fourth aspect of the present invention, when the set temporary IP address is duplicated with another network device, a new IP address having a different host address is set, and the response request packet is retransmitted. Issued and provisional I
The temporary IP address is set as a formal IP address when it is confirmed that the P address does not overlap with another network device, so that the IP address can be set reliably without the conventional advantage. And a method and apparatus for setting an IP address.

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

【図1】本発明の一実施形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1に示す実施形態のIPアドレス設定動作を
説明するフローチャートである。
FIG. 2 is a flowchart illustrating an IP address setting operation of the embodiment shown in FIG.

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

1 中央処理装置(CPU) 2 メモリ 3 インタフェース 1 Central Processing Unit (CPU) 2 Memory 3 Interface

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークに接続されたインタフェー
スを介し当該ネットワーク上のパケットデータを採取
し、このパケットデータから前記ネットワークのネット
ワークアドレスを特定し、このネットワークアドレスに
対応した任意のホストアドレスを選択し、このホストア
ドレス及び前記ネットワークアドレスに基づいて仮のI
Pアドレスを設定し、この仮のIPアドレスに宛てた応
答要求パケットを前記インタフェースを介してネットワ
ーク上に発行し、この応答要求パケットに対し応答パケ
ットが返信されない場合に、前記仮のIPアドレスを正
式なIPアドレスとして設定することを特徴としたIP
アドレス設定方法。
1. A packet data on a network is collected through an interface connected to the network, a network address of the network is specified from the packet data, and an arbitrary host address corresponding to the network address is selected. Based on the host address and the network address, a temporary I
A P-address is set, a response request packet addressed to the temporary IP address is issued on the network via the interface, and if the response packet is not returned in response to the response request packet, the temporary IP address is formalized. IP that is set as a simple IP address
Address setting method.
【請求項2】 前記応答要求パケットの発行に対し応答
パケットが返信された場合に、前記ホストアドレスを変
更し、前記応答要求パケットを再発行することを特徴と
した請求項2記載のIPアドレス設定方法。
2. The IP address setting according to claim 2, wherein when a response packet is returned in response to the issuance of the response request packet, the host address is changed and the response request packet is reissued. Method.
【請求項3】 ネットワークに接続可能なインタフェー
スと、このインタフェースを介し当該ネットワーク上の
パケットデータを採取するパケット採取手段と、前記パ
ケットデータから前記ネットワークのネットワークアド
レスを特定するネットワークアドレス特定手段と、前記
ネットワークアドレスに対応した任意のホストアドレス
を選択するホストアドレス選択手段と、前記ホストアド
レス及び前記ネットワークアドレスに基づいて仮のIP
アドレスを設定する仮IPアドレス設定手段と、前記仮
のIPアドレスに宛てた応答要求パケットを前記インタ
フェースを介してネットワーク上に発行する応答要求発
行手段と、前記応答要求パケットに対し応答パケットが
返信されない場合に,前記仮のIPアドレスを正式なI
Pアドレスとして設定するIPアドレス設定手段とを備
えたことを特徴とするIPアドレス設定装置。
3. An interface connectable to a network, packet collecting means for collecting packet data on the network via the interface, network address specifying means for specifying a network address of the network from the packet data, A host address selecting means for selecting an arbitrary host address corresponding to the network address, and a temporary IP based on the host address and the network address.
Temporary IP address setting means for setting an address, response request issuing means for issuing a response request packet addressed to the temporary IP address on the network via the interface, and no response packet is returned for the response request packet In this case, the temporary IP address is
An IP address setting device, comprising: an IP address setting means for setting a P address.
【請求項4】 前記応答要求パケットの発行に対し前記
応答パケットが返信された場合に、前記ホストアドレス
選択手段が前記ホストアドレスを変更し、前記応答要求
発行手段が前記応答要求パケットを再発行することを特
徴とした請求項3記載のIPアドレス設定装置。
4. When the response packet is returned in response to the issuance of the response request packet, the host address selecting means changes the host address, and the response request issuing means reissues the response request packet. 4. The IP address setting device according to claim 3, wherein:
JP8005765A 1996-01-17 1996-01-17 IP address setting method and apparatus Expired - Lifetime JP2701823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8005765A JP2701823B2 (en) 1996-01-17 1996-01-17 IP address setting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8005765A JP2701823B2 (en) 1996-01-17 1996-01-17 IP address setting method and apparatus

Publications (2)

Publication Number Publication Date
JPH09200247A true JPH09200247A (en) 1997-07-31
JP2701823B2 JP2701823B2 (en) 1998-01-21

Family

ID=11620227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8005765A Expired - Lifetime JP2701823B2 (en) 1996-01-17 1996-01-17 IP address setting method and apparatus

Country Status (1)

Country Link
JP (1) JP2701823B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002229868A (en) * 2001-01-30 2002-08-16 Fujitsu Ltd Terminal device and computer program
JP2006295532A (en) * 2005-04-11 2006-10-26 Kyocera Mita Corp Information processor, network connection program and network connecting method
JP2008109199A (en) * 2006-10-23 2008-05-08 Fujitsu Ltd Communication control method
US7546358B1 (en) 1999-02-24 2009-06-09 Canon Kabushiki Kaisha Network device control apparatus, network device control method, network device control program, and computer-readable recording medium storing network device control program therein
JP2010205217A (en) * 2009-03-06 2010-09-16 Fujitsu Ltd Information processor, identification information setting program, and identification information setting method
CN107566544A (en) * 2017-08-30 2018-01-09 郑州云海信息技术有限公司 A kind of storage device disposition change method for storage cluster

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546358B1 (en) 1999-02-24 2009-06-09 Canon Kabushiki Kaisha Network device control apparatus, network device control method, network device control program, and computer-readable recording medium storing network device control program therein
JP2002229868A (en) * 2001-01-30 2002-08-16 Fujitsu Ltd Terminal device and computer program
JP2006295532A (en) * 2005-04-11 2006-10-26 Kyocera Mita Corp Information processor, network connection program and network connecting method
JP2008109199A (en) * 2006-10-23 2008-05-08 Fujitsu Ltd Communication control method
JP2010205217A (en) * 2009-03-06 2010-09-16 Fujitsu Ltd Information processor, identification information setting program, and identification information setting method
CN107566544A (en) * 2017-08-30 2018-01-09 郑州云海信息技术有限公司 A kind of storage device disposition change method for storage cluster
CN107566544B (en) * 2017-08-30 2020-07-07 苏州浪潮智能科技有限公司 Storage device deployment change method for storage cluster

Also Published As

Publication number Publication date
JP2701823B2 (en) 1998-01-21

Similar Documents

Publication Publication Date Title
JP2007019614A (en) Terminal and program
JP2701823B2 (en) IP address setting method and apparatus
US8184322B2 (en) Image forming system, device managing method thereof, and program therefor
EP1150472B1 (en) Method and system for installing available network protocols
JP3821138B2 (en) Port setting changing device, port setting changing control program, and port setting changing method
JP2007213363A (en) Printing management device and printing management method
JP2000035864A (en) Printing controller
JP2000049891A (en) Programmable logic controller and communication condition setting method and communication condition setting device therefor
JP2003264556A (en) Device and program for setting address
JPH01135150A (en) Node address setting system for network
JP4890925B2 (en) Information processing apparatus, information processing method, and program
JP2007237472A (en) Printing apparatus and printing program
JP2005065164A (en) Communication control processor and communication control processing method
JP2004206223A (en) Initial setting system of consoleless apparatus, initial setting method, and program
KR100312723B1 (en) Display Method of the Name of Network Printer
JP2002023983A (en) Network terminal device and network system
JP2001125755A (en) Printer, print system and storage medium with stored program
JPH07328215A (en) Game machine data transmission system
JPH05292146A (en) Discrimination method for communication protocol
JPH07182261A (en) Information processor
JP2006085612A (en) Operation diagnosing device, its method, and its program
JP4838450B2 (en) Server apparatus, server apparatus control method, program, and storage medium
JPS62211762A (en) Shared device control system
JP2006113932A (en) Restarting device and method
JP2003140862A (en) Printing method, electronic device and program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970902

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

Free format text: PAYMENT UNTIL: 20071003

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 14

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 14

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 15