JP2002152206A - Investigation system for router - Google Patents

Investigation system for router

Info

Publication number
JP2002152206A
JP2002152206A JP2000349317A JP2000349317A JP2002152206A JP 2002152206 A JP2002152206 A JP 2002152206A JP 2000349317 A JP2000349317 A JP 2000349317A JP 2000349317 A JP2000349317 A JP 2000349317A JP 2002152206 A JP2002152206 A JP 2002152206A
Authority
JP
Japan
Prior art keywords
routing
test
packet
assigned
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000349317A
Other languages
Japanese (ja)
Inventor
Tetsuhiro Goto
哲弘 後藤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000349317A priority Critical patent/JP2002152206A/en
Publication of JP2002152206A publication Critical patent/JP2002152206A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a router itself to easily and accurately investigate the routing operation by assigning one routing processor or more to be a test processor among routing processors. SOLUTION: One routing processor or more is assigned to a test router among the routing processors, and a test program working on the routing processor assigned to the test allows one router to realize functions of a conventional network test tool, such as generation of transmission packets, checking of reception packets, and transmission of error packets or the like.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のネットワー
ク間を接続するルータ装置の検証方式に関し、特にルー
ティング用のプロセッサを複数持つルータ装置の検証方
式に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a verification method for a router device connecting a plurality of networks, and more particularly to a verification method for a router device having a plurality of routing processors.

【0002】[0002]

【従来の技術】従来、この種のルータ装置の検証では、
テスト用のルーティング情報を被テスト装置であるルー
タ装置に予め設定し、汎用的なパケットジェネレータを
利用し、複数のルーティングプロセッサの制御下にある
複数のネットワークインタフェースカードと接続するこ
とにより、パケットジェネレータから様々なパケットを
送信し、被テスト装置であるルータ装置を経由して再
び、パケットジェネレータに届くパケットを確認する検
証方式や、パケットジェネレータからランダムに且つ、
連続してパケットを送信することにより、ネットワーク
トラフィックを高トラフィック状態にする高負荷テスト
などが行われている。
2. Description of the Related Art Conventionally, in verification of this type of router device,
The routing information for the test is preset in the router device to be tested, and the packet generator is connected to a plurality of network interface cards under the control of a plurality of routing processors using a general-purpose packet generator. A verification method of transmitting various packets and confirming the packets that reach the packet generator again via the router device as the device under test, and at random from the packet generator,
2. Description of the Related Art A high load test or the like is performed in which network traffic is made to be in a high traffic state by continuously transmitting packets.

【0003】また、パソコンやワークステーションを被
テスト装置であるルータに接続し、接続経路上にネット
ワークアナライザなどを接続することにより、送受信パ
ケットの正当性を確認している。
[0003] In addition, the legitimacy of transmitted / received packets is confirmed by connecting a personal computer or a workstation to a router as a device under test and connecting a network analyzer or the like on a connection path.

【0004】その他にも、特開平10−145365号
公報や、特開平08−056235号公報で公開されて
いるテスト方法がある。
[0004] In addition, there are test methods disclosed in Japanese Patent Application Laid-Open Nos. 10-145365 and 08-056235.

【0005】[0005]

【発明が解決しようとする課題】従来、ルータ装置の検
証では、パケットジェネレータやネットワークアナライ
ザ等、汎用的なテストツールが不可欠であった。これら
は、テストツールがサポートするネットワークプロトコ
ルに対応するルータ機能をテストするには、必要且つ十
分であるが、急速に発展するネットワーク技術では、転
送能力の向上、新プロトコルなど、これら汎用的なテス
トツールがサポートする以前に、ルータ装置の機能とし
てサポートしなければならなかった。
Conventionally, a general-purpose test tool such as a packet generator and a network analyzer has been indispensable for verification of a router device. These are necessary and sufficient to test the router functions corresponding to the network protocols supported by the test tools. However, in the rapidly evolving network technology, these general-purpose tests such as improvement of transfer capability and new protocols are required. Before the tool supported it, it had to be supported as a function of the router device.

【0006】また、これらテストツールを利用したテス
トでは、ルーティング結果の正当性を確認するのに、ル
ータ装置の持つダンプ機能や統計情報を利用し、人手で
確認していた。
In tests using these test tools, the validity of the routing result is checked manually using the dump function and statistical information of the router device.

【0007】[0007]

【課題を解決するための手段】本発明では、前記課題を
解決する為、複数のルーティングプロセッサの内、一つ
又は、一つ以上のルーティングプロセッサをテスト用と
して割り当て、これらテスト用に割り当てられた、ルー
ティングプロセッサ上で動作するテストプログラムによ
り、送信パケットのジェネレート、受信パケットのチェ
ック、エラーパケットの送信など、汎用的なネットワー
クテストツールの機能を一つのルータ装置で実現する。
According to the present invention, in order to solve the above-mentioned problems, one or more routing processors among a plurality of routing processors are allocated for testing, and the routing processors are allocated for these tests. By using a test program operating on the routing processor, the functions of a general-purpose network test tool such as generation of a transmission packet, check of a reception packet, and transmission of an error packet are realized by one router device.

【0008】[0008]

【発明の実施の形態】図1は、ルータ装置テスト機能を
備えた本発明によるルータ装置構成図である。11は、
ルーティングプロトコル、全ルーティングプロセッサの
管理、構成定義等を行う、管理プロセッサである。1
2、13は、通常のルーティング動作を行う為のコント
ロールウェアを搭載したルーティングプロセッサであ
る。14は、テストプログラムを搭載したルーティング
プロセッサであり、12、13のルーティングプロセッ
サに対しテスト用パケットの送受信を行う。15、16
及び17は、ネットワークへ接続するネットワークイン
タフェースカードであり、接続ケーブル18により、そ
れぞれのルーティングプロセッサ配下にあるネットワー
クインタフェースカードに接続される。本例では、便宜
上ネットワークインタフェースカードから2本の接続ケ
ーブルしか記述していないが、ネットワークインタフェ
ースカードの種類(例えばEther−NetやGb−Ether等)
により、それぞれ接続可能なポート数(ケーブル数)は異
なる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a configuration diagram of a router device according to the present invention having a router device test function. 11 is
A management processor that performs routing protocol, management of all routing processors, configuration definition, and the like. 1
Reference numerals 2 and 13 denote routing processors equipped with control ware for performing a normal routing operation. Reference numeral 14 denotes a routing processor equipped with a test program, and transmits and receives test packets to and from the routing processors 12 and 13. 15, 16
And 17 are network interface cards for connecting to a network, and are connected to network interface cards under the respective routing processors by connection cables 18. In this example, only two connection cables are described from the network interface card for convenience, but the type of the network interface card (for example, Ether-Net, Gb-Ether, etc.)
Therefore, the number of connectable ports (the number of cables) differs depending on the type.

【0009】図2は、14のルーティングプロセッサに
搭載されるテストプログラムのテスト管理テーブル20
とテスト管理テーブルキューを管理するキュー情報21
のテーブルフォーマットである。テスト管理テーブル2
0は、送信情報を管理する送信部と受信情報を管理する
受信部から成る。本テーブルは、図4で示す通り、テス
ト用のルーティングプロセッサ14の配下にあるネット
ワークインタフェースカードの各ポート単位に、テスト
項目の数だけ存在する。送信部は、ポート番号、送信す
るパケットの種類、LANタイプ、宛先IPアドレス、
Next−Hop−IPアドレス及び、送信パケットが
存在する領域のポインタから成る。受信部は、送信元I
Pアドレス、送信元MACアドレス、受信データ期待値
が格納された領域のポインタ及び、タイムアウト時間か
ら成る。また、これらテスト管理テーブルは、パケット
を送信する毎にテスト管理テーブルキューへ登録され、
当該送信パケットに該当するパケットを受信した時、テ
スト管理テーブルキューから削除される。このキュー情
報を管理するのが21テスト管理テーブルキュー情報で
ある。
FIG. 2 shows a test management table 20 of a test program mounted on 14 routing processors.
And queue information 21 for managing the test management table queue
Table format. Test management table 2
Numeral 0 includes a transmission unit for managing transmission information and a reception unit for managing reception information. As shown in FIG. 4, the table has the same number of test items for each port of the network interface card under the control of the test routing processor 14. The transmitting unit includes a port number, a type of a packet to be transmitted, a LAN type, a destination IP address,
It consists of a Next-Hop-IP address and a pointer to an area where a transmission packet exists. The receiving unit is the source I
It is composed of a P address, a source MAC address, a pointer to an area in which an expected value of received data is stored, and a timeout time. These test management tables are registered in the test management table queue every time a packet is transmitted,
When a packet corresponding to the transmission packet is received, it is deleted from the test management table queue. This queue information is managed by 21 test management table queue information.

【0010】図3は、14のルーティングプロセッサに
搭載されるテストプログラムの処理フローを示す。30
は、19の端末よりオペレータによって設定されるIP
アドレスやMACアドレスは勿論、ルーティングプロセ
ッサ12、13のルーティング情報などの構成情報を取
得する。尚、19の端末よりオペレータによって設定さ
れる構成情報は、構成定義ファイル又は、コマンドによ
り与えられる。32は、30で取得した構成情報をもと
に、図2で示すテスト管理テーブルを作成する。設定値
の例は、図5の説明で述べる。31は全ポートに対応し
たテスト管理テーブルが作成されたかをチェックしてお
り、全ポートに対するテスト管理テーブル作成後、処理
33に移る。33は、パケットの受信イベントがあった
かチェックし、受信ありの場合、21のテスト管理テー
ブルキュー情報から、処理34で自分の送信したパケッ
トなのかチェックする。自分が送信したパケットの識別
は、受信パケットの送信元MACアドレスと20のテス
ト管理テーブル受信部の送信元MACアドレスを比較
し、更に、受信パケットの送信元IPアドレスと20の
テスト管理テーブル受信部の送信元IPアドレス、受信
パケットの宛先IPアドレスと、20のテスト管理テー
ブル送信部の宛先情報とを比較し識別する。自分が送信
したパケットの場合、処理35で受信したパケットの正
当性をチェックする。このチェックは、20のテスト管
理テーブル受信部の受信データ期待値のポインタが示す
期待値データと比較することにより行う。比較した結
果、正常であれば、処理36でテスト管理テーブルキュ
ーから削除し21のテスト管理テーブルキュー情報を更
新する。処理34で自分が送信したパケットでないと判
定した場合、及び、処理35で受信パケットが期待値デ
ータと異なる場合は、処理44でメッセージを出力す
る。また、処理33でパケットの受信イベントがなかっ
た場合、処理37で、送信した時間からの経過時間をチ
ェックし20のテスト管理テーブル受信部で示す、タイ
ムアウト時間以上経過している場合は、メッセージを出
力し、テストテーブル管理キューから削除する。
FIG. 3 shows a processing flow of a test program installed in the 14 routing processors. 30
Is the IP set by the operator from 19 terminals
The configuration information such as the routing information of the routing processors 12 and 13 is obtained as well as the address and the MAC address. The configuration information set by the operator from the 19 terminals is provided by a configuration definition file or a command. 32 creates the test management table shown in FIG. 2 based on the configuration information acquired in 30. Examples of the setting values will be described in the description of FIG. 31 checks whether the test management tables corresponding to all the ports have been created. After the test management tables have been created for all the ports, the process proceeds to step 33. 33 checks if there is a packet reception event, and if received, checks from the test management table queue information of 21 whether the packet was transmitted by itself in process 34. The identification of the packet transmitted by itself is performed by comparing the source MAC address of the received packet with the source MAC address of the 20 test management table receiving unit, and further comparing the source IP address of the received packet with the 20 test management table receiving unit. Of the source IP address and the destination IP address of the received packet, and the destination information of the 20 test management table transmission units. In the case of the packet transmitted by itself, the validity of the packet received in process 35 is checked. This check is performed by comparing the received data with the expected value data indicated by the pointer of the received data expected value of the 20 test management table receiving units. As a result of the comparison, if it is normal, the process deletes the test management table queue from the test management table queue in process 36 and updates the test management table queue information 21. If it is determined in the process 34 that the packet is not the packet transmitted by itself, or if the received packet is different from the expected value data in the process 35, a message is output in a process 44. If there is no packet reception event in step 33, the elapsed time from the time of transmission is checked in step 37, and if the time is equal to or longer than the time-out time indicated by the test management table receiving unit 20, the message is sent. Output and delete from test table management queue.

【0011】処理39では、選択されたテスト管理テー
ブル20から、送信するパケットを生成する。尚、テス
ト管理テーブルは乱数によりランダムに選択されるかも
しれないし、オペレータによって指定されたテスト管理
テーブルが選択されるかもしれない。パケットが生成で
きたら、処理40でパケットを送信し、処理41でテス
ト管理テーブルキューへ登録し、テスト管理テーブルキ
ュー情報21を更新する。上記、処理33からの一連の
処理をポート単位に実行し(処理42)、処理43で終
了条件を検出するまで繰り返す。通常終了条件の成立は
オペレータによる指示か、重大なエラーが発生した時で
ある。
In a process 39, a packet to be transmitted is generated from the selected test management table 20. Note that the test management table may be selected at random by a random number, or a test management table specified by an operator may be selected. When the packet has been generated, the packet is transmitted in step 40, registered in the test management table queue in step 41, and the test management table queue information 21 is updated. The above-described series of processes from the process 33 are executed for each port (process 42), and are repeated until the end condition is detected in the process 43. The satisfaction of the normal termination condition is determined by an instruction from the operator or when a serious error occurs.

【0012】図4は、テスト管理テーブルの定義例で、
上記で述べた通り、テスト管理テーブルは、各ポート単
位にテスト項目数だけ存在する。
FIG. 4 is a definition example of a test management table.
As described above, the test management table has the same number of test items for each port.

【0013】図5は、テスト管理テーブルの設定例を示
す。テストプログラムが搭載されたルーティングプロセ
ッサ62配下のネットワークインタフェース65のポー
ト67からパケットを送信し、ルーティングプロセッサ
61、62を経由し、ルーティングプロセッサ62配下
のネットワークインタフェース66のポート74で受信
する場合の設定例を示している。テスト管理テーブル送
信部の、ポート番号は、ネットワークインタフェースカ
ードと、そのポートが識別可能な番号を設定し、パケッ
ト種は、送信パケットの種類を設定し、不当なパケット
(プロトコル違反等)を送信するケースでは、本パケッ
ト種に不当パケット送信用の値を設定する。LANタイ
プはネットワークインタフェースがサポートするLAN
タイプを識別可能な値を設定する。宛先は、最終的に送
信したパケットが到達するIPアドレスを設定し、本例
では、ポート74のIPアドレスとなる。Next−H
op−Ipは、次のルータの入り口となるポートのIP
アドレスを設定する。本例では、ポート69のIPアド
レスを設定する。送信データポインタは、本テスト管理
テーブル生成時に作成される送信パケットデータが格納
されているアドレスを設定する。テスト管理テーブル受
信部の送信元IPアドレスは、ポート67のIPアドレ
スを設定し、送信元MACアドレスは、ポート72のM
ACアドレスを設定する。期待値データポインタは受信
パケットの期待値データが格納されているアドレスを設
定し、期待値データは、送信パケットデータをもとに予
め生成される。タイムアウト時間は、ポート67から送
信されたパケットがポート74で受信するまでに要する
最大許容時間を設定し、この時間を超えても受信しない
パケットは、途中で破棄されたもととして扱う。
FIG. 5 shows a setting example of the test management table. A setting example in which a packet is transmitted from the port 67 of the network interface 65 under the routing processor 62 on which the test program is installed, and is received at the port 74 of the network interface 66 under the routing processor 62 via the routing processors 61 and 62. Is shown. The port number of the test management table transmission unit sets the network interface card and the number by which the port can be identified, the packet type sets the type of transmission packet, and transmits an illegal packet (protocol violation, etc.). In this case, a value for sending an illegal packet is set in this packet type. LAN type is the LAN supported by the network interface
Set a value that can identify the type. As the destination, an IP address to which a finally transmitted packet reaches is set. In this example, the IP address of the port 74 is used. Next-H
op-Ip is the IP of the port that is the entrance to the next router.
Set the address. In this example, the IP address of the port 69 is set. The transmission data pointer sets an address where transmission packet data created when the test management table is generated is stored. The source IP address of the test management table receiving unit sets the IP address of the port 67, and the source MAC address is the M of the port 72.
Set the AC address. The expected value data pointer sets the address where the expected value data of the received packet is stored, and the expected value data is generated in advance based on the transmitted packet data. The timeout period sets a maximum allowable time required for a packet transmitted from the port 67 to be received at the port 74, and a packet that is not received even after this time is treated as being discarded halfway.

【0014】[0014]

【発明の効果】本発明によれば、複数のルーティングプ
ロセッサの内、一つ又は、一つ以上のルーティングプロ
セッサをテスト用として割り当てることにより、ルータ
装置単体で、ルーティング動作を容易に且つ、正確に検
証することが可能となる。
According to the present invention, one or more routing processors among a plurality of routing processors are allocated for testing, so that the routing operation can be easily and accurately performed by the router alone. It can be verified.

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

【図1】ルータ装置テスト機能を備えた本発明によるル
ータ装置構成図。
FIG. 1 is a configuration diagram of a router device according to the present invention having a router device test function.

【図2】テスト管理テーブルフォーマットを示す図。FIG. 2 is a diagram showing a test management table format.

【図3】テストプログラム処理フローチャート。FIG. 3 is a test program processing flowchart.

【図4】テスト管理テーブル構成図。FIG. 4 is a configuration diagram of a test management table.

【図5】テスト管理テーブル設定例を示す図。FIG. 5 is a diagram showing a test management table setting example.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のルーティングプロセッサを持つル
ータ装置において、各々のルーティングプロセッサ制御
下にあるネットワークインタフェースカード間を接続
し、一つ又は、一つ以上のルーティングプロセッサをテ
スト用として割り当て、通常ルーティングプロセッサに
は、ルーティングプロトコルを管理するコントロールウ
ェアが搭載されるが、テスト用に割り当てられたルーテ
ィングプロセッサには、テストプログラムを搭載し、残
りのルーティングプロセッサを被テスト装置とすること
により、テスト用として割り当てられたルーティングプ
ロセッサから、任意のパケットを被テスト装置として割
り当てられたルーティングプロセッサに向けて送信し、
その応答を確認することにより、1台のルータ装置でル
ーティング動作が確認できることを特徴とするルータ装
置の検証方式。
In a router device having a plurality of routing processors, a network interface card under the control of each routing processor is connected, and one or more routing processors are assigned for testing, and Is equipped with control ware that manages the routing protocol, but the routing processor assigned for testing is equipped with a test program, and the remaining routing processors are assigned as devices to be tested, and are assigned for testing. From the assigned routing processor, transmits an arbitrary packet to the routing processor assigned as the device under test,
A router system verification method, wherein a routing operation can be confirmed by one router device by confirming the response.
【請求項2】 前記、テスト用に割り当てたルーティン
グプロセッサに搭載されるテストプログラムで、テスト
用パケットの送受信、伝達経路(フォワーディングパ
ス)を管理するテスト管理テーブルを保持し、任意のパ
ケット種、パケット長及び、不当パケットを送信する機
能と、予め、全ルーティングプロセッサを管理する管理
プロセッサより与えられる、被テスト装置として割り当
てられたルーティングプロセッサのルーティング情報か
ら伝達経路を特定する機能と、これら機能から受信パケ
ットの期待値を生成する機能とを有することによる、請
求項1記載のルータ装置の検証方式。
2. A test program installed in a routing processor allocated for testing, which holds a test management table for managing transmission / reception of a test packet and a transmission path (forwarding path), and an arbitrary packet type and packet. Length, a function of transmitting an invalid packet, a function of specifying a transmission path from routing information of a routing processor assigned as a device under test, which is given in advance by a management processor managing all routing processors, and a function of receiving from these functions. 2. The verification method for a router device according to claim 1, further comprising a function of generating an expected value of the packet.
JP2000349317A 2000-11-10 2000-11-10 Investigation system for router Pending JP2002152206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000349317A JP2002152206A (en) 2000-11-10 2000-11-10 Investigation system for router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000349317A JP2002152206A (en) 2000-11-10 2000-11-10 Investigation system for router

Publications (1)

Publication Number Publication Date
JP2002152206A true JP2002152206A (en) 2002-05-24

Family

ID=18822741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000349317A Pending JP2002152206A (en) 2000-11-10 2000-11-10 Investigation system for router

Country Status (1)

Country Link
JP (1) JP2002152206A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339538A (en) * 2004-05-21 2005-12-08 Agilent Technol Inc Distribution data model distribution data model
JP2010066933A (en) * 2008-09-09 2010-03-25 Fujitsu Ltd Network system, information processor, and system test program
JP2022532046A (en) * 2019-05-01 2022-07-13 ソニーグループ株式会社 Large-scale node configuration management for MaaS platform

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339538A (en) * 2004-05-21 2005-12-08 Agilent Technol Inc Distribution data model distribution data model
JP2010066933A (en) * 2008-09-09 2010-03-25 Fujitsu Ltd Network system, information processor, and system test program
US8595311B2 (en) 2008-09-09 2013-11-26 Fujitsu Limited Network system, information processing apparatus, and computer product
JP2022532046A (en) * 2019-05-01 2022-07-13 ソニーグループ株式会社 Large-scale node configuration management for MaaS platform
JP7456450B2 (en) 2019-05-01 2024-03-27 ソニーグループ株式会社 Large scale node configuration management for MaaS platforms

Similar Documents

Publication Publication Date Title
US7440415B2 (en) Virtual network addresses
US8073966B2 (en) Virtual interface
US20030058863A1 (en) Method for transmitting compressed data in packet-oriented networks
US20050125697A1 (en) Device for checking firewall policy
JPH10276196A (en) Communication monitor
CN109167762A (en) A kind of IEC104 message checking method and device
US7583606B2 (en) Reducing overhead when using loopback cells for fault detection in bi-directional virtual circuits
JP2002152206A (en) Investigation system for router
EP1575236B1 (en) Connectivity confirmation method for network storage device and host computer
CN100393039C (en) Network administration method for no-IP address device
CN107846301B (en) End-to-end service test system and method
EP1686756B1 (en) Communication system, method and apparatus for providing mirroring service in the communication system
KR100546510B1 (en) Apparatus and Method for Monitoring Important System Messages in CDMA System
KR102357710B1 (en) Method for Fuzzing for Software Defined Network Using Code Coverage
Cisco Interface Configuration Commands
Cisco Interface Configuration Commands
Cisco Interface Configuration Commands
Cisco Interface Configuration Commands
Cisco Interface Configuration Commands
CN106992878B (en) Multicast detection method and device
US7577101B1 (en) Method and apparatus for generating extensible protocol independent binary health checks
JP3460751B2 (en) Test method and device for LAN relay device
JP2003067270A (en) Communication protocol test equipment
MXPA04010146A (en) Method, apparatus and system for supporting multiple collaborative sessions in a bi-directional communication device.
US7370109B1 (en) Hierarchical management of objects