JP3464375B2 - Communication data processing method and network connection device thereof - Google Patents

Communication data processing method and network connection device thereof

Info

Publication number
JP3464375B2
JP3464375B2 JP35808697A JP35808697A JP3464375B2 JP 3464375 B2 JP3464375 B2 JP 3464375B2 JP 35808697 A JP35808697 A JP 35808697A JP 35808697 A JP35808697 A JP 35808697A JP 3464375 B2 JP3464375 B2 JP 3464375B2
Authority
JP
Japan
Prior art keywords
address
relay
routing
inter
data frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35808697A
Other languages
Japanese (ja)
Other versions
JPH11191790A (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.)
THE FURUKAW ELECTRIC CO., LTD.
Original Assignee
THE FURUKAW ELECTRIC CO., 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 THE FURUKAW ELECTRIC CO., LTD. filed Critical THE FURUKAW ELECTRIC CO., LTD.
Priority to JP35808697A priority Critical patent/JP3464375B2/en
Publication of JPH11191790A publication Critical patent/JPH11191790A/en
Application granted granted Critical
Publication of JP3464375B2 publication Critical patent/JP3464375B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、接続された端末装
置や他のネットワーク間接続装置から受信したデータの
宛先アドレスに基づき所定のデータ処理を行って、該デ
ータを中継するネットワーク間接続装置の通信データ処
理方法及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-network connection device that relays the data by performing predetermined data processing based on a destination address of data received from a connected terminal device or another inter-network connection device. The present invention relates to a communication data processing method and its device.

【0002】[0002]

【関連する背景技術】従来、この種の通信データ処理で
は、例えばルータと呼ばれるネットワーク間接続装置
は、自装置内のインターフェースごとに例えばIPアド
レスと、このIPアドレスに対応したMAC(Media Ac
cess Control)アドレスを1つずつ持つとともに、例え
ばRIP(Routing Information Protocol)等の代表的
なプロトコルによって、上記インターフェースに付与さ
れたIPアドレスに対して、ネットワークのルーティン
グ情報を作成し、ルーティングテーブルに記憶させてい
た。そして、ルータは、同一物理ネットワーク内の端末
装置に上記ルーティング情報を送信していた。
2. Related Background Art Conventionally, in this type of communication data processing, for example, an inter-network connection device called a router has an IP address for each interface in its own device and a MAC (Media Acknowledgement) corresponding to this IP address.
cess control) address one by one, and by using a typical protocol such as RIP (Routing Information Protocol), create network routing information for the IP address given to the interface and store it in the routing table. I was letting it. Then, the router has transmitted the routing information to the terminal devices within the same physical network.

【0003】端末装置は、宛先ネットワークアドレス
と、それに対応するネクストホップ(経路を生成したル
ータのIPアドレス)の組からなるルーティングテーブ
ルを作成して保持させ、他のネットワークへ中継すべき
データフレームを送信する場合に、上記テーブルを参照
していた。次に、従来のデータ中継の動作を図11に示
す一般的なネットワークの構成図に基づいて説明する。
図において、ルータ10は、ネットワークAとネットワ
ークB間に接続されており、ネットワークAには、端末
装置(コンピュータ)20が、またネットワークBに
は、端末装置(コンピュータ)21がそれぞれ接続され
ている。端末装置20は、自装置内のルーティングテー
ブルを参照して、宛先ネットワークのネットワークBを
検索して、対応するネクストホップのIPアドレスを取
得し、ARP(Address Resolution Protocol)を用い
て、ARPリクエストパケットと呼ばれるMACアドレ
ス解決要求用のデータフレームを送信する(図中、参
照)。
The terminal device creates and holds a routing table composed of a destination network address and a corresponding next hop (IP address of the router that has generated the route), and stores a data frame to be relayed to another network. The above table was referenced when sending. Next, the operation of the conventional data relay will be described based on the general network configuration diagram shown in FIG.
In the figure, a router 10 is connected between a network A and a network B, a terminal device (computer) 20 is connected to the network A, and a terminal device (computer) 21 is connected to the network B. . The terminal device 20 refers to the routing table in the device itself, searches the network B of the destination network, obtains the IP address of the corresponding next hop, and uses ARP (Address Resolution Protocol) to send the ARP request packet. A data frame for requesting MAC address resolution, which is referred to as "", is transmitted (see in the figure).

【0004】このパケットに応じて、パケット内に示さ
れたIPアドレスを持つルータ10は、ARPレスポン
スパケットを返送する(図中、参照)。このARPレ
スポンスパケットには、上記IPアドレスに対応するM
ACアドレス(例えばIPアドレスを持つインターフェ
ースのMACアドレス)が含まれている。端末装置20
は、受信した上記MACアドレスを宛先アドレスとした
データフレームを作成してルータ10に送信する(図
中、参照)。
In response to this packet, the router 10 having the IP address shown in the packet returns an ARP response packet (see the figure). This ARP response packet contains the M corresponding to the above IP address.
The AC address (for example, the MAC address of the interface having the IP address) is included. Terminal device 20
Creates a data frame with the received MAC address as the destination address and transmits it to the router 10 (see in the figure).

【0005】ルータ10は、受信した上記データフレー
ムが自装置宛か中継用か判断するとともに、上記データ
フレームが中継用の場合には、ルーティング処理を行う
(図中、参照)。そして、ルータ10は、端末装置2
1へのデータフレームを作成して送信していた(図中、
参照)。なお上記において、ルータは、データフレ
ームを受信すると、そのデータフレームの宛先MACア
ドレスが、受信したインターフェースのMACアドレス
又はブロードキャストアドレス又はマルチキャストアド
レスかどうか判断する。そして、上記3つのいずれかの
MACアドレスと合致した場合には、ルータは、宛先I
Pアドレスが、上記フレームを受信したインターフェー
スのIPアドレスかどうかで自装置宛か判断することに
よって、自装置宛でない場合にはルーティング処理を行
い、自装置宛の場合には上位アプリケーションによる処
理を行っていた。
The router 10 determines whether the received data frame is addressed to itself or relayed, and when the data frame is relayed, performs a routing process (see in the figure). Then, the router 10 uses the terminal device 2
The data frame for 1 was created and sent (in the figure,
reference). In the above description, when the router receives a data frame, the router determines whether the destination MAC address of the data frame is the MAC address, broadcast address, or multicast address of the received interface. Then, when the MAC address matches any one of the above three, the router determines that the destination I
By determining whether the P address is the IP address of the own device based on the IP address of the interface that received the frame, the routing process is performed when the P address is not the own device, and the process by the upper application is performed when the P address is addressed. Was there.

【0006】なお、いずれのMACアドレスにも合致し
ない場合には、そのデータフレームを破棄していた。
If none of the MAC addresses match, the data frame is discarded.

【0007】[0007]

【発明が解決しようとする課題】ところが、ルータが処
理するデータフレームのほとんどは、中継用のデータフ
レームであるにもかかわらず、またこのような方法で
は、ルータは受信した全てのデータフレームに対して宛
先MACアドレス及び宛先IPアドレスが自装置宛か否
かの2つの判断を行った後に、ルーティング処理を行う
ので、データ中継に対する効率が悪いという問題点があ
った。すなわち、ルータでは、宛先MACアドレスに対
してはデータリンク層での判断となり、宛先IPアドレ
スに対してはネットワーク層での判断となり、このネッ
トワーク層での判断では、ほとんどのフレームの宛先I
Pアドレスの場合が自装置のインターフェースのIPア
ドレスと合致しないという非効率的な処理を行ってい
た。
However, even though most of the data frames processed by the router are data frames for relaying, in such a method, the router processes all received data frames. Since the routing process is performed after the two determinations as to whether the destination MAC address and the destination IP address are addressed to the own device are made, there is a problem that the efficiency of data relay is poor. That is, in the router, the destination MAC address is determined in the data link layer, and the destination IP address is determined in the network layer. In this determination in the network layer, the destination I of most frames is determined.
Inefficient processing is performed in which the P address does not match the IP address of the interface of the own device.

【0008】本発明は、上記問題点に鑑みなされたもの
で、ルーティングを行うための判断処理を簡略化できる
通信データ処理方法及びその装置を提供することを目的
とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a communication data processing method and apparatus capable of simplifying the determination processing for routing.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、本発明では、自装置用アドレスと各インターフェー
スに対応する中継用アドレスとを有し、受信したデータ
フレームの宛先アドレスが前記中継用アドレスに合致す
るかどうかを判断するとともに、前記宛先アドレスがM
ACアドレスを含む自装置用アドレスまたはブロードキ
ャストアドレスまたはマルチキャストアドレスに合致す
るかどうかをこれらMACアドレスに基づいて判断する
アドレス比較部と、前記データフレームのルーティング
処理を行うルーティング処理部と、前記データフレーム
に対して上位のアプリケーション処理を行う上位アプリ
ケーション部と、各インターフェースから前記データフ
レームを送信する送信処理部とを有する。
In order to achieve the above object, the present invention has an address for own device and a relay address corresponding to each interface, and the destination address of the received data frame is the relay address. And whether the destination address is M
An address comparison unit that determines whether or not it matches an own device address including an AC address, a broadcast address, or a multicast address based on these MAC addresses, a routing processing unit that performs a routing process of the data frame, and a data processing unit On the other hand, it has a higher-order application section that performs higher-order application processing and a transmission processing section that transmits the data frame from each interface.

【0010】すなわち、ルータは、インターフェースに
対して中継用と自装置用の別々のIPアドレスと、これ
に対応するMACアドレスを持ち、データリンク層で受
信したフレームの宛先MACアドレスが中継用か又は自
装置用か判断することで、ルーティングを行うための効
率的な判断処理が可能となる。また、経路情報の交換を
行う際、前記中継用アドレスをネクストホップとして、
前記経路情報を作成し交換することが好ましい。
That is, the router has separate IP addresses for relaying and its own device for the interface and a MAC address corresponding thereto, and whether the destination MAC address of the frame received at the data link layer is for relaying or By determining whether the device is for its own device, it is possible to perform an efficient determination process for performing routing. When exchanging route information, the relay address is used as the next hop,
It is preferable to create and exchange the route information.

【0011】また、自装置用アドレス、前記中継用アド
レスおよび前記宛先アドレスはそれぞれ上位プロトコル
アドレスを含み、経路情報の交換を行う際のネクストホ
ップに用いられる中継用アドレスには、前記上位プロト
コルアドレスが用いられることが好ましい。また、ルー
ティング処理部は、前記中継用アドレスによって自装置
からの送信に用いるインターフェースを特定する処理を
行うことが好ましい。
Further, the own device address, the relay address and the destination address each include a higher protocol address, and the relay address used for the next hop when exchanging the route information is the higher protocol address. It is preferably used. Further, it is preferable that the routing processing unit performs processing for identifying an interface used for transmission from the own device by the relay address.

【0012】また、ルーティング処理部は、自装置から
の送信に用いるインターフェースを特定する処理を、中
継用アドレスとなるMACアドレスによって行う第1の
ルーティング処理部と、中継用アドレスとなる上位プロ
トコルによって行う第2のルーティング処理部とに分か
れていることが好ましい。さらに、端末装置が接続され
ている場合、前記端末装置からのARP要求に対して、
対応する前記中継用アドレスのMACアドレスを返送す
ることが好ましい。
Further, the routing processing unit performs the processing for specifying the interface used for transmission from the own device by the first routing processing unit which performs the MAC address which is the relay address and the upper protocol which is the relay address. It is preferably divided into a second routing processing unit. Furthermore, when the terminal device is connected, in response to the ARP request from the terminal device,
It is preferable to return the MAC address of the corresponding relay address.

【0013】[0013]

【発明の実施の形態】本発明に係る通信データ処理方法
及びその装置を図1乃至図10の図面に基づいて説明す
る。図1は、本発明のデータ通信システムの構成を示す
構成図である。図において、ルータ10(本発明におけ
るネットワーク間接続装置の一例)は、ネットワーク
A,Bと自装置内のインターフェース1,2を介して接
続され、かつATM網4とインターフェース3を介して
接続されている。ネットワークAには、端末装置20
が、ネットワークBには、端末装置21及びルータ30
が、ATM網4には、ルータ40がそれぞれ接続されて
いる。また、ルータ30は、ネットワークCとも接続さ
れ、ネットワークCには、端末装置22が接続されてい
る。さらに、ルータ40は、ネットワークDとも接続さ
れ、ネットワークDには、端末装置23が接続されてい
る。
BEST MODE FOR CARRYING OUT THE INVENTION A communication data processing method and apparatus according to the present invention will be described with reference to the drawings of FIGS. FIG. 1 is a configuration diagram showing a configuration of a data communication system of the present invention. In the figure, a router 10 (an example of an inter-network connection device in the present invention) is connected to networks A and B via interfaces 1 and 2 in its own device, and is also connected to an ATM network 4 via an interface 3. There is. In the network A, the terminal device 20
However, in the network B, the terminal device 21 and the router 30
However, the router 40 is connected to each of the ATM networks 4. The router 30 is also connected to the network C, and the terminal device 22 is connected to the network C. Further, the router 40 is also connected to the network D, and the terminal device 23 is connected to the network D.

【0014】従来、ルータ内のインターフェース(物理
インターフェース)に対して、1つだった上位プロトコ
ルアドレス(例えばIPアドレス)が、本発明の各ルー
タでは、ルーティング用と自装置宛用の2つのアドレス
で別々に設定されるとともに、上記各IPアドレスに対
応した異なるMACアドレスがそれぞれ設定されてい
る。上記ルーティング用IPアドレスは、ルータが生成
するルーティング情報を作成する際に用いられ、これに
よって他のルータ、ネットワークに接続される端末装置
及び自装置のルーティングテーブルのネクストホップ
は、当該ルータの自装置宛用IPアドレスではなく、設
定されたルーティング用IPアドレスとなる。
Conventionally, there is only one upper-layer protocol address (IP address) for the interface (physical interface) in the router, but in each router of the present invention, there are two addresses, one for routing and one for the own device. The MAC addresses are set separately, and different MAC addresses corresponding to the above IP addresses are set respectively. The routing IP address is used when creating the routing information generated by the router, so that the next hop of the routing table of another router, the terminal device connected to the network, and the own device is the own device of the router. It is not the destination IP address but the set routing IP address.

【0015】ここで、例えばルータ10では、インター
フェース1に対して、1つの自装置用IPアドレス「15
8.202.232.1」と2つのルーティング用(中継用)IP
アドレス「158.202.232.2」、「158.202.232.3」がそれ
ぞれ設定されるとともに、これらに対応する自装置用及
びルーティング用のMACアドレス「00:80:BD:F0:00:0
1」、「00:80:BD:F0:00:02」、「00:80:BD:F0:00:03」
がそれぞれ設定されるものとする。この場合、IPアド
レス「158.202.232.2」は、ネットワークAとネットワ
ークB,C間でのデータ中継を可能とするものであり、
IPアドレス「158.202.232.3」は、ネットワークAと
ネットワークD間でのデータ中継を可能とするものであ
る。なお、本実施例では、ネットワークA,B,C,D
のネットワークアドレスをそれぞれ「158.202.0.0」、
「192.52.128.0」、「192.52.121.0」、「202.232.158.
0」としている。
Here, for example, in the router 10, for the interface 1, one own IP address “15” is set.
8.202.232.1 ”and two routing (relay) IPs
Addresses "158.202.232.2" and "158.202.232.3" are set, respectively, and corresponding MAC addresses "00: 80: BD: F0: 00: 0" for own device and routing corresponding to these.
1 '', `` 00: 80: BD: F0: 00: 02 '', `` 00: 80: BD: F0: 00: 03 ''
Shall be set respectively. In this case, the IP address “158.202.232.2” enables data relay between network A and networks B and C,
The IP address “158.202.232.3” enables data relay between the network A and the network D. In this embodiment, the networks A, B, C, D
The network address of each is "158.202.0.0",
`` 192.52.128.0 '', `` 192.52.121.0 '', `` 202.232.158.
0 ”.

【0016】上記データ通信システムにおいて、ルーテ
ィング情報(経路情報)を交換するためのRIPには、
バージョン1とバージョン2が標準として規定されてい
る。このようなRIPデータフレームのフォーマット
は、図2に示すように、MACヘッダ、IPヘッダ、U
DPヘッダ、RIPヘッダ及びルーティング情報の各エ
ントリが格納されるRIPデータの領域から構成されて
おり、このようにRIPのデータに、より上位のヘッダ
をつけることにより、データをエンカプセリングしてい
く。
In the above data communication system, the RIP for exchanging routing information (route information) includes
Version 1 and version 2 are specified as standards. The format of such a RIP data frame is, as shown in FIG. 2, a MAC header, an IP header, and a U header.
It is composed of an area of RIP data in which entries of a DP header, a RIP header and routing information are stored. By thus adding a higher-order header to the RIP data, the data is encapsulated.

【0017】RIPバージョン1の場合、RIPデータ
の領域は、図3に示すように、IPアドレスからなる宛
先アドレスと、メトリックの組から構成され、これら情
報は、ルーティングテーブル作成時の宛先ネットワーク
アドレスとして使用される。また、ルーティングテーブ
ルのネクストホップとしては、そのRIPデータフレー
ムを送信したルータのインターフェースのIPアドレス
を用いるが、これは、上記RIPデータフレームのIP
ヘッダの送信元アドレスフィールドから引用される。従
って、本実施例のインターフェース1に対しては、イン
ターフェース1に設定された各ルーティング用IPアド
レス毎、すなわち送信元IPアドレス「158.202.232.
2」、「158.202.232.3」毎に、別々(2つ)のルーティ
ング情報を生成したフレームを作成し、この各フレーム
を上記インターフェース1に送信することとなる。
In the case of RIP version 1, as shown in FIG. 3, the area of RIP data is composed of a destination address consisting of an IP address and a set of metrics. These pieces of information are used as the destination network address when the routing table is created. used. As the next hop of the routing table, the IP address of the interface of the router that transmitted the RIP data frame is used. This is the IP address of the RIP data frame.
Quoted from the source address field in the header. Therefore, for the interface 1 of the present embodiment, each routing IP address set in the interface 1, that is, the source IP address “158.202.232.
For each "2" and "158.202.232.3", a frame in which separate (two) routing information is generated is created, and each frame is transmitted to the interface 1.

【0018】これに対して、RIPバージョン2の場
合、RIPデータの領域は、図4に示すように、IPア
ドレスからなる宛先アドレスと、マスク情報と、ネクス
トホップ情報と、メトリックの組から構成される。従っ
て、本実施例のインターフェース1に対しては、上記
「158.202.232.2」と「158.202.232.3」のそれぞれのI
Pアドレスを、ネクストホップ情報としたルーティング
情報を作成すれば、RIPバージョン1の場合のように
2つのルーティング情報のRIPデータフレームを作成
する必要がなくなり、インターフェース1への上記フレ
ーム送信が1回で済むという利点がある。
On the other hand, in the case of RIP version 2, as shown in FIG. 4, the RIP data area is composed of a set of a destination address consisting of an IP address, mask information, next hop information, and a metric. It Therefore, for the interface 1 of the present embodiment, the respective I of “158.202.232.2” and “158.202.232.3” described above are used.
If the routing information with the P address as the next hop information is created, it is not necessary to create the RIP data frame of the two routing information as in the case of RIP version 1, and the above frame transmission to the interface 1 can be performed once. It has the advantage of being completed.

【0019】次に、各ルータの通信データ処理装置の概
略構成を説明する。なお、各ルータの通信データ処理装
置の構成は、同一の構成からなるので、ここでは代表し
てルータ10の通信データ処理装置の概略構成を図5に
基づいて説明する。図5において、通信データ処理装置
では、上位アプリケーション部14内のルーティング情
報生成部14aが記憶部13内の上記ルーティング情報
の生成及び送信処理部15を介して他のルータへ上記ル
ーティング情報の送信を行っている。また、例えば端末
装置20との通信の開始においては、従来と同様にイン
ターフェース1〜3に接続される受信処理部11が、I
Pアドレスに対するMACアドレスを解決するための端
末装置20からのARPリクエストパケットを受信処理
しており、上位アプリケーション部14内のARP処理
部14bで作成されるARPレスポンスパケットには、
ルーティング用MACアドレスを用いる。
Next, the schematic configuration of the communication data processing device of each router will be described. Since the communication data processing device of each router has the same structure, a schematic structure of the communication data processing device of the router 10 will be representatively described with reference to FIG. 5, in the communication data processing device, the routing information generation unit 14a in the upper application unit 14 generates the routing information in the storage unit 13 and transmits the routing information to another router via the transmission processing unit 15. Is going. Further, for example, at the start of communication with the terminal device 20, the reception processing unit 11 connected to the interfaces 1 to 3 operates in the same manner as in the conventional case.
The ARP request packet from the terminal device 20 for resolving the MAC address for the P address is received and processed, and the ARP response packet created by the ARP processing unit 14b in the upper application unit 14 includes:
A routing MAC address is used.

【0020】すなわち、例えばイーサネットフレームの
場合、端末装置20は、図6に示すようなフォーマット
のARPリクエストパケットを作成してルータ10に送
信する。なお、図6において、ハードウェア以降の領域
は、上記イーサネットフレームのデータフィールドを示
しており、ハードウェアは、イーサネットを示す固定コ
ード、プロトコルは、IPを示す固定コード、HLEN
は、MACアドレスの長さを示すコード、PLENは、
IPアドレスの長さを示すコード、オペレーションは、
パケットがARPリクエストかARPレスポンスかを示
すコード、センダハードウェアアドレスは、このパケッ
トを送信した装置のMACアドレス、センダインターネ
ットアドレスは、このパケットを送信した装置のIPア
ドレス、ターゲットハードウェアアドレスは、ターゲッ
トとなる装置のMACアドレス、ターゲットインターネ
ットアドレスは、ターゲットとなる装置のIPアドレス
を示している。
That is, for example, in the case of an Ethernet frame, the terminal device 20 creates an ARP request packet of the format as shown in FIG. 6 and sends it to the router 10. In FIG. 6, the area after the hardware indicates the data field of the Ethernet frame, the hardware is a fixed code indicating Ethernet, the protocol is a fixed code indicating IP, and HLEN.
Is a code indicating the length of the MAC address, PLEN is
The code that indicates the length of the IP address and the operation are
A code indicating whether the packet is an ARP request or an ARP response, the sender hardware address is the MAC address of the device that transmitted this packet, the sender internet address is the IP address of the device that transmitted this packet, and the target hardware address is the target The MAC address and target internet address of the target device indicate the IP address of the target device.

【0021】端末装置20は、例えばネットワークB,
C内の端末装置21,22にデータを送りたい場合に
は、図6のARPリクエストパケット中の宛先アドレス
にブロードキャストを示すMACアドレス「FF:FF:FF:F
F:FF:FF」、ターゲットインターネットアドレスにイン
ターフェース1のルーティング用IPアドレス「158.20
2.232.2」を格納したARPリクエストパケットを作成
して送信する。
The terminal device 20 is, for example, a network B,
When it is desired to send data to the terminal devices 21 and 22 in C, the MAC address "FF: FF: FF: F" indicating broadcast is sent to the destination address in the ARP request packet of FIG.
F: FF: FF ", the target Internet address is the routing IP address of interface 1" 158.20 "
Create and send an ARP request packet containing "2.232.2".

【0022】ルータ10では、受信された端末装置20
からのARPリクエストパケットを受信処理部11が受
信処理して、MACアドレス比較部12に出力する。M
ACアドレス比較部12では、上記パケット内の宛先ア
ドレスと、記憶部13内のMACアドレステーブルの各
エントリとを比較しており、上記宛先アドレスがブロー
ドキャストを示すMACアドレスの場合には、上位アプ
リケーション部14へARPリクエストパケットを渡
す。
The router 10 receives the received terminal device 20.
The reception processing unit 11 receives the ARP request packet from and outputs the ARP request packet to the MAC address comparison unit 12. M
The AC address comparison unit 12 compares the destination address in the packet with each entry of the MAC address table in the storage unit 13. If the destination address is a MAC address indicating broadcast, the higher application unit The ARP request packet is passed to 14.

【0023】上位アプリケーション部14のARP処理
部14bでは、記憶部13内のIPアドレステーブルと
MACアドレステーブルのルーティング用エントリを参
照しながら、上記ARPリクエストに対して、IPアド
レス「158.202.232.2」に対応するMACアドレス「00:
80:BD:F0:00:02」をセンダハードウェアアドレスに格納
したARPレスポンスパケットを作成しており、上記A
RPレスポンスパケットは、送信処理部15で送信処理
された後、端末装置20に送信される。
The ARP processing unit 14b of the upper application unit 14 refers to the routing entry of the IP address table and the MAC address table in the storage unit 13 and sets the IP address "158.202.232.2" to the ARP request. Corresponding MAC address "00:
80: BD: F0: 00: 02 ”is stored in the sender hardware address to create an ARP response packet.
The RP response packet is transmitted to the terminal device 20 after being transmitted by the transmission processing unit 15.

【0024】なお、記憶部13は、図7に示すように、
MACアドレステーブル13aと、IPアドレステーブ
ル13bと、宛先パラメータテーブル13cと、ルーテ
ィングテーブル13dとからなっており、各テーブル内
の対応するエントリがそれぞれ関連付けられている。M
ACアドレステーブル13aには、上記ルーティング用
MACアドレス、上記自装置用MACアドレス、「FF:F
F:FF:FF:FF:FF」からなるブロードキャスト用MACア
ドレス、アプリケーションによるマルチキャスト用MA
Cアドレスの各エントリが登録されており、テーブル1
3a内の各エントリは、MACアドレス比較部12が受
信データフレームの宛先MACアドレスと比較する場合
に参照される。なお、テーブル13a内のマルチキャス
ト用エントリが空欄になっているのは、マルチキャスト
フレームのエントリがないことを示している。
The storage unit 13 is, as shown in FIG.
It is composed of a MAC address table 13a, an IP address table 13b, a destination parameter table 13c, and a routing table 13d, and the corresponding entries in each table are associated with each other. M
In the AC address table 13a, the routing MAC address, the own device MAC address, "FF: F
F: FF: FF: FF: FF ”broadcast MAC address, application multicast MA
Each entry of C address is registered, and the table 1
Each entry in 3a is referred to when the MAC address comparison unit 12 compares it with the destination MAC address of the received data frame. The blank entry for the multicast entry in the table 13a indicates that there is no entry for the multicast frame.

【0025】IPアドレステーブル13bには、上記ル
ーティング用MACアドレスに対応する上記IPアドレ
ス、上記自装置用MACアドレスに対応する上記IPア
ドレスが登録されており、テーブル13b内の各エント
リは、ARP処理部14bがARPリクエストパケット
のターゲットインターネットアドレス(IPアドレス)
と比較する場合に参照される。
The IP address corresponding to the routing MAC address and the IP address corresponding to the own MAC address are registered in the IP address table 13b, and each entry in the table 13b is processed by the ARP process. Part 14b is the target internet address (IP address) of the ARP request packet
Referenced when comparing with.

【0026】宛先パラメータテーブル13cには、イン
ターフェースの識別子と、これに対応するパラメータ
(ISDN番号やATMでのバーチャルコネクション番
号などのインターフェースを特定するパラメータ)を組
にしたエントリが登録されており、テーブル13c内の
各エントリは、第1のルーティング処理部16において
参照される。なお、このエントリは、本実施例のよう
に、ルーティング用IPアドレスとの関連付けがなされ
る場合もあるが、基本的にルーティング用IPアドレス
と関係なく、追加や削除を行う場合がある。
In the destination parameter table 13c, an entry in which an interface identifier and a corresponding parameter (a parameter for identifying the interface such as ISDN number or virtual connection number in ATM) are registered is registered. Each entry in 13c is referred to by the first routing processing unit 16. Although this entry may be associated with the routing IP address as in the present embodiment, it may be added or deleted basically regardless of the routing IP address.

【0027】また、ルーティングテーブル13dには、
宛先アドレス(ネットワーク又はホストのアドレス)
と、ネクストホップと、メトリック値などが主要素とし
て登録されており、テーブル13d内の各エントリは、
第2のルーティング処理部17において参照される。こ
のエントリは、従来のルーティングテーブルのエントリ
と同じ意味のものであるが、上記ネクストホップは、自
装置が直接接続されているネットワークA,Bが宛先の
場合には、インターフェースの自装置用IPアドレス
「158.202.232.1」,「192.52.128.1」からなり、また
自装置が直接接続されていないネットワークC,Dの場
合には、インターフェースのルーティング用IPアドレ
ス「192.52.128.2」,「202.232.158.2」からなってい
る。
Further, in the routing table 13d,
Destination address (network or host address)
, Next hop, metric value, etc. are registered as main elements, and each entry in the table 13d is
It is referred to by the second routing processing unit 17. This entry has the same meaning as the entry in the conventional routing table, but the next hop is the IP address for the own device of the interface when the networks A and B to which the own device is directly connected are the destinations. In the case of networks C and D, which consist of "158.202.232.1" and "192.52.128.1", and to which the own device is not directly connected, from the interface routing IP addresses "192.52.128.2" and "202.232.158.2" Has become.

【0028】次に、上記通信データ処理装置におけるデ
ータフレームのデータ処理動作について、図8のフロー
チャートに基づいて説明する。端末装置20は、上記A
RPレスポンスパケットを受信すると、データフレーム
を作成して、ルータ10に送信する。ルータ10では、
インターフェース1を介して受信された上記イーサネッ
トフレームを受信処理部11で受信処理した後、MAC
アドレス比較部12で、データリンク層における上記フ
レームの宛先アドレス(MACアドレス)と、MACア
ドレステーブル13aのルーティング用にエントリされ
ている各MACアドレスとの比較を行う(ステップ10
1)。
Next, the data processing operation of the data frame in the communication data processing device will be described with reference to the flowchart of FIG. The terminal device 20 is A
When receiving the RP response packet, it creates a data frame and sends it to the router 10. In router 10,
After the reception processing unit 11 performs reception processing on the Ethernet frame received via the interface 1, the MAC
The address comparison unit 12 compares the destination address (MAC address) of the frame in the data link layer with each MAC address entered for routing in the MAC address table 13a (step 10).
1).

【0029】ここで、両MACアドレスが合致した場合
には、MACアドレス比較部12は、上記イーサネット
フレームがルーティング用のデータフレームであると判
断し、上記フレームを第1のルーティング処理部16に
渡す。第1のルーティング処理部16は、まず宛先パラ
メータテーブル13cを参照して該当するエントリがあ
るかどうか判断し(ステップ102)、該当エントリが
ある場合には、そのエントリの宛先パラメータ情報にあ
わせて、ルーティング用のデータフレームを作成して送
信処理部15に出力する第1のルーティング処理を行う
(ステップ103)。送信処理部15では、入力するフ
レームに対して送信処理を行い(ステップ104)、所
定のインターフェースを介して上記フレームを中継す
る。
Here, when both MAC addresses match, the MAC address comparison unit 12 determines that the Ethernet frame is a data frame for routing, and passes the frame to the first routing processing unit 16. . The first routing processor 16 first refers to the destination parameter table 13c to determine whether there is a corresponding entry (step 102), and if there is a corresponding entry, according to the destination parameter information of that entry, A first routing process of creating a data frame for routing and outputting it to the transmission processing unit 15 is performed (step 103). The transmission processing unit 15 performs transmission processing on the input frame (step 104) and relays the frame via a predetermined interface.

【0030】また、ステップ102において、宛先パラ
メータテーブル13cのエントリにヒットしない場合に
は、第1のルーティング処理部16は、取り込んだデー
タフレームを第2のルーティング処理部17に渡す。第
2のルーティング処理部17は、ルーティングテーブル
13dを参照しながら、ルーティング用のデータフレー
ムを作成して送信処理部15に出力するルーティング処
理を行う(ステップ105)。
If the entry in the destination parameter table 13c is not hit in step 102, the first routing processing section 16 passes the fetched data frame to the second routing processing section 17. The second routing processing unit 17 performs a routing process of creating a data frame for routing and outputting it to the transmission processing unit 15 with reference to the routing table 13d (step 105).

【0031】また、ステップ101において、受信した
フレーム中の宛先MACアドレスと、MACアドレステ
ーブル13aのルーティング用MACアドレスが合致し
ない場合には、MACアドレス比較部12は、上記宛先
MACアドレスをMACアドレステーブル13aの自装
置用、ブロードキャスト用又はマルチキャスト用にエン
トリされているMACアドレスと比較し(ステップ10
6)、両MACアドレスが合致しない場合には、自装置
宛のデータフレームではないと判断し、廃棄処理部18
に上記フレームを渡して廃棄処理を行う(ステップ10
7)。
If the destination MAC address in the received frame does not match the routing MAC address in the MAC address table 13a in step 101, the MAC address comparison unit 12 determines the destination MAC address as the MAC address table. 13a and the MAC address entered for its own device, broadcast or multicast (step 10
6) If both MAC addresses do not match, it is determined that the data frame is not addressed to the own device, and the discard processing unit 18
The frame is passed to and the discard processing is performed (step 10).
7).

【0032】また、ステップ106において、両MAC
アドレスが合致した場合には、MACアドレス比較部1
2は、上記イーサネットフレームが自装置宛のデータフ
レームと判断し、上位アプリケーション部14に上記フ
レームを渡してネットワーク層におけるデータ処理を行
う(ステップ108)。このように、本実施例では、ル
ータの1つの物理インターフェースに対して中継を行う
ルーティング用と宛先が自装置となる自装置用の複数の
上位プロトコルアドレスを別々に設定し、データ送信に
際して、それぞれの上位プロトコルアドレス(IPアド
レス)に対応した異なるMACアドレスを使用する。す
なわち、ルーティング用IPアドレスは、ルータが生成
するルーティング情報を作成する際に用いられ、これに
より、他ルータ及び自装置の管理用のルーティングテー
ブルのネクストホップは、当該ルータの自装置用IPア
ドレスではなく、ルーティング用IPアドレスとなる。
そして、データフレームの送信を行う際には、上記フレ
ームの宛先MACアドレスを、このルーティング用又は
自装置用としてデータフレームを作成して送信を行うの
で、ルータでは、受信したフレームに対して、データリ
ンク層でMACアドレスの比較を行うことで、上記フレ
ームがルーティング用か又は自装置宛用か判断すること
が可能となり、ルーティングを行うための効率的な判断
処理ができる。
In step 106, both MACs
If the addresses match, the MAC address comparison unit 1
2 determines that the Ethernet frame is a data frame addressed to itself, and passes the frame to the upper application unit 14 to perform data processing in the network layer (step 108). As described above, in this embodiment, a plurality of upper-layer protocol addresses for routing for relaying to one physical interface of the router and for the own device whose destination is the own device are separately set, and when data is transmitted, respectively. A different MAC address corresponding to the upper protocol address (IP address) of is used. That is, the routing IP address is used when creating the routing information generated by the router, whereby the next hop of the routing table for management of other routers and the own device is not the IP address of the own device of the router. Instead, it becomes a routing IP address.
Then, when transmitting the data frame, the destination MAC address of the frame is created and transmitted for this routing or its own device, and therefore the router transmits the data to the received frame. By comparing the MAC addresses in the link layer, it is possible to determine whether the frame is for routing or for its own device, and efficient determination processing for routing can be performed.

【0033】また、本実施例の方法を適用することによ
り、ルータでは、ルーティング機能と管理のためのホス
ト機能を分離することが容易になるため、上記ルーティ
ング機能のハードウェア化などにも対応が可能となる。
なお、本発明に係るルータは、例えば図9に示すよう
に、LANなどの複数のネットワークや専用線に接続さ
れる物理的に複数個のインターフェースを持つもので
も、又は図10に示すように、物理的には1つのインタ
ーフェースしか持たないが、ATM網などの公衆網を介
して複数のルータと接続されることによって論理的に複
数個のインターフェースを持つものでも構成することが
可能である。そして、本発明では、各インターフェース
毎に、ルーティング用と自装置用のIPアドレスとMA
Cアドレスをそれぞれ設定することで、ルーティングを
行うための判断処理を簡略化できる。
Further, by applying the method of this embodiment, it becomes easy for the router to separate the routing function and the host function for management, so that the above-mentioned routing function can be implemented as hardware. It will be possible.
Note that the router according to the present invention may be one having a plurality of physically connected interfaces to a plurality of networks such as LAN or a dedicated line as shown in FIG. 9, or as shown in FIG. Although it physically has only one interface, it can be configured to have a plurality of interfaces logically by being connected to a plurality of routers via a public network such as an ATM network. In the present invention, the IP address for the routing and the own device and the MA for each interface are provided.
By setting each C address, the determination process for routing can be simplified.

【0034】また、本実施例では、IPアドレステーブ
ルのルーティング用IPアドレスと、宛先パラメータテ
ーブルのインターフェースとを関連付けたため、ダイナ
ミックルーティング(動的にルーティング情報が更新さ
れる場合のルーティング)に最適なものである。なお、
本発明は、これに限らず、宛先パラメータテーブルのパ
ラメータに宛先アドレス(ネットワーク又はホスト(ネ
ットワークに接続される端末装置やルータを含む)のI
Pアドレス)を登録し、IPアドレステーブルのルーテ
ィング用IPアドレスと、この宛先アドレスとを関連付
けることも可能である。この場合には、特定のネットワ
ークアドレスとルーティング用IPアドレスとが関連付
けられるため、指定したネットワークへの通信を別個に
扱いたい場合に有効となる。
Further, in this embodiment, since the routing IP address in the IP address table and the interface in the destination parameter table are associated with each other, it is most suitable for dynamic routing (routing when routing information is dynamically updated). Is. In addition,
The present invention is not limited to this, and the destination address (network or host (including a terminal device or router connected to the network) I
It is also possible to register the P address) and associate the routing IP address in the IP address table with this destination address. In this case, a specific network address and a routing IP address are associated with each other, which is effective when it is desired to separately handle communication to a designated network.

【0035】[0035]

【発明の効果】以上説明したように、本発明では、自装
置用アドレスと各インターフェースに対応する中継用ア
ドレスとを有し、受信したデータフレームの宛先アドレ
スが前記中継用アドレスに合致するかどうかの判断と、
前記宛先アドレスがMACアドレスを含む自装置用アド
レスまたはブロードキャストアドレスまたはマルチキャ
ストアドレスに合致するかどうかをこれらMACアドレ
スに基づいて判断するアドレス比較部と、前記データフ
レームのルーティング処理を行うルーティング処理部
と、前記データフレームに対して上位のアプリケーショ
ン処理を行う上位アプリケーション部と、各インターフ
ェースから前記データフレームを送信する送信処理部と
を有し、前記アドレス比較部は、まず受信したデータフ
レームの宛先アドレスが前記中継用アドレスに合致する
かどうかの判断を行った後、必要に応じて前記宛先アド
レスが自装置用アドレスまたはブロードキャストアドレ
スまたはマルチキャストアドレスに合致するかどうかの
判断を行うので、ルーティングを行うための判断処理を
簡略化できる。
As described above, according to the present invention, whether or not the destination address of the received data frame has the address for the device itself and the relay address corresponding to each interface and the address for the relay matches the relay address. Judgment of
An address comparison unit that determines whether or not the destination address matches an own device address including a MAC address, a broadcast address, or a multicast address based on these MAC addresses; and a routing processing unit that performs a routing process for the data frame, It has a higher-order application unit that performs higher-order application processing for the data frame, and a transmission processing unit that transmits the data frame from each interface, and the address comparison unit first determines that the destination address of the received data frame is After determining whether the destination address matches the relay address, it is determined whether the destination address matches the own device address, the broadcast address, or the multicast address, if necessary. Computing can be simplified determination processing for performing.

【0036】また、本発明では、自装置用アドレス、中
継用アドレスおよび宛先アドレスはそれぞれ上位プロト
コルアドレスを含み、経路情報の交換を行う際のネクス
トホップに用いられる中継用アドレスには、前記上位プ
ロトコルアドレスが用いられ、前記中継用アドレスをネ
クストホップとして、前記経路情報を作成し交換するの
で、データリンク層でのルーティング処理が可能とな
る。
Further, according to the present invention, the own device address, the relay address and the destination address each include a higher-layer protocol address, and the relay address used as the next hop when exchanging the route information is the upper-layer protocol address. An address is used, and the route information is created and exchanged using the relay address as the next hop, so that the routing process in the data link layer becomes possible.

【0037】また、本発明では、ルーティング処理部
は、中継用アドレスによって自装置からの送信に用いる
インターフェースを特定する処理を行うので、動的にル
ーティング情報が更新される場合のダイナミックルーテ
ィングに最適なものとなる。また、本発明では、ルーテ
ィング処理部は、自装置からの送信に用いるインターフ
ェースを特定する処理を、中継用アドレスとなるMAC
アドレスによって行う第1のルーティング処理部と、中
継用アドレスとなる上位プロトコルによって行う第2の
ルーティング処理部とに分かれているので、ルーティン
グを行うための効率的な判断処理ができる。
Further, according to the present invention, since the routing processing unit performs the processing for specifying the interface used for transmission from the own device by the relay address, it is suitable for the dynamic routing when the routing information is dynamically updated. Will be things. Further, according to the present invention, the routing processing unit performs the process of specifying the interface used for transmission from the own device by the MAC as the relay address.
Since it is divided into a first routing processing unit that performs an address and a second routing processing unit that performs a higher-level protocol that is a relay address, efficient determination processing for routing can be performed.

【0038】また、本発明では、端末装置が接続されて
いる場合、前記端末装置からのARP要求に対して、対
応する前記中継用アドレスのMACアドレスを返送する
ので、さらにルーティングを行うための判断処理の効率
化が図られる。
Further, according to the present invention, when the terminal device is connected, the MAC address of the corresponding relay address is returned in response to the ARP request from the terminal device. Therefore, the determination for further routing is made. The processing efficiency can be improved.

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

【図1】本発明のデータ通信システムの構成を示す構成
図である。
FIG. 1 is a configuration diagram showing a configuration of a data communication system of the present invention.

【図2】RIPデータフレームのフォーマットの一例を
示す図である。
FIG. 2 is a diagram showing an example of a format of a RIP data frame.

【図3】RIPバージョン1の場合の図2に示したRI
Pデータの領域の構成を示す図である。
FIG. 3 shows the RI shown in FIG. 2 in the case of RIP version 1.
It is a figure which shows the structure of the area | region of P data.

【図4】RIPバージョン2の場合の図2に示したRI
Pデータの領域の構成を示す図である。
FIG. 4 shows the RI shown in FIG. 2 in the case of RIP version 2.
It is a figure which shows the structure of the area | region of P data.

【図5】図1に示したルータの通信データ処理装置の概
略構成を示す構成図である。
5 is a configuration diagram showing a schematic configuration of a communication data processing device of the router shown in FIG.

【図6】ARPリクエストパケットのフォーマットの一
例を示す図である。
FIG. 6 is a diagram showing an example of a format of an ARP request packet.

【図7】図5に示した記憶部のテーブル構成を示す図で
ある。
7 is a diagram showing a table configuration of a storage unit shown in FIG.

【図8】図5に示した通信データ処理装置のデータ処理
動作を説明するためのフローチャートである。
8 is a flowchart for explaining a data processing operation of the communication data processing device shown in FIG.

【図9】図1に示したルータの接続の一例を示す図であ
る。
9 is a diagram showing an example of connection of the routers shown in FIG.

【図10】同じくルータの接続の他例を示す図である。FIG. 10 is a diagram showing another example of router connection in the same manner.

【図11】一般的なネットワークの構成を示す構成図で
ある。
FIG. 11 is a configuration diagram showing a configuration of a general network.

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

10,30,40 ルータ 11 受信処理部 12 MACアドレス比較部 13 記憶部 14 上位アプリケーション部 15 送信処理部 16 第1のルーティング処理部 17 第2のルーティング処理部 18 廃棄処理部 20〜23 端末装置(コンピュータ) A〜D ネットワーク 10, 30, 40 router 11 Reception processing unit 12 MAC address comparison unit 13 Storage 14 Upper application section 15 Transmission processing unit 16 First routing processing unit 17 Second routing processing unit 18 Disposal Department 20-23 Terminal device (computer) AD network

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/66 H04L 12/28 H04L 29/10 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 12/66 H04L 12/28 H04L 29/10

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ネットワーク間接続装置での通信データ
処理方法であって、 前記ネットワーク間接続装置は、MACアドレスをそれ
ぞれ含む自装置用アドレスと各インターフェースに対応
する中継用アドレスとを有し、 データフレームを受信したとき該データフレームの宛先
アドレスが前記中継用アドレスに合致するかどうかの判
断をMACアドレスに基づいて行い、合致する場合は前
記データフレームのルーティング処理を行う第1の手段
と、 中継用アドレスに 合致しない場合は、更に前記宛先アド
レスが自装置用アドレスまたはブロードキャストアドレ
スまたはマルチキャストアドレスに合致するかどうかの
判断をMACアドレスに基づいて行い、いずれかに合致
する場合に前記データフレームについて上位のアプリ
ケーション処理を行う第2の手段と、 上記ブロードキャストアドレスまたはマルチキャストア
ドレスのいずれにも合致しない場合は前記データフレー
ムを破棄する第3の手段とを備えることを特徴とするネ
ットワーク間接続装置での通信データ処理方法。
1. A method for processing communication data in an inter-network connection device, wherein the inter-network connection device assigns a MAC address
And a relay address corresponding to its own device address and the interface including, respectively, based on the determination of whether the destination address of the data frame matches the relay address when receiving the data frame to the MAC address and performs, it intends row routing processing of the data frame if it meets the first means
And the case does not match the relay address performs based further determination of whether the destination address matches the own device address or a broadcast address or a multicast address to the MAC address, the when meet one second means intends row application processing of the upper on the data frame, the broadcast address or multicast a
And a third means for discarding the data frame when the data frame does not match any of the dresses .
【請求項2】 前記ネットワーク間接続装置は、経路情
報の交換を行う際、前記中継用アドレスをネクストホッ
プとして、前記経路情報を作成し交換することを特徴と
する請求項に記載のネットワーク間接続装置での通信
データ処理方法。
Wherein between said network connecting device, when the exchange of routing information, the relay address as the next hop, between networks according to claim 1, characterized in that exchanging create the route information Communication data processing method in connection device.
【請求項3】 前記自装置用アドレス、前記中継用アド
レスおよび前記宛先アドレスはそれぞれ上位プロトコル
アドレスを含み、経路情報の交換を行う際のネクストホ
ップに用いられる中継用アドレスには、上位プロトコル
アドレスが用いられることを特徴とする請求項に記載
のネットワーク間接続装置での通信データ処理方法。
3. The self-device address, the relay address, and the destination address each include a higher-layer protocol address, and a higher-layer protocol address is used as a relay address used as a next hop when exchanging route information. The communication data processing method in the inter-network connecting device according to claim 2 , which is used.
【請求項4】 前記ルーティング処理には、前記中継用
アドレスによって自装置からの送信に用いるインターフ
ェースを特定する処理を含むことを特徴とする請求項1
乃至のいずれかに記載のネットワーク間接続装置での
通信データ処理方法。
4. The routing process includes a process of identifying an interface used for transmission from the own device by the relay address.
4. A communication data processing method in the inter-network connecting device according to any one of 3 to 3 .
【請求項5】 前記中継用アドレスによって自装置から
の送信に用いるインターフェースを特定する処理は、ま
ず中継用MACアドレスによる特定を行い、特定しきれ
なかった場合、中継用上位プロトコルアドレスによる特
定を行うことを特徴とする請求項に記載のネットワー
ク間接続装置での通信データ処理方法。
5. The process of identifying the interface used for transmission from the own device by the relay address, first identifies by the relay MAC address, and if not specified, identifies by the relay upper protocol address. The communication data processing method in the inter-network connection device according to claim 4 , characterized in that.
【請求項6】 前記ネットワーク間接続装置には端末装
置が接続されており、前記ネットワーク間接続装置は、
前記端末装置からのARP要求に対して、対応する中継
用アドレスのMACアドレスを返送することを特徴とす
る請求項1乃至のいずれかに記載のネットワーク間接
続装置での通信データ処理方法。
6. A terminal device is connected to the inter-network connecting device, and the inter-network connecting device comprises:
Communication data processing method in the inter-network connection device according to any one of claims 1 to 5, characterized in that to return the MAC address of the relay address against ARP request, corresponding from the terminal device.
【請求項7】 MACアドレスをそれぞれ含む自装置用
アドレスと各インターフェースに対応する中継用アドレ
スとを有し、 受信したデータフレームの宛先アドレスが前記中継用ア
ドレスに合致するかどうかの判断と、前記宛先アドレス
が自装置用アドレスまたはブロードキャストアドレスま
たはマルチキャストアドレスに合致するかどうかの判断
とを前記MACアドレスに基づいてそれぞれ行うアドレ
ス比較部と、 前記データフレームのルーティング処理を行うルーティ
ング処理部と、 前記データフレームに対して上位のアプリケーション処
理を行う上位アプリケーション部と、 各インターフェースから前記データフレームを送信する
送信処理部とを有し、 前記アドレス比較部は、まず受信したデータフレームの
宛先アドレスが前記中継用アドレスに合致するかどうか
の判断を行った後、必要に応じて前記宛先アドレスが自
装置用アドレスまたはブロードキャストアドレスまたは
マルチキャストアドレスに合致するかどうかの判断を行
制御手段を備えることを特徴とするネットワーク間接
続装置。
7. A determination is made as to whether or not the destination address of the received data frame has a relay address corresponding to each interface and an own device address including a MAC address, and An address comparison unit that respectively determines whether the destination address matches the own device address, a broadcast address, or a multicast address based on the MAC address, a routing processing unit that performs the routing process of the data frame, and the data It has a higher-order application unit that performs higher-order application processing for a frame, and a transmission processing unit that transmits the data frame from each interface, and the address comparison unit first determines the destination address of the received data frame by the relay After determination of whether matches the address, the network characterized in that it comprises a control means for determining the destination address as required whether or not to conform to its own device address or broadcast address or multicast address Inter-connection device.
【請求項8】 経路情報の交換を行う際、前記中継用ア
ドレスをネクストホップとして、前記経路情報を作成し
交換することを特徴とする請求項に記載のネットワー
ク間接続装置。
8. The inter-network connecting device according to claim 7 , wherein when the route information is exchanged, the route information is created and exchanged by using the relay address as a next hop.
【請求項9】 前記自装置用アドレス、前記中継用アド
レスおよび前記宛先アドレスはそれぞれ上位プロトコル
アドレスを含み、経路情報の交換を行う際のネクストホ
ップに用いられる中継用アドレスには、前記上位プロト
コルアドレスが用いられることを特徴とする請求項
記載のネットワーク間接続装置。
9. The own device address, the relay address, and the destination address each include a higher-layer protocol address, and the relay address used as a next hop when exchanging route information includes the higher-layer protocol address. 9. The inter-network connection device according to claim 8 , characterized in that
【請求項10】 前記ルーティング処理部は、前記中継
用アドレスによって自装置からの送信に用いるインター
フェースを特定する処理を行うことを特徴とする請求項
7乃至9のいずれかに記載のネットワーク間接続装置。
10. The routing processing unit performs a process of specifying an interface used for transmission from the own device by the relay address.
The inter-network connection device according to any one of 7 to 9 .
【請求項11】 前記ルーティング処理部は、自装置か
らの送信に用いるインターフェースを特定する処理を、
中継用アドレスとなるMACアドレスによって行う第1
のルーティング処理部と、中継用アドレスとなる上位プ
ロトコルによって行う第2のルーティング処理部とに分
かれていることを特徴とする請求項10に記載のネット
ワーク間接続装置。
11. The routing processing unit performs processing for specifying an interface used for transmission from the own device,
First by using the MAC address that is the relay address
11. The inter-network connecting device according to claim 10 , wherein the routing processing unit is divided into a second routing processing unit and a second routing processing unit that performs a higher-level protocol as a relay address.
【請求項12】 端末装置が接続されている場合、前記
端末装置からのARP要求に対して、対応する前記中継
用アドレスのMACアドレスを返送することを特徴とす
る請求項7乃至9のいずれかに記載のネットワーク間接
続装置。
12. If the terminal device is connected, with respect to an ARP request from the terminal apparatus, any one of claims 7 to 9, characterized in that to return the MAC address of the corresponding relay address The inter-network connection device described in.
JP35808697A 1997-12-25 1997-12-25 Communication data processing method and network connection device thereof Expired - Fee Related JP3464375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35808697A JP3464375B2 (en) 1997-12-25 1997-12-25 Communication data processing method and network connection device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35808697A JP3464375B2 (en) 1997-12-25 1997-12-25 Communication data processing method and network connection device thereof

Publications (2)

Publication Number Publication Date
JPH11191790A JPH11191790A (en) 1999-07-13
JP3464375B2 true JP3464375B2 (en) 2003-11-10

Family

ID=18457474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35808697A Expired - Fee Related JP3464375B2 (en) 1997-12-25 1997-12-25 Communication data processing method and network connection device thereof

Country Status (1)

Country Link
JP (1) JP3464375B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000341312A (en) * 1999-05-26 2000-12-08 Nec Shizuoka Ltd Inter-lan connector
DE19927291A1 (en) 1999-06-15 2000-12-28 Siemens Ag Method and device for transmitting data
DE10119447B4 (en) 2001-04-20 2006-11-02 Siemens Ag Method for communicating data between a local network and an external device and router therefor
JP4696318B2 (en) * 2006-07-04 2011-06-08 株式会社国際電気通信基礎技術研究所 Wireless device and wireless communication network provided with the same

Also Published As

Publication number Publication date
JPH11191790A (en) 1999-07-13

Similar Documents

Publication Publication Date Title
JP2520563B2 (en) Packet switching network
US7260648B2 (en) Extension of address resolution protocol (ARP) for internet protocol (IP) virtual networks
EP1075118B1 (en) Determining an end point of a GRE tunnel
JP4481517B2 (en) Internetwork apparatus and internetwork method
US7860094B2 (en) Multicast routing method and apparatus for routing multicast packet
JP4230663B2 (en) Packet header reduction in wireless communication networks
US5583862A (en) Method and apparatus for routing for virtual networks
JPH08204746A (en) Inter-lan connection router
JP2001230774A (en) Packet converter and packet conversion method
JP2023549797A (en) BIER packet forwarding methods, devices, and systems
JP2001230818A (en) Route server
JP2001111591A (en) Network repeater
JP3113742B2 (en) Internetwork equipment
JP4126856B2 (en) TAG-VLAN ID automatic identification method
US20070133560A1 (en) Method and apparatus for processing packet in high speed router
JP3384319B2 (en) Virtual private network construction system
US20220200820A1 (en) Packet Sending Method and Apparatus
JP2845208B2 (en) Address resolution device
JP3464375B2 (en) Communication data processing method and network connection device thereof
JP2002354006A (en) Network system for duplicate address
JP3228249B2 (en) Router device
JP3376941B2 (en) Router device
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands
Cisco ISO CLNS Commands

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110822

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees