JP3507760B2 - ARP table fixing system and ARP table fixing method - Google Patents

ARP table fixing system and ARP table fixing method

Info

Publication number
JP3507760B2
JP3507760B2 JP2000091964A JP2000091964A JP3507760B2 JP 3507760 B2 JP3507760 B2 JP 3507760B2 JP 2000091964 A JP2000091964 A JP 2000091964A JP 2000091964 A JP2000091964 A JP 2000091964A JP 3507760 B2 JP3507760 B2 JP 3507760B2
Authority
JP
Japan
Prior art keywords
address
arp table
information
unit
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000091964A
Other languages
Japanese (ja)
Other versions
JP2001285349A (en
Inventor
伸一 武田
武 宮本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Communication Systems Ltd
Original Assignee
NEC Corp
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 Corp, NEC Communication Systems Ltd filed Critical NEC Corp
Priority to JP2000091964A priority Critical patent/JP3507760B2/en
Publication of JP2001285349A publication Critical patent/JP2001285349A/en
Application granted granted Critical
Publication of JP3507760B2 publication Critical patent/JP3507760B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信ネットワーク
において、アドレス解決プロトコルを実装し、ARPテ
ーブル情報の更新を行う通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system that implements an address resolution protocol and updates ARP table information in a communication network.

【0002】[0002]

【従来の技術】従来、Ethernetなどを用いて構
成されたLAN(Local Area Networ
k)等で、宛先端末を指定するために最も一般的に利用
されるのはIP(Internet Protoco
l)アドレスである。IPアドレスはネットワーク層で
認識される論理的なアドレス(プロトコルアドレス)
で、ネットワーク管理者が個々のコンピュータに割り当
てるものであるため、コンピュータがあらかじめ持って
いる物理アドレスには対応してはいない。しかし、実際
の通信ではIPアドレスだけでなく物理アドレスも必要
である。
2. Description of the Related Art Conventionally, a LAN (Local Area Network) configured using Ethernet or the like.
In k), etc., IP (Internet Protocol) is most commonly used to specify a destination terminal.
l) An address. IP address is a logical address (protocol address) recognized at the network layer
Since it is assigned to each computer by the network administrator, it does not correspond to the physical address that the computer has in advance. However, in actual communication, not only the IP address but also the physical address is required.

【0003】通信相手の一方のアドレスは分かっている
が他方のアドレスが不明の場合、不明のアドレス情報を
取得するための手段として用いられるのが、各種のアド
レス解決プロトコルである。
When one address of a communication partner is known but the other address is unknown, various address resolution protocols are used as means for acquiring unknown address information.

【0004】ARP(Address Resolut
ion Protocol:アドレス解決プロトコル)
とは、ネットワーク上のホスト間で、通信相手のプロト
コルアドレスからそれに対応する固有のハードウェアア
ドレスを知るために使われるプロトコルである。そし
て、取得したプロトコルアドレスとハードウェアアドレ
スの対応関係から、送信の際に、相手先のハードウェア
を意識することなくデータの送受信を行う。
ARP (Address Resolution)
Ion Protocol: Address resolution protocol)
Is a protocol that is used between hosts on a network to know a unique hardware address corresponding to the protocol address of a communication partner. Then, based on the acquired correspondence between the protocol address and the hardware address, the data is transmitted / received without being aware of the hardware of the partner at the time of transmission.

【0005】インターネットの標準化組織であるIET
F(Internet Engineering Ta
sk Force、インターネット技術標準化委員会)
では、RFC 826の「Ethernet(登録商
標) Address Resolution Pro
tocol」で、ARP仕様について規定している。
IET, a standardization organization for the Internet
F (Internet Engineering Ta)
(sk Force, Internet Technology Standardization Committee)
In RFC 826, “Ethernet (registered trademark) Address Resolution Pro”
“Tocol” specifies the ARP specifications.

【0006】以下、ARPによるアドレス解決の処理の
概要について簡単に説明する。IPネットワークにおい
てはIPデータグラムを伝送する際に、発信側のホスト
は、まず通信相手のIPアドレスをキーにして、キャッ
シュメモリ内のアドレス変換テーブルを検索し、通信相
手の登録があるかどうかを調べ、登録されていれば、そ
の物理アドレスをIPデータグラムの宛先アドレスに設
定する。対応する登録情報が無い場合は、ARPを起動
して通信相手の物理アドレスを取得する。このようにし
て取得した物理アドレスは、IPメッセージと組み合わ
せてアドレス変換テーブルに登録しておく。したがっ
て、それ以降はアドレス変換テーブルを参照することで
効率なアドレス変換ができる。
The outline of the address resolution processing by ARP will be briefly described below. When transmitting an IP datagram in an IP network, the originating host first searches the address conversion table in the cache memory using the IP address of the communication partner as a key to check whether the communication partner is registered. If it is checked and registered, its physical address is set as the destination address of the IP datagram. If there is no corresponding registration information, ARP is activated to acquire the physical address of the communication partner. The physical address thus obtained is registered in the address conversion table in combination with the IP message. Therefore, thereafter, efficient address conversion can be performed by referring to the address conversion table.

【0007】図6は、ARPによるアドレス解決の概念
を示す説明図である。図において、ホストaは通信相手
の物理アドレスを知るために、既知の相手のIPアドレ
スPyをARP要求メッセージ(ARPリクエスト)に
設定して、LAN上にブロードキャストする。このAR
P要求メッセージを受信したホストyは、その物理アド
レスとIPアドレスを組にした応答メッセージを問い合
わせ元のホストaに返送する。そして、ホストaはホス
トyの物理アドレスとIPアドレスの組をアドレス変換
テーブルに登録し、以降はこのテーブルのエントリを調
べてアドレス変換を行う。
FIG. 6 is an explanatory diagram showing the concept of address resolution by ARP. In order to know the physical address of the communication partner, the host a sets the IP address Py of the known partner in the ARP request message (ARP request) and broadcasts it on the LAN. This AR
The host y that has received the P request message returns a response message in which the physical address and the IP address are paired to the inquiring host a. Then, the host a registers the set of the physical address and the IP address of the host y in the address translation table, and thereafter, the entry of this table is examined to perform the address translation.

【0008】こうして、LAN上のホストaがホストy
宛にIPデータグラムを伝送する際に、ホストyのIP
アドレスは分かっているが物理アドレスが不明の場合、
ARPを使ってホストyの物理アドレスを入手すること
ができる。
Thus, the host a on the LAN is the host y.
When sending an IP datagram to the
If you know the address but not the physical address,
The physical address of host y can be obtained using ARP.

【0009】このようなARPを用いた従来技術として
特開平11−27298号公報に記載のネットワークの
アドレス解決方法及びアドレス解決端末がある。本従来
技術においては、通信を行われる都度、ブロードキャス
トされたパケットを通信相手のホストを含めたLAN上
の全てのホストが一旦受信して処理し、論理アドレスが
一致したホストのみが応答するため、オーバーヘッドが
増大するという問題点に対し、各端末の起動時に、1回
それぞれの論理アドレス及び物理アドレスを含む情報を
ネットワークにブロードキャストし、受信した各アドレ
ス解決端末では、それに含まれる論理アドレスと、物理
アドレスとが対応づけられてアドレステーブルに登録さ
れるため、その後のオーバーヘッドを軽減させるもので
ある。
As a conventional technique using such an ARP, there is a network address resolution method and an address resolution terminal described in Japanese Patent Laid-Open No. 11-27298. In this conventional technique, every time communication is performed, all hosts on the LAN, including the host of the communication partner, receive and process the broadcast packet, and only the host having the matching logical address responds. To address the problem of increased overhead, each address resolution terminal that broadcasts information containing a logical address and a physical address once upon startup of each terminal and receives the logical address and the physical address Since the address and the address are associated with each other and registered in the address table, the subsequent overhead is reduced.

【0010】[0010]

【発明が解決しようとする課題】しかし、従来のARP
処理においては、ARPテーブル中のアドレスを固定化
する技術がない場合、たとえば、UDP/IPプロトコ
ルを実装するネットワークでは、通信プログラムの実行
中に通信が中断し30分以上通信が途絶えている状態に
おいて、ARPテーブルから通信相手のアドレスが消え
てしまうと、通信ができなくなりプログラムを再起動す
る必要があった。
However, the conventional ARP
In the processing, if there is no technique for fixing the address in the ARP table, for example, in a network implementing the UDP / IP protocol, in the state where the communication is interrupted during the execution of the communication program and the communication is interrupted for 30 minutes or more. , When the address of the communication partner disappears from the ARP table, communication cannot be performed and the program needs to be restarted.

【0011】[0011]

【課題を解決するための手段】本発明のARPテーブル
固定化システム及びARPテーブル固定化方法は、固定
化対象アドレスと、ARPテーブルの状態監視を行う待
機時間を受信して、ARPテーブルの情報の設定管理を
行うARPテーブル管理部を含み、前記ARPテーブル
管理部は、固定化対象アドレス格納手段と、現ARPテ
ーブル取得手段と、固定化アドレス読み込み、ARPテ
ーブルより得た二つのアドレスを比較するアドレス比較
手段と、アドレス比較手段で一致したアドレスを固定化
する固定化手段と固定化手段の処理後、待機時間読み込
み手段で得た時間だけ処理を待機する待機手段とを有す
る。
An ARP table fixing system and an ARP table fixing method according to the present invention receive an address to be fixed and a waiting time for monitoring the state of the ARP table, and receive the information of the ARP table. An ARP table management unit that performs setting management, and the ARP table management unit is an address for comparing the two addresses obtained from the fixed target address storage unit, the current ARP table acquisition unit, the fixed address read, and the ARP table. The comparison means, the fixing means for fixing the matched address by the address comparison means, and the waiting means for waiting the processing for the time obtained by the waiting time reading means after the processing by the fixing means.

【0012】また、本発明は、固定化対象アドレスと、
アドレスマスク値と、ARPテーブルの状態監視を行う
待機時間を受信して、ARPテーブルの情報の設定管理
を行うARPテーブル管理部を含み、前記ARPテーブ
ル管理部は、固定化対象アドレス格納手段と、アドレス
マスク値格納手段と、現ARPテーブル取得手段と、固
定化アドレス読み込み、ARPテーブルより得たアドレ
スを、前記アドレスマスク値でマスクして、マスクした
アドレス同士を比較するアドレス比較手段と、アドレス
比較手段で一致したアドレスを固定化する固定化手段と
固定化手段の処理後、待機時間読み込み手段で得た時間
だけ処理を待機する待機手段とを有する。
According to the present invention, a fixed target address and
An ARP table management unit that receives the address mask value and the waiting time for monitoring the state of the ARP table and manages the setting of the information of the ARP table is included, and the ARP table management unit includes a fixing target address storage unit, Address mask value storage means, current ARP table acquisition means, fixed address reading means, address comparison means for masking the address obtained from the ARP table with the address mask value, and comparing the masked addresses, and address comparison It has a fixing means for fixing the coincident address by the means and a waiting means for waiting the processing for the time obtained by the waiting time reading means after the processing of the fixing means.

【0013】[0013]

【発明の実施の形態】本発明は、上記問題点に鑑み、A
RPテーブルの任意のアドレスを固定化できる構成を提
供するものである。ここで、固定化とは、特定のアドレ
ス情報をARPテーブル上に、常時記憶させておく処理
をいう。
The present invention has been made in view of the above problems.
It is intended to provide a configuration capable of fixing an arbitrary address in the RP table. Here, fixing means a process of always storing specific address information in the ARP table.

【0014】図1において、試験処理部101が存在す
る通信端末100と被試験機110がネットワークで接
続されている状態で、前記通信端末100と被試験機1
10は試験処理部を介してUDP/IP(User D
atagram Protocol/Internet
Protocol)にて、データ通信を行う。この場
合、プロトコルアドレスは、IPアドレス、物理アドレ
スはMACアドレスになる。ここで、通信端末内にはA
RPテーブル102が作られ、被試験機110のIPア
ドレスとMAC(Media Access Cont
rol)アドレスを保持する。
In FIG. 1, the communication terminal 100 and the device under test 1 are connected in a state where the communication terminal 100 including the test processing unit 101 and the device under test 110 are connected via a network.
10 is a UDP / IP (User D
atagram Protocol / Internet
Data communication is performed in (Protocol). In this case, the protocol address is the IP address and the physical address is the MAC address. Here, in the communication terminal, A
The RP table 102 is created, and the IP address and MAC (Media Access Cont) of the device under test 110 are created.
hold) address.

【0015】しかし、UDP/IPの場合、データ通信
が途絶えて30分ほどでコンピュータ上のARPテーブ
ルからIPアドレスとMACアドレスが消える。ARP
テーブルから通信相手のIPアドレスとMACアドレス
が消えると、以後の通信は不能となる。そこで、本発明
は通信端末上にARPテーブルを管理し、必要な情報が
消えないようにする常駐プログラムを用意して通信が途
切れないようにする。
However, in the case of UDP / IP, the IP address and the MAC address disappear from the ARP table on the computer about 30 minutes after the data communication is interrupted. ARP
When the IP address and MAC address of the communication partner disappear from the table, subsequent communication becomes impossible. Therefore, the present invention manages the ARP table on the communication terminal and prepares a resident program that prevents necessary information from being deleted so that communication is not interrupted.

【0016】図1を参照すると、本発明のARPテーブ
ル固定化システムの一実施例は、プログラム制御により
動作する通信端末(あるいは、中央処理装置;プロセッ
サ;データ処理装置)100と、試験処理部101と、
ARPテーブル102と、ARPテーブル管理部103
と、被試験機110と、ネットワーク120から構成さ
れている。ここで試験処理部101とは、他の通信端末
である被試験機110と、種々のアプリケーションによ
って通信データの送受信処理を行う通信処理機能を有す
るものである。
Referring to FIG. 1, an embodiment of an ARP table fixing system of the present invention is a communication terminal (or central processing unit; processor; data processing unit) 100 operating under program control and a test processing unit 101. When,
ARP table 102 and ARP table management unit 103
And a device under test 110 and a network 120. Here, the test processing unit 101 has a communication processing function of performing transmission / reception processing of communication data by various applications and the device under test 110 which is another communication terminal.

【0017】また、ARPテーブル管理部103は図2
に示す構成となっている。図2は、本発明の実施形態の
ARPテーブル管理部の機能ブロック図である。ARP
テーブル管理部103は、ユーザーから入力装置を用い
て入力される情報を格納するとともに、ARPテーブル
102の情報を取得するインタフェースを有している。
Further, the ARP table management unit 103 is shown in FIG.
The configuration is shown in. FIG. 2 is a functional block diagram of the ARP table management unit according to the embodiment of this invention. ARP
The table management unit 103 has an interface that stores information input by a user using an input device and acquires information of the ARP table 102.

【0018】以下、ARPテーブル管理部103の構成
について、説明する。ユーザーは、固定化対象アドレス
として、入力装置104より、特定のIPアドレスと、
待機時間を入力する。ここで、待機時間とは、通信状況
によって常時書き換わるARPテーブルの情報に対し
て、待機時間で指定された一定時間おきに、指定された
固定化対象アドレスが消去されていないか、現ARPテ
ーブル情報を監視するための時間間隔をさす。
The structure of the ARP table management unit 103 will be described below. The user inputs a specific IP address from the input device 104 as an address to be fixed.
Enter the waiting time. Here, the waiting time refers to the information in the ARP table that is constantly rewritten depending on the communication status, and whether the specified fixed target address is not erased at regular intervals specified by the waiting time, or whether the current ARP table is deleted. A time interval for monitoring information.

【0019】次に、前記入力装置104より入力された
情報を受けて、固定化対象アドレス格納部1は、入力さ
れた固定化対象アドレスの格納を行う。固定化対象アド
レス読み込み部4は、固定化対象アドレス格納部1で格
納したアドレスを読み込む。
Next, upon receiving the information input from the input device 104, the fixing target address storage unit 1 stores the input fixing target address. The fixed target address reading unit 4 reads the address stored in the fixed target address storage unit 1.

【0020】また、現ARPテーブル取得部2は、現在
の状態のARPテーブル102を取得するものである。
また、ARPテーブル読み込み部5は、現ARPテーブ
ル取得部2で取得したARPテーブルを1情報(1エン
トリ)ずつ読み込む。ここで、1エントリとは、具体的
には、各IPアドレスに対応してARPテーブルに登録
されているMACアドレスである。
The current ARP table acquisition unit 2 acquires the ARP table 102 in the current state.
Further, the ARP table reading unit 5 reads the ARP table acquired by the current ARP table acquisition unit 2 for each piece of information (1 entry). Here, one entry is specifically a MAC address registered in the ARP table corresponding to each IP address.

【0021】アドレス比較部7は、上記固定化アドレス
読み込み部4で読み込んだ固定化対象アドレスと、AR
Pテーブル読み込み部5で得た現在のARPテーブルに
記憶されているアドレスの比較を行う。そして、現AR
Pテーブルの中に、固定化するアドレスがあるか、サー
チを行い、固定化すべきアドレスが検出された場合、固
定化部8に処理を渡す。固定化部8はアドレス比較部7
で一致したアドレスについて固定化処理を行う。
The address comparison unit 7 and the fixed address read by the fixed address reading unit 4 and AR
The addresses stored in the current ARP table obtained by the P table reading unit 5 are compared. And the current AR
The P table is searched for an address to be fixed, and when an address to be fixed is detected, the process is passed to the fixing unit 8. The fixing unit 8 is the address comparing unit 7.
Fixing processing is performed on the addresses that match in.

【0022】ここで、固定化処理とは、ARPテーブル
では、通信状態によって、情報の更新を行っており、対
応する通信が一定時間途絶えていると、エージング処理
により、各エントリ情報の消去を行うが、ソフトウェア
的には、当該エントリ情報の固定化するよう、OS(オ
ペレーション・システム)にコマンドを送信して指示す
ることによって行う。本固定化処理は、その具体的な動
作としてたとえば、固定化対象アドレスを記憶部に記憶
し、ARPテーブル上に、定期的に情報の書き込みを行
うことによって、常にARPテーブルから当該エントリ
情報が消去されないようにするよう実施することができ
る。
Here, in the fixing process, in the ARP table, the information is updated depending on the communication state, and when the corresponding communication is interrupted for a certain period of time, each entry information is deleted by the aging process. However, in terms of software, this is done by sending a command to the OS (operation system) to instruct the entry information to be fixed. As the specific operation of this fixing process, for example, the fixed target address is stored in the storage unit, and information is periodically written in the ARP table, so that the entry information is always erased from the ARP table. It can be implemented so as not to be performed.

【0023】一方、入力された待機時間について、待機
時間格納部3は入力された待機時間を格納する。待機時
間読み込み部6は待機時間格納部3で格納した待機時間
を読み込む。待機部9は固定化部8の処理後、待機時間
読み込み部6で得た時間だけ処理を待機する。以上のべ
た各構成は、ハードウェア的にも実現することも、ソフ
トウェアを用いた処理機能によって実現することも可能
であることはいうまでもない。
On the other hand, with respect to the input standby time, the standby time storage unit 3 stores the input standby time. The standby time reading unit 6 reads the standby time stored in the standby time storage unit 3. After the process of the immobilization unit 8, the standby unit 9 waits for the process for the time obtained by the standby time reading unit 6. It goes without saying that each of the above-described configurations can be realized by hardware as well as by a processing function using software.

【0024】次に、図3を参照して本実施例の動作につ
いて説明する。起動時パラメータである固定化対象アド
レスを固定化対象アドレス格納部1が、待機時間を待機
時間格納部3が各々格納する(ステップ31)。次に、
現ARPテーブル取得部2にて、現状のARPテーブル
を取得する(ステップ32)。
Next, the operation of this embodiment will be described with reference to FIG. The fixed target address, which is a startup parameter, is stored in the fixed target address storage unit 1, and the standby time is stored in the standby time storage unit 3 (step 31). next,
The current ARP table acquisition unit 2 acquires the current ARP table (step 32).

【0025】アドレス比較部7は固定化対象アドレス読
み込み部4を用いて固定化対象アドレスを取得し、ま
た、ARPテーブル読み込み部5を用いて現ARPテー
ブルの1エントリを取得する。そして、取得した各々の
アドレスを比較する。これをテーブル情報がある間繰り
返し行う(ステップ33)。テーブル中に固定化するア
ドレスが存在した場合には(ステップ33:YES)、
固定化部8にて固定化を行う(ステップ34)。
The address comparing unit 7 uses the fixing target address reading unit 4 to acquire the fixing target address, and uses the ARP table reading unit 5 to acquire one entry of the current ARP table. Then, the respective acquired addresses are compared. This is repeated while there is table information (step 33). If there is an address to be fixed in the table (step 33: YES),
Immobilization is performed by the immobilization unit 8 (step 34).

【0026】テーブル中に固定化するアドレスが存在し
なかった場合(ステップ33:NO)、または、ステッ
プ34の後、待機部9により、処理を待機する(ステッ
プ35)。この待機部9は、待機時間読み込み部6を用
いて待機時間を取得する。待機部9にて指定された時間
だけ処理を待機した後、ステップ32から処理を再開
し、現ARPテーブルの取得を行う。これは、ARPテ
ーブルは時間を追うごとに変化するためである。
If there is no fixed address in the table (step 33: NO), or after step 34, the waiting section 9 waits for the process (step 35). The standby unit 9 acquires the standby time by using the standby time reading unit 6. After waiting the process for the designated time in the standby unit 9, the process is restarted from step 32 and the current ARP table is acquired. This is because the ARP table changes with time.

【0027】このように、本発明の実施の形態において
は、特定のアドレスを固定化することにより、ARPテ
ーブルのエージング処理を行うようなシステムにおいて
も、所望のアドレスを用いた通信が、即時に行うことが
できる。さらに、繰り返しテーブル中の固定化対象アド
レスを検索することにより、他のユーザーによるIPア
ドレスの書換え操作などがあった場合でも、重要なアド
レス情報は、設定した値に保持することができる。
As described above, in the embodiment of the present invention, the communication using the desired address is immediately performed even in the system in which the aging process of the ARP table is performed by fixing the specific address. It can be carried out. Further, by searching for the fixed target address in the repeated table, the important address information can be held at the set value even if another user rewrites the IP address.

【0028】発明の他の実施例 次に、本発明の他の実施例について図面を参照して詳細
に説明する。本実施の形態は、前記固定化対象アドレス
の指定を、アドレスマスク値によって設定するものであ
る。図4を参照すると、本発明のARPテーブル固定化
システムの一実施例は、固定化対象アドレス格納部1は
入力された固定化対象アドレスを格納する。現ARPテ
ーブル取得部2は現在のARPテーブルを取得する。
Other Embodiments of the Invention Next, other embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, the designation of the fixation target address is set by an address mask value. Referring to FIG. 4, in an exemplary embodiment of the ARP table fixing system of the present invention, the fixing target address storage unit 1 stores the input fixing target address. The current ARP table acquisition unit 2 acquires the current ARP table.

【0029】アドレスマスク値格納部10は入力された
アドレスマスク値を格納する。ARPテーブル読み込み
部5は現ARPテーブル取得部2で取得したテーブルを
1エントリずつ読み込む。固定化対象アドレス読み込み
部4は固定化対象アドレス格納部1で格納したアドレス
を読み込む。アドレス比較部7は固定化アドレス読み込
み部4とARPテーブル読み込み部5で得た二つのアド
レスをアドレスマスク値読み込み部11で得たマスク値
でマスクして、マスクしたアドレス同士を比較する。
The address mask value storage unit 10 stores the input address mask value. The ARP table reading unit 5 reads the table acquired by the current ARP table acquisition unit 2 entry by entry. The fixed target address reading unit 4 reads the address stored in the fixed target address storage unit 1. The address comparison unit 7 masks the two addresses obtained by the fixed address reading unit 4 and the ARP table reading unit 5 with the mask value obtained by the address mask value reading unit 11, and compares the masked addresses.

【0030】ここで、アドレスとはIPアドレスのこと
を指しているが、このIPアドレスは32bitで表さ
れ通常ドット表記される。(例えば、10.10.1
0.10)。ここで、アドレスマスク値を255.25
5.255.0とすると、マスクした結果は10.1
0.10.0となる。よって、比較対象のアドレスが各
々、10.10.10.10と10.10.10.11
とした場合、アドレスマスク値でマスクすると各々1
0.10.10.0と10.10.10.0となり、比
較結果は一致することとなる。
Here, the address refers to an IP address, and this IP address is represented by 32 bits and is usually represented by dots. (For example, 10.10.1
0.10). Here, the address mask value is set to 255.25
With 5.255.0, the masked result is 10.1.
It becomes 0.10.0. Therefore, the addresses to be compared are 10.10.10.10 and 10.10.10.11, respectively.
, Then 1 is masked by the address mask value.
The results are 0.10.10.0 and 10.10.10.0, and the comparison results are in agreement.

【0031】固定化部8は、アドレス比較部7で一致し
たアドレスを固定化する。待機時間格納部は入力された
待機時間を格納する。待機時間読み込み部6は待機時間
格納部3で格納した待機時間を読み込む。待機部9は固
定化部8の処理後、待機時間読み込み部6で得た時間だ
け処理を待機する。
The fixing unit 8 fixes the addresses matched by the address comparing unit 7. The standby time storage unit stores the input standby time. The standby time reading unit 6 reads the standby time stored in the standby time storage unit 3. After the process of the immobilization unit 8, the standby unit 9 waits for the process for the time obtained by the standby time reading unit 6.

【0032】このようにアドレスマスク値を用いること
により、固定化したいアドレスが複数あり、似通ったア
ドレスであれば、固定化アドレスを複数入力することな
く固定化することができる。
By using the address mask value as described above, there are a plurality of addresses to be fixed, and if the addresses are similar to each other, the fixed addresses can be fixed without inputting a plurality of fixed addresses.

【0033】次に、図4及び図5を参照して本実施例の
全体の動作について詳細に説明する。図に示すように起
動時パラメータである固定化対象アドレスを固定化対象
アドレス格納部1が、待機時間を待機時間格納部3が各
々格納する(ステップ51)。次に、現ARPテーブル
取得部2にて、現状のARPテーブルを取得する(ステ
ップ52)。
Next, the overall operation of this embodiment will be described in detail with reference to FIGS. As shown in the figure, the fixed target address which is a start-up parameter is stored in the fixed target address storage unit 1, and the standby time is stored in the standby time storage unit 3 (step 51). Next, the current ARP table acquisition unit 2 acquires the current ARP table (step 52).

【0034】アドレス比較部7は固定化対象アドレス読
み込み部4を用いて固定化対象アドレスを取得し、ま
た、ARPテーブル読み込み部5を用いて現ARPテー
ブルの1情報を取得する。取得した各々のアドレスをア
ドレスマスク値読み込み部11を用いて取得したアドレ
スマスク値でマスクする(ステップ53)。次に、マス
クした各々のアドレスを比較する。これをテーブル情報
がある間繰り返し行う(ステップ54)。
The address comparing unit 7 uses the fixing target address reading unit 4 to acquire the fixing target address, and also uses the ARP table reading unit 5 to acquire 1 information of the current ARP table. Each acquired address is masked with the address mask value acquired using the address mask value reading unit 11 (step 53). Next, each masked address is compared. This is repeated while there is table information (step 54).

【0035】テーブル中に固定化するアドレスが存在し
た場合には、固定化部8にて固定化を行う(ステップ5
5)。テーブル中に固定化するアドレスが存在しなかっ
た場合、または、ステップA4の後、待機部9により、
処理を待機する(ステップ56)。
If there is an address to be fixed in the table, the fixing unit 8 fixes it (step 5).
5). If there is no fixed address in the table, or after step A4, the standby unit 9
The process waits (step 56).

【0036】この待機部9は待機時間読み込み部6を用
いて待機時間を取得する。待機部9にて指定された時間
だけ処理を待機した後、ステップ52から処理を再開す
る。これは、ARPテーブルは時間を追うごとに変化す
るためである。
The standby unit 9 uses the standby time reading unit 6 to acquire the standby time. After waiting the process for the designated time in the standby unit 9, the process is restarted from step 52. This is because the ARP table changes with time.

【0037】以上のべたように、他の実施の形態では、
固定化対象アドレスをサブネットマスク値で指定し、主
に、IP ver.4アドレスのクラスに対応して説明
したが、この指定は、任意のビット列を指定して、特定
の範囲のアドレスグループをマスクするものであっても
よいし、IP ver.6アドレス体系に適応して特定
の範囲のアドレスのグループについてマスクするもので
あってもよい。
As described above, in another embodiment,
The fixed target address is specified by the subnet mask value, and the IP ver. Although the description has been made in correspondence with the class of 4 addresses, this specification may be to specify an arbitrary bit string to mask an address group in a specific range, or to specify an IP ver. It may be adapted to a 6-address system to mask a group of addresses in a specific range.

【0038】[0038]

【発明の効果】以上のべたように、本発明の第1の効果
は、UDP/IPプロトコルなどを用いたネットワーク
において、ARPテーブル中の固定化されていないアド
レスはある程度時間が経過するとテーブルから削除さ
れ、ARPテーブルのエージングを行っているようなシ
ステムに対し、ARPテーブル中の指定されたアドレス
を固定化できる手段を提供できることにある。
As described above, the first effect of the present invention is that, in a network using the UDP / IP protocol or the like, unfixed addresses in the ARP table are deleted from the table after a certain amount of time has passed. Therefore, it is possible to provide a system capable of fixing a specified address in the ARP table to a system that is aging the ARP table.

【0039】第2の効果は、常に更新されるARPテー
ブルに対し、繰り返しテーブル中の固定化対象アドレス
を検索することにより、一度検索した結果、固定化対象
アドレスが存在しなくても、あとで存在することになる
アドレスを検索できる。このため、ローカルに通信端末
のARPテーブル情報が書き換わったような場合におい
ても、ネットワーク管理者などが意図する通信が常に正
常に行うことができる。
The second effect is that the ARP table that is constantly updated is searched for the fixed target address in the repeated table, and even if the fixed target address does not exist as a result of the search once, the fixed target address does not exist later. You can search for an address that will exist. Therefore, even when the ARP table information of the communication terminal is locally rewritten, the communication intended by the network administrator or the like can always be normally performed.

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

【図1】本発明の実施形態のシステム構成である。FIG. 1 is a system configuration of an embodiment of the present invention.

【図2】本発明の実施形態のARPテーブル管理部の機
能ブロック図である。
FIG. 2 is a functional block diagram of an ARP table management unit according to the embodiment of this invention.

【図3】本発明の実施形態の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.

【図4】本発明の他の実施の形態のARPテーブル管理
部の機能ブロック図である。
FIG. 4 is a functional block diagram of an ARP table management unit according to another embodiment of the present invention.

【図5】本発明の他の実施の形態の動作を示すフローチ
ャートである。
FIG. 5 is a flowchart showing the operation of another embodiment of the present invention.

【図6】ARPによるアドレス解決の概念について示す
説明図である。
FIG. 6 is an explanatory diagram showing the concept of address resolution by ARP.

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

1 固定化対象アドレス格納部 2 現ARPテーブル取得部 3 待機時間格納部 4 固定化対象アドレス格納部 5 ARPテーブル読み込み部 6 待機時間読み込み部 7 アドレス比較部 8 固定化部 9 待機部 10 アドレスマスク値格納部 11 アドレスマスク値読み込み部 100 通信端末 101 試験処理部 102 ARPテーブル 103 ARPテーブル管理部 104 入力装置 110 被試験機 120 ネットワーク 1 Fixed target address storage 2 Current ARP table acquisition section 3 Standby time storage 4 Fixed target address storage 5 ARP table reading section 6 Standby time reading section 7 Address comparison unit 8 immobilization section 9 Standby 10 Address mask value storage 11 Address mask value reading unit 100 communication terminal 101 Test processing unit 102 ARP table 103 ARP table management unit 104 input device 110 Machine under test 120 networks

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平8−70299(JP,A) 特開 平8−263415(JP,A) 特開 平11−27298(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/56 H04L 12/28 200 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-8-70299 (JP, A) JP-A-8-263415 (JP, A) JP-A-11-27298 (JP, A) (58) Field (Int.Cl. 7 , DB name) H04L 12/56 H04L 12/28 200

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、前記ARPテーブルに対し、特定のア
ドレスを指定して固定化を行う手段と、 前記ARPテーブルに対し、指定した時間間隔で、前記
固定化したアドレスの検索と固定化処理を行い、当該ア
ドレスに対する通信を維持する手段を有することを特徴
とするARPテーブル固定化システム。
1. Correspondence between a physical address information and an address resolution protocol for acquiring a physical address from a protocol address of a communication partner on the network, and protocol address information of another communication terminal acquired by the address resolution protocol. In a communication terminal having an ARP table that stores information as registration information for a certain period of time, the communication terminal specifies a specific address in the ARP table and fixes the information, and specifies in the ARP table. An ARP table fixing system comprising means for performing a search and a fixing process of the fixed address at time intervals and maintaining communication for the address.
【請求項2】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、前記ARPテーブルに対し、特定のア
ドレスマスクを指定してアドレスグループの固定化を行
う手段と、 前記ARPテーブルに対し、指定した時間間隔で、前記
固定化したアドレスグループの検索と固定化処理を行
い、当該アドレスに対する通信を維持する手段を有する
ことを特徴とするARPテーブル固定化システム。
2. Correspondence between a physical address information and an address resolution protocol for acquiring a physical address from a protocol address of a communication partner on the network, and protocol address information of another communication terminal acquired by the address resolution protocol. In a communication terminal having an ARP table that stores information as registration information for a certain period of time, the communication terminal specifies a specific address mask for the ARP table to fix an address group, and the ARP table On the other hand, the ARP table fixing system characterized by having a means for performing a search and a fixing process of the fixed address group at a designated time interval and maintaining communication for the address.
【請求項3】前記通信端末は、ユーザーから、固定化対
象アドレスと、ARPテーブルの状態監視を行う時間間
隔を入力する入力手段と、 前記ネットワーク上の他の通信端末と通信データの送受
を行う処理部と、 前記ARPテーブルについて、情報の取得と設定管理を
行うARPテーブル管理部とをさらに有することをを特
徴とする請求項1または2に記載のARPテーブル固定
化システム。
3. The communication terminal transmits / receives communication data to / from another user on the network, input means for inputting a fixed target address and a time interval for monitoring the status of the ARP table from a user. 3. The ARP table fixing system according to claim 1, further comprising a processing unit and an ARP table management unit that acquires and manages information about the ARP table.
【請求項4】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、ユーザーから、固定化対象アドレス
と、ARPテーブルの状態監視を行う時間間隔を入力す
る入力手段と、 前記ネットワーク上の他の通信端末と通信データの送受
を行う処理部と、前記ARPテーブルについて、情報の
取得と設定管理を行うARPテーブル管理部とを有し、 前記ARPテーブル管理部は、入力された固定化対象ア
ドレスを格納する固定化対象アドレス格納手段と、 現在のARPテーブルを取得する現ARPテーブル取得
手段と、 前記現ARPテーブル取得手段で取得したテーブルを読
み込むARPテーブル読み込み手段と、 固定化対象アドレス格納手段で格納したアドレスを読み
込む固定化対象アドレス読み込み手段と、 固定化アドレス読み込み手段とARPテーブル読み込み
手段で得た二つのアドレスを比較するアドレス比較手段
と、 アドレス比較手段で一致したアドレスを固定化する固定
化手段とを有することを特徴とするARPテーブル固定
化システム。
4. Correspondence between the physical address information and the address resolution protocol for acquiring the physical address from the protocol address of the communication partner on the network, and the protocol address information of another communication terminal acquired by the address resolution protocol. In a communication terminal having an ARP table that stores information as registration information for a certain period of time, the communication terminal includes an input unit for inputting a fixed target address and a time interval for monitoring the status of the ARP table from a user, Other communication terminals, and a processing unit for transmitting and receiving communication data, and an ARP table management unit for acquiring information and managing settings of the ARP table, and the ARP table management unit receives the fixed input data. The fixed target address storage means for storing the target address, and the current A current ARP table acquisition unit for acquiring an ARP table; an ARP table reading unit for reading the table acquired by the current ARP table acquisition unit; and a fixation target address reading unit for reading the address stored by the fixation target address storage unit, ARP table fixing, comprising fixed address reading means and address comparing means for comparing two addresses obtained by the ARP table reading means, and fixing means for fixing the matched addresses by the address comparing means. system.
【請求項5】前記ARPテーブル管理部は、 入力された待機時間を格納する待機時間格納手段と、 前記待機時間格納手段で格納した待機時間を読み込む待
機時間読み込み手段と、 前記固定化手段の処理後、待機時間読み込み手段で得た
時間だけ処理を待機する待機手段とを有することを特徴
とする請求項4に記載のARPテーブル固定化システ
ム。
5. The ARP table management unit, a standby time storage means for storing the input standby time, a standby time reading means for reading the standby time stored by the standby time storage means, and processing of the fixing means. 5. The ARP table immobilization system according to claim 4, further comprising a standby unit that waits for processing for the time obtained by the standby time reading unit.
【請求項6】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、ユーザーから、固定化対象アドレス
と、ARPテーブルの状態監視を行う時間間隔を入力す
る入力手段と、 前記ネットワーク上の他の通信端末と通信データの送受
を行う処理部と、前記ARPテーブルについて、情報の
取得と設定管理を行うARPテーブル管理部とをさらに
有し、 前記ARPテーブル管理部は、 入力された固定化対象アドレスを格納する固定化対象ア
ドレス格納手段と、 現在のARPテーブルを取得する現ARPテーブル取得
手段と、 入力されたアドレスマスク値を格納するアドレスマスク
値格納手段と、前記現ARPテーブル取得手段で取得し
たテーブルを読み込むARPテーブル読み込み手段と、 前記固定化対象アドレス格納手段で格納したアドレスを
読み込む固定化対象アドレス読み込み手段と、 前記固定化アドレス読み込み手段とARPテーブル読み
込み手段で得た二つのアドレスをアドレスマスク値読み
込み手段で得たマスク値でマスクして、マスクしたアド
レス同士を比較するアドレス比較手段と、 アドレス比較手段で一致したアドレスを固定化する固定
化手段とを有することを特徴とする請求項3に記載のA
RPテーブル固定化システム。
6. Correspondence between a physical address information and an address resolution protocol for acquiring a physical address from a protocol address of a communication partner on the network, and protocol address information of another communication terminal acquired by the address resolution protocol. In a communication terminal having an ARP table that stores information as registration information for a certain period of time, the communication terminal includes an input unit for inputting a fixed target address and a time interval for monitoring the status of the ARP table from a user, It further includes a processing unit that transmits and receives communication data to and from another communication terminal, and an ARP table management unit that acquires and sets and manages information about the ARP table, and the ARP table management unit receives the input fixed data. Fixed target address storage means for storing the target address for conversion, A current ARP table acquisition means for acquiring the current ARP table; an address mask value storage means for storing the input address mask value; an ARP table reading means for reading the table acquired by the current ARP table acquisition means; The fixed target address reading means for reading the address stored in the fixed address reading means, and the two addresses obtained by the fixed address reading means and the ARP table reading means are masked by the mask value obtained by the address mask value reading means. The address comparison means for comparing the masked addresses with each other, and the fixing means for fixing the matched addresses by the address comparison means.
RP table fixing system.
【請求項7】前記ARPテーブル管理部は、入力された
待機時間を格納する待機時間格納手段と、待機時間格納
手段で格納した待機時間を読み込む待機時間読み込み手
段と、前記固定化手段の処理後、待機時間読み込み手段
で得た時間だけ処理を待機する待機手段とを有すること
を特徴とする請求項6に記載のARPテーブル固定化シ
ステム。
7. The ARP table management unit includes a standby time storage means for storing the input standby time, a standby time reading means for reading the standby time stored by the standby time storage means, and a processing after the fixing means. The ARP table fixing system according to claim 6, further comprising: a standby unit that waits for processing for the time obtained by the standby time reading unit.
【請求項8】前記アドレスマスク値は、アドレスクラ
ス、または任意のビットで指定されることを特徴とする
請求項2または6に記載のARPテーブル固定化システ
ム。
8. The ARP table fixing system according to claim 2, wherein the address mask value is designated by an address class or an arbitrary bit.
【請求項9】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコル(ARP)と、当該アドレス解決プロ
トコルによって取得した他の通信端末のプロトコルアド
レス情報と、物理アドレス情報の対応情報を登録情報と
して一定時間記憶するARPテーブルを有する通信端末
において、 前記通信端末は、固定化対象アドレスと、ARPテーブ
ルの状態監視を行う時間間隔を入力するステップと、 前記ARPテーブルに対し、特定のアドレスマスクを指
定してアドレスグループの固定化を行うステップと、 前記ARPテーブルに対し、指定した時間間隔で、前記
固定化したアドレスグループの検索と固定化処理を行
い、当該アドレスに対する通信を維持するステップとを
有すること特徴とするARPテーブル固定化方法。
9. An address resolution protocol (ARP) for obtaining a physical address from a protocol address of a communication partner on the network, protocol address information of another communication terminal obtained by the address resolution protocol, and a physical address. In a communication terminal having an ARP table that stores corresponding information of information as registration information for a certain period of time, the communication terminal inputs a fixation target address and a time interval for performing status monitoring of the ARP table; On the other hand, a step of fixing an address group by designating a specific address mask, a step of searching and fixing the fixed address group in the ARP table at a specified time interval, and Maintaining communication ARP table immobilization method according to symptoms.
JP2000091964A 2000-03-29 2000-03-29 ARP table fixing system and ARP table fixing method Expired - Fee Related JP3507760B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000091964A JP3507760B2 (en) 2000-03-29 2000-03-29 ARP table fixing system and ARP table fixing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000091964A JP3507760B2 (en) 2000-03-29 2000-03-29 ARP table fixing system and ARP table fixing method

Publications (2)

Publication Number Publication Date
JP2001285349A JP2001285349A (en) 2001-10-12
JP3507760B2 true JP3507760B2 (en) 2004-03-15

Family

ID=18607367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000091964A Expired - Fee Related JP3507760B2 (en) 2000-03-29 2000-03-29 ARP table fixing system and ARP table fixing method

Country Status (1)

Country Link
JP (1) JP3507760B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016220105A (en) * 2015-05-22 2016-12-22 日本電気通信システム株式会社 Communication device, communication system and communication control method
JP6939067B2 (en) 2017-05-08 2021-09-22 富士通株式会社 Communication device and communication method

Also Published As

Publication number Publication date
JP2001285349A (en) 2001-10-12

Similar Documents

Publication Publication Date Title
US7324518B2 (en) Method and apparatus for transmitting wake-up packets over a network data processing system
JP3612528B2 (en) Parameter setting system
US7415536B2 (en) Address query response method, program, and apparatus, and address notification method, program, and apparatus
JP5662133B2 (en) Method and system for resolving conflict between IPSEC and IPV6 neighbor requests
US7779158B2 (en) Network device
US8605582B2 (en) IP network system and its access control method, IP address distributing device, and IP address distributing method
US20060031534A1 (en) Position identifier management apparatus and method, mobile computer, and position identifier processing method
JP2010220066A (en) Network monitoring device and network monitoring method
JP3601526B2 (en) Proxy registration device, network system and program
US20050005026A1 (en) Method and apparatus for managing a remote data processing system
JP2006352719A (en) Apparatus, method for monitoring network, network system, network monitoring method and network communication method
JP4027696B2 (en) Network printer system
US7610403B2 (en) Device retrieving a name of a communications node in a communications network
JP3507760B2 (en) ARP table fixing system and ARP table fixing method
JP4895793B2 (en) Network monitoring apparatus and network monitoring method
JP2004350133A (en) Connection control method, connection control program, and connection device
JP6470640B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM
JP2002344481A (en) System, method and program for searching router
JP2004266870A (en) Parameter setting system
CN111917703B (en) Monitoring device and monitoring method
JP5258442B2 (en) ARP table management device
CN113992583B (en) Table item maintenance method and device
JP2011124774A (en) Network monitoring device, and network monitoring method
JP2000209226A (en) Method for storing address resolution file
JP2020145568A (en) Relay 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: 20031202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031219

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

Free format text: PAYMENT UNTIL: 20071226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081226

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091226

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101226

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees