JP3229265B2 - Address translation device and recording medium recording address translation program - Google Patents

Address translation device and recording medium recording address translation program

Info

Publication number
JP3229265B2
JP3229265B2 JP34831197A JP34831197A JP3229265B2 JP 3229265 B2 JP3229265 B2 JP 3229265B2 JP 34831197 A JP34831197 A JP 34831197A JP 34831197 A JP34831197 A JP 34831197A JP 3229265 B2 JP3229265 B2 JP 3229265B2
Authority
JP
Japan
Prior art keywords
address
pdu
management
conversion
protocol
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 - Lifetime
Application number
JP34831197A
Other languages
Japanese (ja)
Other versions
JPH11187058A (en
Inventor
透 引地
公太 本村
健一 中川
孝男 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP34831197A priority Critical patent/JP3229265B2/en
Publication of JPH11187058A publication Critical patent/JPH11187058A/en
Application granted granted Critical
Publication of JP3229265B2 publication Critical patent/JP3229265B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークにお
ける異なるアドレス体系を持つ管理装置及び被管理装置
の間での管理プロトコルによる通信を可能にするアドレ
ス変換装置及びそのアドレス変換プログラムを記録した
記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an address translation device which enables communication between a management device having a different address system in a network and a managed device by a management protocol, and a recording medium on which an address translation program is recorded. Things.

【0002】[0002]

【従来の技術】従来、インターネットなどのネットワー
クシステムにおいて、例えばTCP/IPのアドレス変
換であれば、IETFの定めるRFC1631(The
IPNetwork Address Translator)に記されている
アドレス変換機能がある。これは、IPパケットのへッ
ダ(IPへッダ)の中のアドレスをあらかじめ設定され
たIPアドレス変換定義ファイルに基づき書き換えると
ともに、それに伴って生じるIPへッダのチェックサム
の変更を再計算し書き換えるというものである。これに
よってアドレス体系の異なる装置間でのTCP/IPに
よる通信が可能になり、その上位層のプロトコルによる
通信も可能になる。
2. Description of the Related Art Conventionally, in a network system such as the Internet, for example, in the case of TCP / IP address conversion, RFC1631 (The
There is an address translation function described in IP Network Address Translator. This rewrites the address in the header (IP header) of the IP packet based on a preset IP address conversion definition file, and recalculates the change of the checksum of the IP header accompanying the rewriting. And rewrite. As a result, communication using TCP / IP between devices having different address systems becomes possible, and communication using an upper layer protocol becomes possible.

【0003】なお、IETF(Internet Engineering
Task Force)は米国インターネット活動委員会の下
部組織の一つで、IP(インターネットプロトコル)の
次世代への拡張性を検討し、SNMP(簡易ネットワー
ク管理プロトコル)やMIB(管理情報ベース)など、
種々のプロトコルを開発・管理している。
[0003] IETF (Internet Engineering)
Task Force) is one of the subordinate organizations of the United States Internet Activities Committee, and is examining the scalability of IP (Internet Protocol) to the next generation, including SNMP (Simple Network Management Protocol) and MIB (Management Information Base).
Develops and manages various protocols.

【0004】[0004]

【発明が解決しようとする課題】従来技術によるアドレ
ス変換機能を、異なるアドレス体系を持つ管理装置と被
管理装置の間でのSNMPなどの管理プロトコルの通信
に用いた場合、管理プロトコルの通信は可能になるが、
該管理プロトコルのPDU(Protocol DataUnit:プ
ロトコルデータ単位)で運ばれる管理情報内のアドレス
情報までは変換できない。そのため、該管理プロトコル
のPDUにアドレス情報が存在する場合、以下のように
管理装置が正常に管理を行うことができない場合がある
という問題点があった。
When the address translation function according to the prior art is used for communication of a management protocol such as SNMP between a management device having different address systems and a managed device, communication of the management protocol is possible. But
The address information in the management information carried by the PDU (Protocol Data Unit) of the management protocol cannot be converted. For this reason, when address information exists in the PDU of the management protocol, there is a problem that the management device may not be able to perform normal management as described below.

【0005】(1)下位プロトコルのパケット中のアド
レスと上位管理プロトコルのPDU内のアドレス情報
が、該管理装置の想定している値と異なる場合が発生
し、該管理装置が正常に動作しない。 (2)下位プロトコルのアドレスが重複している被管理
対象装置がある場合、下位プロトコルのパケット中のア
ドレスとチェックサムを変換することにより下位プロト
コルの通信を可能にしても、管理プロトコルのPDU内
のアドレス情報は変換されないため、管理装置ではアド
レス情報の重複した管理情報を被管理装置から受信する
ことになり、該管理装置が正常に動作しない。
(1) The address in the packet of the lower-level protocol and the address information in the PDU of the higher-level management protocol sometimes differ from the value assumed by the management apparatus, and the management apparatus does not operate normally. (2) In the case where there is a device to be managed in which the address of the lower protocol is duplicated, even if communication of the lower protocol is enabled by converting the address in the packet of the lower protocol and the checksum, the PDU of the management protocol can be used. Since the address information is not converted, the management device receives the management information having the duplicated address information from the managed device, and the management device does not operate normally.

【0006】本発明の目的は、上記の問題点を解決し、
異なるアドレス体系を持つ管理装置と被管理装置及び被
管理装置の間でのSNMPなどの管理プロトコルによる
通信を可能とし、管理装置での管理プロトコルによる正
常なネットワーク管理を保証するアドレス変換装置を提
供することにある。
An object of the present invention is to solve the above problems,
Provided is an address translator that enables communication by a management protocol such as SNMP between a management device having different address systems and a managed device and a managed device, and guarantees normal network management by the management protocol in the management device. It is in.

【0007】また、本発明の他の目的は、上記異なるア
ドレス体系を持つ管理装置と被管理装置の間でのSNM
Pなどの管理プロトコルによる通信を可能にするための
アドレス変換プログラムを記録したコンピュータ読取り
可能な記録媒体を提供することにある。
Another object of the present invention is to provide an SNM between a management device having different address systems and a managed device.
An object of the present invention is to provide a computer-readable recording medium on which an address conversion program for enabling communication according to a management protocol such as P is recorded.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、異なるアドレス体系を持つ管理
装置と被管理装置の間に置かれ、下位プロトコルのパケ
ット中のアドレスとチェックサムを変換する手段を備え
たアドレス変換装置において、前記下位プロトコル上で
使用する管理プロトコルのプロトコルデータ単位(PD
U)内のアドレス情報の存在部位を検索するための変換
対象定義ルールと、前記変換対象定義ルールに基づいて
検索されたPDU内のアドレス情報を変換するためのア
ドレス情報変換定義ルールと、前記変換対象定義ルール
と前記アドレス情報変換定義ルールとを利用してPDU
内のアドレス情報を変換する手段とを備えたことを特徴
とする。
In order to achieve the above object, the invention of claim 1 is provided between a management device and a managed device having different address systems, and includes an address and a checksum in a packet of a lower protocol. In the address translator provided with means for translating the data, a protocol data unit (PD) of a management protocol used on the lower protocol is used.
A conversion target definition rule for retrieving a location of the address information in U), an address information conversion definition rule for converting the address information in the PDU retrieved based on the conversion target definition rule, and the conversion PDU using the target definition rule and the address information conversion definition rule
Means for converting the address information in the address information.

