JP2001285349A - System for fixing of arp table and method for the same - Google Patents

System for fixing of arp table and method for the same

Info

Publication number
JP2001285349A
JP2001285349A JP2000091964A JP2000091964A JP2001285349A JP 2001285349 A JP2001285349 A JP 2001285349A JP 2000091964 A JP2000091964 A JP 2000091964A JP 2000091964 A JP2000091964 A JP 2000091964A JP 2001285349 A JP2001285349 A JP 2001285349A
Authority
JP
Japan
Prior art keywords
address
arp table
fixing
information
communication terminal
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
JP2000091964A
Other languages
Japanese (ja)
Other versions
JP3507760B2 (en
Inventor
Shinichi Takeda
伸一 武田
Takeshi Miyamoto
武 宮本
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 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)

Abstract

PROBLEM TO BE SOLVED: To fix specified address information at an ARP(Address Resolution Protocol) table. SOLUTION: The system for fixing of ARP table includes an ARP table controller receiving a fixing target address and a waiting time of status monitoring for the table so as to set and control the information of the table, and the ARP table controller comprises a fixing target address storage, a present ARP table obtaining means, a fixing address reading part, an address comparing means comparing two addresses obtained from a fixing address reading part and an ARP table reading part, a fixing means fixing the address matched at the comparing means and a waiting means waiting a processing for the time obtained at a waiting time reading means after the processing of the fixing means.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、通信ネットワーク
において、アドレス解決プロトコルを実装し、ARPテ
ーブル情報の更新を行う通信システムに関する。
[0001] 1. Field of the Invention [0002] 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 has been known.
k) and the like, the one most commonly used to specify the destination terminal is IP (Internet Protocol).
l) Address. IP address is a logical address (protocol address) recognized by the network layer
Since the network administrator assigns each computer, it does not correspond to the physical address that the computer has in advance. However, actual communication requires not only an IP address but also a physical address.

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

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

【0006】以下、ARPによるアドレス解決の処理の
概要について簡単に説明する。IPネットワークにおい
てはIPデータグラムを伝送する際に、発信側のホスト
は、まず通信相手のIPアドレスをキーにして、キャッ
シュメモリ内のアドレス変換テーブルを検索し、通信相
手の登録があるかどうかを調べ、登録されていれば、そ
の物理アドレスをIPデータグラムの宛先アドレスに設
定する。対応する登録情報が無い場合は、ARPを起動
して通信相手の物理アドレスを取得する。このようにし
て取得した物理アドレスは、IPメッセージと組み合わ
せてアドレス変換テーブルに登録しておく。したがっ
て、それ以降はアドレス変換テーブルを参照することで
効率なアドレス変換ができる。
[0006] 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 translation table in the cache memory using the IP address of the communication partner as a key, and determines whether or not the communication partner is registered. If it is checked and registered, the 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, efficient address translation can be performed thereafter by referring to the address translation 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 the figure, a host a sets an IP address Py of a known partner in an ARP request message (ARP request) and broadcasts it on the LAN in order to know the physical address of the communication partner. This AR
The host y having received the P request message returns a response message in which the physical address and the IP address are paired to the host a as the inquiry source. Then, the host a registers the set of the physical address and the IP address of the host y in the address conversion table, and thereafter checks the entries in this table to perform address conversion.

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

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

【0010】[0010]

【発明が解決しようとする課題】しかし、従来のARP
処理においては、ARPテーブル中のアドレスを固定化
する技術がない場合、たとえば、UDP/IPプロトコ
ルを実装するネットワークでは、通信プログラムの実行
中に通信が中断し30分以上通信が途絶えている状態に
おいて、ARPテーブルから通信相手のアドレスが消え
てしまうと、通信ができなくなりプログラムを再起動す
る必要があった。
However, the conventional ARP
In the processing, when there is no technique for fixing the address in the ARP table, for example, in a network implementing the UDP / IP protocol, the communication is interrupted during the execution of the communication program and the communication is interrupted for 30 minutes or more. If the address of the communication partner disappears from the ARP table, communication becomes impossible and the program must 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 standby time for monitoring the state of the ARP table, and receive information of the ARP table. An ARP table management unit for performing setting management, wherein the ARP table management unit is an address for comparing the two addresses obtained from the fixed address reading unit, the fixed ARP table acquisition unit, the fixed address reading unit, and the ARP table. There are a comparison unit, a fixing unit for fixing an address matched by the address comparison unit, and a standby unit for waiting for processing for a time obtained by the standby time reading unit after the processing by the fixing unit.

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

【0013】[0013]

【発明の実施の形態】本発明は、上記問題点に鑑み、A
RPテーブルの任意のアドレスを固定化できる構成を提
供するものである。ここで、固定化とは、特定のアドレ
ス情報をARPテーブル上に、常時記憶させておく処理
をいう。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In view of the above problems, the present invention has
It is intended to provide a configuration that can fix an arbitrary address of the RP table. Here, “fixing” refers to a process of always storing specific address information on an 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, when the communication terminal 100 having the test processing unit 101 and the device under test 110 are connected via a network, the communication terminal 100 and the device under test 1 are connected.
Reference numeral 10 denotes a UDP / IP (User D) via a test processing unit.
atagram Protocol / Internet
Protocol), and perform data communication. In this case, the protocol address is an IP address, and the physical address is a MAC address. Here, A
An RP table 102 is created, and the IP address and MAC (Media Access Cont
(roll) Holds the 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 in about 30 minutes after the data communication stops. ARP
When the IP address and the 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 for preventing necessary information from disappearing so that communication is not interrupted.

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

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

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

【0019】次に、前記入力装置104より入力された
情報を受けて、固定化対象アドレス格納部1は、入力さ
れた固定化対象アドレスの格納を行う。固定化対象アド
レス読み込み部4は、固定化対象アドレス格納部1で格
納したアドレスを読み込む。
Next, in response to the information input from the input device 104, the fixing target address storage unit 1 stores the input fixing target address. The fixation target address reading unit 4 reads the address stored in the fixation 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 section 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 acquiring unit 2 by one piece of information (one 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 comparing section 7 stores the address to be fixed read by the fixed address reading section 4 and the AR
The addresses stored in the current ARP table obtained by the P table reading unit 5 are compared. And the current AR
A search is performed for addresses to be fixed in the P table, and when an address to be fixed is detected, the process is passed to the fixing unit 8. The fixing unit 8 is an address comparing unit 7
The fixation process is performed on the address that matches.

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

【0023】一方、入力された待機時間について、待機
時間格納部3は入力された待機時間を格納する。待機時
間読み込み部6は待機時間格納部3で格納した待機時間
を読み込む。待機部9は固定化部8の処理後、待機時間
読み込み部6で得た時間だけ処理を待機する。以上のべ
た各構成は、ハードウェア的にも実現することも、ソフ
トウェアを用いた処理機能によって実現することも可能
であることはいうまでもない。
On the other hand, the standby time storage unit 3 stores the input standby time for the input standby time. The standby time reading unit 6 reads the standby time stored in the standby time storage unit 3. After the processing of the fixing unit 8, the standby unit 9 waits for the processing for the time obtained by the standby time reading unit 6. Needless to say, each of the above-described configurations can be realized either in hardware or 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 address to be fixed, which is a startup parameter, is stored in the address to be fixed 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 section 7 obtains the address to be fixed by using the address reading section 4 to be fixed, and obtains one entry of the current ARP table by using the ARP table reading section 5. Then, the obtained 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),
The fixing is performed by the fixing unit 8 (step 34).

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

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

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

【0029】アドレスマスク値格納部10は入力された
アドレスマスク値を格納する。ARPテーブル読み込み
部5は現ARPテーブル取得部2で取得したテーブルを
1エントリずつ読み込む。固定化対象アドレス読み込み
部4は固定化対象アドレス格納部1で格納したアドレス
を読み込む。アドレス比較部7は固定化アドレス読み込
み部4とARPテーブル読み込み部5で得た二つのアド
レスをアドレスマスク値読み込み部11で得たマスク値
でマスクして、マスクしたアドレス同士を比較する。
The address mask value storage 10 stores the input address mask value. The ARP table reading unit 5 reads the table obtained by the current ARP table obtaining unit 2 one entry at a time. The fixing target address reading unit 4 reads the address stored in the fixing target address storage unit 1. The address comparing 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 indicates 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 255.25.
Assuming 5.255.0, the masked result is 10.1
0.10.0. Therefore, the addresses to be compared are 10.10.10.10 and 10.10.10.11, respectively.
When masked with the address mask value,
0.10.10.0 and 10.10.10.0.0 are obtained, and the comparison results match.

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

【0032】このようにアドレスマスク値を用いること
により、固定化したいアドレスが複数あり、似通ったア
ドレスであれば、固定化アドレスを複数入力することな
く固定化することができる。
By using the address mask value in this manner, there are a plurality of addresses to be fixed, and if the addresses are similar, the 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 fixation target address, which is a startup parameter, is stored in the fixation 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 section 7 acquires the address to be fixed by using the address reading section 4 to be fixed, and acquires one piece of information of the current ARP table by using the ARP table reading section 5. Each of the acquired addresses is masked with the acquired address mask value 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, it is fixed by the fixing unit 8 (step 5).
5). If there is no address to be fixed 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 acquires the standby time by using the standby time reading unit 6. After waiting for the processing for the designated time in the standby unit 9, the processing 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 address to be fixed is specified by the subnet mask value, and mainly the IP version. Although the description has been given for the class of four addresses, this specification may be a method of specifying an arbitrary bit string to mask an address group in a specific range, or the specification of IP ver. A mask may be applied to a group of addresses in a specific range according to the six-address system.

