JP3460751B2 - Test method and device for LAN relay device - Google Patents
Test method and device for LAN relay deviceInfo
- Publication number
- JP3460751B2 JP3460751B2 JP10594095A JP10594095A JP3460751B2 JP 3460751 B2 JP3460751 B2 JP 3460751B2 JP 10594095 A JP10594095 A JP 10594095A JP 10594095 A JP10594095 A JP 10594095A JP 3460751 B2 JP3460751 B2 JP 3460751B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- control information
- packet
- route control
- relay device
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はLAN(Local Area Net
work: 以下LANという)中継装置におけるパケット受
信機能、経路制御プログラム処理、および送信処理を検
証する試験方法および装置に関する。BACKGROUND OF THE INVENTION The present invention relates to a LAN (Local Area Net).
work: hereinafter referred to as LAN) relates to a test method and device for verifying a packet receiving function, a route control program process, and a transmission process in a relay device.
【0002】[0002]
【従来の技術】LAN中継装置の経路制御とは、複数あ
るネットワーク・インタフェースから目的のホストまで
の最適な経路を選択する機構である。図15はLANの
構成の一例を示す図であり、同図において、HOST1,HOST
2 はホスト計算機、NET1〜NET5はネットワーク、100 は
本発明に係わるLAN中継装置である。2. Description of the Related Art Route control of a LAN relay device is a mechanism for selecting an optimum route from a plurality of network interfaces to a target host. FIG. 15 is a diagram showing an example of the configuration of a LAN. In FIG. 15, HOST1, HOST
Reference numeral 2 is a host computer, NET1 to NET5 are networks, and 100 is a LAN relay device according to the present invention.
【0003】同図に示すように、LAN中継装置100
はLANの各所に配置されており、LAN中継装置10
0内には、経路制御プログラム〔同図ではRIP(Routing
Information Protocol) として示している〕が設けられ
ている。同図において、HOST1,HOST2 間の通信を行う
際、NET1→NET2→NET3→NET5の経路とNET1→NET4→NET5
の経路で通信を行うことができる。As shown in the figure, the LAN relay device 100
Are arranged in various places of the LAN, and the LAN relay device 10
0 is a route control program [in the figure, RIP (Routing
Information Protocol)] is provided. In the figure, when communicating between HOST1 and HOST2, the route of NET1 → NET2 → NET3 → NET5 and NET1 → NET4 → NET5
Communication can be performed through the route.
【0004】LAN中継装置100の経路制御プログラ
ムは自分の持っている経路制御情報に基づき、いずれの
経路を選択すれば効率良く通信を行えるかを判断し、同
図の場合には、効率のよいNET1→NET4→NET5の経路を選
定する。上記のように経路を各LAN中継装置で選定で
きるようにするため、LAN中継装置100の経路制御
プログラムは通常30秒に一度の間隔で自分の持ってい
る経路制御情報を他の隣接するネットワークに通知す
る。また、他のLAN中継装置100から通知された経
路制御情報(IPアドレス)は各自が持つ経路制御情報
テーブルに格納され、経路制御情報テーブルに格納され
た経路制御情報に基づき経路が選定される。The route control program of the LAN relay device 100 determines which route should be selected for efficient communication based on its own route control information. In the case of FIG. Select the route of NET1 → NET4 → NET5. In order to enable each LAN relay device to select a route as described above, the route control program of the LAN relay device 100 normally transfers its own route control information to other adjacent networks at intervals of once every 30 seconds. Notice. Further, the routing control information (IP address) notified from the other LAN relay device 100 is stored in the routing control information table that each has, and the route is selected based on the routing control information stored in the routing control information table.
【0005】上記経路制御情報は、ネットワークを増や
すと増加し、これにより通信するパケットの数が増え
る。また、同じインタフェースからの情報が180秒間
受信されないと、そのインタフェースからの情報は破棄
される。従来、LANに接続する前に工場内等で上記L
AN中継装置を試験するには、LAN中継装置に物理的
にネットワークを接続し、経路制御プログラムを動作さ
せて送受信試験を行い、その動作を確認していた。The above route control information increases as the number of networks increases, which increases the number of packets to be communicated. Also, if information from the same interface is not received for 180 seconds, the information from that interface is discarded. Conventionally, before connecting to a LAN, the above L
In order to test the AN relay device, a network is physically connected to the LAN relay device, a route control program is operated, and a transmission / reception test is performed to confirm the operation.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、上記し
た従来の試験方法には次のような問題があった。
(1) 経路制御情報量
従来の経路制御の試験においては、上記のように物理的
にネットワークを接続して試験を行っていたが、試験環
境に設置できるネットワークの台数には限界があった。
このため、フィールドで運用すると、試験環境の10倍
を越える経路制御情報を処理する必要が出てくる場合が
あり、LAN中継装置が制御しきれなくなることもあっ
た。
(2) 経路制御情報の送受信処理
経路制御プログラムはデーモン(常にメモリに常駐して
いるアプリケーション)として動作している。However, the above-mentioned conventional test method has the following problems. (1) Routing control information amount In the conventional routing control test, the network was physically connected as described above, but the number of networks that could be installed in the test environment was limited.
For this reason, when it is operated in the field, it may be necessary to process the routing control information that exceeds 10 times the test environment, and the LAN relay device may not be able to be controlled. (2) Transmission / reception processing of route control information The route control program operates as a daemon (application that always resides in memory).
【0007】そして、経路制御パケットを経路制御プロ
グラムが受信するためには、そのパケットはドライバ
(物理層)→IP層→TCP or UDP層を経由する。
これらの処理にミスが生じ、不要なパケットが破棄され
ると、経路情報が経路制御プログラムに入力されないた
め、経路制御プログラムから経路が見えなくなり、通信
不可となる可能性がある。In order for the route control program to receive the route control packet, the packet passes through the driver (physical layer) → IP layer → TCP or UDP layer.
If an error occurs in these processes and unnecessary packets are discarded, the route information is not input to the route control program, so the route cannot be seen from the route control program, and communication may be impossible.
【0008】従来の経路制御プログラムはパケット受信
状態を送信する機能を持っていないため、上記処理にミ
スを生じても、パケットが破棄されたことを通知するこ
とができず、上記受信動作を確認することができなかっ
た。
(3) 経路制御情報テーブルの変更処理の確認
前記したように、LAN中継装置は、経路制御情報テー
ブルを備え、経路制御情報を上記テーブルに格納して、
この経路制御情報に基づき経路が選定する。Since the conventional route control program does not have the function of transmitting the packet reception status, even if an error occurs in the above processing, it is not possible to notify that the packet has been discarded and the reception operation is confirmed. I couldn't. (3) Confirmation of Change Processing of Route Control Information Table As described above, the LAN relay device includes the route control information table, stores the route control information in the table,
A route is selected based on this route control information.
【0009】そして、経路制御プログラムは、受信した
経路制御情報に変化があると、自身が保持している経路
制御情報テーブルを変更し、このテーブルを定期的に送
信している。このため、上記経路制御情報テーブルの変
更にミスがあると、経路が見えなくなり通信不可となる
場合がある。従来の経路制御プログラムは上記経路制御
情報テーブルの動作を確認する手段を備えていなかった
ため、経路制御情報テーブルの変更が正常に行われてい
るか否かを確認することができなかった。
(4) テスト時間が長い
前記したように、経路制御プログラムは30秒に一度の
間隔で自分の持っている経路制御情報を他の隣接するネ
ットワークに通知しているが、30秒間隔の経路制御情
報の送信ではホストを大量に接続している場合、認識す
るために数分を要し、テスト時間が長くなる。
(5) 負荷タイミングが一定
従来の送受信試験では、受信側はデータ受信し送信する
といった一定のタイミングでしか動作していなかった。
このため、受信側の処理タイミングを変化させて動作確
認をすることができなかった。
(6) オペレータインタフェース上の問題
従来の送受信試験では、送信側と受信側の両方にパラメ
ータを入力し、また、テスト結果も両方で表示されるた
め、オペレータは受信側と送信側の両方で操作する必要
があり、効率的な試験を行うことができなかった。
(7) 効率的な送信
テストプログラム(アプリケーション)と送信処理では
タスクの優先度が違い、前者の方が走行時間が長い。し
たがって、テストプログラム(アプリケーション)でパ
ケットを送信し続けると、送信処理のキューが待たされ
たり、破棄されることがあり、無駄な処理となってしま
うことがある。Then, when there is a change in the received route control information, the route control program changes the route control information table held by itself and periodically transmits this table. Therefore, if there is an error in changing the route control information table, the route may not be visible and communication may not be possible. Since the conventional route control program does not have means for confirming the operation of the route control information table, it is impossible to confirm whether or not the change of the route control information table is normally performed. (4) Long test time As described above, the route control program notifies other adjacent networks of its own route control information once every 30 seconds. When a large number of hosts are connected to send information, it takes a few minutes to recognize and the test time is long. (5) Constant load timing In the conventional transmission / reception test, the receiving side operated only at a fixed timing such as receiving and transmitting data.
Therefore, it is impossible to confirm the operation by changing the processing timing on the receiving side. (6) Problems on operator interface In the conventional transmission / reception test, parameters are input to both the transmitting side and the receiving side, and the test results are displayed on both sides, so the operator operates on both the receiving side and the transmitting side. It was necessary to carry out an efficient test. (7) Efficient transmission test programs (applications) and transmission processing have different task priorities, and the former has a longer running time. Therefore, if the test program (application) continues to transmit packets, the queue of the transmission process may be kept waiting or discarded, which may result in useless processing.
【0010】本発明は上記した従来技術の問題点を考慮
してなされたものであって、本発明の第1の目的は、擬
似経路情報を送信することにより、物理的にネットワー
クを接続することなく、経路制御機能をテストすること
ができるLAN中継装置の試験方法および装置を提供す
ることである。本発明の第2の目的は、経路制御情報テ
ーブルの動作をチェックすることができるLAN中継装
置の試験方法および装置を提供することである。The present invention has been made in consideration of the above-mentioned problems of the prior art, and a first object of the present invention is to physically connect a network by transmitting pseudo route information. It is another object of the present invention to provide a LAN relay device test method and device capable of testing a route control function. A second object of the present invention is to provide a LAN relay device test method and device capable of checking the operation of the route control information table.
【0011】本発明の第3の目的は、物理層、IP層、
TCP or UDP層等のミスによるパケット抜け、パケ
ット異常等を確認することができ、また、任意の指定さ
れた送信間隔で試験を行うことができるとともに、負荷
タイミングを変化させることができるLAN中継装置の
試験方法および装置を提供することである。本発明の第
4の目的は、テスト時間を短縮することができ、また、
パラメータの入力処理、テスト結果の表示を一方(例え
ば送信側)で行うことができるようにするとともに、送
信処理のキューをテストプログラム(アプリケーショ
ン)で監視して無駄な処理を避けることにより、効率的
な試験を可能としたLAN中継装置の試験方法および装
置を提供することである。A third object of the present invention is to provide a physical layer, an IP layer,
A LAN relay device capable of confirming packet dropouts, packet abnormalities, etc. due to mistakes in the TCP or UDP layer, etc., and being able to perform tests at any specified transmission intervals and changing load timing. To provide a test method and device. A fourth object of the present invention is to reduce the test time, and
By allowing parameter input processing and test result display on one side (for example, on the transmission side) and monitoring the transmission processing queue with a test program (application) to avoid unnecessary processing, efficient It is an object of the present invention to provide a LAN relay device test method and device that enable various tests.
【0012】[0012]
【課題を解決するための手段】図1は本発明の原理図で
ある。同図において、1は試験装置側のLAN中継装
置、1aはマンマシンインタフェース処理部、1bは経
路制御情報パケットを被試験装置側のLAN中継装置に
送信するパケットセンダである。2は被試験装置側のL
AN中継装置であり、2aは経路制御情報パケットを受
信し、被試験装置の動作状態を送信するパケットチェッ
カ、2bは経路制御情報テーブル2dをチェックするテ
ーブルチェッカ、2cは経路制御情報プログラム、2d
は経路制御情報テーブルである。なお、パケットチェッ
カによる試験時、パケットチェッカ2aは経路制御情報
プログラム2cに換え被試験装置2にセットされる。FIG. 1 shows the principle of the present invention. In the figure, 1 is a LAN relay device on the side of the test apparatus, 1a is a man-machine interface processing section, and 1b is a packet sender for transmitting a route control information packet to the LAN relay apparatus on the side of the device under test. 2 is L on the device under test
An AN relay device, 2a is a packet checker for receiving a route control information packet and transmitting the operating state of the device under test, 2b is a table checker for checking the route control information table 2d, 2c is a route control information program, 2d
Is a route control information table. During the test by the packet checker, the packet checker 2a is set in the device under test 2 in place of the route control information program 2c.
【0013】前記課題を解決するため、図1に示すよう
に、本発明の請求項1の発明は、通信路を介して接続さ
れ、経路制御プログラムを備えたLAN中継装置の試験
方法において、試験装置側のLAN中継装置に、実際に
は存在しない擬似情報を経路制御情報パケットに設定
し、試験装置側のLAN中継装置から上記経路制御情報
パケットを被試験装置側のLAN中継装置に送信し、被
試験装置側のLAN中継装置で、経路制御情報テーブル
に上記経路制御情報パケットの情報が設定されているか
否かを調査するようにしたものである。In order to solve the above problems, as shown in FIG. 1, the invention of claim 1 of the present invention is connected via a communication path.
Test of LAN relay device equipped with routing control program
In the method, pseudo information that does not actually exist is set in a route control information packet in the LAN relay device on the test device side, and the route control information packet is sent from the LAN relay device on the test device side to the LAN relay device on the device under test side. Then, the LAN relay device on the side of the device under test investigates whether or not the information of the route control information packet is set in the route control information table.
【0014】本発明の請求項2の発明は、請求項1の発
明において、経路制御情報パケットの送信間隔を変更し
て被試験装置側のLAN中継装置に送信するようにした
ものである。本発明の請求項3の発明は、請求項1また
は請求項2の発明において、経路制御情報パケットの送
信間隔を、一定の幅内で動的に変更して被試験装置側の
LAN中継装置に送信するようにしたものである。According to a second aspect of the present invention, in the first aspect of the invention, the transmission interval of the route control information packet is changed and transmitted to the LAN relay device on the side of the device under test. According to a third aspect of the present invention, in the first or second aspect of the invention, the transmission interval of the route control information packet is dynamically changed within a certain width to provide a LAN relay device on the side of the device under test. It is designed to be sent.
【0015】本発明の請求項4の発明は、請求項2また
は請求項3の発明において、経路制御情報パケットの送
信を一定時間停止させるようにしたものである。本発明
の請求項5の発明は、請求項1,2,3または請求項4
の発明において、経路制御情報パケットに異常データを
設定するようにしたものである。According to a fourth aspect of the present invention, in the second or third aspect of the invention, the transmission of the route control information packet is stopped for a certain period of time. The invention of claim 5 of the present invention is claim 1, 2, 3 or claim 4.
In this invention, abnormal data is set in the route control information packet.
【0016】本発明の請求項6の発明は、通信路を介し
て接続され、経路制御プログラムを備えたLAN中継装
置の試験方法において、試験装置側のLAN中継装置か
ら被試験装置側のLAN中継装置へテストパラメータ
と、経路制御情報パケットを送信し、被試験装置側のL
AN中継装置において、上記テストパラメータと受信し
た経路制御情報パケットに基づき被試験装置の動作を確
認し、テスト結果を試験装置に送信するようにしたもの
である。According to a sixth aspect of the present invention, a communication path is used.
LAN relay device that is connected by a network and has a route control program
In the test method of the device, the test apparatus and the LAN relay device on the side of the test device transmit the test parameter and the route control information packet to the L relay device on the side of the device under test.
In the AN relay device, the operation of the device under test is confirmed based on the test parameters and the received route control information packet, and the test result is transmitted to the test device.
【0017】本発明の請求項7の発明は、通信路を介し
て接続され、経路制御プログラムを備えたLAN中継装
置の試験方法において、試験装置側のLAN中継装置か
ら被試験装置側のLAN中継装置に経路制御情報パケッ
トを送信して被試験装置の動作に試験する際、送信キュ
ーを調べ、送信キュー数が所定値以内のとき被試験装置
側のLAN中継装置に経路制御情報パケットを送信し、
送信キュー数が所定値を越えるとき、一定時間スリープ
するようにしたものである。According to the invention of claim 7 of the present invention, a communication path is used.
LAN relay device that is connected by a network and has a route control program
In the device test method , when a LAN control device on the test device side transmits a route control information packet to the test device side LAN relay device to test the operation of the device under test, the transmission queue is checked and the number of transmission queues is checked. When it is within a predetermined value, a route control information packet is transmitted to the LAN relay device on the side of the device under test,
When the number of transmission queues exceeds a predetermined value, it sleeps for a certain period of time.
【0018】本発明の請求項8の発明は、通信路を介し
て接続され、経路制御プログラムを備えたLAN中継装
置において、試験側のLAN中継装置を設け、該試験装
置側のLAN中継装置に、オペレータ入力に基づきテス
トパラメータデータを作成し被試験装置に送信するとと
もに、被試験装置から送信されたその動作状態を示すデ
ータを受信し、試験結果を表示するマンマシンインタフ
ェース処理部と、経路制御情報パケットを送信するパケ
ットセンダを設け、被試験装置側のLAN中継装置に、
受信された経路制御情報パケットに基づき、被試験装置
の動作状態を調べ、結果を試験装置に送信するパケット
チェッカを設け、パケットチェッカから送信された試験
結果を試験装置側のLAN中継装置で受信することによ
り、被試験装置の動作を確認するように構成したもので
ある。According to the invention of claim 8 of the present invention, a communication path is used.
LAN relay device that is connected by a network and has a route control program
In this case, a LAN relay device on the test side is provided, test parameter data is created on the LAN relay device on the test device side based on operator input and transmitted to the device under test, and the operating state transmitted from the device under test. Is provided, and a man-machine interface processing unit for displaying the test result and a packet sender for transmitting the route control information packet are provided, and the LAN relay device on the device under test side is provided with
Based on the received route control information packet, check the operation status of the device under test, provide a packet checker to send the result to the test device, and receive the test result sent from the packet checker at the LAN relay device on the test device side. Thus, the operation of the device under test is confirmed.
【0019】本発明の請求項9の発明は、通信路を介し
て接続され、経路制御プログラムを備えたLAN中継装
置において、試験側のLAN中継装置を設け、該試験装
置側のLAN中継装置に、オペレータ入力に基づきテス
トパラメータデータを作成し被試験装置に送信するとと
もに、被試験装置から送信されたその動作状態を示すデ
ータを受信し、試験結果を表示するマンマシンインタフ
ェース処理部と、経路制御情報パケットを送信するパケ
ットセンダを設け、被試験装置側のLAN中継装置に、
経路制御情報テーブルに上記経路制御情報パケットの情
報が設定されているか否かを調査し、結果を試験装置に
送信するテーブルチェッカを設け、テーブルチェッカか
ら送信された試験結果を試験装置側のLAN中継装置で
受信することにより、被試験装置の経路制御情報テーブ
ルの変更処理動作を確認するように構成したものであ
る。According to the ninth aspect of the present invention, a communication path is used.
LAN relay device that is connected by a network and has a route control program
In this case, a LAN relay device on the test side is provided, test parameter data is created on the LAN relay device on the test device side based on operator input and transmitted to the device under test, and the operating state transmitted from the device under test. Is provided, and a man-machine interface processing unit for displaying the test result and a packet sender for transmitting the route control information packet are provided, and the LAN relay device on the device under test side is provided with
A table checker that investigates whether or not the information of the above-mentioned route control information packet is set in the route control information table and sends the result to the test device is provided, and the test result transmitted from the table checker is relayed by the LAN of the test device side. Upon reception by the device, the change processing operation of the route control information table of the device under test is confirmed.
【0020】本発明の請求項10の発明は、請求項8ま
たは請求項9の発明において、経路経路制御情報パケッ
トに実際には存在しないネットワークの擬似情報、およ
び/または、異常データを設定して被試験装置に送信す
るように構成したものである。本発明の請求項11の発
明は、請求項8,9または請求項10の発明において、
パケットセンダに、経路制御情報パケットの送信間隔を
変更/一定の幅内で動的に変更、もしくは、経路制御情
報パケットの送信を一定時間停止させる機能を設けたも
のである。According to a tenth aspect of the present invention, in the eighth or ninth aspect of the invention, pseudo information of a network and / or abnormal data which does not actually exist in the route route control information packet is set. It is configured to be transmitted to the device under test. The invention of claim 11 of the present invention is the same as the invention of claim 8, 9 or 10 ,
The packet sender is provided with a function of changing / dynamically changing the transmission interval of the route control information packet within a certain width, or stopping the transmission of the route control information packet for a certain period of time.
【0021】[0021]
【作用】図1において、試験装置側のLAN中継装置1
のマンマシンインタフェース処理部1aはオペレータコ
ンソール等から設定されるテストパラメータをパケット
センダ1bに与えるとともに、被試験装置側のLAN中
継装置2のパケットチェッカ2a、テーブルチェッカ2
bに送る。In FIG. 1, the LAN relay device 1 on the test device side
The man-machine interface processing unit 1a of the above gives the packet sender 1b test parameters set from the operator console or the like, and the packet checker 2a and the table checker 2 of the LAN relay device 2 on the side of the device under test.
send to b.
【0022】パケットセンダ1bはテストパラメータに
基づき経路制御情報パケット形式を生成し、経路制御情
報パケットを被試験装置側のLAN中継装置2のパケッ
トチェッカ2a、もしくは、テーブルチェッカ2bに送
信する。ここで、パケットセンダ1bは、実際には存在
しないネットワークの擬似情報を経路制御情報パケット
に設定し、被試験装置2に送信する。これにより、物理
的なホストを接続することなく経路制御を試験すること
ができる。The packet sender 1b generates a route control information packet format based on the test parameters and sends the route control information packet to the packet checker 2a of the LAN relay device 2 on the side of the device under test or the table checker 2b. Here, the packet sender 1b sets pseudo information of a network that does not actually exist in the route control information packet and transmits it to the device under test 2. This makes it possible to test routing without connecting a physical host.
【0023】また、経路制御情報送出の送信間隔は30
秒固定とせずに、任意の指定された間隔(例えば1秒間
隔)で送出したり、一定の幅内で動的に変更したり、も
しくは、経路制御情報パケットの送信を一定時間(例え
ば、経路制御情報テーブルの情報が削除されバッファ領
域に解放が行われる180秒間)停止させる。これによ
り試験時間の短縮を図ることができるとともに、被試験
装置の処理を撹乱させ、被試験装置の加速試験を行うこ
とができる。The transmission interval of the route control information transmission is 30.
Instead of fixing the seconds, it is sent at any specified interval (for example, 1 second interval), is dynamically changed within a fixed width, or the route control information packet is transmitted for a fixed time (for example, route). The information in the control information table is deleted and the buffer area is released for 180 seconds). As a result, the test time can be shortened, and the processing of the device under test can be disturbed to perform an accelerated test of the device under test.
【0024】さらに、パケットセンダ1bは経路制御情
報パケットの送信時、送信キューを監視し、送信キュー
数が所定値以内のとき経路制御情報パケットを送信する
ことにより、無駄な処理を避け効率的な送信を行う。パ
ケットチェッカ2aは上記経路制御情報パケットを経路
制御情報プログラム2cの代わりに受信し、パケット抜
け、パケット異常、パケット正常の確認を行い、被試験
装置2の動作状態を示すデータを試験装置1に送信す
る。Further, the packet sender 1b monitors the transmission queue when transmitting the route control information packet, and transmits the route control information packet when the number of transmission queues is within a predetermined value, thereby avoiding wasteful processing and efficient. Send. The packet checker 2a receives the routing control information packet instead of the routing control information program 2c , confirms packet loss, packet abnormality, and packet normality, and sends data indicating the operating state of the device under test 2 to the test device 1. Send.
【0025】試験装置1のマンマシンインタフェース処
理部1aは、上記データを受信して試験結果を表示す
る。一方、経路制御プログラム2cの動作中に、経路制
御情報テーブル2dをチェックするテーブルチェッカ2
bを作動させ、経路制御情報テーブル2dの内容をチェ
ックする。The man-machine interface processing section 1a of the test apparatus 1 receives the above data and displays the test result. On the other hand, a table checker 2 that checks the route control information table 2d during operation of the route control program 2c.
b is operated and the contents of the route control information table 2d are checked.
【0026】すなわち、前記したようにテストパラメー
タをテーブルチェッカ2bに与えておき、受信された経
路制御情報パケットにより変更される経路制御情報テー
ブル2dの内容を一定間隔でチェックする。その際、経
路制御情報パケットのコスト値を変化させて経路制御情
報テーブル2dの変更処理を発生させたり、経路制御情
報パケットの送出間隔を動的に変更させて処理タイミン
グを変化させたり、さらに、経路制御情報パケットに異
常な値を設定し、経路制御プログラムにログを取らせて
受信処理を遅らせることにより、種々の負荷タイミング
による試験を行うことができる。That is, the test parameters are given to the table checker 2b as described above, and the contents of the route control information table 2d changed by the received route control information packet are checked at regular intervals. At that time, the cost value of the route control information packet is changed to generate the change process of the route control information table 2d, the transmission interval of the route control information packet is dynamically changed to change the process timing, and By setting an abnormal value in the route control information packet and causing the route control program to log and delay the reception process, it is possible to perform tests at various load timings.
【0027】テーブルチェッカ2bによるチェック結果
は試験装置1に送信され、試験装置1のマンマシンイン
タフェース処理部1aは、上記データを受信して試験結
果を表示する。本発明の請求項1の発明においては、上
記のように、実際には存在しない擬似情報を経路制御情
報パケットに設定し、試験装置側のLAN中継装置から
上記経路制御情報パケットを被試験装置側のLAN中継
装置に送信し、被試験装置側のLAN中継装置で、経路
制御情報テーブルに上記経路制御情報パケットの情報が
設定されているか否かを調査するようにしたので、運用
を想定した試験を行うことができ、障害の洗い出しを充
分に行うことができる。また、被試験装置の経路制御情
報テーブルが試験装置から送られてきた情報を正確に保
持しているかをチェックすることができる。 The check result by the table checker 2b is transmitted to the test apparatus 1, and the man-machine interface processing section 1a of the test apparatus 1 receives the above data and displays the test result. According to the first aspect of the present invention, as described above, the pseudo information that does not actually exist is set in the route control information packet, and the route control information packet is sent from the LAN relay device on the test device side to the device under test side. transmitted to the LAN access point, a LAN relay device under test apparatus, route
Information on the above route control information packet is stored in the control information table.
Since it is designed to investigate whether it is set or not, it is possible to carry out a test assuming the operation, and it is possible to sufficiently identify the failure. Also, the route control information of the device under test is
The information table keeps the information sent from the test equipment accurate.
You can check if you have it.
【0028】本発明の請求項2の発明においては、請求
項1の発明において、経路制御情報パケットの送信間隔
を変更して被試験装置側のLAN中継装置に送信するよ
うにしたので、被試験装置における受信処理の回数を増
やすことができ、パケットの不要な破棄や送信処理のぶ
つかりによるバッファ不足を発生させることができる。
また、テスト時間の短縮を図ることができる。In the invention of claim 2 of the present invention, in the invention of claim 1, the transmission interval of the route control information packet is changed and transmitted to the LAN relay device of the device under test. It is possible to increase the number of times of reception processing in the device, and it is possible to cause unnecessary discarding of packets and buffer shortage due to collision of transmission processing.
Also, the test time can be shortened.
【0029】本発明の請求項3の発明においては、請求
項1または請求項2の発明において、経路制御情報パケ
ットの送信間隔を、一定の幅内で動的に変更して被試験
装置側のLAN中継装置に送信するようにしたので、被
試験装置への負荷のかけ方を変え、経路制御情報プログ
ラムの処理タイミングを変化させることができる。本発
明の請求項4の発明においては、請求項2または請求項
3の発明において、経路制御情報パケットの送信を一定
時間(例えば180秒間)停止させるようにしたので、
被試験装置の経路制御情報テーブルの情報を削除し、バ
ッフア領域を解放させることができる。そして、次の経
路制御情報パケットの送出により、被試験装置はバッフ
ァ領域の獲得処理を行うので、経路制御情報パケットの
一定時間の送信停止により、被試験装置のバッファ領域
の獲得処理の試験を行うことができる。さらに、受信処
理やテーブル変更処理(追加)が重なるようにすること
により、被試験装置の処理を一層撹乱させる、種々の負
荷状態における被試験装置の試験を行うことができる。According to a third aspect of the present invention, in the first or the second aspect of the invention, the transmission interval of the route control information packet is dynamically changed within a certain width so that the device under test side Since the data is transmitted to the LAN relay device, the load on the device under test can be changed and the processing timing of the route control information program can be changed. According to the invention of claim 4 of the present invention, in the invention of claim 2 or 3, the transmission of the route control information packet is stopped for a certain period of time (for example, 180 seconds).
The buffer area can be released by deleting the information in the route control information table of the device under test. Then, the device under test performs the buffer area acquisition process by the next transmission of the route control information packet, and thus the buffer region acquisition process of the device under test is tested by stopping the transmission of the route control information packet for a certain period of time. be able to. Further, by overlapping the receiving process and the table changing process (addition), it is possible to perform the test of the device under test under various load conditions, which further disturbs the process of the device under test.
【0030】本発明の請求項5の発明においては、請求
項1,2,3または請求項4の発明において、経路制御
情報パケットに異常データを設定するようにしたので、
経路制御プログラムにログを取らせることができる。そ
して、ログを取るためのファイルのオープン処理等の時
間のかかる処理を発生させ、また、上記のような時間の
かかる処理を発生させることによりキューが溜まり、被
試験装置の処理を撹乱させることができる。In the invention of claim 5 of the present invention, since abnormal data is set in the route control information packet in the invention of claim 1, 2, 3 or 4,
You can have the routing program log. Then, by causing a time-consuming process such as a file open process for taking a log, and by causing such a time-consuming process as described above, a queue is accumulated, which may disturb the process of the device under test. it can.
【0031】[0031]
【0032】本発明の請求項6の発明においては、試験
装置側のLAN中継装置から被試験装置側のLAN中継
装置へテストパラメータと、経路制御情報パケットを送
信し、被試験装置側のLAN中継装置において、上記テ
ストパラメータと受信した経路制御情報パケットに基づ
き被試験装置の動作を確認し、テスト結果を試験装置に
送信するようにしたので、オペレータは試験装置側のみ
から操作できるとともに、試験結果を試験装置側で得る
ことができ、オペレータの負担を軽減することができ
る。According to the sixth aspect of the present invention, the test apparatus and the LAN relay device on the side of the device under test transmit the test parameters and the route control information packet to the LAN relay device on the side of the device under test. In the device, the operation of the device under test is confirmed based on the above test parameters and the received route control information packet, and the test result is transmitted to the test device, so that the operator can operate from only the test device side and the test result. Can be obtained on the test device side, and the burden on the operator can be reduced.
【0033】本発明の請求項7の発明は、試験装置側の
LAN中継装置から被試験装置側のLAN中継装置に経
路制御情報パケットを送信して被試験装置の動作に試験
する際、送信キューを調べ、送信キュー数が所定値以内
のとき被試験装置側のLAN中継装置に経路制御情報パ
ケットを送信し、送信キュー数が所定値を越えるとき、
一定時間スリープするようにしたので、送信側で送信待
ち、パケット破棄することなく、パケットを送出するこ
とができる。According to a seventh aspect of the present invention, the transmission queue is used when the operation of the device under test is tested by transmitting a route control information packet from the LAN relay device of the test device to the LAN relay device of the device under test. When the number of transmission queues is within a predetermined value, a route control information packet is transmitted to the LAN relay device on the device under test side, and when the number of transmission queues exceeds a predetermined value,
Since the device sleeps for a certain period of time, it is possible to send a packet without waiting for the sending side to discard the packet and discarding the packet.
【0034】本発明の請求項8の発明においては、試験
装置側のLAN中継装置にマンマシンインタフェース処
理部と、経路制御情報パケットを送信するパケットセン
ダを設け、被試験装置側のLAN中継装置にパケットチ
ェッカを設け、パケットチェッカから送信された試験結
果を試験装置側のLAN中継装置で受信することによ
り、被試験装置の動作を確認するように構成したので、
試験装置側からの操作でLAN中継装置の動作を効率的
に試験することができる。In the eighth aspect of the present invention, the LAN relay device on the test device side is provided with the man-machine interface processing section and the packet sender for transmitting the route control information packet, and the LAN relay device on the device under test side is provided. Since the packet checker is provided and the test result transmitted from the packet checker is received by the LAN relay device on the test device side, the operation of the device under test is confirmed.
The operation of the LAN relay device can be efficiently tested by the operation from the test device side.
【0035】本発明の請求項9の発明においては、試験
装置側のLAN中継装置にマンマシンインタフェース処
理部と、経路制御情報パケットを送信するパケットセン
ダを設け、被試験装置側のLAN中継装置に、経路制御
情報テーブルをチェックするテーブルチェッカを設け、
テーブルチェッカから送信された試験結果を試験装置側
のLAN中継装置で受信することにより、被試験装置の
経路制御情報テーブルの変更処理動作を確認するように
構成したので、請求項1の発明と同様、被試験装置の経
路制御情報テーブルが試験装置から送られてきた情報を
正確に保持しているかをチェックすることができる。According to the ninth aspect of the present invention, the LAN relay device on the test device side is provided with a man-machine interface processing section and a packet sender for transmitting a route control information packet, and the LAN relay device on the device under test side is provided. , Provide a table checker to check the routing information table,
By receiving the test result transmitted from the table checker in the test apparatus of the LAN access point, and then, is confirmed in the change process operation routing information table of the device under test, as with the invention of claim 1 It is possible to check whether the route control information table of the device under test accurately holds the information sent from the test device.
【0036】本発明の請求項10の発明においては、請
求項8または請求項9の発明において、経路経路制御情
報パケットに実際には存在しないネットワークの擬似情
報、および/または、異常データを設定して被試験装置
に送信するように構成したので、請求項1、5の発明と
同様、運用を想定した試験を行うことができ、また、被
試験装置の処理を撹乱させて試験を行うことができる。According to a tenth aspect of the present invention, in the eighth or ninth aspect of the present invention, the pseudo information of the network and / or the abnormal data which does not actually exist in the route control information packet is set. Since it is configured to transmit the data to the device under test, it is possible to perform the test assuming the operation as in the inventions of claims 1 and 5, and to perform the test by disturbing the processing of the device under test. it can.
【0037】本発明の請求項11の発明は、請求項8,
9または請求項10の発明において、パケットセンダ
に、経路制御情報パケットの送信間隔を変更/一定の幅
内で動的に変更、もしくは、経路制御情報パケットの送
信を一定時間停止させる機能を設けたので、請求項2〜
請求項4の発明と同様、被試験装置における受信処理の
回数を増やしたり、テスト時間の短縮を図ることがで
き、また、経路制御情報プログラムの処理タイミングを
変化させる等、種々の負荷状態における被試験装置の試
験を行うことができる。The invention of claim 11 of the present invention is the same as that of claim 8,
In the invention of claim 9 or claim 10 , the packet sender is provided with a function of changing the transmission interval of the route control information packet / dynamically changing it within a certain width, or stopping the transmission of the route control information packet for a certain period of time. Therefore, claim 2
Similar to the invention of claim 4, it is possible to increase the number of times of reception processing in the device under test, shorten the test time, and change the processing timing of the route control information program. The test of the test device can be performed.
【0038】[0038]
【実施例】図2は試験対象となるLAN中継装置の通常
の運用状態を示す図である。同図において、10は試験
装置となるLAN中継装置、20は被試験装置となるL
AN中継装置であり、各LAN中継装置10,20には
経路制御プログラム11,21が設けられており、各経
路制御プログラム11,21は同図に示すように、TC
P or UDP層12,22、IP層13,23、物理層
14,24を介して通信路30と接続されている。ま
た、図示しないが、LAN中継装置10,20には経路
制御情報テーブルが設けられており、前記したように、
他のLAN中継装置から通知された経路制御情報パケッ
トのIPアドレスは各自が持つ経路制御情報テーブルに
格納される。EXAMPLE FIG. 2 is a diagram showing a normal operating state of a LAN relay device to be tested. In the figure, 10 is a LAN relay device which is a test device, and 20 is an L device which is a device under test.
Each of the LAN relay devices 10 and 20 is an AN relay device, and route control programs 11 and 21 are provided. Each route control program 11 and 21 has a TC
The communication path 30 is connected via the P or UDP layers 12 and 22, the IP layers 13 and 23, and the physical layers 14 and 24. Although not shown, the LAN relay devices 10 and 20 are provided with a route control information table, and as described above,
The IP address of the route control information packet notified from the other LAN relay device is stored in the route control information table owned by each.
【0039】上記構成において、本実施例では、試験装
置側のLAN中継装置10に、実際には存在しないネッ
トワークの情報を含む擬似経路制御情報パケットや異常
データを含む擬似経路制御情報パケットを、任意の指
定された送信間隔(例えば1秒間隔)で送信したり、
送信間隔値を一定の幅で動的に変化させたり、さらに、
一定時間(例えば180秒)停止させる機能を持つパ
ケットセンダを設ける。In the above-mentioned configuration, in this embodiment, the LAN relay device 10 on the side of the test device is arbitrarily provided with a pseudo route control information packet containing information of a network which does not actually exist and a pseudo route control information packet containing abnormal data. Send at the specified transmission interval (for example, 1 second interval),
Dynamically change the transmission interval value within a certain range,
A packet sender having a function of stopping for a fixed time (for example, 180 seconds) is provided.
【0040】また、被試験装置となるLAN中継装置2
0には、経路制御プログラム21の代わりに受信パケッ
トをチェックするパケットチェックプログラム(以下、
パケットチェッカという)を設け、受信されたパケット
のパケット抜け、パケット異常を検出し、試験装置側の
LAN中継装置10に送信する。さらに、被試験装置と
なるLAN中継装置20に経路制御情報テーブルをチェ
ックするプログラム(以下、テーブルチェッカという)
を設け、経路制御情報テーブルを一定間隔で調査し、結
果を試験装置側のLAN中継装置10に送信する。The LAN relay device 2 which is the device under test
In 0, a packet check program (hereinafter, referred to as
A packet checker) is provided to detect missing packets and packet abnormalities in the received packets, and transmit them to the LAN relay device 10 on the test device side. Further, a program for checking the route control information table in the LAN relay device 20 as the device under test (hereinafter referred to as a table checker)
Is provided, the route control information table is examined at regular intervals, and the result is transmitted to the LAN relay device 10 on the test device side.
【0041】図3は試験装置側のLAN中継装置10に
上記したパケットセンダ15と、マンマシン・インタフ
ェース処理を行うマンマシンインタフェース処理部(以
下、MMI処理部という)16を設け、また、被試験装
置側のLAN中継装置20にパケットチェッカ25を設
けた構成を示す図である。同図において、まず、MMI
処理部16から、被試験装置となるLAN中継装置20
に後述するテストパラメータパケットを送信し、被試験
装置20にパラメータを設定する。ついで、パケットセ
ンダ15から擬似経路制御情報(後述する経路制御情報
パケット)を送信する。FIG. 3 shows the LAN relay device 10 on the side of the test apparatus, which is provided with the above-mentioned packet sender 15 and a man-machine interface processing section (hereinafter referred to as an MMI processing section) 16 for performing a man-machine interface processing, and also under test. FIG. 3 is a diagram showing a configuration in which a packet checker 25 is provided in the LAN relay device 20 on the device side. In the figure, first, the MMI
From the processing unit 16, the LAN relay device 20 serving as the device under test
A test parameter packet described later is transmitted to the device under test 20 to set parameters. Then, the packet sender 15 transmits pseudo route control information (route control information packet described later).
【0042】被試験装置20のパケットチェッカ25は
上記経路制御情報を受信すると、テストパラメータパケ
ットから作成された期待値と受信情報を比較し、破壊/
失われたパケット数を示す負荷状態通知パケット(後述
する)を作成し、試験装置10に送信する。上記負荷状
態通知パケットは試験装置10のMMI処理部で受信さ
れ、上記破壊/失われたパケット数が試験装置10で表
示される。When the packet checker 25 of the device under test 20 receives the route control information, it compares the expected value created from the test parameter packet with the received information and destroys /
A load status notification packet (described later) indicating the number of lost packets is created and transmitted to the test apparatus 10. The load status notification packet is received by the MMI processing unit of the test apparatus 10, and the number of destroyed / lost packets is displayed on the test apparatus 10.
【0043】図4は被試験装置となるLAN中継装置2
0にテーブルチェッカ27を設け、経路制御情報テーブ
ル26をチェックする構成を示す図である。同図におい
て、経路制御情報テーブル26の動作をチェックするに
は、図3の場合と同様、まず、MMI処理部16から、
被試験装置となるLAN中継装置20に後述するテスト
パラメータパケットを送信し、被試験装置20にパラメ
ータを設定する。ついで、パケットセンダ15から擬似
経路制御情報を送信する。被試験装置20の経路制御情
報プログラム21は上記経路制御情報を受信すると、経
路制御情報テーブル26を更新する。FIG. 4 shows a LAN relay device 2 as a device under test.
FIG. 3 is a diagram showing a configuration in which a table checker 27 is provided in 0 and the route control information table 26 is checked. In the figure, in order to check the operation of the route control information table 26, first, as in the case of FIG.
A test parameter packet described later is transmitted to the LAN relay device 20 which is the device under test, and the parameters are set in the device under test 20. Then, the packet sender 15 transmits the pseudo route control information. The routing control information program 21 of the device under test 20 updates the routing control information table 26 upon receiving the routing control information.
【0044】テーブルチェッカ27は、上記テストパラ
メータパケットから作成したIPアドレス(期待値)と
テーブル中のIPアドレスを比較して、ロスIPアドレ
ス、イリーガルIPアドレスがあると、これらを示すテ
ーブルチェックパケット(後述する)を作成し、試験装
置10に送信する。上記テーブルチェックパケットは試
験装置10のMMI処理部で受信され、ロスIPアドレ
ス、イリーガルIPアドレスは試験装置10で表示され
る。The table checker 27 compares the IP address (expected value) created from the test parameter packet with the IP address in the table, and if there is a lost IP address or illegal IP address, a table check packet ( (Described later) is created and transmitted to the test apparatus 10. The table check packet is received by the MMI processing unit of the test apparatus 10, and the loss IP address and illegal IP address are displayed on the test apparatus 10.
【0045】図5はパケットセンダ15が送信する経路
制御情報パケットの形式を示す図である。同図に示すよ
うに、経路制御情報パケットはMACアドレスと、IP
ヘッダと経路制御データからなり、経路制御データは
「コマンド、バージョン、アドレス・ファミリー」等
と、「IPアドレス」、「0」,「0」,「コスト」で
1エントリーが構成されている。そして、経路制御情報
パケットの長さは512バイト以下であり、25エント
リに満たない時はエントリ数分のパケット長となる。FIG. 5 is a diagram showing the format of the route control information packet transmitted by the packet sender 15. As shown in the figure, the route control information packet includes a MAC address and an IP address.
It consists of a header and route control data, and the route control data is composed of "command, version, address family" and the like, and one entry of "IP address", "0", "0", and "cost". The length of the route control information packet is 512 bytes or less, and when it is less than 25 entries, the packet length is the number of entries.
【0046】IPアドレスは、試験に使用される通信路
に接続される他のネットとの干渉を避けるためCクラス
(Net IDの桁数がHost ID の桁数より多いアドレスで比
較的利用されることが少ない)が使用される。また、各
エントリのIPアドレスには、オペレータが指定する開
始IPアドレスから256ずつ増やした値を設定する。
そして、最大値に達すると最初に戻り、「192.1.
1.1」から256ずつ増加したIPアドレスを設定す
る。また、指定されたエントリ数に達すると一回の処理
は終了し、この処理を繰り返し行う。The IP address is a C class (an address whose digit number of Net ID is larger than the digit number of Host ID is relatively used in order to avoid interference with other nets connected to the communication path used for the test. Less often) is used. Further, the IP address of each entry is set to a value that is incremented by 256 from the start IP address designated by the operator.
Then, when the maximum value is reached, the process returns to the beginning and returns to "192.1.
The IP address is incremented by 256 from "1.1". When the specified number of entries is reached, one process ends, and this process is repeated.
【0047】コストには1〜15の整数値が入る。最初
の繰り返し時は15を使用し、次の繰り返しから−1し
た値を使用し、1になるとまた15を使用する。さら
に、被試験装置20においてパケットチェッカ25を動
作させる場合には、パケット単位にシーケンス番号を最
初のエントリの(seq)部分に設定する。An integer value of 1 to 15 is entered in the cost. Use 15 for the first iteration, use -1 from the next iteration, and use 15 again for 1. Further, when the packet checker 25 is operated in the device under test 20, the sequence number is set in the packet at the (seq) portion of the first entry.
【0048】上記のようにIPアドレスを設定した擬似
経路制御情報を送信することにより、前記したように物
理的にホストを接続することなく被試験装置の経路制御
機能をテストすることができる。図6は試験に先立ちパ
ケットチェッカ25およびテーブルチェッカ27に送信
されるとともに、パケットセンダ15に渡される(テス
トパラメータデータのみ)前記したテストパラメータパ
ケットの形式を示す図である。By transmitting the pseudo route control information in which the IP address is set as described above, the route control function of the device under test can be tested without physically connecting the host as described above. FIG. 6 is a diagram showing the format of the above-mentioned test parameter packet which is transmitted to the packet checker 25 and the table checker 27 and passed to the packet sender 15 (test parameter data only) prior to the test.
【0049】テストパラメータパケットは同図に示すよ
うに、MACアドレス、IPヘッダとテストパラメータ
データからなり、テストパラメータデータは「テストパ
ラメータパケットID」、「開始IPアドレス」、「エ
ントリ数」、「ループ回数」、「送信間隔」、「ポート
番号」から構成されている。「テストパラメータパケッ
トID」はこのパケットがテストパラメータパケットで
あることを示すIDデータであり、本実施例において
は、0x11111111が設定される。「エントリ数」、「ルー
プ回数」、「送信間隔」は、それぞれ、パケットセンダ
から送信される経路制御情報パケットの全エントリ数、
経路制御情報パケットを1セットとして何回繰り返すか
を示す繰り返し回数、経路制御情報パケットの送信間隔
(秒)を示し、また、「ポート番号」によりパケットチ
ェッカあるいはテーブルチェッカのポートが指定され
る。As shown in the figure, the test parameter packet comprises a MAC address, an IP header and test parameter data. The test parameter data includes "test parameter packet ID", "starting IP address", "entry number" and "loop". It is composed of "number of times", "transmission interval", and "port number". The “test parameter packet ID” is ID data indicating that this packet is a test parameter packet, and 0x11111111 is set in this embodiment. “Number of entries”, “loop count”, and “transmission interval” are the total number of entries of the routing control information packet transmitted from the packet sender,
The number of repetitions indicating how many times the route control information packet is set as one set, the transmission interval (seconds) of the route control information packet, and the "port number" specify the port of the packet checker or the table checker.
【0050】テストパラメータパケットは上記のような
形式を持ち、パケットチェッカ25およびテーブルチェ
ッカ27は上記テストパラメータパケットが受信される
と、テストパラメータデータから経路制御情報の期待値
を作成し、作成した期待値と実際に送信される経路制御
情報、もしくは、経路制御情報により更新された経路制
御情報テーブルの内容と比較する。The test parameter packet has the above format, and when the packet checker 25 and the table checker 27 receive the test parameter packet, the expected value of the route control information is created from the test parameter data, and the created expected value is obtained. The value is compared with the actually transmitted route control information or the contents of the route control information table updated by the route control information.
【0051】図7は被試験装置20側に設けられたパケ
ットチェッカ25が試験装置10側のMMI処理部16
に送信する負荷状態通知パケットの形式を示す図であ
り、パケットチェッカ25は、経路制御情報パケットを
受信すると、前記したようにテストパラメータパケット
から作成された期待値と比較し、次の負荷状態通知パケ
ットを作成する。In FIG. 7, the packet checker 25 provided on the device under test 20 side is the MMI processing unit 16 on the test device 10 side.
FIG. 7 is a diagram showing a format of a load status notification packet to be transmitted to the packet checker 25. When the packet checker 25 receives the routing control information packet, the packet checker 25 compares it with the expected value created from the test parameter packet as described above, and sends the next load status notification packet. Create a packet.
【0052】負荷状態通知パケットは同図に示すよう
に、MACアドレス、IPヘッダと負荷状態通知データ
からなり、負荷状態通知データは「負荷状態通知パケッ
トID」、「totalパケット数」、「recvパケ
ット数」、「brokenパケット数」、「lossパ
ケット数」から構成されている。「負荷状態通知パケッ
トID」はこのパケットが負荷状態通知パケットである
ことを示すIDデータであり、本実施例においては、0x
22222222が設定される。「totalパケット数」は
「recvパケット数」と「brokenパケット数」
と「lossパケット数」の合計値を示し、「recv
パケット数」、「brokenパケット数」、「los
sパケット数」は、それぞれ、正常に受信されたパケッ
ト数、破壊(データ化け)したパケット数、失われたパ
ケット数を示す。As shown in the figure, the load status notification packet comprises a MAC address, an IP header and load status notification data. The load status notification data includes "load status notification packet ID", "total number of packets" and "recv packet". The number of packets, the number of broken packets, and the number of lost packets. The "load status notification packet ID" is ID data indicating that this packet is a load status notification packet, and in this embodiment, it is 0x.
22222222 is set. "Total packet number" is "recv packet number" and "broken packet number"
And the total number of "loss packets" are displayed, and "recv
"Number of packets", "Number of broken packets", "los"
The number of s packets indicates the number of normally received packets, the number of corrupted (garbled data) packets, and the number of lost packets, respectively.
【0053】図8は被試験装置20側に設けられたテー
ブルチェッカ27が試験装置10側のMMI処理部16
に送信するテーブルチェックパケットの形式を示す図で
あり、テーブルチェッカ27は経路制御情報テーブル2
6の内容と、テストパラメータパケットから作成された
期待値とを比較し、次のテーブルチェックパケットを作
成する。In FIG. 8, the table checker 27 provided on the device under test 20 side is the MMI processing unit 16 on the test device 10 side.
6 is a diagram showing a format of a table check packet to be transmitted to the table checker 27.
6 is compared with the expected value created from the test parameter packet to create the next table check packet.
【0054】テーブルチェックパケットは同図に示すよ
うに、MACアドレス、IPヘッダとテーブルチェック
データからなり、テーブルチェックデータは「テーブル
チェックパケットID」、「loss IPアドレ
ス」、「イリーガル IPアドレス」、「検出時間」か
ら構成されている。「テーブルチェックパケットID」
はこのパケットがテーブルチェックパケットであること
を示すIDデータであり、本実施例においては、0x3333
3333が設定される。「loss IPアドレス」はパケ
ットセンダ15が送信した経路制御情報パケットに含ま
れているIPアドレスであるにもかかわらず経路制御情
報テーブル26にないIPアドレス、「イリーガル I
Pアドレス」はパケットセンダ15が送信した経路制御
情報パケットに含まれていないIPアドレスであるのに
経路制御情報テーブル26にあるIPアドレス、また、
「検出時間」は上記「loss IPアドレス」、「イ
リーガル IPアドレス」を検出した時刻である。As shown in the figure, the table check packet is composed of a MAC address, an IP header and table check data. The table check data includes "table check packet ID", "loss IP address", "illegal IP address", and "illegal IP address". Detection time ”. "Table check packet ID"
Is ID data indicating that this packet is a table check packet, and in this embodiment, 0x3333.
3333 is set. The “loss IP address” is an IP address that is not included in the route control information table 26 although it is an IP address included in the route control information packet transmitted by the packet sender 15, “illegal I
“P address” is an IP address that is not included in the routing control information packet transmitted by the packet sender 15, but is an IP address in the routing control information table 26, or
The “detection time” is the time when the “loss IP address” and the “illegal IP address” are detected.
【0055】次に、MMI処理部16、パケットセンダ
15、パケットチェッカ25、テーブルチェッカ27に
おける実行手順、および、実行例について説明する。
(1)MMI処理部
試験を実施するにあたり、オペレータは図示しないオペ
レータコンソールから次のパラメータを設定する。
開始IPアドレス
経路制御情報の開始IPアドレスを[192.1.1.1] 〜[19
2.255.255.1] の間で指定する。指定を省略した場合に
は、開始IPアドレスは[192.1.1.1] に設定される。
エントリ個数
経路制御情報の開始IPアドレスからのエントリ個数を
1 〜65535 の間の10進数で指定する。指定を省略した
場合には1000個に設定される。
ループ回数
開始IPアドレスからエントリ個数までのパケットを1
セットとして、何回繰り返すかを1 〜65535 の間の10
進数または*(無限回)で指定する。指定を省略した場
合には1回に設定される。
送信間隔
経路制御情報パケットを送信する間隔を秒単位で1 〜86
400 (24時間)の10進数で指定する。指定を省略し
た場合には30秒に設定される。
ポート指定
サーバー側のプログラムを「ift」または「gate
D」で指定する。「ift」によりパケットチェッカが
指定され、「gateD」により経路制御情報プログラ
ムが指定される。指定を省略すると、経路制御情報プロ
グラムが設定される。
相手ホスト名の指定
被試験装置のホスト名を指定する。Next, an execution procedure and an execution example in the MMI processing unit 16, the packet sender 15, the packet checker 25, and the table checker 27 will be described. (1) In carrying out the MMI processing unit test, the operator sets the following parameters from an operator console (not shown). Start IP address Set the start IP address of the route control information from [192.1.1.1] to [19].
2.255.255.1]. If the specification is omitted, the starting IP address will be set to [192.1.1.1]. Number of entries The number of entries from the start IP address of the route control information
Specify a decimal number between 1 and 65535. If the specification is omitted, it is set to 1000. 1 packet from the start IP address of the loop count to the number of entries
As a set, how many times to repeat, 10 between 1 and 65535
Specify with a decimal number or * (infinite number of times). If the specification is omitted, it is set to once. Transmission interval The interval at which route control information packets are transmitted, in seconds from 1 to 86.
Specify in decimal number of 400 (24 hours). If the specification is omitted, it is set to 30 seconds. The program on the port specification server side is "ift" or "gate"
Designate with "D" The packet checker is designated by "ift", and the route control information program is designated by "gateD". If the specification is omitted, the route control information program is set. Specifying the host name of the other party Specify the host name of the device under test.
【0056】MMI処理部16は入力された上記パラメ
ータに基づきテストパラメータパケット形式を作成し、
パケットチェッカ25、テーブルチェッカ27に送信す
るとともに、テストパラメータデータをパケットセンダ
15に渡す。また、MMI処理部16は前記したよう
に、パケットチェッカ25、テーブルチェッカ27から
送信された負荷状態通知パケット、テーブルチェックパ
ケットに基づき試験結果データを作成し、上記オペレー
タコンソールに表示する。The MMI processing unit 16 creates a test parameter packet format based on the input parameters,
The test parameter data is sent to the packet checker 25 and the table checker 27, and the test parameter data is passed to the packet sender 15. Further, as described above, the MMI processing unit 16 creates test result data based on the load status notification packet and the table check packet transmitted from the packet checker 25 and the table checker 27, and displays the test result data on the operator console.
【0057】図9はMMI処理部における実行手順を示
すフローチャートであり、同図を参照しながら本実施例
について説明する。
まず、オペレータコンソールから入力されたデータか
らテストパラメータパケット形式を作成する(ステップ
S1)。
ソケットを生成する[socket:AF INET,SOCK DGRAM,
IPPROTO UDP : UNIXおける送信手続] (ステップS
2)
ソケットに名前を付ける[bind:family=AF INET,por
t=0,addr=0] (ステップS3)。
作成したテストパラメータパケットをパケットチェッ
カ25に送信する[sendto:family=AF INET,port=520,
addr=gethostname()で得たIPアドレス] (ステップS
4)。
作成したテストパラメータパケットをテーブルチェッ
カ27に送信する[sendto:family=AF INET,port=200
3,addr=gethostname() で得たIPアドレス] (ステッ
プS5)。
パケットセンダ15を起動し、作成したテストパラメ
ータパケットを渡す(テストパラメータデータのみ)
(ステップS6)。
パケットチェッカ25とテーブルチェッカ27から負
荷状態パケットとテーブルチェックパケットを受信する
[recvfrom:family=AF INET,port=0,addr=0] (ステッ
プS7)。
パケットIDを見て、受信されたパケットが負荷状態
パケットとテーブルチェックパケットかを判別し、それ
らに見合った形式で、結果をオペレータコンソールに表
示する[printf](ステップS8)。その後、ステップS
7に戻る。
パケットセンダ15における送信が終了したら(ステ
ップS9)、ソケットを返却して[close] 終了する(ス
テップS10)。
(2)パケットセンダ
図10はパケットセンダにおける実行手順を示すフロー
チャートであり、同図を参照しながら本実施例について
説明する。
ソケットを生成する[socket:AF INET,SOCK DGRAM,
IPPROTO UDP ] (ステップS1)
ソケットに名前を付ける[bind:family=AF INET,por
t=0,addr=0] (ステップS2)。
1パケット分の経路制御情報を作成する(ステップS
3)。
送信キューを調べ(ステップS4)、キュー数が50
以内ならステップS6に進む。また、キュー数が50以
内でない場合には、50msスリープする(ステップS
5)。FIG. 9 is a flow chart showing an execution procedure in the MMI processing section, and this embodiment will be described with reference to the figure. First, a test parameter packet format is created from the data input from the operator console (step S1). Create a socket [socket: AF INET, SOCK DGRAM,
IPPROTO UDP: Transmission procedure in UNIX] (Step S
2) Name the socket [bind: family = AF INET, por
t = 0, addr = 0] (step S3). Send the created test parameter packet to the packet checker 25 [sendto: family = AF INET, port = 520,
IP address obtained by addr = gethostname ()] (Step S
4). Send the created test parameter packet to the table checker 27 [sendto: family = AF INET, port = 200
3, IP address obtained by addr = gethostname ()] (step S5). Start the packet sender 15 and pass the created test parameter packet (test parameter data only)
(Step S6). Receive load status packets and table check packets from the packet checker 25 and the table checker 27.
(recvfrom: family = AF INET, port = 0, addr = 0] (step S7). The packet ID is checked to determine whether the received packet is a load state packet or a table check packet, and the result is displayed on the operator console in a format suitable for them [printf] (step S8). After that, step S
Return to 7. When the transmission in the packet sender 15 is completed (step S9), the socket is returned and [close] is completed (step S10). (2) Packet Sender FIG. 10 is a flow chart showing the execution procedure in the packet sender, and this embodiment will be described with reference to the figure. Create a socket [socket: AF INET, SOCK DGRAM,
IPPROTO UDP] (Step S1) Name the socket [bind: family = AF INET, por
t = 0, addr = 0] (step S2). Create routing control information for one packet (step S
3). The transmission queue is checked (step S4), the number of queues is 50
If it is within the range, proceed to step S6. If the number of queues is not within 50, sleep for 50 ms (step S
5).
【0058】上記のようにキュー数が多い場合、50m
sスリープすることにより、前記した、テストプログラ
ムと送信処理ではタスクの優先度により、テストプログ
ラムでパケットを送信し続けると、送信処理のキューが
待たされたり破棄され、無駄な処理となってしまうとい
った問題を避けることができる。
経路制御情報パケットを送信する[sendto:family=AF
INET,port=520,addr=gethostname()で得たIPアドレ
ス] (ステップS6)。
エントリ分のパケット数を全て送信したかを判別し
(ステップS7)、エントリ分のパケット数を全て送信
するまでステップS3〜S6の処理を繰り返す。
送信間隔分スリープする[sleep:interval ±5secまた
は180sec] (ステップS8)。
ループ回数分送信したかを判別し(ステップS9)、
ループ回数分送信していない場合にはステップS3に戻
る。
ソケットを返却して[close] 終了する(ステップS1
0)。
(3)パケットチェッカ
図11はパケットチェッカにおける実行手順を示すフロ
ーチャートであり、同図を参照しながら本実施例につい
て説明する。
ソケットを生成する[socket:AF INET,SOCK DGRAM,
IPPROTO UDP ] (ステップS1)
ソケットに名前を付ける[bind:family=AF INET,por
t=520,addr=0] (ステップS2)。
テストパラメータパケットを受信する[recvfrom:fami
ly=AF INET,port=0,addr=0] (ステップS3)。
テストパラメータデータから1パケット分のデータ
(期待値)を作成する。When the number of queues is large as described above, 50 m
By s sleeping, if the test program continues to transmit packets depending on the task priority in the test program and the transmission process, the queue of the transmission process is kept waiting or discarded, resulting in wasteful processing. You can avoid problems. Send routing information packet [sendto: family = AF
IP address obtained by INET, port = 520, addr = gethostname ()] (step S6). It is determined whether all the packets for the entry have been transmitted (step S7), and the processes of steps S3 to S6 are repeated until the packets for the entry are all transmitted. Sleep for the transmission interval [sleep: interval ± 5 sec or 180 sec] (step S8). It is determined whether or not the loop count has been transmitted (step S9),
If not transmitted for the number of loops, the process returns to step S3. Return the socket and finish [close] (step S1)
0). (3) Packet Checker FIG. 11 is a flowchart showing the execution procedure in the packet checker, and this embodiment will be described with reference to the figure. Create a socket [socket: AF INET, SOCK DGRAM,
IPPROTO UDP] (Step S1) Name the socket [bind: family = AF INET, por
t = 520, addr = 0] (step S2). Receive test parameter packet [recvfrom: fami
ly = AF INET, port = 0, addr = 0] (step S3). One packet of data (expected value) is created from the test parameter data.
【0059】すなわち、テストパラメータデータから本
来受信されるべき経路制御情報データの期待値を作成す
る(ステップS4)。
経路制御情報パケットを受信する[recvfrom:family=A
F INET,port=520,addr=0] (ステップS5)。
受信した経路制御情報とステップS4で作成した期待
値を比較し、結果を負荷状態パケットに格納する(ステ
ップS6)。
一定間隔で負荷状態通知パケットを送信する[sendto:
family=AF INET,port=2000,addr=0](ステップS
7)。
ループ回数分受信したかを判別し(ステップS8)、
ループ回数分受信していない場合にはステップS4に戻
る。
ソケットを返却して[close] 終了する(ステップS
9)。
(3)テーブルチェッカ
図12はテーブルチェッカにおける実行手順を示すフロ
ーチャートであり、同図を参照しながら本実施例につい
て説明する。
ソケットを生成する[socket:AF INET,SOCK DGRAM,
IPPROTO UDP ] (ステップS1)
ソケットに名前を付ける[bind:family=AF INET,por
t=520,addr=0] (ステップS2)。。
テストパラメータパケットを受信する[recvfrom:fami
ly=AF INET,port=0,addr=0] (ステップS3)。
テストパラメータデータから1パケット分のデータ
(期待値)を作成し、経路制御情報テーブルの内容と比
較する。そして、異常があれば、結果をテーブルチェッ
クパケットに格納する(ステップS4)。
テーブルチェックパケットに値が格納されていると、
テーブルチェックパケットを送信する[sendto:family=A
F INET,port=2000,addr=0](ステップS5)。
一定時間スリープしステップS4に戻る(ステップS
6)
パケットチェッカの送信が終了したらソケットを返却
し[close] 終了する(ステップS7,S8)。
(4)実行例
図13、図14は本実施例の実行例を示す図であり、図
13は、前記図3の構成において、試験装置10のオペ
レータコンソールに表示された試験結果を示し、また、
図14は前記図4の構成において、試験装置10のオペ
レータコンソールに表示された試験結果を示している。That is, the expected value of the routing control information data that should be originally received is created from the test parameter data (step S4). Receive routing information packet [recvfrom: family = A
F INET, port = 520, addr = 0] (step S5). The received route control information is compared with the expected value created in step S4, and the result is stored in the load state packet (step S6). Send a load status notification packet at regular intervals [send to:
family = AF INET, port = 2000, addr = 0] (Step S
7). It is determined whether or not the number of loops has been received (step S8),
When the number of loops has not been received, the process returns to step S4. Returns the socket and ends [close] (step S
9). (3) Table Checker FIG. 12 is a flowchart showing the execution procedure in the table checker, and this embodiment will be described with reference to the figure. Create a socket [socket: AF INET, SOCK DGRAM,
IPPROTO UDP] (Step S1) Name the socket [bind: family = AF INET, por
t = 520, addr = 0] (step S2). . Receive test parameter packet [recvfrom: fami
ly = AF INET, port = 0, addr = 0] (step S3). One packet of data (expected value) is created from the test parameter data and compared with the contents of the route control information table. If there is an abnormality, the result is stored in the table check packet (step S4). If a value is stored in the table check packet,
Send table check packet [sendto: family = A
F INET, port = 2000, addr = 0] (step S5). It sleeps for a certain period of time and returns to step S4 (step S
6) When the transmission of the packet checker is completed, the socket is returned and [close] is completed (steps S7 and S8). (4) Execution Example FIGS. 13 and 14 are views showing an execution example of the present embodiment. FIG. 13 shows a test result displayed on the operator console of the test apparatus 10 in the configuration of FIG. ,
FIG. 14 shows the test result displayed on the operator console of the test apparatus 10 in the configuration of FIG.
【0060】図13は開始IPアドレス=192.10.1.1 、
エントリ数=1000 、ループ回数5回、送信間隔1秒に設
定した場合に、パケットチェッカから送信された試験結
果を示してものであり、IPアドレス=133.3.4.1につい
て、一回目はトータルパケット数が200 で、受信された
パケット数が150 、破壊されたパケット数が5 、失われ
たパケット数が45であり、2回目は、トータルパケット
数が500 で、受信されたパケット数が400 、破壊された
パケット数が10、失われたパケット数が90であることを
示している。FIG. 13 shows the starting IP address = 192.10.1.1,
When the number of entries = 1000, the number of loops 5 times, and the transmission interval 1 second are set, the test result transmitted from the packet checker is shown. For the IP address = 133.3.4.1, the total number of packets is the first time. At 200, 150 received packets, 5 dropped packets, 45 lost packets, and the second time, 500 total packets received and 400 received packets dropped. It shows that the number of lost packets is 10 and the number of lost packets is 90.
【0061】図14は開始IPアドレス=192.10.1.1 、
エントリ数=1000 、ループ回数5回、送信間隔1秒に設
定した場合に、テーブルチェッカから送信されたテーブ
ルチェック結果を示してものであり、経路制御情報パケ
ット中に含まれるIPアドレスにもかかわらず経路情報
テーブルにないIPアドレス(前記したloss IP
アドレス)として、192.30.250.1が、時刻15:20:
00および時刻15:25:00に検出され、また、経
路制御情報パケット中に含まれないIPアドレスにもか
かわらず経路情報テーブルにあるIPアドレス(前記し
たイリーガルIPアドレス)として、192.1.1.1 、192.
1.2.1 が、それぞれ、時刻10:30:46および時刻
10:50:46に検出されたことを示している。FIG. 14 shows the starting IP address = 192.10.1.1,
When the number of entries = 1000, the number of loops is 5 and the transmission interval is set to 1 second, the table check result transmitted from the table checker may be shown, regardless of the IP address included in the route control information packet. IP addresses not in the route information table (loss IP described above
192.30.250.1 as the address), time 15:20:
002.1 and time 15:25:00, and 192.1.1.1, 192 as the IP address (the above-mentioned illegal IP address) in the route information table despite the IP address not included in the route control information packet. .
1.2.1 indicates that they were detected at time 10:30:46 and time 10:50:46, respectively.
【0062】[0062]
【発明の効果】本発明においては、以下の効果を得るこ
とができる。
(1)擬似経路制御情報を含まない経路制御情報は実際
に接続されているホストのインタフェースの数だけしか
存在しないので、このような経路制御情報では、限られ
た経路制御情報(数百)しか送出することができない。The following effects can be obtained in the present invention. (1) Since the routing control information that does not include the pseudo routing control information is present only in the number of interfaces of the hosts that are actually connected, such routing control information has only limited routing control information (hundreds). Cannot be sent.
【0063】一方、実際の運用時の経路制御情報は、数
千、数万となるため、上記のような経路制御情報では、
運用を想定した試験を行うことができず、障害の洗い出
しが不完全となる。本発明においては、実際には存在し
ないネットワークの情報を含む擬似経路制御情報をパケ
ットセンダから送出しているので、見かけ上、経路制御
情報を多くし、運用時に近い試験を行うことが可能とな
る。
(2)経路制御プログラムでは、通常30秒間隔で経路
制御情報を送出する。本発明においては、上記経路制御
情報の送出を任意の間隔で行えるようしたので、被試験
装置における受信処理の回数を増やすことができ、パケ
ットの不要な破棄や送信処理とのぶつかりによるバッフ
ァ不足等を発生させることができる。On the other hand, since the routing control information during actual operation is several thousand or tens of thousands, the above routing control information
The test assuming the operation cannot be performed, and failure identification is incomplete. In the present invention, since pseudo packet control information including network information that does not actually exist is transmitted from the packet sender, it is possible to apparently increase the packet control information and perform a test close to the time of operation. . (2) In the route control program, the route control information is normally sent at intervals of 30 seconds. In the present invention, since the routing control information can be transmitted at an arbitrary interval, it is possible to increase the number of times of reception processing in the device under test, unnecessary discard of packets, buffer shortage due to collision with transmission processing, etc. Can be generated.
【0064】また、送信間隔を短くすることにより、試
験時間を短縮することができる。
(3)経路制御情報パケットの送出間隔が一定である
と、被試験装置の負荷も一定となる。そこで、本発明に
おいては、上記送信間隔を一定の幅で動的に変更する。
これにより、被試験装置への負荷のかけ方を変化させ、
被試験装置の経路制御プログラムの処理タイミングを変
えて試験を行うことが可能となる。
(4)LANにおける経路制御では、通常180秒間パ
ケットの送出を停止すると被試験装置の経路制御情報テ
ーブルの情報を削除するためバッファ領域の解放を行
う。その後、経路制御情報を送出するとバッファ領域の
獲得処理を行う。Also, the test time can be shortened by shortening the transmission interval. (3) If the transmission interval of the route control information packet is constant, the load on the device under test is also constant. Therefore, in the present invention, the transmission interval is dynamically changed within a certain width.
This changes the way the load is applied to the device under test,
It is possible to perform the test by changing the processing timing of the route control program of the device under test. (4) In the route control in the LAN, when the packet transmission is normally stopped for 180 seconds, the buffer area is released to delete the information in the route control information table of the device under test. After that, when the route control information is transmitted, a buffer area acquisition process is performed.
【0065】したがって、本発明のように、一定時間、
経路制御情報の送出を停止させることにより、被試験装
置側のLAN中継装置にバッファ領域の解放処理、バッ
ファ領域の獲得処理を行わせることができ、これらの処
理が確実に実行されるかを確認することができる。さら
に、受信処理やテーブル変更(追加)処理が重なること
により被試験装置側側の処理を撹乱させることができ、
被試験装置の障害の洗い出しを充分に行うことが可能と
なる。
(5)LANにおける経路制御情報プログラムでは異常
な経路制御情報を受信するとその情報をログする。ま
た、情報をログするためにはファイルのオープン処理な
どに時間がかかり、その間にキューがたまる。Therefore, as in the present invention,
By stopping the sending of the route control information, it is possible to make the LAN relay device on the device under test perform the buffer area release processing and the buffer area acquisition processing, and confirm that these processing are executed reliably. can do. Furthermore, the reception process and the table change (addition) process can be overlapped to disturb the process on the side of the device under test.
It becomes possible to sufficiently wash out the failure of the device under test. (5) When a path control information program on the LAN receives abnormal path control information, the information is logged. Also, in order to log information, it takes time to open a file, and a queue accumulates during that time.
【0066】したがって、本発明のように、経路制御情
報に異常データを設定することにより、上記処理を発生
させて被試験装置側の処理を撹乱させることができ、被
試験装置の障害の洗い出しを充分に行うことが可能とな
る。
(6)経路制御に問題があり、経路制御情報テーブルに
経路制御情報が格納されないと、その経路を経由した送
信ができない(経路が見えない)。このため、経路制御
に問題があり、その経路を経由した送信ができない状態
になっていても、その経路を使用した試験を行うことが
できず、問題点の検出を行うことができない。Therefore, by setting abnormal data in the route control information as in the present invention, it is possible to cause the above processing to disturb the processing on the side of the device under test, and to identify the failure of the device under test. It becomes possible to perform sufficiently. (6) If there is a problem with the route control and the route control information is not stored in the route control information table, transmission via that route cannot be performed (the route cannot be seen). Therefore, even if there is a problem in the route control and the transmission via the route cannot be performed, the test using the route cannot be performed and the problem cannot be detected.
【0067】そこで、本発明においては、経路制御情報
テーブルが試験装置から送られてきた情報を正確に保持
しているかをチェックしている。これにより、経路制御
における上記問題を解決することができる。
(7)従来の送受信試験では、オペレータが受信側と送
信側の両方で操作する必要があったが、本発明において
は、試験装置側からテストパラメータを被試験装置に送
信し、またテスト結果を被試験装置側から試験装置に送
信しオペレータに通知するようにしているので、オペレ
ータは試験装置側のみで操作することができ、オペレー
タの負担を軽減することができる。
(8)前記したようにテストプログラム(アプリケーシ
ョン)でパケットを送信し続けると、送信処理のキュー
が待たされたり、破棄されることがあり、無駄な処理と
なることがあるが、本発明においては、送信キューを調
べて経路制御情報パケットを送出するようにしているの
で、送信側における送信待ちやパケット破棄が発生せ
ず、効率的な試験を行うことができる。Therefore, in the present invention, it is checked whether the route control information table accurately holds the information sent from the test device. As a result, the above problems in route control can be solved. (7) In the conventional transmission / reception test, the operator had to operate on both the receiving side and the transmitting side, but in the present invention, the test parameters are transmitted from the test apparatus to the device under test, and the test results are sent. Since the device under test is transmitted to the test device and notified to the operator, the operator can operate only on the side of the test device, and the burden on the operator can be reduced. (8) As described above, if packets are continuously transmitted by the test program (application), the queue of transmission processing may be held or discarded, which may be wasteful processing. Since the transmission queue is checked and the route control information packet is transmitted, an efficient test can be performed without waiting for transmission or packet discard on the transmitting side.
【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.
【図2】試験対象となるLAN中継装置の通常の運用状
態を示す図である。FIG. 2 is a diagram showing a normal operation state of a LAN relay device to be tested.
【図3】パケットセンダとパケットチェッカを用いた試
験の構成を示す図である。FIG. 3 is a diagram showing a configuration of a test using a packet sender and a packet checker.
【図4】パケットセンダとテーブルチェッカを用いた試
験の構成を示す図である。FIG. 4 is a diagram showing a configuration of a test using a packet sender and a table checker.
【図5】経路制御情報パケットの形式を示す図である。FIG. 5 is a diagram showing a format of a route control information packet.
【図6】テストパラメータパケットの形式を示す図であ
る。FIG. 6 is a diagram showing a format of a test parameter packet.
【図7】負荷状態通知パケットの形式を示す図である。FIG. 7 is a diagram showing a format of a load status notification packet.
【図8】テーブルチェックパケットの形式を示す図であ
る。FIG. 8 is a diagram showing a format of a table check packet.
【図9】MMI処理部における実行手順を示すフローチ
ャートである。FIG. 9 is a flowchart showing an execution procedure in the MMI processing unit.
【図10】パケットセンダにおける実行手順を示すフロ
ーチャートである。FIG. 10 is a flowchart showing an execution procedure in a packet sender.
【図11】パケットチェッカにおける実行手順を示すフ
ローチャートである。FIG. 11 is a flowchart showing an execution procedure in a packet checker.
【図12】テーブルチェッカにおける実行手順を示すフ
ローチャートである。FIG. 12 is a flowchart showing an execution procedure in the table checker.
【図13】本実施例の実行例を示す図である。FIG. 13 is a diagram showing an execution example of the present embodiment.
【図14】本実施例の実行例を示す図である。FIG. 14 is a diagram illustrating an execution example of the present embodiment.
【図15】LANの構成の一例を示す図である。FIG. 15 is a diagram showing an example of the configuration of a LAN.
1,10 試験装置側のLAN中継装置 1a,16 マンマシンインタフェース処理部 1b,15 パケットセンダ 2,20 被試験装置側のLAN中継装置 2a,25 パケットチェッカ 2b,27 テーブルチェッカ 2c,11,21 経路制御情報プログラム 2d,26 経路制御情報テーブル 12,22 TCP or UDP層 13,23 IP層 14,24 物理層 30 通信路 1,10 LAN relay device on the test equipment side 1a, 16 Man-machine interface processing unit 1b, 15 Packet sender 2,20 LAN relay device on the device under test side 2a, 25 Packet checker 2b, 27 table checker 2c, 11,21 Route control information program 2d, 26 Route control information table 12,22 TCP or UDP layer 13,23 IP layer 14,24 Physical layer 30 communication channels
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−177889(JP,A) 特開 平6−284132(JP,A) 特開 平8−56235(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-6-1777889 (JP, A) JP-A-6-284132 (JP, A) JP-A-8-56235 (JP, A) (58) Field (Int.Cl. 7 , DB name) H04L 12/00
Claims (11)
グラムを備えたLAN中継装置の試験方法であって、 試験装置側のLAN中継装置に、 実際には存在しない擬
似情報を経路制御情報パケットに設定し、 試験装置側のLAN中継装置から上記経路制御情報パケ
ットを被試験装置側のLAN中継装置に送信し、 被試験装置側のLAN中継装置で、経路制御情報テーブ
ルに上記経路制御情報パケットの情報が設定されている
か否かを調査することを特徴とするLAN中継装置の試
験方法。1. A route control program connected via a communication path.
A test method for LAN access point equipped with a gram, a LAN access point of the test apparatus, in fact set in the pseudo-information routing information packets that do not exist, the test apparatus of the LAN access the routing from The information packet is transmitted to the LAN relay device on the device under test side, and the LAN relay device on the device under test side investigates whether or not the information of the above-mentioned route control information packet is set in the route control information table. Test method for LAN relay device.
して被試験装置側のLAN中継装置に送信することを特
徴とする請求項1のLAN中継装置の試験方法。2. The test method for a LAN relay device according to claim 1, wherein the transmission interval of the route control information packet is changed and transmitted to the LAN relay device on the side of the device under test.
定の幅内で動的に変更して被試験装置側のLAN中継装
置に送信することを特徴とする請求項2のLAN中継装
置の試験方法。The transmission interval of 3. A routing control information packet, the LAN relaying apparatus according to claim 2, characterized by transmitting the dynamically changed LAN access point of the device under test side within a certain range test Method.
停止させることを特徴とする請求項2または請求項3の
LAN中継装置の試験方法。4. The method for testing a LAN relay device according to claim 2, wherein the transmission of the route control information packet is stopped for a certain period of time.
定することを特徴とする請求項1,2,3または請求項
4のLAN中継装置の試験方法。5. The test method for a LAN relay device according to claim 1, 2, 3 or 4, wherein abnormal data is set in a route control information packet.
グラムを備えたLAN中継装置の試験方法であって、 試験装置側のLAN中継装置から被試験装置側のLAN
中継装置へテストパラメータと、経路制御情報パケット
を送信し、 被試験装置側のLAN中継装置において、上記テストパ
ラメータと受信した経路制御情報パケットに基づき被試
験装置の動作を確認し、テスト結果を試験装置に送信す
ることを特徴とするLAN中継装置の試験方法。6. A route control program connected via a communication path.
A method of testing a LAN relay device including a program, wherein the LAN relay device on the test device side to the LAN on the device under test side
The test parameter and the route control information packet are transmitted to the relay device, and the LAN relay device on the side of the device under test confirms the operation of the device under test based on the above test parameter and the received route control information packet, and tests the test result. A method for testing a LAN relay device, which comprises transmitting the data to a device.
グラムを備えたLAN中継装置の試験方法であって、 試験装置側のLAN中継装置から被試験装置側のLAN
中継装置に経路制御情報パケットを送信して被試験装置
の動作に試験する際、 送信キューを調べ、送信キュー数が所定値以内のとき被
試験装置側のLAN中継装置に経路制御情報パケットを
送信し、送信キュー数が所定値を越えるとき、一定時間
スリープすることを特徴とするLAN中継装置の試験方
法。7. A route control program connected via a communication path.
A method of testing a LAN relay device including a program, wherein the LAN relay device on the test device side to the LAN on the device under test side
When sending a route control information packet to the relay device to test the operation of the device under test, check the transmission queue, and when the number of transmission queues is within the specified value, send the route control information packet to the LAN relay device on the side of the device under test Then, when the number of transmission queues exceeds a predetermined value, the method for testing a LAN relay device is characterized by sleeping for a certain period of time.
グラムを備えたLAN中継装置であって、試験側のLAN中継装置を設け、該 試験装置側のLAN
中継装置に、オペレータ入力に基づきテストパラメータ
データを作成し被試験装置に送信するとともに、被試験
装置から送信されたその動作状態を示すデータを受信
し、試験結果を表示するマンマシンインタフェース処理
部と、経路制御情報パケットを送信するパケットセンダ
を設け、 被試験装置側のLAN中継装置に、受信された経路制御
情報パケットに基づき、被試験装置の動作状態を調べ、
結果を試験装置に送信するパケットチェッカを設け、 パケットチェッカから送信された試験結果を試験装置側
のLAN中継装置で受信することにより、被試験装置の
動作を確認することを特徴とするLAN中継装置。8. A route control program connected via a communication path.
A LAN relay device equipped with a LAN , a test side LAN relay device is provided, and the test device side LAN is provided.
A man-machine interface processing unit that creates test parameter data based on operator input in the relay device and transmits it to the device under test, receives the data indicating the operating state transmitted from the device under test, and displays the test result. , A packet sender for transmitting a route control information packet is provided, and the LAN relay device on the side of the device under test checks the operating state of the device under test based on the received route control information packet,
A LAN relay device characterized in that a packet checker for transmitting the result to the test device is provided, and the test result transmitted from the packet checker is received by the LAN relay device on the test device side to confirm the operation of the device under test. .
グラムを備えたLAN中継装置であって、試験側のLAN中継装置を設け、該 試験装置側のLAN
中継装置に、オペレータ入力に基づきテストパラメータ
データを作成し被試験装置に送信するとともに、被試験
装置から送信されたその動作状態を示すデータを受信
し、試験結果を表示するマンマシンインタフェース処理
部と、経路制御情報パケットを送信するパケットセンダ
を設け、 被試験装置側のLAN中継装置に、経路制御情報テーブ
ルに上記経路制御情報パケットの情報が設定されている
か否かを調査し、結果を試験装置に送信するテーブルチ
ェッカを設け、 テーブルチェッカから送信された試験結果を試験装置側
のLAN中継装置で受信することにより、被試験装置の
経路制御情報テーブルの変更処理動作を確認することを
特徴とするLAN中継装置。9. A route control program connected via a communication path.
A LAN relay device equipped with a LAN , a test side LAN relay device is provided, and the test device side LAN is provided.
A man-machine interface processing unit that creates test parameter data based on operator input in the relay device and transmits it to the device under test, receives the data indicating the operating state transmitted from the device under test, and displays the test result. , A packet sender for transmitting the route control information packet is provided, and it is checked whether or not the information of the route control information packet is set in the route control information table in the LAN relay device on the side of the device under test, and the result is tested by the test device. Is provided with a table checker to be transmitted to the tester, and the test result transmitted from the table checker is received by the LAN relay device on the side of the test device to confirm the change processing operation of the route control information table of the device under test. LAN relay device.
存在しないネットワークの擬似情報、および/または、
異常データを設定して被試験装置に送信することを特徴
とする請求項8または請求項9のLAN中継装置の試験
装置。10. Pseudo information of a network that does not actually exist in a route control information packet, and / or
The LAN relay device test apparatus according to claim 8 or 9, wherein abnormal data is set and transmitted to the device under test.
ットの送信間隔を変更/一定の幅内で動的に変更、もし
くは、経路制御情報パケットの送信を一定時間停止させ
る機能を設けたことを特徴とする請求項8,9または請
求項10のLAN中継装置の試験装置。11. The packet sender is provided with a function of changing a transmission interval of the routing control information packet / dynamically changing it within a certain width, or stopping the transmission of the routing control information packet for a certain period of time. The test device for a LAN relay device according to claim 8, 9, or 10.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10594095A JP3460751B2 (en) | 1995-04-28 | 1995-04-28 | Test method and device for LAN relay device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10594095A JP3460751B2 (en) | 1995-04-28 | 1995-04-28 | Test method and device for LAN relay device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08307443A JPH08307443A (en) | 1996-11-22 |
| JP3460751B2 true JP3460751B2 (en) | 2003-10-27 |
Family
ID=14420853
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10594095A Expired - Fee Related JP3460751B2 (en) | 1995-04-28 | 1995-04-28 | Test method and device for LAN relay device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3460751B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4973307B2 (en) * | 2007-05-08 | 2012-07-11 | 富士通株式会社 | Packet load test equipment |
| JP4962325B2 (en) * | 2008-01-15 | 2012-06-27 | 富士通株式会社 | COMMUNICATION DEVICE TEST CONTROL METHOD, DEVICE, AND PROGRAM |
| JP2011010079A (en) * | 2009-06-26 | 2011-01-13 | Kyowa Exeo Corp | Testing apparatus for home network and method of the same |
-
1995
- 1995-04-28 JP JP10594095A patent/JP3460751B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08307443A (en) | 1996-11-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0480555B1 (en) | Method of ascertaining topology features of a network | |
| US8185651B2 (en) | Multi-segment network application monitoring and correlation architecture | |
| US7299277B1 (en) | Media module apparatus and method for use in a network monitoring environment | |
| US5383178A (en) | Network commentator | |
| US20070204068A1 (en) | Ring network and master node | |
| US8042004B2 (en) | Diagnosing communications between computer systems | |
| Markwalter et al. | CEBus router testing | |
| US20050125697A1 (en) | Device for checking firewall policy | |
| JP2004201121A (en) | Protocol test system and protocol test method | |
| JPH08116334A (en) | Monitoring / fault analysis method and device in network composed of a plurality of LANs | |
| WO2001095053A2 (en) | Network packet tracking | |
| JP3569371B2 (en) | Repeater test system and test method | |
| US7313635B1 (en) | Method and apparatus for simulating a load on an application server in a network | |
| CN114826979A (en) | Network link quality obtaining method, device, system, equipment and storage medium | |
| US6430610B1 (en) | TCP/IP address protection mechanism in a clustered server environment | |
| Blum | Network performance open source toolkit: using Netperf, tcptrace, NISTnet, and SSFNet | |
| US6697751B2 (en) | Apparatus for assessing communication equipment | |
| US20030036896A1 (en) | Apparatus for simulating communications equipment | |
| US7139824B2 (en) | Method and system for isolating and simulating dropped packets in a computer network | |
| JP3460751B2 (en) | Test method and device for LAN relay device | |
| EP1763172B1 (en) | Method and apparatus for network protocol performance assessment | |
| KR101595160B1 (en) | Methods for managing transaction in software defined networking network | |
| US20100110899A1 (en) | Stressing a network device | |
| EP1575236B1 (en) | Connectivity confirmation method for network storage device and host computer | |
| WO2004061550A2 (en) | Network analyzer co-processor system and 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: 20030729 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080815 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090815 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090815 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100815 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110815 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120815 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |