JP2010193173A - Network pseudo device - Google Patents

Network pseudo device Download PDF

Info

Publication number
JP2010193173A
JP2010193173A JP2009035532A JP2009035532A JP2010193173A JP 2010193173 A JP2010193173 A JP 2010193173A JP 2009035532 A JP2009035532 A JP 2009035532A JP 2009035532 A JP2009035532 A JP 2009035532A JP 2010193173 A JP2010193173 A JP 2010193173A
Authority
JP
Japan
Prior art keywords
pseudo
network
unit
wan
lan
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
JP2009035532A
Other languages
Japanese (ja)
Inventor
Koji Ishizuka
康二 石塚
Takashi Matsumoto
尚 松本
Sachihiro Kameyama
祥弘 亀山
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anritsu Corp filed Critical Anritsu Corp
Priority to JP2009035532A priority Critical patent/JP2010193173A/en
Publication of JP2010193173A publication Critical patent/JP2010193173A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network pseudo device capable of testing a communication network on a LAN and a WAN. <P>SOLUTION: This network pseudo device includes: physical ports 61, 62 and 63 physically connected to a network device 10 which transmits and receives packets; and a scenario analysis part 91 as a network setting part for selecting an optional pseudo network from pseudo LANs 41a and 41b and a pseudo WAN 42 which are a plurality of pseudo networks constituted on a computer and relating a logical port connected to the selected pseudo network to the physical ports 61, 62, and 63. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ネットワーク擬似装置に関し、特にLAN及びWANの両方に接続されるネットワーク装置の試験を行うためのネットワーク擬似装置に関する。   The present invention relates to a network simulation device, and more particularly to a network simulation device for testing a network device connected to both a LAN and a WAN.

ネットワーク装置の試験においては、複数の端末装置を実際にLANで接続するなどしていた。特にWANを介した試験を行う場合には、遠隔地に設けたLANと協働させることで行っていた。   In the network device test, a plurality of terminal devices are actually connected via a LAN. In particular, when performing a test via a WAN, the test was performed in cooperation with a LAN provided at a remote location.

一方で、実際の端末装置を用いずにネットワーク装置の試験を行うために、擬似的なLAN環境をコンピュータ上で再現する装置が提案されている(例えば、特許文献1参照。)。   On the other hand, in order to test a network device without using an actual terminal device, a device that reproduces a pseudo LAN environment on a computer has been proposed (for example, see Patent Document 1).

特開2000−174795号公報Japanese Patent Laid-Open No. 2000-17495

擬似的なLAN環境をコンピュータ上で再現する装置では、ネットワーク装置と接続される物理ポートの論理ポートに合わせてそこに接続される擬似ネットワークを構築していた。物理ポートが複数の場合、物理ポートごとに擬似ネットワークの構築を行うため、擬似ネットワークの構築及びその設定に時間を要していた。さらに、コンピュータ上で大規模な擬似ネットワークを再現することが困難であった。   In an apparatus that reproduces a pseudo LAN environment on a computer, a pseudo network connected to a logical port of a physical port connected to a network apparatus is constructed. When there are a plurality of physical ports, since a pseudo network is constructed for each physical port, it takes time to construct and set the pseudo network. Furthermore, it has been difficult to reproduce a large-scale pseudo network on a computer.

そこで、本発明は、物理ポートに接続される擬似ネットワークの構築及びその設定を容易にすることを目的とする。   Therefore, an object of the present invention is to facilitate the construction and setting of a pseudo network connected to a physical port.

上記課題を解決するために、本発明に係るネットワーク擬似装置は、擬似ネットワークを構築しておき、擬似ネットワークのターミナルの論理ポートと物理ポートを仮想的に関連付けることを特徴とする。   In order to solve the above problems, a network simulation apparatus according to the present invention is characterized in that a pseudo network is constructed and a logical port and a physical port of a terminal of the pseudo network are virtually associated with each other.

具体的には、本発明に係るネットワーク擬似装置は、パケットを送受信するネットワーク装置に物理的に接続される物理ポートと、コンピュータ上に構築された複数の擬似ネットワークから任意の擬似ネットワークを選択し、選択した当該擬似ネットワークに接続された論理ポートを前記物理ポートに関連付けるネットワーク設定部と、を備えることを特徴とする。   Specifically, the network pseudo device according to the present invention selects an arbitrary pseudo network from a physical port physically connected to a network device that transmits and receives packets and a plurality of pseudo networks built on a computer, And a network setting unit for associating the selected logical port connected to the pseudo network with the physical port.

ネットワーク設定部が、擬似ネットワークに接続された論理ポートを物理ポートに関連付けるので、予め擬似ネットワークの構築及びその設定を行うことができる。これにより、擬似ネットワークのモジュール化が可能となるので、物理ポートに接続される擬似ネットワークの構築及びその設定を容易にすることができる。   Since the network setting unit associates the logical port connected to the pseudo network with the physical port, the pseudo network can be constructed and set in advance. As a result, the pseudo network can be modularized, and the construction and setting of the pseudo network connected to the physical port can be facilitated.

本発明に係るネットワーク擬似装置では、前記ネットワーク設定部は、1つの前記物理ポートに対して複数の前記擬似ネットワークを選択し、選択したそれぞれの前記擬似ネットワークに接続された論理ポートを前記物理ポートに関連付けることが好ましい。
擬似ネットワークの並列接続によって、ネットワーク装置に接続されている端末の数を容易に増やすことができる。これにより、多数の端末間でのパケットの送受信のシミュレーションが容易になる。
In the network pseudo device according to the present invention, the network setting unit selects a plurality of the pseudo networks for one physical port, and uses the selected logical ports connected to the pseudo networks as the physical ports. It is preferable to relate.
The number of terminals connected to the network device can be easily increased by the parallel connection of the pseudo networks. This facilitates the simulation of packet transmission / reception between a large number of terminals.

本発明に係るネットワーク擬似装置では、前記ネットワーク設定部は、前記擬似ネットワークに接続された論理ポート同士を接続して新たな擬似ネットワークを構築することが好ましい。
擬似ネットワークの縦列接続によって、ネットワーク装置に接続されているネットワークの規模を容易に拡大することができる。これにより、大規模ネットワークにおけるパケットの送受信のシミュレーションが容易になる。
In the network pseudo device according to the present invention, it is preferable that the network setting unit establishes a new pseudo network by connecting logical ports connected to the pseudo network.
The scale of the network connected to the network device can be easily increased by the cascade connection of the pseudo networks. This facilitates the simulation of packet transmission / reception in a large-scale network.

本発明によれば、物理ポートに接続される擬似ネットワークの構築及びその設定を容易にすることができる。   According to the present invention, the construction and setting of a pseudo network connected to a physical port can be facilitated.

本実施形態に係るネットワーク擬似装置の構成概略図である。1 is a schematic configuration diagram of a network simulation device according to the present embodiment. シナリオ解析部の第1の表示例である。It is a 1st example of a display of a scenario analysis part. シナリオ解析部の第2の表示例である。It is a 2nd example of a display of a scenario analysis part. 物理ポートと擬似ネットワークの関連付けの第2例における擬似ネットワークの構成概略図である。It is the structure schematic of the pseudo network in the 2nd example of correlation of a physical port and a pseudo network.

添付の図面を参照して本発明の実施の形態を説明する。以下に説明する実施の形態は本発明の構成の例であり、本発明は、以下の実施の形態に制限されるものではない。   Embodiments of the present invention will be described with reference to the accompanying drawings. The embodiment described below is an example of the configuration of the present invention, and the present invention is not limited to the following embodiment.

図1は、本実施形態に係るネットワーク擬似装置の構成概略図である。本実施形態に係るネットワーク擬似装置は、コンピュータ上に構築された複数の擬似ネットワークとしての擬似LAN部41a、41b及び擬似WAN部42と、シナリオ解析部91と、実行制御部92と、測定部93と、物理ポート61、62、63と、を備える。   FIG. 1 is a schematic configuration diagram of a network simulation apparatus according to the present embodiment. The network simulation apparatus according to the present embodiment includes a pseudo LAN unit 41a, 41b and a pseudo WAN unit 42 as a plurality of pseudo networks constructed on a computer, a scenario analysis unit 91, an execution control unit 92, and a measurement unit 93. And physical ports 61, 62, 63.

シナリオ解析部91は、シナリオに基づいて擬似ネットワークの構築及び設定を行う。例えば、擬似LAN部41a、41b、及び、擬似WAN部42を構築する。そして、擬似LAN部41aを構成する擬似端末11、12、擬似LAN部41bを構成する擬似端末21、22、及び、擬似WAN部42を構成する擬似端末31、32、33、34ごとの通信条件の設定を行う。これにより、シナリオ解析部91は、ネットワーク設定部として、擬似LAN部41a、41b、及び、擬似WAN部42から任意の擬似ネットワークを選択可能になる。   The scenario analysis unit 91 constructs and sets a pseudo network based on the scenario. For example, the pseudo LAN units 41a and 41b and the pseudo WAN unit 42 are constructed. Communication conditions for each of the pseudo terminals 11 and 12 constituting the pseudo LAN unit 41a, the pseudo terminals 21 and 22 constituting the pseudo LAN unit 41b, and the pseudo terminals 31, 32, 33, and 34 constituting the pseudo WAN unit 42 Set up. Thereby, the scenario analysis unit 91 can select an arbitrary pseudo network from the pseudo LAN units 41a and 41b and the pseudo WAN unit 42 as a network setting unit.

物理ポート61、62、63は、パケットを送受信するネットワーク装置10に物理的に接続される。これにより、擬似LAN部41a、41b及び擬似WAN部42は、パケットを送受信するネットワーク装置10と接続される。   The physical ports 61, 62, and 63 are physically connected to the network device 10 that transmits and receives packets. Accordingly, the pseudo LAN units 41a and 41b and the pseudo WAN unit 42 are connected to the network device 10 that transmits and receives packets.

シナリオ解析部91は、ネットワーク設定部として、擬似LAN部41a、41b及び擬似WAN部42から任意の擬似ネットワークを選択し、選択した当該擬似ネットワークに接続された論理ポートを物理ポート61、62、63に関連付ける。   The scenario analysis unit 91 selects an arbitrary pseudo network as the network setting unit from the pseudo LAN units 41a and 41b and the pseudo WAN unit 42, and sets the logical ports connected to the selected pseudo network as physical ports 61, 62, and 63. Associate with.

シナリオ解析部91による物理ポートと擬似ネットワークの関連付けの第1例について、図1及び図2を参照して説明する。図2は、シナリオ解析部の第1の表示例である。
まず、シナリオ解析部91は、ユーザの指示であるシナリオを読み取り、擬似LAN部41a、41bと擬似WAN42を構築する。これが図2の上の図である。次に擬似ネットワークに接続された論理ポートを定める。これが図2の下の図である。図では、論理ポート1は擬似LAN部41aに、論理ポート3は擬似WAN部42に、論理ポート2は擬似LAN部41bに、設定されている。
A first example of association between a physical port and a pseudo network by the scenario analysis unit 91 will be described with reference to FIGS. 1 and 2. FIG. 2 is a first display example of the scenario analysis unit.
First, the scenario analysis unit 91 reads a scenario that is a user instruction, and constructs the pseudo LAN units 41 a and 41 b and the pseudo WAN 42. This is the upper diagram of FIG. Next, a logical port connected to the pseudo network is determined. This is the lower diagram of FIG. In the figure, logical port 1 is set in the pseudo LAN unit 41a, logical port 3 is set in the pseudo WAN unit 42, and logical port 2 is set in the pseudo LAN unit 41b.

さらに、シナリオ解析部91は、論理ポート1を物理ポート61に、論理ポート2を物理ポート62に、論理ポート3を物理ポート63に設定する。ここで、シナリオ解析部91は、IPパケットの最大サイズであるMTU値やMACアドレスの設定、IPアドレスの取得方法などを設定する。   Further, the scenario analysis unit 91 sets the logical port 1 to the physical port 61, the logical port 2 to the physical port 62, and the logical port 3 to the physical port 63. Here, the scenario analysis unit 91 sets an MTU value and a MAC address that are the maximum size of an IP packet, an IP address acquisition method, and the like.

この設定により、論理ポート1、2、3は擬似ネットワークに関連付けられる。すなわち、擬似LAN部41aは論理ポート1に関連付けられ、さらに物理ポート61に関連付けられる。同様に擬似LAN部41b及び擬似WAN部42は、それぞれ論理ポート2、3に、さらに物理ポート62、63に関連付けられる。本設定により、物理ポート毎という制約にとらわれず、各擬似ネットワークを任意に物理ポートと関連付けすることができる。   With this setting, the logical ports 1, 2, and 3 are associated with the pseudo network. That is, the pseudo LAN unit 41 a is associated with the logical port 1 and further associated with the physical port 61. Similarly, the pseudo LAN unit 41b and the pseudo WAN unit 42 are associated with the logical ports 2 and 3 and further with the physical ports 62 and 63, respectively. With this setting, it is possible to arbitrarily associate each pseudo network with a physical port regardless of the restriction of each physical port.

シナリオ解析部91による物理ポートと擬似ネットワークの関連付けの第2例について、図3及び図4を参照して説明する。図3は、シナリオ解析部の第2の表示例である。図4は、物理ポートと擬似ネットワークの関連付けの第2例における擬似ネットワークの構成概略図である。   A second example of association between a physical port and a pseudo network by the scenario analysis unit 91 will be described with reference to FIGS. 3 and 4. FIG. 3 is a second display example of the scenario analysis unit. FIG. 4 is a schematic configuration diagram of the pseudo network in the second example of the association between the physical port and the pseudo network.

図3に示すように、シナリオ解析部が、1つの物理ポート61に対して擬似LAN部41a及び41bが選択する。このように、擬似ネットワークに接続された論理ポート1同士を接続して、擬似LAN部41a及び擬似LAN部41bを含む新たな擬似ネットワークを構築可能であることが好ましい。これにより、擬似ネットワークの構築を柔軟に行うことができる。この場合、論理ポート1の設定では、図4に示すように、擬似LAN部41a及び擬似LAN部41bの両方を、物理ポート61に関連付ける。   As illustrated in FIG. 3, the scenario analysis unit selects the pseudo LAN units 41 a and 41 b for one physical port 61. In this way, it is preferable that a new pseudo network including the pseudo LAN unit 41a and the pseudo LAN unit 41b can be constructed by connecting the logical ports 1 connected to the pseudo network. Thereby, a pseudo network can be constructed flexibly. In this case, when the logical port 1 is set, both the pseudo LAN unit 41a and the pseudo LAN unit 41b are associated with the physical port 61 as shown in FIG.

以下、本実施形態に係る端末シミュレータの全体構成について説明する。
擬似端末11、12、21、22は、互いにパケットを送受信する。擬似WAN部42は、複数の擬似端末31、32、33、34及びルータ51で構成される。ルータ51は、擬似端末31、32、33、34同士を接続する。擬似端末31、32、33、34は、設定されたIPアドレスを有し、擬似LAN部41の擬似端末11、12、21、22との間でパケットを送受信する。
Hereinafter, the overall configuration of the terminal simulator according to the present embodiment will be described.
The pseudo terminals 11, 12, 21, and 22 transmit and receive packets to and from each other. The pseudo WAN unit 42 includes a plurality of pseudo terminals 31, 32, 33, 34 and a router 51. The router 51 connects the pseudo terminals 31, 32, 33, and 34 to each other. The pseudo terminals 31, 32, 33, and 34 have a set IP address, and transmit and receive packets to and from the pseudo terminals 11, 12, 21, and 22 of the pseudo LAN unit 41.

ルータ51は、PPPoEサーバ、マルチキャストIGMP/MLD又はDHCPサーバなどの各種サーバとして機能してもよい。これにより、ネットワーク装置10のアドレス解決、NAT/NAPT機能、ファイアウォール機能、マルチキャストスヌーピング機能などの試験を行うことができる。   The router 51 may function as various servers such as a PPPoE server, a multicast IGMP / MLD, or a DHCP server. Thereby, tests such as address resolution, NAT / NAPT function, firewall function, and multicast snooping function of the network device 10 can be performed.

擬似WAN部42は、端末データベース53及び端末登録サーバ52を備えることが好ましい。例えば、端末データベース53は、擬似WAN部42の擬似端末31、32、33、34に設定されているIPアドレスを格納する。端末登録サーバ52は、擬似LAN部41の擬似端末11、12、21、22からの登録要求があった場合に、当該擬似端末11、12、21、22のIPアドレスを端末データベース53に登録する。これにより、パケットを送受信する通信ネットワークの試験を行うことができる。   The pseudo WAN unit 42 preferably includes a terminal database 53 and a terminal registration server 52. For example, the terminal database 53 stores IP addresses set in the pseudo terminals 31, 32, 33, and 34 of the pseudo WAN unit 42. The terminal registration server 52 registers the IP addresses of the pseudo terminals 11, 12, 21, 22 in the terminal database 53 when there is a registration request from the pseudo terminals 11, 12, 21, 22 of the pseudo LAN unit 41. . Thereby, it is possible to test a communication network that transmits and receives packets.

例えば、端末データベース53は、擬似端末11、12、21、22、31、32、33、34のIPアドレスを格納する。そして、端末登録サーバ52は、端末データベース53をロケーションサーバとして機能させ、端末登録サーバ52をレジストラサーバなどのSIPサーバとして機能させることで、SIPの適合性の試験を、WANを含めて行うことができる。   For example, the terminal database 53 stores the IP addresses of the pseudo terminals 11, 12, 21, 22, 31, 32, 33, and 34. Then, the terminal registration server 52 can perform the SIP compatibility test including the WAN by causing the terminal database 53 to function as a location server and the terminal registration server 52 to function as a SIP server such as a registrar server. it can.

擬似WAN部42は、接続制御サーバ54を備えることが好ましい。接続制御サーバ54は、ルータ51の受信したパケットに、シナリオで定められた処理を施してルータ51に戻す。例えば、擬似LAN部41と擬似WAN部42との通信において中継する可能性の高い中継サーバが予め分かっている場合には、その中継サーバのIPアドレスなどの通信条件の設定を接続制御サーバ54に行う。接続制御サーバ54は、擬似WAN部42からルータ51に送信されたパケットをシナリオで定められた中継サーバを経由した状態でルータ51に戻す。こうすることで、実際のWANを介したパケットと同様のパケットを、ネットワーク装置10に受信させることができる。これにより、実際に近い環境を、擬似LAN部41と擬似WAN部42との通信において再現することができる。   The pseudo WAN unit 42 preferably includes a connection control server 54. The connection control server 54 performs processing determined by the scenario on the packet received by the router 51 and returns the packet to the router 51. For example, when a relay server that has a high possibility of relaying in communication between the pseudo LAN unit 41 and the pseudo WAN unit 42 is known in advance, the communication condition setting such as the IP address of the relay server is set in the connection control server 54. Do. The connection control server 54 returns the packet transmitted from the pseudo WAN unit 42 to the router 51 to the router 51 through a relay server defined in the scenario. By doing so, it is possible to cause the network device 10 to receive a packet similar to a packet via an actual WAN. Thereby, an environment that is close to reality can be reproduced in communication between the pseudo LAN unit 41 and the pseudo WAN unit 42.

実行制御部92は、設定されたシナリオに従って、擬似LAN部41及び擬似WAN部42の擬似端末11、12、21、22、31、32、33、34に、パケットを送受信させる。例えば、シナリオに従って、擬似端末11、12、21、22内で、互いにパケットの送受信を行わせる。または、擬似LAN部41の擬似端末11、12、21、22と擬似WAN部42の擬似端末31、32、33、34との間で、互いにパケットの送受信を行わせる。各擬似端末の動作は、自身が送信したコマンドに対する返信の内容に応じて異なる。そのため、実行制御部92は、各擬似端末が受信したパケットから情報を抽出して、すべての擬似端末の進捗管理を行う。   The execution control unit 92 causes the pseudo terminals 11, 12, 21, 22, 31, 32, 33, and 34 of the pseudo LAN unit 41 and the pseudo WAN unit 42 to transmit and receive packets according to the set scenario. For example, according to the scenario, the pseudo terminals 11, 12, 21, and 22 are caused to transmit / receive packets to / from each other. Alternatively, the pseudo terminals 11, 12, 21, and 22 in the pseudo LAN unit 41 and the pseudo terminals 31, 32, 33, and 34 in the pseudo WAN unit 42 are allowed to transmit and receive packets to and from each other. The operation of each pseudo terminal varies depending on the content of the reply to the command transmitted by itself. Therefore, the execution control unit 92 extracts information from the packets received by each pseudo terminal, and manages the progress of all the pseudo terminals.

シナリオ解析部91は、シナリオに基づいて、擬似LAN部41及び擬似WAN部42の構成とルータ51の通信条件を設定する。例えば、設定されたシナリオを解析し、ハードウェアが実行可能なコードに変換する。そして、擬似端末11、12、21、22、31、32、33、34ごとの通信条件の設定を行う。擬似LAN部41及び擬似WAN部42の両方のシナリオ及び通信条件の設定を共通のシナリオ解析部91で行うことができるので、試験を行う通信ネットワークの全体での設定を容易に行うことができる。   The scenario analysis unit 91 sets the configurations of the pseudo LAN unit 41 and the pseudo WAN unit 42 and the communication conditions of the router 51 based on the scenario. For example, the set scenario is analyzed and converted into a code executable by hardware. Then, communication conditions are set for each of the pseudo terminals 11, 12, 21, 22, 31, 32, 33, and 34. Since the scenario and communication conditions of both the pseudo LAN unit 41 and the pseudo WAN unit 42 can be set by the common scenario analysis unit 91, the setting of the entire communication network to be tested can be easily performed.

通信条件の設定では、擬似LAN部41及び擬似WAN部42の各擬似端末がSIPを用いて互いにパケットを送受信するために必要な情報の設定を行う。例えば、擬似LAN側では、送信先IPアドレス、ポート番号、切断するまでの時間、発生時間間隔、QoSクラス、発呼時・着呼時の処理、メディアデータ、QoSクラスの設定を行う。擬似WAN側では、発呼時・着呼時の処理を行う。発呼時の処理は、例えば、SIPのメッセージ内容、切断するまでの時間、メディアデータ、発生時間間隔がある。着呼時の処理は、例えば、レスポンスの内容、応答時間、接続の成功率、メディアデータがある。   In setting communication conditions, each pseudo terminal of the pseudo LAN unit 41 and the pseudo WAN unit 42 sets information necessary for transmitting and receiving packets to and from each other using SIP. For example, on the pseudo LAN side, the destination IP address, the port number, the time until disconnection, the generation time interval, the QoS class, the processing at the time of outgoing / incoming call, media data, and the QoS class are set. On the pseudo WAN side, processing at the time of calling / incoming is performed. The processing at the time of calling includes, for example, SIP message content, time until disconnection, media data, and generation time interval. The processing at the time of an incoming call includes, for example, response contents, response time, connection success rate, and media data.

シナリオ解析部91は、擬似端末の数の設定も行う。本実施形態では擬似LAN部41及び擬似WAN部42をそれぞれ4台の擬似端末で構成する例を示したが、擬似LAN部41及び擬似WAN部42の擬似端末の数を任意に設定できる。また、ルータ51、接続制御サーバ54、端末登録サーバ52及び端末データベース53の数や接続関係についても同様に任意に設定可能であることが好ましい。これにより、現実のWANに近いネットワーク構成を構築することができる。   The scenario analysis unit 91 also sets the number of pseudo terminals. In the present embodiment, the pseudo LAN unit 41 and the pseudo WAN unit 42 are each configured by four pseudo terminals. However, the number of pseudo terminals of the pseudo LAN unit 41 and the pseudo WAN unit 42 can be arbitrarily set. Further, it is preferable that the number of routers 51, connection control server 54, terminal registration server 52, and terminal database 53 and connection relations can be arbitrarily set similarly. Thereby, a network configuration close to an actual WAN can be constructed.

シナリオ解析部91は、擬似端末11、12、21、22のIPアドレスを自動取得に設定してもよい。例えば、擬似LAN部41の擬似端末11、12、21、22のIPアドレスは、ネットワーク装置10によって設定される。擬似端末11、12、21、22がネットワーク装置10から割り当てられたIPアドレスを取得すると、シナリオ解析部91は、各擬似端末11、12、21、22に割り当てられたIPアドレスを各擬似端末11、12、21、22から取得する。これにより、測定部93は、ネットワーク装置10の設定するIPアドレスを用いたパケットの解析を行うことができる。   The scenario analysis unit 91 may set the IP addresses of the pseudo terminals 11, 12, 21, and 22 to automatic acquisition. For example, the IP addresses of the pseudo terminals 11, 12, 21, and 22 of the pseudo LAN unit 41 are set by the network device 10. When the pseudo terminals 11, 12, 21, 22 acquire the IP addresses assigned from the network device 10, the scenario analysis unit 91 assigns the IP addresses assigned to the pseudo terminals 11, 12, 21, 22 to each pseudo terminal 11. , 12, 21, and 22. Thereby, the measuring unit 93 can analyze the packet using the IP address set by the network device 10.

シナリオの設定では、擬似LAN部41の擬似端末間、又は、擬似LAN部41と擬似WAN部42の間で、SIPを用いてセッションを開始、変更、又は終了する際の設定を行う。このとき、リクエストメッセージやレスポンスメッセージに対する各擬似端末の動作を設定する。   In the scenario setting, settings are made when starting, changing, or ending a session using SIP between the pseudo terminals of the pseudo LAN unit 41 or between the pseudo LAN unit 41 and the pseudo WAN unit 42. At this time, the operation of each pseudo terminal for the request message and the response message is set.

擬似LAN部41及び擬似WAN部42の擬似端末は、パケットの解析を行う。ここで、各擬似端末の行うパケットの解析は、例えば、OSI参照モデルのセッション層のコマンドに対する返信の内容の判定である。これにより、擬似端末11、12、21、22、31、32、33、34間で、SIPを用いて互いにパケットを送受信する通信ネットワークの試験を行うことができる。   The pseudo terminals of the pseudo LAN unit 41 and the pseudo WAN unit 42 analyze packets. Here, the analysis of the packet performed by each pseudo terminal is, for example, determination of the contents of a reply to the session layer command of the OSI reference model. Thereby, it is possible to test a communication network that transmits and receives packets between the pseudo terminals 11, 12, 21, 22, 31, 32, 33, and 34 using SIP.

さらに、測定部93は、受信したパケットを収集し、擬似LAN部41及び擬似WAN部42の擬似端末が送受信したパケットの解析を行う。ここで、測定部93の行うパケットの解析には、パケットそのものが正しいか否か、パケットが正しく送受信されたか否か、通信ネットワークとして機能しているか否かを含む。例えば、MAC(Media Access Control)フレーム、FCS(Frame Check Sequence)、IPヘッダのチェックサム、又は、TCP(Transmission Control Protocol)シーケンス番号、パケットの遅延時間、BER(Bit Error Rate)、パケットロス、APR(Address Resolution Protocol)によるアドレス解決、pingコマンドによる接続確認、DHCP(Dynamic Host Configuration Protocol)によるアドレス割当てがある。   Further, the measurement unit 93 collects the received packets and analyzes the packets transmitted and received by the pseudo terminals of the pseudo LAN unit 41 and the pseudo WAN unit 42. Here, the packet analysis performed by the measurement unit 93 includes whether or not the packet itself is correct, whether or not the packet is correctly transmitted and received, and whether or not the packet functions. For example, MAC (Media Access Control) frame, FCS (Frame Check Sequence), IP header checksum, or TCP (Transmission Control Protocol) sequence number, packet delay time, BER (Bit Error Rate), packet loss, APR There are address resolution by (Address Resolution Protocol), connection confirmation by ping command, and address allocation by DHCP (Dynamic Host Configuration Protocol).

本発明は、ホームゲートウェイなどのネットワーク装置の試験に用いることができる。   The present invention can be used for testing a network device such as a home gateway.

10:ネットワーク装置
11、12、21、22、31、32、33、34:擬似端末
41、41a、41b:擬似LAN部
42:擬似WAN部
51:ルータ
52:端末登録サーバ
53:端末データベース
54:接続制御サーバ
61、62、63:物理ポート
91:シナリオ解析部
92:実行制御部
93:測定部
10: Network devices 11, 12, 21, 22, 31, 32, 33, 34: Pseudo terminals 41, 41a, 41b: Pseudo LAN unit 42: Pseudo WAN unit 51: Router 52: Terminal registration server 53: Terminal database 54: Connection control servers 61, 62, 63: physical port 91: scenario analysis unit 92: execution control unit 93: measurement unit

Claims (3)

パケットを送受信するネットワーク装置に物理的に接続される物理ポートと、
コンピュータ上に構築された複数の擬似ネットワークから任意の擬似ネットワークを選択し、選択した当該擬似ネットワークに接続された論理ポートを前記物理ポートに関連付けるネットワーク設定部と、を備えることを特徴とするネットワーク擬似装置。
A physical port physically connected to a network device that transmits and receives packets;
A network setting unit that selects an arbitrary pseudo network from a plurality of pseudo networks constructed on a computer, and associates the selected logical port with the physical port with the physical port. apparatus.
前記ネットワーク設定部は、1つの前記物理ポートに対して複数の前記擬似ネットワークを選択し、選択したそれぞれの前記擬似ネットワークに接続された論理ポートを前記物理ポートに関連付けることを特徴とする請求項1に記載のネットワーク擬似装置。   2. The network setting unit selects a plurality of the pseudo networks for one physical port, and associates the selected logical ports connected to the pseudo networks with the physical ports. The network pseudo device described in 1. 前記ネットワーク設定部は、前記擬似ネットワークに接続された論理ポート同士を接続して新たな擬似ネットワークを構築することを特徴とする請求項1又は2に記載のネットワーク擬似装置。   The network simulation device according to claim 1, wherein the network setting unit connects a logical port connected to the pseudo network to construct a new pseudo network.
JP2009035532A 2009-02-18 2009-02-18 Network pseudo device Pending JP2010193173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009035532A JP2010193173A (en) 2009-02-18 2009-02-18 Network pseudo device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009035532A JP2010193173A (en) 2009-02-18 2009-02-18 Network pseudo device

Publications (1)

Publication Number Publication Date
JP2010193173A true JP2010193173A (en) 2010-09-02

Family

ID=42818739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009035532A Pending JP2010193173A (en) 2009-02-18 2009-02-18 Network pseudo device

Country Status (1)

Country Link
JP (1) JP2010193173A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717109A (en) * 2015-04-02 2015-06-17 迈普通信技术股份有限公司 Simulation testing method and system for wide area network links

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717109A (en) * 2015-04-02 2015-06-17 迈普通信技术股份有限公司 Simulation testing method and system for wide area network links
CN104717109B (en) * 2015-04-02 2018-08-28 迈普通信技术股份有限公司 Wide area network link analog detection method and system

Similar Documents

Publication Publication Date Title
US8082324B2 (en) Method of establishing a tunnel between network terminal devices passing through firewall
US7738383B2 (en) Traceroute using address request messages
CN101425938B (en) Method and apparatus for network apparatus test
CN100521663C (en) Method for crossing network address conversion in point-to-point communication
CN101843079A (en) Communicating a selection of a potential configuration
CN102647487B (en) Method for saving Internet protocol (IP) addresses and access proxy equipment
CN101277225B (en) Method for analyzing network quality as well as network quality analysis terminal-initiating equipment
CN112333019A (en) Router configuration and test method and system and readable storage medium
JP5792688B2 (en) Synchronized commands for network inspection
US20060259539A1 (en) Cumputer system comprising a communication device
US7873037B2 (en) Information processing device, information processing system, information processing method, and program
US8707100B2 (en) Testing a network using randomly distributed commands
JP2010193173A (en) Network pseudo device
CN101860483B (en) BFD realization method and device based on chip lookup table
CN111447302B (en) Method and system for simulating multi-client to test DHCP (dynamic host configuration protocol) by using raw socket
Mikac et al. An approach for teaching and understanding computer networks using realistic emulation tool
CN102377834A (en) Network address translation equipment and communication method
JP4979078B2 (en) Message proxy response system
JP2010098429A (en) Network switching device, network switching device network switching apparatus, method and program for controlling the same
JP2010154385A (en) Network pseudo apparatus
JP2010206748A (en) Protocol testing apparatus
JP2010157857A (en) Vpn connection device, packet control method, and program
JP5069329B2 (en) Network testing equipment
JP2010178122A (en) Protocol simulator
KR100793340B1 (en) Home Network Communication Method using Network Address Translation