【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, an unfixed address in the ARP table is deleted from the table after a certain period of time. It is another object of the present invention to provide a system that performs aging of the ARP table with a means for fixing a designated address in the ARP table.

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

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

【図1】本発明の実施形態のシステム構成である。FIG. 1 is a system configuration according to 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 the present 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 a 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 ネットワーク DESCRIPTION OF SYMBOLS 1 Fixed address storage part 2 Current ARP table acquisition part 3 Standby time storage part 4 Fixation target address storage part 5 ARP table reading part 6 Waiting time reading part 7 Address comparison part 8 Fixation part 9 Standby part 10 Address mask value Storage unit 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 Device under test 120 Network

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5K030 HA08 HC14 HD09 JT02 KA05 KA08 LD17 LD18 5K033 CB13 DB12 EC04 9A001 BB03 BB04 CC06 CC08 DD10 FF03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5K030 HA08 HC14 HD09 JT02 KA05 KA08 LD17 LD18 5K033 CB13 DB12 EC04 9A001 BB03 BB04 CC06 CC08 DD10 FF03

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、前記ARPテーブルに対し、特定のア
ドレスを指定して固定化を行う手段と、 前記ARPテーブルに対し、指定した時間間隔で、前記
固定化したアドレスの検索と固定化処理を行い、当該ア
ドレスに対する通信を維持する手段を有することを特徴
とするARPテーブル固定化システム。
An address resolution protocol for obtaining a physical address from a protocol address of a communication partner on a network, a correspondence between protocol address information of another communication terminal obtained by the address resolution protocol, and physical address information. 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 for the ARP table and performs fixation, and specifies the ARP table for the ARP table. An ARP table fixing system, comprising: means for searching for and fixing the fixed address at a time interval and maintaining communication with the address.
【請求項2】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、前記ARPテーブルに対し、特定のア
ドレスマスクを指定してアドレスグループの固定化を行
う手段と、 前記ARPテーブルに対し、指定した時間間隔で、前記
固定化したアドレスグループの検索と固定化処理を行
い、当該アドレスに対する通信を維持する手段を有する
ことを特徴とするARPテーブル固定化システム。
2. An address resolution protocol for acquiring a physical address from a protocol address of a communication partner on a network, correspondence between protocol address information of another communication terminal acquired by the address resolution protocol, and physical address information. 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 and performs fixing of an address group. On the other hand, an ARP table fixing system comprising means for searching for and fixing the fixed address group at specified time intervals and maintaining communication with the address.
【請求項3】前記通信端末は、ユーザーから、固定化対
象アドレスと、ARPテーブルの状態監視を行う時間間
隔を入力する入力手段と、 前記ネットワーク上の他の通信端末と通信データの送受
を行う処理部と、 前記ARPテーブルについて、情報の取得と設定管理を
行うARPテーブル管理部とをさらに有することをを特
徴とする請求項1または2に記載のARPテーブル固定
化システム。
3. The communication terminal according to claim 1, wherein said communication terminal inputs, from a user, an address to be fixed and a time interval for monitoring a state of an ARP table, and transmits and receives communication data to and from another communication terminal on said network. The ARP table fixing system according to claim 1 or 2, further comprising: a processing unit; and an ARP table management unit that acquires information and manages settings of the ARP table.
【請求項4】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、ユーザーから、固定化対象アドレス
と、ARPテーブルの状態監視を行う時間間隔を入力す
る入力手段と、 前記ネットワーク上の他の通信端末と通信データの送受
を行う処理部と、前記ARPテーブルについて、情報の
取得と設定管理を行うARPテーブル管理部とを有し、 前記ARPテーブル管理部は、入力された固定化対象ア
ドレスを格納する固定化対象アドレス格納手段と、 現在のARPテーブルを取得する現ARPテーブル取得
手段と、 前記現ARPテーブル取得手段で取得したテーブルを読
み込むARPテーブル読み込み手段と、 固定化対象アドレス格納手段で格納したアドレスを読み
込む固定化対象アドレス読み込み手段と、 固定化アドレス読み込み手段とARPテーブル読み込み
手段で得た二つのアドレスを比較するアドレス比較手段
と、 アドレス比較手段で一致したアドレスを固定化する固定
化手段とを有することを特徴とするARPテーブル固定
化システム。
4. An address resolution protocol for obtaining a physical address from a protocol address of a communication partner on a network, correspondence between protocol address information of another communication terminal obtained by the address resolution protocol, and physical address information. A communication terminal having an ARP table for storing information as registration information for a fixed time, the communication terminal comprising: an input unit for inputting, from a user, an address to be fixed and a time interval for monitoring the state of the ARP table; A processing unit for transmitting and receiving communication data to and from another communication terminal, and an ARP table management unit for acquiring information and setting management of the ARP table, wherein the ARP table management unit A fixed target address storage means for storing the target address; Current ARP table obtaining means for obtaining an ARP table, ARP table reading means for reading the table obtained by the current ARP table obtaining means, fixing target address reading means for reading the address stored in the fixing target address storing means, ARP table fixing comprising: an address comparing means for comparing two addresses obtained by a fixed address reading means and an ARP table reading means; and a fixing means for fixing an address matched by the address comparing means. system.
【請求項5】前記ARPテーブル管理部は、 入力された待機時間を格納する待機時間格納手段と、 前記待機時間格納手段で格納した待機時間を読み込む待
機時間読み込み手段と、 前記固定化手段の処理後、待機時間読み込み手段で得た
時間だけ処理を待機する待機手段とを有することを特徴
とする請求項4に記載のARPテーブル固定化システ
ム。
5. An ARP table management unit comprising: a standby time storage unit for storing an input standby time; a standby time reading unit for reading a standby time stored in the standby time storage unit; 5. The ARP table fixing system according to claim 4, further comprising a standby unit that waits for processing for a time obtained by the standby time reading unit.
【請求項6】ネットワーク上の通信相手のプロトコルア
ドレスから、その物理アドレスを取得するためのアドレ
ス解決プロトコルと、当該アドレス解決プロトコルによ
って取得した他の通信端末のプロトコルアドレス情報
と、物理アドレス情報の対応情報を登録情報として一定
時間記憶するARPテーブルを有する通信端末におい
て、 前記通信端末は、ユーザーから、固定化対象アドレス
と、ARPテーブルの状態監視を行う時間間隔を入力す
る入力手段と、 前記ネットワーク上の他の通信端末と通信データの送受
を行う処理部と、前記ARPテーブルについて、情報の
取得と設定管理を行うARPテーブル管理部とをさらに
有し、 前記ARPテーブル管理部は、 入力された固定化対象アドレスを格納する固定化対象ア
ドレス格納手段と、 現在のARPテーブルを取得する現ARPテーブル取得
手段と、 入力されたアドレスマスク値を格納するアドレスマスク
値格納手段と、前記現ARPテーブル取得手段で取得し
たテーブルを読み込むARPテーブル読み込み手段と、 前記固定化対象アドレス格納手段で格納したアドレスを
読み込む固定化対象アドレス読み込み手段と、 前記固定化アドレス読み込み手段とARPテーブル読み
込み手段で得た二つのアドレスをアドレスマスク値読み
込み手段で得たマスク値でマスクして、マスクしたアド
レス同士を比較するアドレス比較手段と、 アドレス比較手段で一致したアドレスを固定化する固定
化手段とを有することを特徴とする請求項3に記載のA
RPテーブル固定化システム。
6. An address resolution protocol for acquiring a physical address from a protocol address of a communication partner on a network, correspondence between protocol address information of another communication terminal acquired by the address resolution protocol, and physical address information. A communication terminal having an ARP table for storing information as registration information for a fixed time, the communication terminal comprising: an input unit for inputting, from a user, an address to be fixed and a time interval for monitoring the state of the ARP table; A processing unit that transmits and receives communication data to and from another communication terminal; and an ARP table management unit that performs information acquisition and setting management for the ARP table. Fixed address storage means for storing the address to be fixed, Current ARP table obtaining means for obtaining a current ARP table; address mask value storing means for storing an input address mask value; ARP table reading means for reading a table obtained by the current ARP table obtaining means; A fixed address reading means for reading an address stored in the fixed address storing means; and masking the two addresses obtained by the fixed address reading means and the ARP table reading means with a mask value obtained by the address mask value reading means. 4. The apparatus according to claim 3, further comprising: address comparing means for comparing the masked addresses with each other; and fixing means for fixing an address matched by the address comparing means.
RP table fixing system.
【請求項7】前記ARPテーブル管理部は、入力された
待機時間を格納する待機時間格納手段と、待機時間格納
手段で格納した待機時間を読み込む待機時間読み込み手
段と、前記固定化手段の処理後、待機時間読み込み手段
で得た時間だけ処理を待機する待機手段とを有すること
を特徴とする請求項6に記載のARPテーブル固定化シ
ステム。
7. An ARP table management unit, comprising: a standby time storage unit for storing the input standby time; a standby time reading unit for reading the standby time stored in the standby time storage unit; 7. The ARP table fixing system according to claim 6, further comprising a standby unit that waits for processing for a 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 specified 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 a network, protocol address information of another communication terminal obtained by the address resolution protocol, and a physical address. A communication terminal having an ARP table for storing correspondence information of information as registration information for a fixed time, wherein the communication terminal inputs a fixed target address and a time interval for monitoring the state of the ARP table; On the other hand, the step of fixing an address group by designating a specific address mask; and searching and fixing the fixed address group with respect to the ARP table at a specified time interval, 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 true JP2001285349A (en) 2001-10-12
JP3507760B2 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)

Cited By (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
US10177840B2 (en) 2017-05-08 2019-01-08 Fujitsu Limited Communication apparatus, method of communication and communication system

Cited By (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
US10177840B2 (en) 2017-05-08 2019-01-08 Fujitsu Limited Communication apparatus, method of communication and communication system

Also Published As

Publication number Publication date
JP3507760B2 (en) 2004-03-15

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
US5915119A (en) Proxy terminal for network controlling of power managed user terminals in suspend mode
JP4043052B2 (en) Method for overriding a learned IP address in a network using DHCP
JP4672780B2 (en) Network monitoring apparatus and network monitoring method
US8266324B2 (en) Domain specific domain name service
JP5662133B2 (en) Method and system for resolving conflict between IPSEC and IPV6 neighbor requests
US7680956B2 (en) Communicating additional information in a DNS update response by requesting deletion of a specific record
US8887237B2 (en) Multimode authentication
JP2008033693A (en) Communication control device, data processor, and control method
JP3601526B2 (en) Proxy registration device, network system and program
US20050005026A1 (en) Method and apparatus for managing a remote data processing system
JP4027696B2 (en) Network printer system
JP2006352719A (en) Apparatus, method for monitoring network, network system, network monitoring method and network communication method
JP4895793B2 (en) Network monitoring apparatus and network monitoring method
JP3507760B2 (en) ARP table fixing system and ARP table fixing method
JP2004126959A (en) Communication management device, information processing device, and program
JP6470640B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, COMPUTER PROGRAM
JP3892235B2 (en) Automatic address assignment method
JP3979055B2 (en) Fixed address setting device, fixed address setting method, and fixed address setting program
WO2019142327A1 (en) Relay device and relay method
JP2004266870A (en) Parameter setting system
EP1355476A1 (en) Processing device for address allocation
JP5258442B2 (en) ARP table management device
JP7444600B2 (en) Detection device and detection method

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