【0009】また、請求項2の発明は、管理プロトコル
にネットワーク管理の標準プロトコルの一つである簡易
ネットワーク管理プロトコル(SNMP)の使用に対処
するため、PDU内のアドレス情報変換手段は、SNM
P_PDUの管理情報値内のアドレス情報を変換する手
段と、SNMP_PDUの管理情報名内のアドレス情報
を変換する手段と、PDUの種別を判定する手段と、ト
ラップ送出元アドレス情報を変換する手段と、SNMP
_PDUをあらかじめ定められた抽象構文記法でテキス
ト形式に復号する手段と、前記テキスト形式のSNMP
_PDUを符号化する手段とから構成され、変換対象定
義ルールは管理情報値変換定義ファイルと管理情報名変
換定義ファイルとから構成され、アドレス情報変換定義
ルールはアドレス情報変換定義ファイルとトラップ送出
元アドレス情報変換定義ファイルとから構成されること
を特徴とする。
According to a second aspect of the present invention, in order to cope with the use of a simple network management protocol (SNMP), which is one of the standard protocols for network management, the address information conversion means in the PDU includes an SNM.
Means for converting address information in the management information value of the P_PDU, means for converting address information in the management information name of the SNMP_PDU, means for determining the type of the PDU, means for converting trap source address information, SNMP
_PDU in text format using a predetermined abstract syntax notation, and the SNMP in text format
_PDU encoding means, the conversion target definition rule is composed of a management information value conversion definition file and a management information name conversion definition file, and the address information conversion definition rule is an address information conversion definition file and a trap transmission source address. And an information conversion definition file.

【0010】また、請求項3の発明の異なるアドレス体
系を持つ管理装置と被管理装置の間の管理プロトコルに
よる通信を可能にするためのアドレス変換プログラムを
記録したコンピュータ読取り可能な記録媒体は、下位プ
ロトコルのパケット中のアドレスとチエックサム変換す
る処理プロセスと、下位プロトコル上で使用する管理プ
ロトコルのプロトコルデータ単位(PDU)内のアドレ
ス情報の存在部位を検索する処理プロセスと、前記検索
されたPDU内のアドレス情報を変換する処理プロセス
とを有することを特徴とする。
A computer-readable recording medium which records an address conversion program for enabling communication between a management device having a different address system and a managed device according to a management protocol according to the third aspect of the present invention is a low-order storage medium. A process for converting the address in a packet of the protocol into a checksum; a process for searching for a location of address information in a protocol data unit (PDU) of a management protocol used on a lower protocol; And a process for converting address information.

【0011】また、請求項4の発明の記録媒体は、管理
プロトコルがSNMPである場合に、SNMP_PDU
の管理情報値内のアドレス情報を変換する処理プロセス
と、SNMP_PDUの管理情報名内のアドレスを変換
する処理プロセスと、PDUの種類を判別する処理プロ
セスと、トラップ送出元アドレス情報を変換する処理プ
ロセスと、SNMP_PDUをテキスト形式に復号する
処理プロセスと、前記テキスト形式のSNMP_PDU
を符号化する処理プロセスとを有することを特徴とす
る。
The recording medium according to the fourth aspect of the present invention, when the management protocol is SNMP, SNMP_PDU
, A process for converting an address in the management information name of SNMP_PDU, a process for determining the type of PDU, and a process for converting trap source address information And a process for decoding the SNMP_PDU into a text format, and the SNMP_PDU in the text format
And a processing process for encoding

【0012】本発明によれば、アドレス情報を含むPD
Uを運ぶ下位プロトコルのパケットがアドレス変換装置
を通過する際、アドレス情報変換手段にて変換対象定義
ルールによりアドレス情報が含まれる部位を該PDUか
ら検索し、アドレス情報変換定義ルールにより該部位の
アドレス情報が変換され、下位プロトコルアドレス・チ
ェックサム変換手段にて該パケット中のアドレス・チェ
ックサムの変換が行われる。これにより、該PDU内の
アドレス情報と該パケットの中のアドレスの整合が取ら
れ、管理装置からは被管理装置が実際のアドレスとは異
なるアドレスの被管理装置として正常に管理が可能とな
る。
According to the present invention, a PD including address information
When a packet of a lower protocol carrying U passes through the address translation device, the address information conversion means searches the PDU for a portion including the address information according to the conversion target definition rule, and the address of the portion according to the address information conversion definition rule. The information is converted, and the lower-layer protocol address / checksum converter converts the address / checksum in the packet. As a result, the address information in the PDU is matched with the address in the packet, and the managed device can manage the managed device normally as a managed device having an address different from the actual address.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面により説明する。なお、本実施の形態では、管理
プロトコルをネットワーク管理の標準の一つであるSN
MP(SimpleNetwork Management Protocol:簡易ネ
ットワーク管理プロトコル)とし、該SNMPの下位プ
ロトコルにはUDP/IP(User Datagram Protoco
l/Internet Protocol)が使われるとし、管理プロト
コルPDU内アドレス情報変換部で変換するアドレスは
IPアドレスとする。
Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, the management protocol is set to SN which is one of the network management standards.
MP (Simple Network Management Protocol: Simple Network Management Protocol), and the lower layer protocol of the SNMP is UDP / IP (User Datagram Protocol).
1 / Internet Protocol) is used, and the address converted by the address information conversion unit in the management protocol PDU is an IP address.

【0014】図1に、本発明の実施の形態の全体的ブロ
ック図を示す。図1において、1は管理プロトコルによ
りネットワーク管理を行う管理装置(いわゆるマネジ
ャ)、2は管理プロトコルにより管理される被管理装置
(いわゆるエージェント)、10は本発明にかかわるア
ドレス変換装置である。アドレス変換装置10は、管理
装置側の下位プロトコルを処理する管理装置側下位プロ
トコル処理部11、被管理装置側の下位プロトコルを処
理する被管理装置側下位プロトコル処理部12、管理プ
ロトコルのPDU内のアドレス情報変換を行う管理プロ
トコルPDU内アドレス情報変換部13、及び、下位プ
ロトコルのパケット中のアドレスの変換を行う下位プロ
トコルアドレス・チェックサム変換部17から成る。こ
こで、管理プロトコルPDU内アドレス情報変換部13
が本発明の主要構成部であり、変換対象部位をPDUか
ら検索するための変換対象定義ルール14と、検索され
た変換対象部位を書き換えるためのアドレス情報変換定
義ルール15と、これら変換対象定義ルール14とアド
レス情報変換定義ルール15を用いてアドレス情報変換
を行うアドレス情報変換部16から構成される。
FIG. 1 shows an overall block diagram of an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a management device (so-called manager) that performs network management by a management protocol, 2 denotes a managed device (so-called agent) managed by a management protocol, and 10 denotes an address translation device according to the present invention. The address translation device 10 includes a management device-side lower protocol processing unit 11 that processes a management device-side lower protocol, a managed device-side lower protocol processing unit 12 that processes a managed device-side lower protocol, and a management protocol PDU. It comprises a management protocol PDU address information conversion unit 13 for converting address information, and a lower protocol address / checksum conversion unit 17 for converting an address in a packet of a lower protocol. Here, the management protocol PDU address information conversion unit 13
Are the main components of the present invention, a conversion target definition rule 14 for retrieving a conversion target part from a PDU, an address information conversion definition rule 15 for rewriting the searched conversion target part, and a conversion target definition rule 14 and an address information conversion unit 16 that performs address information conversion using the address information conversion definition rule 15.

【0015】図2に下位プロトコルアドレス・チェック
サム変換部17の構成例を示す。下位プロトコルアドレ
ス・チェックサム変換部17は、UDPへッダチェック
サム変換部21、IPへッダ内IPアドレス変換部2
2、IPへッダチェックサム変換部23、IPアドレス
変換定義ファイル24から構成される。
FIG. 2 shows a configuration example of the lower-order protocol address / checksum converter 17. The lower-order protocol address / checksum converter 17 includes a UDP header checksum converter 21 and an IP address converter 2 in the IP header.
2. It comprises an IP header checksum conversion unit 23 and an IP address conversion definition file 24.

【0016】図3に管理プロトコルPDU内アドレス情
報変換部13の構成例を示す。SNMPはTCP/IP
(UDP/IP)の下位プロトコルと異なり、一種のプ
ログラミング言語(C言語など)のASN.1(Abstr
act Syntax Notation One:抽象構文記法1)とい
う記述法で定義される。図3において、アドレス情報変
換部16は、特にこの場合の適用構成例を示したもの
で、ASN.1復号部30、管理情報値内アドレス情報
変換部31、管理情報名内アドレス情報変換部32、P
DU種別判定部33、トラップ送出元アドレス情報変換
部38、ASN.1符号化部39から構成される。変換
対象定義ルール15は、管理情報値変換定義ファイル3
4、管理情報名変換定義ファイル35から構成され、ア
ドレス情報変換定義ルール15は、アドレス情報変換定
義ファイル36、トラップ送出元アドレス情報変換定義
ファイル37から構成される。図4乃至図6に管理情報
値内アドレス情報変換部31、管理情報名内アドレス情
報変換部32、トラップ送出元アドレス情報変換部38
の各処理のフローチャート例を示す。
FIG. 3 shows a configuration example of the address information conversion unit 13 in the management protocol PDU. SNMP is TCP / IP
(UDP / IP), unlike a lower-level protocol, ASN. 1 (Abstr
act Syntax Notation One: Defined by a notation called abstract syntax notation 1). In FIG. 3, the address information converter 16 particularly shows an example of an application configuration in this case. 1 decoding unit 30, address information conversion unit within management information value 31, address information conversion unit within management information name 32, P
DU type determination unit 33, trap transmission source address information conversion unit 38, ASN. It comprises one encoding unit 39. The conversion target definition rule 15 is the management information value conversion definition file 3
4. It is composed of a management information name conversion definition file 35, and the address information conversion definition rule 15 is composed of an address information conversion definition file 36 and a trap sender address information conversion definition file 37. 4 to 6 show the management information value address information conversion unit 31, the management information name address information conversion unit 32, and the trap transmission source address information conversion unit 38.
3 is a flowchart example of each process of FIG.

【0017】図7に管理情報値変換定義ファイル34の
具体例を示す。ここでは、ピリオド“.”で区切られた
各整数を構成要素と呼ぶこととし、%記号は0から25
5までの整数の構成要素4つ分を示す記号であり、#記
号は構成要素1つ分で任意の整数を示す。71は管理情
報値の変換対象をあらわすオブジェクト識別子(OI
D)で、PDU内の管理情報名に当たる。72はコメン
トで管理情報名の一般名称等を記述したものである。
FIG. 7 shows a specific example of the management information value conversion definition file 34. Here, each integer separated by a period “.” Is referred to as a component, and the% symbol is 0 to 25.
A symbol indicating four components of an integer up to 5, and a # symbol indicates an arbitrary integer for one component. Reference numeral 71 denotes an object identifier (OI) representing a management information value conversion target.
D) corresponds to the management information name in the PDU. A comment 72 describes a general name of the management information name and the like.

【0018】図8に管理情報名変換定義ファイル35の
具体例を示す。ここでも、ピリオド“.”で区切られた
各整数を構成要素と呼ぶこととし、%記号は0から25
5までの整数の構成要素4つ分を示す記号であり、#記
号は構成要素1つ分で任意の整数を示す。81は管理情
報名の変換対象をあらわすオブジェクト識別子(OI
D)で、PDU内の管理情報名に当たる。82はコメン
トで管理情報名の一般名称等を記述したものである。
FIG. 8 shows a specific example of the management information name conversion definition file 35. Again, each integer separated by a period “.” Is referred to as a component, and the% symbol is 0 to 25.
A symbol indicating four components of an integer up to 5, and a # symbol indicates an arbitrary integer for one component. An object identifier (OI) 81 represents a management information name conversion target.
D) corresponds to the management information name in the PDU. A comment 82 describes a general name or the like of the management information name.

【0019】図7及び図8に例示した各ファイルは、S
NM PMIB−2に関する管理情報値変換定義例ファ
イルと管理情報値変換定義例ファイルである。ここで、
MIBはネットワーク管理のために、ネットワークに関
するデータ群を保持するデータベース(Managem
ent Information Base:管理情報ベース)であ
り、該MIBの管理情報の集合がSNMPにより管理装
置と被管理装置の間で送受信される。MIB−2は該M
IBの第2バージョンの意味である。
Each of the files illustrated in FIGS.
It is a management information value conversion definition example file and a management information value conversion definition example file regarding NM PMIB-2. here,
The MIB is a database (Managem) holding a group of data related to the network for network management.
ent Information Base: management information base), and a set of management information of the MIB is transmitted and received between the management device and the managed device by SNMP. MIB-2 is the M
This is the meaning of the second version of the IB.

【0020】図9にアドレス情報変換定義ファイル36
の具体例を示す。*記号は、0から255までの整数を
示す記号である。91が管理装置側の実際のIPアドレ
ス、92がアドレス変換装置による変換後の管理装置側
IPアドレス、93が被管理装置側の実際のIPアドレ
ス、94がアドレス変換装置による変換後の被管理装置
側のIPアドレスを示す。
FIG. 9 shows an address information conversion definition file 36.
The following shows a specific example. The * symbol is a symbol indicating an integer from 0 to 255. 91 is the actual IP address of the management device, 92 is the IP address of the management device after conversion by the address translation device, 93 is the actual IP address of the managed device, and 94 is the managed device after translation by the address translation device. Side IP address.

【0021】図10にIPアドレス変換定義ファイル2
4の具体例を示す。*記号は、0から255までの整数
を示す記号である。101が管理装置側の実際のIPア
ドレス、102がアドレス変換装置による変換後の管理
装置側IPアドレス、103が被管理装置側の実際のI
Pアドレス、104がアドレス変換装置による変換後の
被管理装置側のIPアドレスを示す。但し、本実施の形
態では、SNMPの下位プロトコルにはUDP/IPが
使われるとし、管理プロトコルPDU内アドレス情報変
換部13で変換するアドレスはIPアドレスとしている
ため、図9と同様のIPアドレス変換定義ファイルとな
っている。
FIG. 10 shows an IP address conversion definition file 2
4 shows a specific example. The * symbol is a symbol indicating an integer from 0 to 255. 101 is the actual IP address of the management device, 102 is the IP address of the management device after translation by the address translation device, and 103 is the actual I / O of the managed device.
The P address 104 indicates the IP address of the managed device after the translation by the address translator. However, in the present embodiment, it is assumed that UDP / IP is used as a lower protocol of SNMP, and the address converted by the address information conversion unit 13 in the management protocol PDU is an IP address. It is a definition file.

【0022】図11にトラップ送出元アドレス変換定義
ファイル37の例を示す。*記号は、0から255まで
の整数を示す記号である。トラップを送出するのは被管
理装置であるため、アドレス変換装置で変換される前の
トラップ送出元アドレスは被管理装置の実IP(11
1)であり、本発明装置でアドレス変換されるときには
被管理装置の変換後IPアドレス(112)に変換され
る。
FIG. 11 shows an example of the trap transmission source address conversion definition file 37. The * symbol is a symbol indicating an integer from 0 to 255. Since the managed device transmits the trap, the trap transmission source address before the translation by the address translator is the real IP (11
1), when the address is converted by the device of the present invention, it is converted into the IP address (112) of the managed device after the conversion.

【0023】図12にSNMPによるネットワーク管理
アーキテクチャを示す。管理装置1と被管理装置2はネ
ットワーク管理プロトコルでリンクされる。TCP/I
Pネットワークの管理に使用されるプロトコルはSNM
Pであり、管理装置1と被管理装置2の間で授受するデ
ータを、規定された形式のPDUで運ぶ。このPDUは
アプリケーション層のデータ形式であり、トランスポー
ト/ネットワーク層の運搬にはUDP/IPが使用され
る。ここで、SNMPのコマンドには次の5種類があ
り、各コマンドに対応するPDUがある。 Get Request :管理装置が被管理装置に対してオブジ
ェクト(管理対象リソース)の値を送るように要求す
る。 Get Next Request :管理装置に対して次のオブジェ
クトの値の報告を要求する。 Get Response:管理装置からの要求に応じて、被管理
装置が応答データを管理装置へ送る。要求されたデータ
はMIBから読み出す。 Set Request :管理装置から被管理装置上のオブジェ
クトの値を設定変更する。 Trap :被管理装置から管理装置へ、状態変化や異常発
生等を通知する。
FIG. 12 shows a network management architecture based on SNMP. The management device 1 and the managed device 2 are linked by a network management protocol. TCP / I
The protocol used to manage the P network is SNM
P, which carries data exchanged between the management device 1 and the managed device 2 in a PDU in a prescribed format. This PDU is a data format of an application layer, and UDP / IP is used for transport of a transport / network layer. Here, there are the following five types of SNMP commands, and there is a PDU corresponding to each command. Get Request: The management device requests the managed device to send the value of the object (managed resource) to the managed device. Get Next Request: Requests the management device to report the value of the next object. Get Response: The managed device sends response data to the management device in response to a request from the management device. The requested data is read from the MIB. Set Request: The setting value of the object on the managed device is changed from the management device. Trap: The managed device notifies the managed device of a status change, occurrence of an abnormality, and the like.

【0024】図13にSNMPのPDUフォーマット例
をASN.1の抽象構文定義とともに示す。各フィール
ドの説明は省略するが、本発明に関係するのはVariabl
e-bindingsである。Variable-bindingsはname(オブジ
ェクト識別子)とvalue(値)のベアの配列をとり、V
BL(Variable-Binding-List)と呼ばれる。このV
BL中のnameがオペレーシヨンの対象となるオブジェク
トである。
FIG. 13 shows an example of the SNMP PDU format in ASN. 1 together with the abstract syntax definition. The description of each field is omitted, but the present invention relates to Variabl
e-bindings. Variable-bindings takes an array of bears of name (object identifier) and value (value),
It is called BL (Variable-Binding-List). This V
The name in the BL is the object to be operated.

【0025】次に、本実施の形態の具体的動作につい
て、SNMP PDUの種別を3パターンに分けて詳述
する。
Next, the specific operation of this embodiment will be described in detail by dividing the type of SNMP PDU into three patterns.

【0026】〈パターン1〉管理装置1からSNMPの
PDUの内、GetRequestかGetNextRequestかSet
RequestのいずれかのPDUが被管理装置2に送出され
る場合を述べる。ここでは、一例として管理装置1から
管理装置2へSetRequestが送られるとし、変換前のパ
ケット構成の具体例は図14の通りとする。図14中の
網掛け部分が変換対象部位である。
<Pattern 1> GetRequest, GetNextRequest, or Set among SNMP PDUs from the management device 1
A case where any PDU of Request is transmitted to the managed device 2 will be described. Here, as an example, it is assumed that SetRequest is sent from the management device 1 to the management device 2, and a specific example of the packet configuration before conversion is as shown in FIG. The hatched part in FIG. 14 is the conversion target part.

【0027】アドレス変換装置10に到着したパケット
は、管理装置側下位プロトコル処理部11で受信され、
下位プロトコル(UDP)と上位プロトコル(SNMP
PDU)に区分され、管理プロトコルPDU内アドレ
ス情報変換部13のアドレス情報変換部16(図3)に
処理が渡される。
The packet arriving at the address translator 10 is received by the lower-level protocol processor 11 on the management device side.
Lower protocol (UDP) and upper protocol (SNMP)
PDU), and the process is passed to the address information converter 16 (FIG. 3) of the address information converter 13 in the management protocol PDU.

【0028】アドレス情報変換部16では、まず、AS
N.1復号部30にパケットを渡す。ASN.1復号部
30は、該パケット中のSNMP_PDUをASN.1
復号して抽象構文記法のテキスト形式にし、管理情報値
内アドレス情報変換部31に渡す。
In the address information conversion unit 16, first, the AS
N. 1 Pass the packet to the decoding unit 30. ASN. 1 decoding unit 30 converts the SNMP_PDU in the packet into an ASN. 1
The data is decrypted into the text format of the abstract syntax notation and passed to the management information value address information conversion unit 31.

【0029】管理情報値内アドレス情報変換部31は、
図4に処理フローを示すように、テキスト形式にされた
SNMP_PDU内の管理情報名と管理情報変換定義フ
ァイル34の変換対象OID(71)を比較して、合致
する管理情報名が存在するかを検索し(ステップ4
1)、合致する管理情報名が発見された場合には、管理
情報値に含まれるIPアドレス情報を読み出し、アドレ
ス情報変換定義ファイル36の被管理装置側の変換後I
Pアドレス(94)と比較を行い、該当の実IPアドレ
ス(93)へ変換を行う(ステップ42)。但し、管理
情報値がNULLなどでIPアドレス情報でなかった場
合には変換は行わない。また、該管理情報値内アドレス
情報変換部31は、変換対象オブジェクト検索で合致す
る管理情報名が発見されなかった場合はそのまま処理を
終了する。
The management information value-in-address information conversion unit 31
As shown in the processing flow of FIG. 4, the management information name in the SNMP_PDU in text format is compared with the conversion target OID (71) of the management information conversion definition file 34, and it is determined whether a matching management information name exists. Search (Step 4
1) If a matching management information name is found, the IP address information included in the management information value is read out, and the converted I-address of the managed device in the address information conversion definition file 36 is read.
A comparison is made with the P address (94), and conversion to the corresponding real IP address (93) is performed (step 42). However, if the management information value is NULL and is not IP address information, no conversion is performed. If the matching management information name is not found in the conversion target object search, the management information value-in-address information conversion unit 31 ends the process.

【0030】図7と図9を使用して該管理情報値内アド
レス情報変換部31での具体的な変換例を示すと、管理
装置から被管理装置側への図14に示すパケットのSet
Request PDU(管理情報名=1.3.6.1.2.
1.4.20.1.1.20.168.0.1,管理情
報値=20.168.0.1)を受け取った場合、該管
理情報名が、図7の管理情報値変換定義ファイル34の
変換対象OID(71)の2行目の定義に当てはまるの
で、図9のアドレス情報変換定義ファイル36を参照
し、管理情報値(20.168.0.1)と被管理装置
側の変換後IPアドレス94(20.168.0.1)
と比較を行い、該管理情報値を該当の実IPアドレス9
3(192.168.0.1)へ変換を行い、該管理情
報値を「192.168.0.1」に変換する。
Referring to FIGS. 7 and 9, a specific example of the conversion in the management information value-internal address information conversion unit 31 will be described. The Set of the packet shown in FIG.
Request PDU (management information name = 1.3.6.1.2.
(1.4.20.1.1.20.168.0.1, management information value = 20.168.0.1), the management information name is changed to the management information value conversion definition file in FIG. Since the definition of the second line of the OID (71) to be converted corresponds to the definition of the management information value (20.168.0.1) and the conversion of the managed device with reference to the address information conversion definition file 36 of FIG. After IP address 94 (20.168.0.1)
And compares the management information value with the corresponding real IP address 9
3 (192.168.0.1), and the management information value is converted to “192.168.0.1”.

【0031】管理情報値内アドレス情報変換部31の処
理が終了すると、管理情報名内アドレス情報変換部32
に処理が渡される。管理情報名内アドレス情報変換部3
2は、図5に処理フローを示すように、テキスト形式に
されたSNMP_PDU内の管理情報名と管理情報名変
換定義ファイル35の変換対象OID(81)を比較し
て、合致する管理情報名が存在するかを検索し(ステッ
プ51)、合致する管理情報名が発見された場合には、
変換対象OID(81)の%の要素に含まれるIPアド
レス情報を読み出し、管理情報名変換定義ファイル35
の被管理装置側の変換後IPアドレス(94)と比較を
行い、該当の実IPアドレス(93)へ変換を行う(ス
テップ52)。該管理情報名内アドレス情報変換部32
は、変換対象オブジェクト検索で合致する管理情報名が
発見されなかった場合はそのまま処理を終了する。
When the processing by the management information value address information conversion section 31 is completed, the management information name address information conversion section 32
The process is passed to. Management information name address information conversion unit 3
5, the management information name in the text-formatted SNMP_PDU is compared with the conversion target OID (81) of the management information name conversion definition file 35 as shown in the processing flow of FIG. It is searched for the existence (step 51), and if a matching management information name is found,
The IP address information included in the% element of the conversion target OID (81) is read, and the management information name conversion definition file 35 is read.
Is compared with the converted IP address (94) on the managed device side, and is converted to the corresponding real IP address (93) (step 52). The management information name address information conversion unit 32
If no matching management information name is found in the conversion target object search, the process ends.

【0032】図8と図9を使用して該管理情報名内アド
レス情報変換部32での具体的な変換例を示すと、図1
4のパケットについて、管理情報値内アドレス変換部3
1からSetRequest PDU(管理情報名=1.3.6.
1.2.1.4.20.1.1.20.168.0.
1,管理情報値=192.168.0.1)を受け取っ
た場合、該管理情報名が、図8の管理情報名変換定義フ
ァイル35の変換対象OID(81)の2行目の定義に
当てはまるので、図9のアドレス情報変換定義ファイル
36を参照し、被管理装置側の変換後IPアドレス94
(20.168.0.1)と比較を行い、該当の実IP
アドレス93(192.168.1.0)へ変換を行
い、該管理情報名を「1.3.6.1.2.1.4.2
0.1.1.192.168.0.1」に変換する。
FIG. 8 and FIG. 9 show a specific example of conversion in the management information name-in-address information conversion unit 32.
For the packet No. 4, the address conversion unit 3 in the management information value
1 to SetRequest PDU (management information name = 1.3.6.
1.2.1.4.2.10.1.1.20.168.0.
1, management information value = 192.168.0.1), the management information name corresponds to the definition of the second line of the conversion target OID (81) in the management information name conversion definition file 35 in FIG. Therefore, referring to the address information conversion definition file 36 in FIG.
(20.168.0.1) and the corresponding real IP
It is converted to an address 93 (192.168.1.0), and the management information name is changed to "1.3.3.6.1.2.4.1.2".
0.1.1.192.168.0.1 ".

【0033】該管理情報名内アドレス情報変換部32の
処理が終了すると、PDU種別判定部33に処理が渡さ
れる。PDU種別判定部33は、requestフィールドに
より受け取ったPDUがTrapであるかTrapでないかを
判定し、Trapの場合にはトラップ送出元アドレス情報
変換部38に処理を渡し、Trapでない場合にはAS
N.1符号化部39に処理を渡す(SNMPの場合、受
け取ったPDUがTrapであるかTrapでないかにより処
理が異なるためにPDU種別判定部(33)の処理を行
う)。パターン1は、Trap以外であるため、ASN.
1符号化部39に処理を渡す。ASN.1符号化部39
は、ASN.1復号部30でテキスト形式に変換したS
NMP_PDUをASN.1に符号化し、下位プロトコ
ルアドレス・チェックサム変換部17に処理を渡す。具
体例では、図14のパケットについて、SUMP−PD
U内の管理情報値(value)と管理情報名(name)が図
15のよう変換されたパケットが下位プロトコルアドレ
ス・チェックサム変換部17に渡される。
When the processing by the management information name address information conversion section 32 is completed, the processing is passed to the PDU type determination section 33. The PDU type determination unit 33 determines whether the PDU received by the request field is Trap or not Trap. If the PDU is Trap, the process is passed to the trap transmission source address information conversion unit 38;
N. 1 The processing is passed to the encoding unit 39 (in the case of SNMP, the processing is different depending on whether the received PDU is Trap or not, and the processing of the PDU type determination unit (33) is performed). Since pattern 1 is other than Trap, ASN.
The process is passed to one encoding unit 39. ASN. 1 encoding unit 39
Is ASN. S converted to a text format by the 1 decoding unit 30
NMP_PDU is transferred to ASN. 1 and passes the processing to the lower-order protocol address / checksum converter 17. In the specific example, the SUMP-PD
A packet in which the management information value (value) and the management information name (name) in U are converted as shown in FIG. 15 is passed to the lower-order protocol address / checksum converter 17.

【0034】下位プロトコルアドレス・チェックサム変
換部17(図2)では、まず、UDPへッダチェックサ
ム変換部21が、SNMP_PDUの操作により生じる
UDPヘッダチェックサムの変化を修正するためUDP
へッダチェックサムの再計算を行い、UDPへッダのへ
ッダチェックサムを正しい値に変換し、IPへッダ内I
Pアドレス変換部22に処理を渡す。IPへッダ内IP
アドレス変換部22は、IPヘッダ内のソースアドレス
とディステイネーションアドレスをIPアドレス変換定
義ファイル24を元に、該ソースアドレスは管理装置側
の実IPアドレス(101)から変換後IPアドレス
(102)に、該ディスティネーシヨンアドレスは被管
理装置側の変換後IPアドレス(104)から実IPア
ドレス(103)に変換する。
In the lower-order protocol address / checksum converter 17 (FIG. 2), the UDP header checksum converter 21 first converts the UDP header checksum caused by the operation of the SNMP_PDU into a UDP header checksum.
The header checksum is recalculated, the header checksum of the UDP header is converted to a correct value, and the IP header I
The process is passed to the P address conversion unit 22. IP in IP header
The address conversion unit 22 converts the source address and the destination address in the IP header from the real IP address (101) on the management device side and the converted IP address (102) based on the IP address conversion definition file 24. Then, the destination address is converted from the converted IP address (104) on the managed device side to the real IP address (103).

【0035】図10を使用してIPへッダ内IPアドレ
ス変換部22の具体的な変換例を示すと、アドレス情報
変換部16から図15に示すSNMPパケット(ソース
アドレス=10.0.2.1,ディスティネーシヨンア
ドレス=20.168.1.1)を受け取った場合、ソ
ースアドレスを図10のIPアドレス変換定義ファイル
24の実IPアドレス101と比較し、該当の変換後I
Pアドレス102(110.0.2.1)に変換し、デ
ィスティネーションアドレスを同定義ファイル24の変
換後IPアドレス104と比較し、実IPアドレス10
3(192.168.1.1)に変換する。図16に変
換後のパケットを示す。
Referring to FIG. 10, a specific example of the conversion performed by the IP address conversion unit 22 in the IP header will be described. The SNMP packet (source address = 10.0.2) shown in FIG. .1, destination address = 20.168.1.1), the source address is compared with the real IP address 101 of the IP address translation definition file 24 in FIG.
P address 102 (110.0.2.1), the destination address is compared with the translated IP address 104 in the definition file 24, and the real IP address 10
3 (192.168.1.1). FIG. 16 shows the packet after the conversion.

【0036】IPヘッダ内IPアドレス変換部22の処
理が終了すると、IPへッダチェックサム変換部23に
処理が渡される。IPへッダチェックサム変換部23
は、IPへッダ内のIPアドレスを変換したことに伴い
生じたIPへッダチェックサムの変化を修正するため、
IPヘッダのへッダチェックサムの再計算を行い、IP
へッダチェックサムを正しい値に変換し、被管理装置側
下位プロトコル処理部12に処理を渡す。被管理装置側
下位プロトコル処理部12は、該パケットを被管理装置
側に送信する。
When the processing of the IP address conversion unit 22 in the IP header is completed, the processing is passed to the IP header checksum conversion unit 23. IP header checksum converter 23
Is to correct the change in the IP header checksum caused by translating the IP address in the IP header,
Recalculate the header checksum of the IP header,
The header checksum is converted into a correct value, and the process is passed to the managed device side lower protocol processing unit 12. The managed device side lower protocol processing unit 12 transmits the packet to the managed device side.

【0037】〈パターン2〉被管理装置2からSNMP
のPDUの内、GetResponseのPDUが管理装置1に
送出される場合を述べる。アドレス変換装置10に到着
したパケットは、被管理装置側下位プロトコル処理部1
2で受信され、管理プロトコルPDU内アドレス情報変
換部13に処理が渡される。管理プロトコルPDU内ア
ドレス情報変換部13のアドレス変換部16および下位
プロトコルアドレスチェックサム変換部17での処理
は、基本的にパターン1の時と同様である。ただし、管
理情報値内アドレス変換部31と管理情報名内アドレス
変換部32とIPヘッダ内IPアドレス変換部22で
は、パターン1と逆にアドレス変換が行われる。IPへ
ッダチェックサム変換部23は、管理装置側下位プロト
コル処理部11に処理を渡す。管理装置側下位プロトコ
ル処理部11は、該パケットを管理装置側に送信する。
<Pattern 2> SNMP from managed device 2
A case in which a PDU of GetResponse is transmitted to the management device 1 among the PDUs of FIG. The packet arriving at the address translator 10 is sent to the managed device side lower protocol processor 1
2 and is passed to the management protocol PDU address information conversion unit 13. The processing in the address conversion unit 16 and the lower-order protocol address checksum conversion unit 17 of the management protocol PDU address information conversion unit 13 is basically the same as that in the case of pattern 1. However, in the management information value address conversion unit 31, the management information name address conversion unit 32, and the IP header IP address conversion unit 22, the address conversion is performed in reverse to the pattern 1. The IP header checksum conversion unit 23 passes the processing to the management device side lower protocol processing unit 11. The management device-side lower-level protocol processing unit 11 transmits the packet to the management device.

【0038】〈パターン3〉被管理装置2からSNMP
のPDUの内、TrapのPDUが管理装置1に送出され
る場合を述べる。アドレス変換装置10に到着したパケ
ットは、被管理装置側下位プロトコル処理部12で受信
され、管理プロトコルPDU内アドレス情報変換部13
のアドレス情報変換部16に処理が渡される。アドレス
変換部16での処理は、管理情報名内アドレス情報変換
部32までパターン2の時と同様である。管理情報名内
アドレス情報変換部32は、処理をPDU種別判定部3
3に渡す。PDU種別判定部33は、PDUがTrapで
あるためにトラップ送出元アドレス情報変換部38に処
理を渡す。トラップ送出元アドレス変換部38では、図
6に処理フローを示すように、変換を必要かどうか判定
し(ステップ61)、必要である場合、トラップ送出元
アドレス情報変換定義ファイル37を用いて、該PDU
内のトラップ送出元アドレスを被管理装置側の実IPア
ドレス(111)から変換後IPアドレス(112)に
変換を行う(ステップ62)。
<Pattern 3> SNMP from managed device 2
The case where the Trap PDU is sent to the management device 1 among the PDUs will be described. The packet arriving at the address translator 10 is received by the managed device-side lower-level protocol processor 12 and is sent to the address information translator 13 in the management protocol PDU.
The process is passed to the address information conversion unit 16 of FIG. The processing in the address conversion unit 16 is the same as that of the pattern 2 up to the management information name address information conversion unit 32. The management information name-in-address information conversion unit 32 executes the processing in the PDU type determination unit 3
Pass to 3. The PDU type determination unit 33 passes the process to the trap transmission source address information conversion unit 38 because the PDU is Trap. The trap transmission source address conversion unit 38 determines whether or not conversion is necessary (step 61) as shown in the processing flow of FIG. 6, and if necessary, uses the trap transmission source address information conversion definition file 37 to perform the conversion. PDU
Is converted from the real IP address (111) of the managed device to the converted IP address (112) (step 62).

【0039】図11を使用して具体的な変換例を示す
と、被管理装置2から管理装置1へのTrap PDU(ト
ラップ送出元アドレス=30.168.10.5とす
る)がトラップ送出元アドレス変換部38に渡される
と、トラップ送出元アドレス変換部38は、図11のト
ラップ送出元アドレス情報変換定義ファイル37を用い
てトラップ送出元アドレスを実IPアドレス111(3
0.168.10.5)から変換後IPアドレス112
(40.168.10.5)に変換を行う。
Referring to FIG. 11, a specific conversion example will be described. The Trap PDU from the managed device 2 to the management device 1 (assuming the trap source address = 30.168.10.5) is the trap source. When passed to the address conversion unit 38, the trap transmission source address conversion unit 38 uses the trap transmission source address information conversion definition file 37 shown in FIG.
0.168.10.5) to the converted IP address 112
(40.168.10.5).

【0040】トラップ送出元アドレス変換部38は、処
理終了後、ASN.1符号化部39に処理を渡す。AS
N.1符号化部39以降の処理は、パターン2と同様で
ある。
After the end of the processing, the trap transmission source address converter 38 converts the ASN. The process is passed to one encoding unit 39. AS
N. The processing after the one encoding unit 39 is the same as that of the pattern 2.

【0041】以上、本発明の一実施の形態について説明
したが、図1のアドレス情報変換部16及び下位プロト
コルアドレス・チェックサム変換部17の機能は、まと
めてアドレス変換プログラムとして実現可能である。そ
して、該アドレス変換プログラムは、FDもしくはCD
−ROM等の記録媒体にコンピュータで読み取り可能な
形式で記録し、販売することができる。この種の記録媒
体に記録されたアドレス変換プログラムを計算機にイン
ストールすることで、例えば図2および図3に示したよ
うな実施形態での使用が可能になる。
Although the embodiment of the present invention has been described above, the functions of the address information conversion section 16 and the lower-order protocol address / checksum conversion section 17 in FIG. 1 can be realized collectively as an address conversion program. The address conversion program is FD or CD
-It can be recorded on a recording medium such as a ROM in a computer-readable format and sold. By installing the address conversion program recorded on this type of recording medium in a computer, it becomes possible to use the program in the embodiment shown in FIGS. 2 and 3, for example.

【0042】また、本実施の形態では、図13に示すよ
うに管理プロトコルSNMPとし、SNMPの下位プロ
トコルにはUDP/IPが使われるとしたが、管理プロ
トコルとしてはCMIP(Common Management Infor
mation Protocol;共通管理情報プロトコル)など、下
位プロトコル種別及び管理プロトコルのPDU内のアド
レス情報としてTCP/IPやATM(Asynchronous
Transmission Mode;非同期転送モード)やMAC
(Media Access Control:媒体アクセス制御)な
ど、様々なアドレス情報変換に対応可能である。
In this embodiment, the management protocol SNMP is used as shown in FIG. 13, and UDP / IP is used as a lower protocol of the SNMP. However, the management protocol is CMIP (Common Management Information).
For example, TCP / IP or ATM (Asynchronous) is used as address information in a PDU of a lower protocol type and a management protocol such as a mation protocol (common management information protocol).
Transaction Mode (Asynchronous Transfer Mode) and MAC
(Media Access Control: media access control), etc.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
管理プロトコルのPDUにアドレス情報が存在する場合
でも下位プロトコルのパケット中のアドレスの変換に合
わせて管理プロトコルのPDU内のアドレス情報も変換
されるため管理装置が正常に動作し、下位プロトコルの
アドレスが重複している被管理装置が存在する場合でも
アドレス情報変換定義ルールの記述により重複のないよ
うに変換できるため正常に管理が行われる。
As described above, according to the present invention,
Even when the address information is present in the PDU of the management protocol, the address information in the PDU of the management protocol is also converted according to the conversion of the address in the packet of the lower protocol, so that the management device operates normally and the address of the lower protocol is changed. Even if there are duplicate managed devices, the management can be performed normally because the conversion can be performed without duplication by describing the address information conversion definition rule.

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

【図1】本発明の実施形態の機能ブロック図である。FIG. 1 is a functional block diagram of an embodiment of the present invention.

【図2】下位プロトコルアドレス・チェックサム変換処
理部の具体的機能ブロック図である。
FIG. 2 is a specific functional block diagram of a lower-order protocol address / checksum conversion processing unit;

【図3】管理プロトコルPDU内アドレス変換処理部の
具体的機能ブロック図である。
FIG. 3 is a specific functional block diagram of a management protocol PDU address conversion processing unit.

【図4】管理情報値内アドレス変換処理動作のフローチ
ャートである。
FIG. 4 is a flowchart of a management information value in-address conversion operation.

【図5】管理情報名内アドレス変換処理動作のフローチ
ャートである。
FIG. 5 is a flowchart of a management information name address conversion processing operation.

【図6】トラップ送出元アドレス変換処理動作のフロー
チャートである。
FIG. 6 is a flowchart of a trap transmission source address conversion processing operation.

【図7】管理情報値変換定義ファイルの具体例を示す図
である。
FIG. 7 is a diagram showing a specific example of a management information value conversion definition file.

【図8】管理情報名変換定義ファイルの具体例を示す図
である。
FIG. 8 is a diagram showing a specific example of a management information name conversion definition file.

【図9】アドレス情報変換定義ファイルの具体例を示す
図である。
FIG. 9 is a diagram showing a specific example of an address information conversion definition file.

【図10】IPアドレス変換定義ファイルの具体例を示
す図である。
FIG. 10 is a diagram showing a specific example of an IP address conversion definition file.

【図11】トラップ送出元アドレス変換定義ファイルの
具体例を示す図である。
FIG. 11 is a diagram showing a specific example of a trap transmission source address conversion definition file.

【図12】SNMPのネットワーク管理アーキテクチャ
を示す図である。
FIG. 12 is a diagram illustrating an SNMP network management architecture.

【図13】SNMP_PDUのフォーマット例である。FIG. 13 is a format example of SNMP_PDU.

【図14】変換前のSNMPパケットの具体例を示す図
である。
FIG. 14 is a diagram illustrating a specific example of an SNMP packet before conversion.

【図15】SNMP_PDU内アドレス変換後のパケッ
トを示す図である。
FIG. 15 is a diagram showing a packet after the address conversion within the SNMP_PDU.

【図16】下位プロトコル(IP)アドレス変換後のパ
ケットを示す図である。
FIG. 16 is a diagram showing a packet after lower-order protocol (IP) address conversion.

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

1 管理プロトコルによる管理装置 2 管理プロトコルによる被管理装置 10 アドレス変換装置 11 管理装置側下位プロトコル処理部 12 被管理装置側下位プロトコル処理部 13 管理プロトコルPDU内アドレス情報変換部 14 アドレス情報変換定義ルール 15 変換対象定義ルール 16 アドレス情報変換部 17 下位プロトコルアドレス・チェックサム変換部 DESCRIPTION OF SYMBOLS 1 Management device by management protocol 2 Managed device by management protocol 10 Address conversion device 11 Management device side lower protocol processing unit 12 Managed device side lower protocol processing unit 13 Management protocol PDU address information conversion unit 14 Address information conversion definition rule 15 Conversion target definition rule 16 Address information conversion unit 17 Lower protocol address / checksum conversion unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山本 孝男 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (56)参考文献 特開 平10−4407(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 200 G06F 13/00 353 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Takao Yamamoto, inventor, Nippon Telegraph and Telephone Corporation 3-9-1-2 Nishishinjuku, Shinjuku-ku, Tokyo (56) References JP-A-10-4407 (JP, A) ( 58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/28 200 G06F 13/00 353

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 異なるアドレス体系を持つ管理装置と被
管理装置の間に置かれ、下位プロトコルのパケット中の
アドレスとチェックサムを変換する手段を備えたアドレ
ス変換装置において、 前記下位プロトコル上で使用する管理プロトコルのプロ
トコルデータ単位(以下PDUと略す)内のアドレス情
報の存在部位を検索するための変換対象定義ルールと、 前記変換対象定義ルールに基づいて検索されたPDU内
のアドレス情報を変換するためのアドレス情報変換定義
ルールと、 前記変換対象定義ルールと前記アドレス情報変換定義ル
ールとを利用してPDU内のアドレス情報を変換する手
段と、 を備えたことを特徴とするアドレス変換装置。
1. An address translation device which is provided between a management device and a managed device having different address systems and has a means for translating an address and a checksum in a packet of a lower protocol, wherein said address translation device is used on said lower protocol. Conversion target definition rule for searching for a location of address information in a protocol data unit (hereinafter abbreviated as PDU) of a management protocol to be converted, and converting the address information in the PDU searched based on the conversion target definition rule An address conversion device comprising: an address information conversion definition rule for converting address information in a PDU using the conversion target definition rule and the address information conversion definition rule.
【請求項2】 請求項1記載のアドレス変換装置におい
て、管理プロトコルにネットワーク管理の標準プロトコ
ルの一つである簡易ネットワーク管理プロトコル(以下
SNMPと略す)を使用し、 PDU内のアドレス情報変換手段は、SNMP_PDU
の管理情報値内のアドレス情報を変換する手段と、SN
MP_PDUの管理情報名内のアドレス情報を変換する
手段と、PDUの種別を判定する手段と、トラップ送出
元アドレス情報を変換する手段と、SNMP_PDUを
あらかじめ定められた抽象構文記法でテキスト形式に復
号する手段と、前記テキスト形式のSNMP_PDUを
符号化する手段とから構成され、 変換対象定義ルールは管理情報値変換定義ファイルと管
理情報名変換定義ファイルとから構成され、 アドレス情報変換定義ルールはアドレス情報変換定義フ
ァイルとトラップ送出元アドレス情報変換定義ファイル
とから構成される、 ことを特徴とするアドレス変換装置。
2. The address translation device according to claim 1, wherein a simple network management protocol (hereinafter abbreviated as SNMP), which is one of the standard protocols for network management, is used as a management protocol, and the address information conversion means in the PDU includes: , SNMP_PDU
Means for converting address information in the management information value of the
Means for converting the address information in the management information name of the MP_PDU, means for determining the type of the PDU, means for converting the trap source address information, and decoding of the SNMP_PDU into a text format in a predetermined abstract syntax notation Means for encoding the SNMP_PDU in text format, wherein the conversion target definition rule comprises a management information value conversion definition file and a management information name conversion definition file, and the address information conversion definition rule comprises an address information conversion rule. An address translation device comprising a definition file and a trap transmission source address information translation definition file.
【請求項3】 異なるアドレス体系を持つ管理装置と被
管理装置の間の管理プロトコルによる通信を可能にする
ためのアドレス変換プログラムを記録したコンピュータ
読取り可能な記録媒体であって、 下位プロトコルのパケット中のアドレスとチエックサム
を変換する処理プロセスと、 下位プロトコル上で使用する管理プロトコルのプロトコ
ルデータ単位(PDU)内のアドレス情報の存在部位を
検索する処理プロセスと、 前記検索されたPDU内のアドレス情報を変換する処理
プロセスと、を有することを特徴とする記録媒体。
3. A computer-readable recording medium on which an address translation program for enabling communication between a management device having different address systems and a managed device by a management protocol is recorded, wherein A process for converting an address and a checksum of the PDU, a process for searching for a location of address information in a protocol data unit (PDU) of a management protocol used on a lower protocol, and a process for converting the address information in the searched PDU. A conversion process.
【請求項4】 請求項3記載の記録媒体において、管理
プロトコルがSNMPである場合に、SNMP_PDU
の管理情報値内のアドレス情報を変換する処理プロセス
と、SNMP_PDUの管理情報名内のアドレスを変換
する処理プロセスと、PDUの種類を判別する処理プロ
セスと、トラップ送出元アドレス情報を変換する処理プ
ロセスと、SNMP_PDUをテキスト形式に復号する
処理プロセスと、前記テキスト形式のSNMP_PDU
を符号化する処理プロセスとを有することを特徴とする
記録媒体。
4. The recording medium according to claim 3, wherein when the management protocol is SNMP, SNMP_PDU is used.
, A process for converting an address in the management information name of SNMP_PDU, a process for determining the type of PDU, and a process for converting trap source address information And a process for decoding the SNMP_PDU into a text format, and the SNMP_PDU in the text format
And a recording process for encoding the data.
JP34831197A 1997-12-17 1997-12-17 Address translation device and recording medium recording address translation program Expired - Lifetime JP3229265B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34831197A JP3229265B2 (en) 1997-12-17 1997-12-17 Address translation device and recording medium recording address translation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34831197A JP3229265B2 (en) 1997-12-17 1997-12-17 Address translation device and recording medium recording address translation program

Publications (2)

Publication Number Publication Date
JPH11187058A JPH11187058A (en) 1999-07-09
JP3229265B2 true JP3229265B2 (en) 2001-11-19

Family

ID=18396182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34831197A Expired - Lifetime JP3229265B2 (en) 1997-12-17 1997-12-17 Address translation device and recording medium recording address translation program

Country Status (1)

Country Link
JP (1) JP3229265B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3760767B2 (en) 2000-12-21 2006-03-29 株式会社日立製作所 Network management apparatus and network management method
JP2003169070A (en) * 2001-11-30 2003-06-13 Oki Electric Ind Co Ltd Repeated network address conversion system

Also Published As

Publication number Publication date
JPH11187058A (en) 1999-07-09

Similar Documents

Publication Publication Date Title
Case et al. Introduction to community-based SNMPv2
JP3910613B2 (en) Network attached storage SNMP single system image
US6574662B2 (en) System for network-device management including collecting and storing of device attributes that change with time and device attributes that hardly change with time
US8166547B2 (en) Method, apparatus, signals, and medium for managing a transfer of data in a data network
US7512705B2 (en) Truncating data units
JP4509916B2 (en) SNMP-based network management apparatus and method
EP3977300A1 (en) Leveraging remote direct memory access (rdma) for packet capture
KR100716167B1 (en) Network management system and method
CN101202751B (en) System and method for providing SNMP data for virtual networking devices
JP2002190810A (en) Network management system
US20110019590A1 (en) Neighbor discovery using address registration protocol over elmi
CN110572439A (en) cloud monitoring method based on metadata service and virtual forwarding network bridge
JP3229265B2 (en) Address translation device and recording medium recording address translation program
US7293052B1 (en) Method and apparatus for value-based access to network management information
US8055746B2 (en) Method and system for improved management of a communication network by extending the simple network management protocol
US20030055947A1 (en) Address conversion apparatus, monitoring apparatus, and computer-readable medium storing a program thereof
JP2007157160A (en) Method of starting tcp/ip link and traffic alternatively, computer network system, and program storage device
US20030163556A1 (en) Management apparatus, interconnecting device, communication system, program and management method
US7103675B1 (en) Multiplexed request and reply packets
US20030140273A1 (en) Method and apparatus for fault tolerant persistency service on network device
US10313254B1 (en) Network management interface for a network element with network-wide information
JP3619039B2 (en) Network device setting method and network management apparatus
Case et al. RFC1901: Introduction to Community-based SNMPv2
JP2007188298A (en) Snmp agent apparatus
US7370109B1 (en) Hierarchical management of objects

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080907

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080907

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090907

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090907

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120907

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130907

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term