JPH09205455A - Inter-lan connector - Google Patents

Inter-lan connector

Info

Publication number
JPH09205455A
JPH09205455A JP8011242A JP1124296A JPH09205455A JP H09205455 A JPH09205455 A JP H09205455A JP 8011242 A JP8011242 A JP 8011242A JP 1124296 A JP1124296 A JP 1124296A JP H09205455 A JPH09205455 A JP H09205455A
Authority
JP
Japan
Prior art keywords
packet
lan
queue
mac address
destination mac
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8011242A
Other languages
Japanese (ja)
Inventor
Kazuhisa Yamashita
和寿 山下
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP8011242A priority Critical patent/JPH09205455A/en
Publication of JPH09205455A publication Critical patent/JPH09205455A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To utilize a memory effectively by making bridge connection of one or plural conventional LANs to an ELAN in the MAC layer to store multiplexed information of plural LAN groups or the like to one queue. SOLUTION: Upon the receipt of a packet stored temporarily to be sent to an ELAN, an inter-LAN connector has a queue 1 that stores temporarily the packet regardless of difference from destination MAC addresses denoted by the information of the packet and has a comparison means 2 that compares MAC addresses stored in the queue 1 one by one with a destination MAC address when packets relating to the destination MAC address are sent among packets stored temporarily. As the result, packets whose MAC addresses are coincident are sent by a relay means 3. The relay means 3 is connected to the ELAN through a port Pe and to conventional LANs through ports Pr(s), and has a filtering database, in which MAC addresses and their ports are stored.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ATM(Asynchro
nous Transfer Mode)網上に模擬されたLAN(Emulat
ed LAN; 「ELAN」という)を1つの接続先とし、I
EEE 802準拠等の従来型のLANを他の接続先とし、
MAC(Media Access Control)レイヤにおいてこれら
のLAN間をブリッジ接続するLAN間接続装置(LAN
EmulationClient; 「LEC」という)に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM (Asynchro
LAN (Emulat Transfer Mode) simulated on the network
ed LAN; referred to as "ELAN") as one connection destination, and I
A conventional LAN such as EEE 802 is used as another connection destination,
In a MAC (Media Access Control) layer, a LAN-to-LAN connecting device (LAN) that bridges between these LANs
EmulationClient; "LEC").

【0002】[0002]

【従来の技術】ATM網上で、従来型のLANのアクセ
ス機能を、ATM網上で他のMACにつなぐLANエミ
ュレーションサービスを実行するための各要素を、図1
4に示す。ATM網に接続された、LANエミュレーシ
ョンサービスに係わるブリッジをLEC1 ,LEC2
示し、その配下の従来型LANに接続された端末を
1,T2 で示している。
2. Description of the Related Art Each element for executing a LAN emulation service connecting an access function of a conventional LAN on an ATM network to another MAC on the ATM network is shown in FIG.
It is shown in FIG. LEC 1 and LEC 2 indicate the bridges connected to the ATM network and related to the LAN emulation service, and T 1 and T 2 indicate the terminals connected to the conventional LAN under the bridges.

【0003】以下、端末T1 から端末T2 に送信する場
合を想定する。LEC1 は、従来型LANからパケット
を受信すると、自己のフィルタリングデータベースFD
B(IEEE802.1d)を検索して、宛先MACア
ドレス(T2 )に対応する中継先を知ろうとする。しか
し、フィルタリングデータベースFDBに登録されてい
ない場合は、そのパケットをキュー(先入れ先出し型の
バッファのことをいう。)に保留するとともに、LES
(LAN Emulation Server)に、MACアドレスからAT
Mアドレスを問い合わせるリクエストLE−ARP(LE
Address Resolution Protocol)を送信する。LESか
らの応答によりATMアドレスが得られたら、LEC1
は、LEC2 に至るデータダイレクトVCC(VCC; Vir
tual Channel Connection )を確立する。そしてLEC
1 は、キューに一時保留していた端末T2 宛のパケット
を確立されたデータダイレクトVCCに送信し、端末T
2 とデータダイレクトVCCとの関係をフィルタリング
データベースFDBに登録する。このLE−ARPを使
ってデータダイレクトVCCを確立するまで、パケット
を保留してから送信する手順を、この明細書で「A−手
順」という。
Hereinafter, it is assumed that the terminal T 1 transmits to the terminal T 2 . When LEC 1 receives a packet from the conventional LAN, LEC 1 receives its own filtering database FD.
It searches for B (IEEE802.1d) and tries to know the relay destination corresponding to the destination MAC address (T 2 ). However, when the packet is not registered in the filtering database FDB, the packet is held in the queue (which is a first-in first-out buffer) and the LES
AT to (LAN Emulation Server) from MAC address
Request to inquire M address LE-ARP (LE
Send Address Resolution Protocol). When the ATM address is obtained from the response from LES, LEC 1
Leads to LEC 2 Data Direct VCC (VCC; Vir
tual Channel Connection). And LEC
1 transmits a packet addressed to the terminal T 2 temporarily held in the queue to the established data direct VCC,
The relationship between 2 and the data direct VCC is registered in the filtering database FDB. In this specification, a procedure of holding a packet and transmitting it until a data direct VCC is established by using this LE-ARP is referred to as "A-procedure".

【0004】宛先MACアドレスがフィルタリングデー
タベースFDBに登録されていない場合、そのパケット
をキューに保留せずに直ちにBUS(Broadcast/Unknow
n Server)に送信することもできる。この場合でも、L
ESにリクエストLE−ARPを送り、データダイレク
トVCCを確立しようとする。そしてデータダイレクト
VCCが確立すれば、後続のパケットをデータダイレク
トVCCを使って送信する。ただし、データダイレクト
VCCが確立された場合、データダイレクトVCC経由
のパケットがBUS経由のパケットを追い越すことを防
止するため、端末T1 宛のパケットをキューに一時保留
するとともに、BUS経由のパケットの到達をフラッシ
ュプロトコルにより確認する。その後キューに一時保留
した端末T1 宛のパケットをデータダイレクトVCCに
送信する。以後の端末T1 宛のパケットは直ちにデータ
ダイレクトVCCに送信する。この宛先未知のままのパ
ケットをBUSに送信する手順を、この明細書で「B−
手順」という。
If the destination MAC address is not registered in the filtering database FDB, the packet is not held in the queue immediately and BUS (Broadcast / Unknow)
n Server). Even in this case, L
It sends a request LE-ARP to the ES and tries to establish a data direct VCC. When the data direct VCC is established, the subsequent packet is transmitted using the data direct VCC. However, when the data direct VCC is established, in order to prevent the packet via the data direct VCC from overtaking the packet via the BUS, the packet addressed to the terminal T 1 is temporarily held in the queue and the packet via the BUS arrives. Is confirmed by the flash protocol. After that, the packet addressed to the terminal T 1 temporarily held in the queue is transmitted to the data direct VCC. Subsequent packets addressed to the terminal T 1 are immediately transmitted to the data direct VCC. In this specification, the procedure for transmitting the packet whose destination is unknown to the BUS is referred to as "B-
Procedure ”.

【0005】以上の事項は“LAN Emulation on an ATM
Network ”IEEE Communications Magazine, pp.70-85 M
ay 1995 に詳細に説明されている。
The above items are "LAN Emulation on an ATM".
Network ”IEEE Communications Magazine, pp.70-85 M
It is described in detail in ay 1995.

【0006】[0006]

【発明が解決しようとする課題】上に紹介した技術は、
ATM網上で異機種間の相互接続を実現する方式及びイ
ンターフェイス仕様を示すものであり、LECの中のデ
ータの記憶構造にまで言及したものではない。前記A−
手順によれば、LECは、データダイレクトVCCが確
立されるまでの間、受信したパケットを宛先不明のまま
保留しておく必要がある。後続のパケットの中継を進め
るために、保留すべきパケットをキューに入れるのが常
套手段である。この場合、アドレスはMAC単位に探索
されるから、MACごとにキューを構成する必要があ
る。
[Problems to be Solved by the Invention]
It shows a method and interface specifications for realizing interconnection between different models on the ATM network, and does not refer to the data storage structure in the LEC. A-
According to the procedure, the LEC needs to hold the received packet with the destination unknown until the data direct VCC is established. It is conventional to queue the packets to be held in order to proceed with the relaying of subsequent packets. In this case, since the address is searched in MAC units, it is necessary to configure a queue for each MAC.

【0007】前記B−手順においても、LECはフラッ
シュプロトコルを発行し応答を得るまでに受信した同じ
MACアドレスのパケットを保留する必要がある。この
場合も、MACごとにキューを構成する必要がある。L
E−ARPやフラッシュプロトコルを要求してから応答
を得るまでのラウンドトリップ時間、コネクションの確
立に要する時間は目安がつく。実LANの通信速度も決
まっているのでキューイング時間内に受信できるパケッ
ト数の上限 maxpnは、ある程度予測できる。しかし、
パケットのすべてが同一の宛先になるか、異なる宛先に
なるかは予測できない。
Also in the B-procedure, the LEC needs to hold the received packet of the same MAC address before issuing the flush protocol and obtaining a response. Also in this case, it is necessary to configure a queue for each MAC. L
The round-trip time from requesting E-ARP or flash protocol to getting a response, and the time required to establish a connection have a guideline. Since the communication speed of the actual LAN is also fixed, the upper limit maxpn of the number of packets that can be received within the queuing time can be predicted to some extent. But,
It is unpredictable whether all of the packets will have the same or different destinations.

【0008】仮想記憶をサポートするOS上でソフトウ
ェア処理するのであれば、必要に応じて記憶領域を確保
すればよいが、キューを固定的に設けるシステムであれ
ば、最悪のケースを見越して、最大限のキューの容量を
確保しなければならない。したがってメモリの使用効率
が悪くなるという問題がある。そこで、本発明は、AT
M網上に模擬されたLANと、1又は複数の従来型のL
ANとを、MACレイヤにおいてブリッジ接続するよう
にしたLAN間接続装置において、最小限のメモリの容
量で、LANエミュレーションサービスを実行すること
のできるLAN間接続装置を実現することを目的とす
る。
If software processing is performed on an OS that supports virtual memory, a storage area may be secured as necessary, but if a system in which queues are fixed is provided, the maximum case is set in anticipation of the worst case. You have to reserve a limited queue capacity. Therefore, there is a problem that the use efficiency of the memory deteriorates. Therefore, the present invention
LAN simulated on M network and one or more conventional L
It is an object of the present invention to realize an inter-LAN connection device capable of executing a LAN emulation service with a minimum memory capacity in an inter-LAN connection device configured to bridge-connect with an AN in a MAC layer.

【0009】[0009]

【課題を解決するための手段】[Means for Solving the Problems]

(1) 本発明のLAN間接続装置は、模擬されたLANを
通して送信すべきパケットを示す情報及びそのパケット
の宛先MACアドレスを示す情報を、宛先MACアドレ
スの異同にかかわらず共通に一時記憶する先入れ先出し
型の記憶手段と、一つの宛先MACアドレスに係るパケ
ットを模擬されたLANの上に確立されたデータダイレ
クトVCCを通して送信する場合に、送信しようとする
宛先MACアドレスと、前記記憶手段に記憶された宛先
MACアドレスとを比較する比較手段と、比較手段によ
る比較の結果、MACアドレスの一致したパケットを送
信する中継手段とを有するものである(請求項1)。
(1) The LAN-to-LAN connecting device of the present invention stores information indicating a packet to be transmitted through a simulated LAN and information indicating a destination MAC address of the packet in common temporarily regardless of the difference of the destination MAC addresses. Type storage means and a destination MAC address to be transmitted when a packet relating to one destination MAC address is transmitted through the data direct VCC established on the simulated LAN, and the storage means stored in the storage means. It has a comparison means for comparing the destination MAC address and a relay means for transmitting a packet having a matching MAC address as a result of the comparison by the comparison means (claim 1).

【0010】前記の請求項1記載のLAN間接続装置に
よれば、宛先MACアドレスの異同にかかわらず、情報
を先入れ先出し型の記憶手段(以下「キュー」という)
に共通に一時記憶し、送信するときは、送信しようとす
る宛先MACアドレスに対応する情報をサーチする。し
たがって、1つのキューに、複数のMACアドレスに対
応する情報を多重化し記憶させることができるので、メ
モリを有効に使用することができる。
According to the LAN-to-LAN connecting device of the first aspect, information is stored in the first-in first-out type (hereinafter referred to as "queue") regardless of the difference in destination MAC address.
When temporarily transmitting and storing the same, the information corresponding to the destination MAC address to be transmitted is searched. Therefore, since information corresponding to a plurality of MAC addresses can be multiplexed and stored in one queue, the memory can be effectively used.

【0011】図1は、本発明のLAN間接続装置の概念
図であり、LAN間接続装置には、ATM網上に模擬さ
れたLAN(ELAN)と、複数の従来型のLANとが
接続されている。LAN間接続装置は、ELANに送信
するに際し、一時保留すべきパケットを受け取った場合
に、当該パケットを示す情報及びそのパケットの宛先M
ACアドレスを示す情報を、宛先MACアドレスの異同
にかかわらず共通に一時記憶するキュー1と、一時保留
したパケットの中から1つの宛先MACアドレスに係る
パケットを送信する場合に、送信しようとする宛先MA
Cアドレスと、前記キュー1内に記憶された宛先MAC
アドレスとを1つ1つ比較する比較手段2と、比較手段
2による比較の結果、MACアドレスの一致したパケッ
トを送信する中継手段3とを有する。
FIG. 1 is a conceptual diagram of an inter-LAN connecting device of the present invention. A LAN (ELAN) simulated on an ATM network and a plurality of conventional LANs are connected to the inter-LAN connecting device. ing. When the LAN-to-LAN connecting device receives a packet to be temporarily held when transmitting to the ELAN, the information indicating the packet and the destination M of the packet are received.
A queue 1 that temporarily stores information indicating an AC address in common regardless of whether the destination MAC address is the same, and a destination to be transmitted when a packet related to one destination MAC address is transmitted from the temporarily held packets. MA
C address and destination MAC stored in the queue 1
It has a comparison means 2 for comparing the addresses one by one and a relay means 3 for transmitting a packet having a matching MAC address as a result of the comparison by the comparison means 2.

【0012】中継手段3は、ポートpeを通してELA
Nに接続され、ポートprを通して少なくとも1つの従
来型のLAN(イーサネット等)に接続されている。中
継手段3は、IEEE802.1dで定義されるところ
のフィルタリングデータベースFDBを有している。フ
ィルタリングデータベースFDBは、MACアドレス
と、それが接続されているポートを保持する。しかし、
ポートがpeの場合は、特定のダイレクトコネクション
を指示する値DVCIも保持する点と、ポートpeから
受信したパケットによる学習は基本的には行わない点が
通常のフィルタリングデータベースFDBと異なる。
The relay means 3 is connected to the ELA through the port pe.
It is connected to N and is connected to at least one conventional LAN (such as Ethernet) through the port pr. The relay unit 3 has a filtering database FDB defined by IEEE802.1d. The filtering database FDB holds the MAC address and the port to which it is connected. But,
When the port is pe, it is different from the normal filtering database FDB in that it also holds a value DVCI that indicates a specific direct connection, and that learning by a packet received from the port pe is basically not performed.

【0013】キュー1は、図2に示すように先入れ先出
し型のもので、最も古く記憶した領域をリードポインタ
で示し、次に記憶する領域をライトポインタで示してい
る。キュー1は、エンドアドレスの次にスタートアドレ
スが連続するリングバッファを構成している。キュー1
は、ELANに送信すべきパケットを示す情報、例えば
パケットを記憶した領域を示すポインタPDIを記憶す
るパケット領域と、宛先MACアドレスを示す情報、例
えばMACアドレスを記憶した領域を示すポインタMA
Cを記憶するMAC領域とに別れている。
As shown in FIG. 2, the queue 1 is of a first-in first-out type, in which the oldest stored area is indicated by a read pointer, and the area to be stored next is indicated by a write pointer. The queue 1 constitutes a ring buffer in which the start address is continuous after the end address. Queue 1
Is a packet area for storing information indicating a packet to be transmitted to the ELAN, for example, a pointer PDI indicating an area storing the packet, and information indicating a destination MAC address, for example, a pointer MA indicating an area storing the MAC address.
It is separated from the MAC area that stores C.

【0014】キュー1は、図1に示すように、中継手段
3に接続され、中継手段3からリード、ライトされる。
また、キュー1から出力される宛先MACアドレスは、
比較手段2にも供給される。比較手段2は、送信しよう
とする宛先MACアドレスと、前記キュー1内に記憶さ
れた宛先MACアドレスとを1つ1つ比較し、一致した
場合に中継手段3に一致信号を送る。
As shown in FIG. 1, the queue 1 is connected to the relay means 3 and is read and written by the relay means 3.
The destination MAC address output from queue 1 is
It is also supplied to the comparison means 2. The comparing means 2 compares the destination MAC addresses to be transmitted with the destination MAC addresses stored in the queue 1 one by one, and when they match, sends a match signal to the relay means 3.

【0015】以下、A−手順を実行する手順を追って説
明する。中継手段3は送信すべきパケットをポートpr
から受信した場合、フィルタリングデータベースFDB
を検索し中継先を判定する。ここで、宛先MACアドレ
スがフィルタリングデータベースFDBに登録されてい
なかったとすると、当該宛先MACアドレスにつながる
データダイレクトVCCを張ることができないので、中
継手段3は、LESにLE−ARPを送信するととも
に、そのパケットと宛先MACa とをキュー1に送って
記憶させ、その後の中継動作を継続する。
The procedure for executing the A-procedure will be described below. The relay unit 3 sends the packet to be transmitted to the port pr.
Filtering database FDB if received from
To determine the relay destination. Here, if the destination MAC address is not registered in the filtering database FDB, the data direct VCC connected to the destination MAC address cannot be set, and therefore the relay unit 3 transmits LE-ARP to the LES and The packet and the destination MAC a are sent to the queue 1 and stored therein, and the relay operation thereafter is continued.

【0016】中継手段3が、MACa に対するLE−A
RP応答を受信し、データダイレクトVCCa が確立し
た後は、MACa を比較手段2に登録する。比較手段2
は、キュー1のエントリ(記憶内容)を順に調べ、記憶
されたMACが、前記検索しようとするMACa と一致
する場合に、そのパケットをデータダイレクトVCC a
に送信する。キュー1のすべてのエントリを調べ終わる
と当該MACa 、ポートpe及びデータダイレクトVC
a をフィルタリングデータベースFDBに登録する。
ここで、フィルタリングデータベースFDBに登録する
までの間に宛先をMACa とするパケットがキュー1に
残されることのないよう排他的に処理する。以後、宛先
をMACa とするパケットは、データダイレクトVCC
a に直接送信される。
The relay means 3 is a MACaLE-A for
Receives RP response and sends data direct VCCaEstablished
After the MACaIs registered in the comparison means 2. Comparison means 2
Checks the entries (stored contents) of queue 1 in order and stores
The retrieved MAC is the MAC to be searched.aMatches
If the packet is a data direct VCC a
Send to Finish checking all entries in queue 1
And the relevant MACa, Port pe and data direct VC
CaIs registered in the filtering database FDB.
Here, register in the filtering database FDB
The destination is MACaPacket to queue 1
Process exclusively so that it is not left behind. After that, the destination
MACaPacket is a data direct VCC
aSent directly to.

【0017】ここで、キュー1のエントリを順に調べる
手法(デキュー処理という)を解説する。図2(a) に示
すように、MACアドレスを記憶するMAC領域には、
MACアドレスMACa ,MACb ,MACc ,…,M
ACa ,MACe が格納されているものとする。MAC
a のパケットを送信したいとすると、比較手段2は、リ
ードポインタからスキャンを始める。その時点でスキャ
ンしているエントリをスキャンポインタで示し、エント
リを詰め替える場所をリロケートポインタで示す。最初
はスキャンポインタもリロケートポインタもリードポイ
ンタと同一の場所を示す。まず、MACa がヒットする
のでそれを送信する。次に、リードポインタとスキャン
ポインタ、リロケートポインタを1段下にずらし、宛先
MACアドレスの一致不一致を調べる。MACb は一致
しないので、リードポインタは更新しない(以後のスキ
ャンにおいても同じ)。スキャンポインタ、リロケート
ポインタをさらに1段下にずらす。このようにして、1
段ずつ見ていきMACa がヒットするとそれを送信する
とともに、リロケートポインタをその場所に残し、スキ
ャンポインタのみを下にずらす。そしてスキャンポイン
タの指示する位置でエントリが送信されなかった場合、
エントリをリロケートポインタのある位置まで詰め直
し、再びスキャンポインタ、リロケートポインタを1つ
ずつずらしていく。スキャンポインタの指示する位置で
エントリが送信された場合は、リロケートポインタを残
してスキャンポインタのみをずらしていく。このように
してスキャンポインタがライトポインタまで来ると、ス
キャンを終了し、ライトポインタをリロケートポインタ
の指示する位置に戻す(図2(b) 参照)。
Here, a method (referred to as dequeue process) of sequentially checking the entries of the queue 1 will be described. As shown in Fig. 2 (a), the MAC area that stores the MAC address is
MAC address MAC a , MAC b , MAC c , ..., M
It is assumed that AC a and MAC e are stored. MAC
If it is desired to transmit the packet of a , the comparison means 2 starts scanning from the read pointer. The entry being scanned at that time is indicated by the scan pointer, and the location where the entry is refilled is indicated by the relocate pointer. Initially, both the scan pointer and the relocate pointer show the same location as the read pointer. First, since MAC a hits, it is transmitted. Next, the read pointer, the scan pointer, and the relocate pointer are moved down by one step to check whether the destination MAC addresses match. Since the MAC b does not match, the read pointer is not updated (same in subsequent scans). Move the scan pointer and relocate pointer one step further down. Thus, 1
Step by step, when MAC a hits, it is sent, the relocate pointer is left in its place, and only the scan pointer is shifted downward. If the entry is not sent at the position indicated by the scan pointer,
The entries are refilled to the position where the relocate pointer is located, and the scan pointer and the relocate pointer are shifted again by one. When the entry is transmitted at the position indicated by the scan pointer, the relocate pointer remains and only the scan pointer is shifted. When the scan pointer reaches the write pointer in this way, the scan is ended and the write pointer is returned to the position designated by the relocate pointer (see FIG. 2 (b)).

【0018】ただし、キュー1のエントリを順に調べる
手法は、前記に限られるものではない。例えば、MAC
がヒットしそれを送信しても、エントリを詰め替えるこ
とはしないで、データエンプティ「0」を示すフラグを
立てる。次にデータをスキャンするときは、「0」を示
すフラグを飛ばして行う。「0」の数が多くなってき
て、メモリ一杯になると、データの詰め替えを行えばよ
い。この手法によれば、前記のようにほとんどのスキャ
ンごとにエントリの詰め替えをするのと比べて、詰め替
える時間がまとめてとれるので、全体的にみれば時間の
節約となる。
However, the method of sequentially checking the entries of the queue 1 is not limited to the above. For example, MAC
Does not refill the entry even if is hit and is transmitted, a flag indicating data empty "0" is set. The next time data is scanned, the flag indicating "0" is skipped. When the number of "0" s increases and the memory becomes full, the data may be refilled. According to this method, as compared with the case where the entries are refilled for almost every scan as described above, the time for refilling can be gathered together, so that the time is saved as a whole.

【0019】次に、B−手順を実行する手順を追って説
明する。中継手段3は、送信すべきパケットをポートp
rから受信した場合、フィルタリングデータベースFD
Bを検索し中継先を判定する。ここで、宛先MACアド
レスがフィルタリングデータベースFDBに登録されて
いなかったとすると、LESにLE−ARPを送信する
とともに、そのパケットをBUSに送信し、その後の中
継動作を継続する。
Next, the procedure for executing the B-procedure will be described later. The relay unit 3 sends the packet to be transmitted to the port p.
Filtering database FD when received from r
B is searched to determine the relay destination. Here, if the destination MAC address is not registered in the filtering database FDB, the LE-ARP is transmitted to the LES, the packet is transmitted to the BUS, and the relay operation thereafter is continued.

【0020】中継手段3は、LESからLE−ARP応
答を受信し、データダイレクトVCCa を確立した後
は、応答に対するMACアドレスを基にフラッシュプロ
トコルをBUSに送信するとともに、以後そのMACア
ドレスを宛先とするパケットのポインタを、宛先MAC
a のポインタとともにキュー1に記憶させる。中継手段
3は、フラッシュ応答を受信すると、応答に対するMA
Cアドレスを比較手段2に登録する。そして、その後保
留しているキュー1のエントリを順に調べることによ
り、前述したのと同様のデキュー処理を行う。 (2) また、本発明のLAN間接続装置は、従来型の複数
のLANと、模擬された複数のLANとが縦割りでグル
ーピングされ、前記模擬されたいずれかのLANを通し
て送信すべきパケットを示す情報、そのパケットの宛先
MACアドレス及び対応するグループ識別子を示す情報
を、宛先MACアドレスの異同又は当該グループ識別子
の異同にかかわらず共通に一時記憶する先入れ先出し型
の記憶手段と、一つの宛先MACアドレス及びグループ
識別子に係るパケットを模擬されたLANの上に確立さ
れたデータダイレクトVCCを通して送信する場合に、
送信しようとする宛先MACアドレス及びグループ識別
子と、前記記憶手段に記憶された宛先MACアドレス及
びグループ識別子とを比較する比較手段と、比較手段に
よる比較の結果、MACアドレス及びグループ識別子の
一致したパケットを送信する中継手段とを有するもので
ある(請求項2)。
The relay unit 3 receives the LE-ARP response from the LES, after establishing the data direct VCC a is adapted to transmit on the basis of the MAC address flush protocol BUS for the response, the MAC address subsequent destination The packet pointer to be the destination MAC
It is stored in the queue 1 together with the pointer of a. When the relay unit 3 receives the flush response, the MA for the response is received.
The C address is registered in the comparison means 2. After that, the queue 1 entry that is being held is sequentially checked to perform the same dequeue process as that described above. (2) Further, the inter-LAN connecting device of the present invention is configured such that a plurality of conventional LANs and a plurality of simulated LANs are vertically grouped and packets to be transmitted through any one of the simulated LANs. First-in first-out storage means for temporarily storing the information indicating the destination MAC address of the packet and the information indicating the corresponding group identifier regardless of the difference of the destination MAC address or the difference of the group identifier, and one destination MAC address. And a packet related to the group identifier is transmitted through the data direct VCC established on the simulated LAN,
A comparison unit that compares the destination MAC address and the group identifier to be transmitted with the destination MAC address and the group identifier stored in the storage unit, and a packet in which the MAC address and the group identifier match as a result of the comparison by the comparison unit. It has a relay means for transmitting (Claim 2).

【0021】前記請求項2記載のLAN間接続装置が、
請求項1記載のLAN間接続装置と相違するところは、
LECに接続された従来型のLANが複数存在し、模擬
されたLANも複数存在し、これらが縦割りでグルーピ
ングされ、宛先MACアドレスの異同又は当該グループ
識別子の異同にかかわらず共通に記憶する1つのキュー
が設けられていることである。したがって、1つのキュ
ーに、複数のMACアドレス、複数のグループ識別子に
対応する情報を多重化し記憶させることができるので、
メモリを有効に使用することができる。
A LAN-to-LAN connecting device according to claim 2 is
The difference from the LAN connection device according to claim 1 is that
There are a plurality of conventional LANs connected to the LEC and a plurality of simulated LANs, which are grouped vertically and stored in common regardless of whether the destination MAC address is the same or the group identifier is the same 1 That is, there are two cues. Therefore, since information corresponding to a plurality of MAC addresses and a plurality of group identifiers can be multiplexed and stored in one queue,
The memory can be used effectively.

【0022】図3は、複数のELAN及び複数の従来型
LANを、MACレイヤにおいてブリッジ接続するLA
N間接続装置を具体的に示す図である。このように、複
数のLANグループに分け、同じグループに属するLA
N間のみブリッジ接続することは、セキュリティの向上
を図り、無用のトラフィックを遮断するという点で意義
がある。
FIG. 3 shows an LA in which a plurality of ELANs and a plurality of conventional LANs are bridge-connected at the MAC layer.
It is a figure which shows the connection device between N concretely. In this way, LAs that are divided into multiple LAN groups and belong to the same group
The bridge connection only between N is significant in that security is improved and unnecessary traffic is blocked.

【0023】この場合、複数の論理的なブリッジを1つ
のLAN間接続装置によって実現することになる。すで
に説明した単一LAN対応型の構成(請求項1)と違っ
て、従来型のLANに接続されるポートprをいずれか
の論理的なブリッジと対応付け、フィルタリングデータ
ベースFDBも論理的なブリッジごとに分けている。論
理的なブリッジは、ポートpeを通していずれかのEL
ANに個別に接続され、各ELANには、LES,BU
Sが個別に存在する。
In this case, a plurality of logical bridges are realized by one LAN connecting device. Unlike the single LAN-compatible configuration (claim 1) described above, the port pr connected to the conventional LAN is associated with any logical bridge, and the filtering database FDB is also associated with each logical bridge. It is divided into The logical bridge is either EL through port pe
Connected individually to AN, each ELAN has LES, BU
S exists individually.

【0024】そして、キューの記憶項目として、図4に
示すように、ブリッジの識別子(グループ識別子)BD
Iを追加し、比較手段2は、宛先MACアドレスの異同
及び当該グループ識別子の異同を両方とも判定するよう
にする。以下、A−手順を実行する手順を追って説明す
る。中継手段3はパケットをポートprから受信した場
合、ポートprの属するブリッジを特定する。いま、特
定されたブリッジの識別子をBDI1 とする。
As a queue storage item, as shown in FIG. 4, a bridge identifier (group identifier) BD.
I is added, and the comparison unit 2 determines whether the destination MAC address is different or the group identifier is different. The procedure for executing the A-procedure will be described below. When receiving the packet from the port pr, the relay unit 3 specifies the bridge to which the port pr belongs. Now, let the identifier of the identified bridge be BDI 1 .

【0025】中継手段3は、宛先MACアドレスが、識
別子BDI1 のフィルタリングデータベースFDBに登
録されているか否かを調べ、登録されていない場合に
は、LESにLE−ARPを送信するとともに、そのパ
ケットのポインタと宛先MACアドレスを示すポインタ
とBDI1 をキュー1に記憶させ、その後の中継動作を
継続する。
The relay means 3 checks whether or not the destination MAC address is registered in the filtering database FDB of the identifier BDI 1 , and when it is not registered, the LE-ARP is transmitted to the LES and the packet thereof is sent. Of the destination MAC address, the pointer indicating the destination MAC address, and BDI 1 are stored in the queue 1, and the subsequent relay operation is continued.

【0026】中継手段3が、LE−ARP応答を受信し
(いずれのLESからの応答かによって対応するブリッ
ジを特定することができる。そのブリッジの識別子をB
DI 1 とする。)、データダイレクトVCCa が確立し
た後は、当該識別子BDI1及びMACa を比較手段2
に登録する。比較手段2は、キュー1のエントリを順に
調べ、記憶されたMAC及びBDIが、登録された前記
MACa 及びBDI1と一致するか否かを、前述したデ
キュー処理によって調べる。
The relay means 3 receives the LE-ARP response.
(Corresponding block depends on which LES
Can be identified. The bridge identifier is B
DI 1And ), Data Direct VCCaEstablished
After that, the identifier BDI1And MACaComparing means 2
Register with. The comparison means 2 sequentially enters the entries of the queue 1.
Checked and stored MAC and BDI are registered
MACaAnd BDI1Whether or not it matches the above
Check by queue processing.

【0027】一致した場合に、そのパケットをデータダ
イレクトVCCa に送信する。キュー1のすべてのエン
トリを調べ終えると、当該MACa 、ポートpe及びデ
ータダイレクトVCCa をBDI1 に対応するフィルタ
リングデータベースFDBに登録しデキュー処理を終了
する。ここで、フィルタリングデータベースFDBに登
録するまでの間にMACa 、BDI1 のパケットがキュ
ー1に残されることのないよう排他的に処理する。以
後、宛先をMACa とするBDI1 のパケットは、デー
タダイレクトVCCa に直接送信される。
If they match, the packet is transmitted to the data direct VCC a . When all the entries in the queue 1 have been checked, the MAC a , the port pe, and the data direct VCC a are registered in the filtering database FDB corresponding to BDI 1 and the dequeue process ends. Here, exclusive processing is performed so that packets of MAC a and BDI 1 are not left in the queue 1 before being registered in the filtering database FDB. After that, the packet of BDI 1 having the destination as MAC a is directly transmitted to the data direct VCC a .

【0028】以上は、A−手順を実行する手順であった
が、BUSを使うB−手順を実行する場合も容易に類推
できるので、説明は省略する。 (3) また、本発明のLAN間接続装置は、ATM網のコ
ネクション管理やプロトコルの解釈を行うとともにフォ
ワーディング手段に対してデキュー処理を依頼するLE
サービス手段と、模擬されたLANに送信すべきパケッ
ト及びそのパケットの宛先MACアドレスを宛先MAC
アドレスの異同にかかわらず共通に記憶した先入れ先出
し型の記憶手段と、模擬されたLANの上に確立された
データダイレクトVCCを通して送信しようとする宛先
MACアドレスと前記記憶手段に記憶された宛先MAC
アドレスとを比較する比較手段と、フォワーディング手
段とを備え、前記フォワーディング手段は、模擬された
LANあるいは従来型のLANからパケットを受信する
と、当該パケットの宛先MACアドレスから中継先を判
断し、模擬されたLANに中継すべきであるが一時保留
しなければならないパケットを前記先入れ先出し型の記
憶手段に記憶させ、前記LEサービス手段からデキュー
処理の依頼を受けると、前記記憶手段を開いて、送信し
ようとする宛先MACアドレスと、前記記憶手段内に記
憶された宛先MACアドレスとを比較手段に比較させ、
比較の結果、当該宛先MACアドレスに対応するパケッ
トを模擬されたLANに送信するものである(請求項
3)。
Although the above is the procedure for executing the A-procedure, the description thereof will be omitted because it can be easily inferred when the B-procedure using BUS is executed. (3) Further, the inter-LAN connection device of the present invention is an LE that performs connection management of the ATM network and interpretation of the protocol, and requests dequeuing processing to the forwarding means.
The destination MAC of the service means and the packet to be transmitted to the simulated LAN and the destination MAC address of the packet
First-in first-out storage means commonly stored regardless of different addresses, destination MAC address to be transmitted through a data direct VCC established on a simulated LAN, and destination MAC stored in said storage means
When a packet is received from a simulated LAN or a conventional LAN, the forwarding means comprises a comparing means for comparing with an address and a forwarding means, judges a relay destination from the destination MAC address of the packet, and performs the simulation. A packet that should be relayed to a LAN but must be temporarily held is stored in the first-in first-out storage means, and when a request for dequeue processing is received from the LE service means, the storage means is opened and an attempt is made to transmit. The destination MAC address to be compared with the destination MAC address stored in the storage means by the comparison means,
As a result of the comparison, the packet corresponding to the destination MAC address is transmitted to the simulated LAN (claim 3).

【0029】この請求項3記載の構成は、請求項1又は
2記載のLAN間接続装置の中継手段3を、機能別にL
Eサービス手段と、フォワーディング手段とに分けたも
のである。LEサービス手段は、LE−ARP等のプロ
トコルの処理や、ATMコネクションの確立/切断等E
LAN固有の処理を分担する。これらの処理は複雑なの
でCPUによるソフトウェアで実現することが適当であ
る。
According to a third aspect of the present invention, the relay means 3 of the inter-LAN connecting device according to the first or second aspect of the invention is provided with an L function for each function.
It is divided into E service means and forwarding means. The LE service means performs processing of protocols such as LE-ARP and establishment / disconnection of ATM connection E
Responsible for LAN-specific processing. Since these processes are complicated, it is appropriate to implement them by software by the CPU.

【0030】一方、フォワーディング手段は、中継先判
定、パケットの送信、キューの管理、更新等の単純であ
るがスピードを要求される処理を分担するので、ハード
ワイヤードロジックで実現することが最適である。図5
は、LAN間接続装置の具体的な構成を示す図であっ
て、LAN間接続装置は、LEサービス手段3bと、フ
ォワーディング手段3aと、キュー1と、比較手段2と
を有する。
On the other hand, the forwarding means shares simple processing such as relay destination determination, packet transmission, queue management, and update, but requires high speed, so it is optimal to implement it by hard-wired logic. . FIG.
FIG. 4 is a diagram showing a specific configuration of an inter-LAN connecting device, which has an LE service means 3b, a forwarding means 3a, a queue 1, and a comparing means 2.

【0031】フォワーディング手段3aには、従来型の
LANやATM網が接続されており、ATM網にはEL
ANが構成されている。またフォワーディング手段3a
は、フィルタリングデータベースFDBを有し、ATM
網から受信したコネクションによってELANのパケッ
トか、ELAN以外のパケットかを判定する判定手段を
有している。ただし、この判定手段は、フォワーディン
グ手段3aと、LEサービス手段3bとにより共有され
るメモリ上にコネクション識別子でインデックスされる
テーブル(VCテーブル)として実現してもよい。
A conventional LAN or ATM network is connected to the forwarding means 3a, and an EL is connected to the ATM network.
AN is configured. The forwarding means 3a
Has a filtering database FDB, ATM
It has a judging means for judging whether it is an ELAN packet or a packet other than the ELAN depending on the connection received from the network. However, this determination means may be realized as a table (VC table) indexed by the connection identifier on the memory shared by the forwarding means 3a and the LE service means 3b.

【0032】ELAN上のパケットは、中継対象となる
べきデータパケットか、ELANを運営するための制御
パケット(例えばLE−ARP,フラッシュプロトコ
ル)かを識別するLEヘッダを有している。そして、フ
ォワーディング手段3aは、ELANからパケットを受
信すると、LEヘッダによりデータパケットか制御パケ
ットかを識別する識別手段と、受信した制御パケットや
非LANパケットをLEサービス手段3bに転送する転
送手段とを有している。
The packet on the ELAN has a LE header for identifying whether it is a data packet to be relayed or a control packet (eg LE-ARP, flash protocol) for operating the ELAN. When the forwarding means 3a receives a packet from the ELAN, the forwarding means 3a includes an identification means for identifying a data packet or a control packet by the LE header, and a transfer means for transferring the received control packet or non-LAN packet to the LE service means 3b. Have

【0033】キュー1及び比較手段2の構成は、既に説
明したものと同様である。キュー1はフォワーディング
手段3aからリード、ライトでき、LEサービス手段3
bからは少なくともリードできる。キュー1のリードポ
インタ、ライトポインタはフォワーディング手段3aが
有するが、LEサービス手段3bから参照することがで
きる。比較手段2は、比較判定の結果をフォワーディン
グ手段3aに通知する。
The structures of the queue 1 and the comparison means 2 are the same as those already described. The queue 1 can be read and written by the forwarding means 3a, and the LE service means 3
At least you can read from b. The read pointer and the write pointer of the queue 1 are included in the forwarding means 3a, but can be referenced from the LE service means 3b. The comparison means 2 notifies the forwarding means 3a of the result of the comparison determination.

【0034】LEサービス手段3bは、フォワーディン
グ手段3aに対して処理を依頼するインターフェースを
有する。この処理には、MAC、BDI、送信先へのデ
ータダイレクトVCCa を指定した前述のデキュー処
理、キュー1の詰め直し処理、LEサービス手段3bが
作成したコネクション管理のためのパケットやELAN
制御パケットをATM網に送信する処理が含まれる。
The LE service means 3b has an interface for requesting processing to the forwarding means 3a. This process, MAC, BDI, the aforementioned dequeuing specifying the data direct VCC a to the destination, repacking process queue 1, packet and ELAN for connection management LE service means 3b created
The process of transmitting the control packet to the ATM network is included.

【0035】以下、A−手順を実行する手順を追って説
明する。フォワーディング手段3aはパケットをポート
prから受信した場合、フィルタリングデータベースF
DBを検索し中継先を判定する。ここで、宛先MACア
ドレスがフィルタリングデータベースFDBに登録され
ていなかったとすると、当該宛先MACにつながるデー
タダイレクトVCCを張ることができないので、フォワ
ーディング手段3aは、パケットとMACをキュー1に
入れ、中継を継続する。
The procedure for executing the A-procedure will be described below. When the forwarding means 3a receives the packet from the port pr, the filtering database F
The DB is searched to determine the relay destination. Here, if the destination MAC address is not registered in the filtering database FDB, the data direct VCC connected to the destination MAC cannot be established, so the forwarding means 3a puts the packet and the MAC in the queue 1 and continues the relay. To do.

【0036】LEサービス手段3bがキュー1をポーリ
ングするか、フォワーディング手段3aからの割り込み
によってキュー1の非エンプティ状態を知ると、キュー
1の記憶内容を読出し、対応するLE−ARPパケット
を作成し、フォワーディング手段3aへのインターフェ
イスを介してLESに送信する。フォワーディング手段
3aが、LESからLE−ARP応答を受信すると、コ
ネクションの種別によって制御パケットであることを知
り、LEサービス手段3bへ配送する。その後、中継を
継続する。
When the LE service means 3b polls the queue 1 or knows the non-empty state of the queue 1 by an interrupt from the forwarding means 3a, the stored contents of the queue 1 are read out and a corresponding LE-ARP packet is created, Send to the LES via the interface to the forwarding means 3a. When the forwarding means 3a receives the LE-ARP response from the LES, it knows that it is a control packet depending on the type of connection, and delivers it to the LE service means 3b. After that, the relay is continued.

【0037】LEサービス手段3bは、LE−ARP応
答を受け取ると、データダイレクトVCCa を確立す
る。このために使用されるATMコネクションは、VC
テーブルに非ELANコネクションであることを記述し
ておく。これによって、データダイレクトVCCa の確
立のためのパケットは、ATM網とLEサービス手段3
bとの間でフォワーディング手段3aを介してやり取り
することができる。データダイレクトVCCが確立され
た後、LEサービス手段3bは、フォワーディング手段
3aに対して、応答に対するMACa ,VCCa を指定
して、前述したデキュー処理を依頼する。
[0037] LE service means 3b receives the LE-ARP reply, to establish a data direct VCC a. The ATM connection used for this is VC
Describe in the table that it is a non-ELAN connection. Thereby, the packet for the establishment of data direct VCC a is, ATM network and LE service means 3
It is possible to exchange with b through forwarding means 3a. After the data direct VCC is established, the LE service means 3b requests the forwarding means 3a for the above-described dequeue process by designating MAC a and VCC a for the response.

【0038】フォワーディング手段3aは、当該MAC
a を比較手段2に登録し、比較手段2は、キュー1のエ
ントリを順に調べ、記憶されたMACが、登録された前
記MACa と一致するか否かを調べ、一致した場合に、
その一致したパケットをデータダイレクトVCCa に送
る。フォワーディング手段3aは、当該MACa 、ポー
トpr及びデータダイレクトVCCa をフィルタリング
データベースFDBに登録する。以後、宛先をMACa
とするパケットは、データダイレクトVCCaに直接送
信される。
The forwarding means 3a uses the MAC
a is registered in the comparing means 2, and the comparing means 2 sequentially checks the entries of the queue 1, checks whether or not the stored MAC matches the registered MAC a, and when they match,
The matched packet is sent to the data direct VCC a . The forwarding means 3a registers the MAC a , the port pr and the data direct VCC a in the filtering database FDB. After that, the destination is MAC a
Packet is transmitted directly to the data direct VCC a .

【0039】以上は、A−手順を実行する手順であった
が、BUSを使うB−手順を実行する場合も容易に類推
できるので、説明は省略する。
Although the above is the procedure for executing the A-procedure, the description thereof will be omitted because it can be easily analogized when the B-procedure using BUS is executed.

【0040】[0040]

【発明の実施の形態】以下、本発明の実施の形態を、添
付図面を参照しながら詳細に説明する。図6は、本発明
のLAN間接続装置のハードウェア構成を示す図であ
り、LAN間接続装置は、ATM網からのセル受信、パ
ケットへのリアセンブルを行うATM受信コントローラ
11、パケットからセルへのセグメンテーションやAT
M網へのセル送信を行うATM送信コントローラ12、
イーサネットに接続する12個のポートRP1−RP1
2を有し、各イーサネットに対してパケットの送受信を
行うイーサネットコントローラ13、パケット送受信の
管理情報やモジュール間のインターフェイス情報を保持
する制御メモリ14、パケット本体を保持するデータメ
モリ15、LANグループごとにMACアドレスとFD
Bのオフセット FDB OFSの対応づけを行うCAM(コン
テントアドレッサブルメモリ)を制御し、ATM網上に
模擬されたELANを含む同一LANグループ内でのパ
ケットの中継を行うフォワードコントローラ16と、A
TMコネクションの管理やELAN固有のプロトコルを
解釈し、ELANを管理運営するCPU17からなる。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 6 is a diagram showing the hardware configuration of the LAN-to-LAN connecting device of the present invention. The LAN-to-LAN connecting device is an ATM receiving controller 11 for receiving cells from an ATM network and reassembling into packets. Segmentation and AT
ATM transmission controller 12 for transmitting cells to the M network,
Twelve ports RP1-RP1 connecting to Ethernet
2, an Ethernet controller 13 that sends and receives packets to and from each Ethernet, a control memory 14 that holds packet sending and receiving management information and interface information between modules, a data memory 15 that holds the packet body, and a LAN group for each MAC address and FD
A forward controller 16 that controls a CAM (content addressable memory) that correlates the offset FDB OFS of B, and relays a packet within the same LAN group that includes an ELAN simulated on an ATM network;
The CPU 17 manages the TM connection, interprets a protocol unique to the ELAN, and manages and operates the ELAN.

【0041】図7は,制御メモリ14の中に構成され、
各コントローラやCPU17間をインターフェースする
データ構造を表した図である。フォワードコントローラ
16を中心として、ATM送信コントローラ12に送信
を依頼するATM送信キュー12a、逆向きに送信完了
を通知するATM送信完了キュー12b、ATM受信コ
ントローラ11から受信を通知されるATM受信キュー
11a、逆向きの受信に使用できるバッファをプールす
るATMフリーキュー11b、イーサネットコントロー
ラ13との間で、送信を依頼するE送信キュー13a、
送信完了を通知するE送信完了キュー13b、受信に使
用できるバッファをプールするEフリーキュー13c、
受信を通知するE受信キュー13d、CPU17との間
で、ATMまたはイーサネットへの送信依頼やSRキュ
ー17bに配送された受信パケットの開放依頼を通知す
るSCキュー17a、SCキュー17aから送信依頼さ
れたパケットの送信完了通知やELANのデータパケッ
ト以外の受信パケットを配送するためのSRキュー17
b、アドレス解決を依頼するとともにアドレス解決待ち
パケットを保留するためのARキュー17c、コネクシ
ョンのフラッシュを要求するFRキュー17e、フラッ
シュ待ちパケットを保留するためのCWキュー17d、
ダイレクトコネクションの確立を要求するCRキュー1
7fが接続されている。
FIG. 7 shows the configuration of the control memory 14.
It is a figure showing the data structure which interfaces between each controller and CPU17. With the forward controller 16 as the center, an ATM transmission queue 12a for requesting transmission to the ATM transmission controller 12, an ATM transmission completion queue 12b for notifying the completion of transmission in the opposite direction, an ATM reception queue 11a for which reception is notified from the ATM reception controller 11, ATM free queue 11b that pools buffers that can be used for reverse reception, E transmission queue 13a that requests transmission with the Ethernet controller 13,
E transmission completion queue 13b that notifies the completion of transmission, E free queue 13c that pools a buffer that can be used for reception,
E The reception queue 13d for notifying the reception and the CPU 17 are requested to be transmitted from the SC queue 17a and the SC queue 17a for notifying the transmission request to ATM or Ethernet and the release request of the received packet delivered to the SR queue 17b. SR queue 17 for delivering packet transmission completion notifications and receiving packets other than ELAN data packets
b, an AR queue 17c for requesting address resolution and holding an address resolution waiting packet, an FR queue 17e for requesting connection flushing, a CW queue 17d for holding a flush waiting packet,
CR queue 1 requesting the establishment of a direct connection
7f is connected.

【0042】ARキュー17c、CWキュー17d、F
Rキュー17e、CRキュー17fを除き各キューのエ
ントリは基本的にパケットを識別するための識別子 PDI
であるが、本来ディスクリプタに記述すべきステータス
や命令コードなどをエントリに含めてもよい。パケット
の属性は、ATM受信ディスクリプタ11c、ATM送
信ディスクリプタ12c、E送受信ディスクリプタ13
e、CPU通信ディスクリプタ17gに記述する。AT
Mコネクションは識別子 VCIにより、ATM送信コント
ローラ12,ATM受信コントローラ11とインターフ
ェースしている。ATM送信ディスクリプタ12cの内
容は VCI、パケット長、データメモリ15へのポイン
タ、送信完了ステータスなどを含み、ATM受信ディス
クリプタ11cの内容は VCI、パケット長、データメモ
リ15へのポインタ、受信ステータスなどを含む。E送
受信ディスクリプタ13eの内容は送信ポート番号、受
信ポート番号、パケット長、データメモリ15へのポイ
ンタ、送受信完了ステータスなどを含む。CPU通信デ
ィスクリプタ17gは送信依頼、開放依頼、送信完了、
配送などを区別する種別、パケット長、データメモリ1
5へのポインタを含み、さらに送信依頼時の VCIまたは
送信ポート番号、送信完了や配送時のステータスを含
む。
AR queue 17c, CW queue 17d, F
The entries of each queue except the R queue 17e and CR queue 17f are basically identifiers for identifying packets PDI
However, the status or instruction code that should be originally described in the descriptor may be included in the entry. The attributes of the packet are ATM reception descriptor 11c, ATM transmission descriptor 12c, and E transmission / reception descriptor 13.
e, described in the CPU communication descriptor 17g. AT
The M connection interfaces with the ATM transmission controller 12 and the ATM reception controller 11 by the identifier VCI. The contents of the ATM transmission descriptor 12c include VCI, packet length, pointer to data memory 15, transmission completion status, etc., and the contents of ATM reception descriptor 11c include VCI, packet length, pointer to data memory 15, reception status, etc. . The contents of the E transmission / reception descriptor 13e include a transmission port number, a reception port number, a packet length, a pointer to the data memory 15, a transmission / reception completion status, and the like. The CPU communication descriptor 17g sends a transmission request, a release request, a transmission completion,
Type to distinguish delivery, packet length, data memory 1
Includes a pointer to 5, and also includes the VCI or transmission port number at the time of transmission request, the status of transmission completion and delivery.

【0043】図8、図9は、それぞれARキュー17
c、CWキュー17dのエントリの内容を示し、図13
はFRキュー17e、CRキュー17fのエントリの内
容を示す。図10、図11、図12は、それぞれATM
テーブル17h、VCテーブル17i、FDBのエント
リの内容を示す。同一グループに属するLAN間をMA
Cレイヤで接続するのはブリッジであるから、グループ
ごとに論理的なブリッジがあると考えることができる。
このブリッジの識別子を BDIとすると、VCテーブル1
7i、FDBはBDI ごとに構成される。また、各ブリッ
ジはそれぞれ1個のELANに接続する。
8 and 9 show the AR queue 17 respectively.
c, showing the contents of the entry of the CW queue 17d, and FIG.
Indicates the contents of the entries of the FR queue 17e and the CR queue 17f. 10, 11, and 12 are ATMs, respectively.
The contents of entries in the table 17h, the VC table 17i, and the FDB are shown. MA between LANs that belong to the same group
Since it is the bridge that connects at the C layer, it can be considered that there is a logical bridge for each group.
If the identifier of this bridge is BDI, VC table 1
7i and FDB are configured for each BDI. Further, each bridge is connected to one ELAN.

【0044】ARキュー17cのエントリは有効フラグ
V、BDI 、PDI と宛先MACアドレス DA であり、CW
キュー17dは有効フラグ V、BDI 、PDI とFDBのオ
フセット FDB OFSが入る。FRキュー17e、CRキュ
ー17fのエントリはともに同じであり、BDI 、FDB OF
S 、キューイングされた時刻 TIME である。ATMテー
ブル17hは、VCI でインデックスされ、エントリの有
効を表すフラグ V、コネクションがMAC層で中継すべ
きパケットを運ぶものであることを表すフラグT(否定
の場合はCPU17への配送を表す)、ダイレクトコネ
クションを表すフラグ D、BDI 、ATMアドレスインデ
ックス AAI、受信時刻 RX TIMEからなる。VCテーブル
17iは、 BDIごとに AAIでインデックスされ、エント
リの有効を表すフラグ V、VCI 、送信時刻 TX TIME か
らなる。FDBは BDIごとに FDBOFSでインデックスさ
れ、スタティックエントリを表すフラグ S(そうでない
場合はダイナミックエントリを表す)、ELAN側のエ
ントリであることを表すフラグE (否定の場合はイーサ
ネットポート)、保留フラグ Q、イーサポート番号Pま
たはAAI 、エージ値 AGEからなる。
The entry of the AR queue 17c is a valid flag
V, BDI, PDI and destination MAC address DA, CW
Queue 17d contains valid flags V, BDI, PDI and FDB offset FDB OFS. The entries of the FR queue 17e and CR queue 17f are the same, and BDI and FDB OF
S, the time when queued is TIME. The ATM table 17h is indexed by VCI and has a flag V indicating the validity of the entry, a flag T indicating that the connection carries a packet to be relayed at the MAC layer (in the case of negative, indicating delivery to the CPU 17), It consists of flags D and BDI that represent direct connection, ATM address index AAI, and reception time RX TIME. The VC table 17i is indexed by AAI for each BDI, and comprises flags V, VCI indicating the validity of the entry, and the transmission time TX TIME. FDB is indexed by FDBOFS for each BDI, flag S indicating a static entry (if not, it indicates a dynamic entry), flag E indicating that it is an entry on the ELAN side (Ethernet port if negative), pending flag Q , E-support number P or AAI, and age value AGE.

【0045】モジュール間のインターフェースとしては
これらの他、キューへのプットやフル、エンプティ状態
を通知する割込みや、CPU17からフォワードコント
ローラ16に対するキューのデキューなどの処理起動や
そのためのパラメータを設定したり、処理の結果を知る
ためのレジスタインターフェースを有する。前記CAM
にはMACアドレスを与えると、同じMACアドレスを
もつエントリがあることを表すマッチフラグ、マッチし
た場合はそのエントリ番号、マッチしない場合は空であ
るエントリ番号、又はエントリがすべて使用されている
ことを表すフルフラグを返す。なお、エントリ番号にF
DBのエントリサイズを乗じたものが FDB OFSである。
In addition to these, as an interface between modules, an interrupt for notifying a put or full state or an empty state to a queue, starting a process such as dequeuing of a queue from the CPU 17 to the forward controller 16 and setting parameters therefor, It has a register interface for knowing the result of processing. The CAM
If a MAC address is given to, a match flag indicating that there is an entry with the same MAC address, the entry number if there is a match, the entry number that is empty if there is no match, or that all entries are in use Returns the full flag that represents it. Note that the entry number is F
FDB OFS is the product of the DB entry size.

【0046】フォワードコントローラ16は、イーサネ
ットポート番号をインデックスとして BDIを得るための
BDIレジスタファイル、BDI をインデックスとして、属
するイーサネットポートを得るためのポートマップ、LE
CID を得る LECレジスタファイル、BUS への VCIを得る
MPVCIレジスタファイル、ELANから受信したパケッ
トの LECIDにより、制御パケットであることを判定する
制御 LECIDコンパレータ( LECIDの先頭8ビットのオー
ル1を判定)を有する。
The forward controller 16 uses the Ethernet port number as an index to obtain the BDI.
BDI register file, port map to get the Ethernet port to which it belongs, using BDI as an index, LE
LEC register file to get CID, get VCI to BUS
The MPVCI register file has a control LECID comparator (determines all 1's of the first 8 bits of LECID) for determining a control packet based on the LECID of the packet received from the ELAN.

【0047】キューのスタートアドレス、エンドアドレ
ス、リードポインタ、ライトポインタは、ATMフリー
キュー11b、ATM受信キュー11aに関するものを
ATM受信コントローラ11が、ATM送信キュー12
a、ATM送信完了キュー12bに関するものをATM
送信コントローラ12が、E送信キュー13a、E送信
完了キュー13b、Eフリーキュー13c、E受信キュ
ー13dに関するものをイーサネットコントローラ13
が、SCキュー17a、SRキュー17b、ARキュー
17c、CWキュー17d、FRキュー17e、CRキ
ュー17fに関するものをフォワードコントローラ16
が有し、キューにインターフェースする他方のモジュー
ルはそれらの値をリード、ライトできる。エントリをラ
イト/リードした後、ライトポインタ/リードポインタ
をエントリ分インクリメントさせる。リード/ライトポ
インタがエンドアドレスに等しくなれば、インクリメン
トする代わりにスタートアドレスへ戻す。リードポイン
タとライトポインタが等しい場合キューが空で、ライト
ポインタを更新させるとリードポインタに等しくなる場
合フルとみなすことができる。
The start address, end address, read pointer, and write pointer of the queue are those related to the ATM free queue 11b and the ATM receive queue 11a.
a, ATM transmission completion queue 12b related to ATM
The transmission controller 12 uses the Ethernet controller 13 for the items related to the E transmission queue 13a, the E transmission completion queue 13b, the E free queue 13c, and the E reception queue 13d.
However, for the SC queue 17a, the SR queue 17b, the AR queue 17c, the CW queue 17d, the FR queue 17e, and the CR queue 17f, the forward controller 16
And the other module that has an interface to the queue can read and write their values. After writing / reading an entry, the write pointer / read pointer is incremented by the number of entries. If the read / write pointer becomes equal to the end address, it returns to the start address instead of incrementing it. When the read pointer and the write pointer are equal, the queue is empty, and when the write pointer is updated and becomes equal to the read pointer, it can be regarded as full.

【0048】フォワードコントローラ16はARキュー
17cまたはCWキュー17dのスタートアドレス、エ
ンドアドレス、リードポインタ、ライトポインタの値を
それぞれコピーするデキュースタートアドレス、デキュ
ーエンドアドレス、デキューポインタ、デキュー終了ポ
インタを有し、デキューポインタとデキュー終了ポイン
タの一致を判定するデキュー終了コンパレータを有す
る。デキューポインタもデキューエンドアドレスとの一
致によりデキュースタートアドレスに戻る。初期状態で
はフリーキュー以外のキューは空であり、フリーキュー
にはパケットを格納するバッファの識別子を入れてお
く。バッファにパケットが入るとバッファの識別子はパ
ケットの識別子ともなる。ATMテーブル17hには、
BUS からの VCIに対応するエントリをセットする。この
とき、V=1 、T=1 となる。AAI、RX TIME は無意味であ
る。また、LES からの VCIや、コネクション管理などに
使われる VCIに対して V=1、T=0 として登録する。VC
テーブル17iはすべてのエントリを無効にする。CA
MおよびFDBにはブリッジ運用のためのスタティック
エントリのみを登録する。
The forward controller 16 has a dequeue start address, a dequeue end address, a dequeue pointer, and a dequeue end pointer for copying the values of the start address, end address, read pointer, and write pointer of the AR queue 17c or CW queue 17d, respectively. It has a dequeue end comparator that determines whether the dequeue pointer and the dequeue end pointer match. The dequeue pointer also returns to the dequeue start address when it matches the dequeue end address. In the initial state, the queues other than the free queue are empty, and the free queue stores the identifier of the buffer that stores the packet. When a packet enters the buffer, the buffer identifier also serves as the packet identifier. In the ATM table 17h,
Set the entry corresponding to the VCI from BUS. At this time, V = 1 and T = 1. AAI and RX TIME are meaningless. Also, register V = 1 and T = 0 for VCI from LES and VCI used for connection management. VC
Table 17i invalidates all entries. CA
Only static entries for bridge operation are registered in M and FDB.

【0049】次にパケットの送信、受信動作を説明す
る。 (ATM受信)ATM受信コントローラ11は受信した
パケットをATMフリーキュー11bから得たバッファ
に格納し(データ本体はデータメモリ15、受信 VCI、
パケット長、データメモリ15へのポインタはATM受
信ディスクリプタ11cに記述する)、ATM受信キュ
ー11aを通してフォワードコントローラ16に通知す
る。 (イーサネット受信)イーサネットコントローラ13は
受信したパケットをEフリーキュー13cから得たバッ
ファに格納し(データ本体はデータメモリ15、受信ポ
ート番号、パケット長、データメモリ15へのポインタ
はE送受信ディスクリプタ13eに記述する)、E受信
キュー13dを通してフォワードコントローラ16に通
知する。 (ATM送信)フォワードコントローラ16はATM送
信キュー12aを通してATM送信コントローラ12に
送信依頼する。VCI 、パケット長、データメモリ15へ
のポインタはATM送信ディスクリプタ12cに記述さ
れている。ATM送信コントローラ12はパケットを送
信した後、ステータスをATM送信ディスクリプタ12
cに記述し、ATM送信完了キュー12bを通してフォ
ワードコントローラ16に戻す。戻されたパケットは最
終的に解放される(後述)。 (イーサネット送信)フォワードコントローラ16はE
送信キュー13aを通してイーサネットコントローラ1
3に送信依頼する。ポート番号、パケット長、データメ
モリ15へのポインタはE送受信ディスクリプタ13e
に記述されている。イーサネットコントローラ13はパ
ケットを送信した後、ステータスをE送受信ディスクリ
プタ13eに記述し、E送信完了キュー13bを通して
フォワードコントローラ16に戻す。戻されたパケット
は最終的に解放される。 (解放)パケットの由来を調べ、ATM受信の場合はA
TMフリーキュー11bへ、イーサネット受信の場合は
Eフリーキュー13cへ、CPU17からの送信依頼の
場合はSRキュー17bへ識別子を戻す。SRキュー1
7bへ戻す場合はCPU17通信ディスクリプタに送信
完了を記述する。
Next, packet transmission and reception operations will be described. (ATM reception) The ATM reception controller 11 stores the received packet in the buffer obtained from the ATM free queue 11b (the data body is the data memory 15, the reception VCI,
The packet length and the pointer to the data memory 15 are described in the ATM reception descriptor 11c) and the forward controller 16 is notified through the ATM reception queue 11a. (Ethernet reception) The Ethernet controller 13 stores the received packet in the buffer obtained from the E free queue 13c (the data body is the data memory 15, the reception port number, the packet length, and the pointer to the data memory 15 is stored in the E transmission / reception descriptor 13e). (Described), and notifies the forward controller 16 through the E reception queue 13d. (ATM transmission) The forward controller 16 requests the ATM transmission controller 12 for transmission through the ATM transmission queue 12a. The VCI, packet length, and pointer to the data memory 15 are described in the ATM transmission descriptor 12c. After transmitting the packet, the ATM transmission controller 12 changes the status to the ATM transmission descriptor 12
It is described in c and returned to the forward controller 16 through the ATM transmission completion queue 12b. The returned packet is finally released (described later). (Ethernet transmission) Forward controller 16 is E
Ethernet controller 1 through transmission queue 13a
Send to 3 The port number, packet length, and pointer to the data memory 15 are E transmission / reception descriptor 13e.
It is described in. After transmitting the packet, the Ethernet controller 13 describes the status in the E transmission / reception descriptor 13e and returns it to the forward controller 16 through the E transmission completion queue 13b. The returned packet is finally released. (Release) The origin of the packet is checked, and A is received if ATM is received.
The identifier is returned to the TM free queue 11b, to the E free queue 13c for Ethernet reception, and to the SR queue 17b for transmission request from the CPU 17. SR queue 1
When returning to 7b, the transmission completion is described in the CPU17 communication descriptor.

【0050】次に、ELANとイーサネットの中継動作
を説明する。ここでIEEE 802.1d で定義されるポー
ト状態は、フォワーディング状態であることを前提とし
ている。 (イーサネットから宛先未知のユニキャストパケットを
受信した場合、または、宛先がELAN側にあることは
知っているが、ダイレクトコネクションは確立されてい
ない場合)フォワードコントローラ16はE受信キュー
13dから PDIを取出し、E送受信ディスクリプタ13
eからポート番号、パケット長 PBC、データメモリ15
へのポインタ PBUF を得る。フォワードコントローラ1
6はデータメモリ15からDA 、送信元MACアドレス
SA をリードし、BDI (ポート番号からBDI が判明でき
る)のCAMに DA が登録されているかどうか検索す
る。結果としてノーマッチを得る。フォワードコントロ
ーラ16はポートマップから BDIに属するイーサネット
ポートを得、それらのポートの中で受信ポートを除くす
べてのポートに対し送信する。その後、PDI を V=1、BD
I とともにARキュー17cに入れる。SAと受信ポート
番号を BDIのCAMおよびFDB( S=0、E=0 、Q=X 、
P=受信ポート番号、AGE=初期値)に登録する(学習機
能)。
Next, the relay operation between ELAN and Ethernet will be described. Here, the port state defined by IEEE 802.1d is premised on the forwarding state. (When a unicast packet with an unknown destination is received from Ethernet, or when the destination is on the ELAN side but a direct connection has not been established) The forward controller 16 extracts the PDI from the E reception queue 13d. , E transmit / receive descriptor 13
e to port number, packet length PBC, data memory 15
Get pointer PBUF to. Forward controller 1
6 is the DA from the data memory 15, the source MAC address
Read SA and search whether DA is registered in CAM of BDI (BDI can be found from port number). As a result you get no match. The forward controller 16 gets the Ethernet ports belonging to the BDI from the port map and sends them to all of those ports except the receiving port. After that, set PDI to V = 1, BD
Put it in AR queue 17c with I. Set SA and receiving port number to BDI CAM and FDB (S = 0, E = 0, Q = X,
Register to P = receiving port number, AGE = initial value) (learning function).

【0051】CPU17はARキュー17cからエント
リをリードし(リードポインタは不変)、LE-ARPパケッ
トを構成し、SCキュー17aを通してフォワードコン
トローラ16にATM送信依頼する。このとき、CPU
17送信ディスクリプタに記述される VCIは LESへのコ
ネクションを表す。フォワードコントローラ16はAT
M送信コントローラ12に送信を依頼し、完了通知をS
Rキュー17bを通してCPU17へ戻す。フォワード
コントローラ16は LESからの LE-ARP 応答をATM受
信コントローラ11から受けとると、VCからCPUへ
配送すべきパケットであることを知る(LESとのコネ
クションはT=0となっている)ので、SRキュー17
bを通してCPU17へ通知する。
The CPU 17 reads an entry from the AR queue 17c (the read pointer is unchanged), constructs a LE-ARP packet, and requests the forward controller 16 to send ATM through the SC queue 17a. At this time, CPU
17 VCI described in the transmission descriptor represents the connection to LES. Forward controller 16 is AT
Request transmission from the M transmission controller 12 and send a completion notification
It returns to the CPU 17 through the R queue 17b. When the forward controller 16 receives the LE-ARP response from the LES from the ATM receiving controller 11, it knows that it is a packet to be delivered from the VC to the CPU (the connection with the LES is T = 0). Cue 17
Notify the CPU 17 through b.

【0052】CPU17は LE-ARP 応答を解釈し、送信
先 LECのATMアドレス(このインデックスをAAI とす
る)を知る。本実施形態のLAN間接続装置は、トラフ
ィックが低い間はダイレクトコネクションを使用しな
い。CPU17は、フォワードコントローラ16に対
し、BDI 、DA、FDBに登録すべき値(S=0 、E=1 、Q=
0、AAI )を指定してARキュー送信コマンドを起動す
る。
The CPU 17 interprets the LE-ARP response and learns the ATM address of the destination LEC (this index is AAI). The LAN-to-LAN connecting device of this embodiment does not use the direct connection while the traffic is low. The CPU 17 causes the forward controller 16 to register values in BDI, DA, and FDB (S = 0, E = 1, Q =
Specify 0, AAI) to activate the AR queue send command.

【0053】フォワードコントローラ16はARキュー
送信コマンドの処理に入る前にイーサネットから受信し
た宛先未知のパケットを前記同様ARキュー17cに入
れる。CPU17は既に LE-ARP を発行した DA につい
ては何もしないが、そうでない場合は、前記のLE-ARP発
行以降の処理を行う。フォワードコントローラ16は以
下のARキュー送信コマンド処理を行う。ARキュー1
7cのスタートアドレス、エンドアドレス、リードポイ
ンタ、ライトポインタをそれぞれデキュースタートアド
レス、デキューエンドアドレス、デキューポインタ、デ
キュー終了ポインタにコピーする。 (a) デキューポインタとデキュー終了ポインタが一致す
れば、(e) へ進む。 (b) デキューポインタで指示されるARキュー17cの
エントリをリードし、V=0 の場合は、デキューポインタ
とARキュー17cリードポインタをインクリメント
し、(a) に戻る。V=1 で BDI、DAがコマンドパラメータ
の値とともに一致した場合、PDI に対しARキュー共通
処理(後述)を行う。デキューポインタとARキュー1
7cリードポインタをインクリメントし、(a) に戻る。
V=1 で BDIあるいは DA がコマンドパラメータの値と一
致しなかった場合、デキューポインタをインクリメント
する。 (c) デキューポインタとデキュー終了ポインタが一致す
れば、(e) へ進む。 (d) デキューポインタで指示されるARキュー17cの
エントリをリードし、V=0 の場合は、デキューポインタ
をインクリメントし、(c) に戻る。V=1 で BDI、DAがコ
マンドパラメータの値とともに一致した場合、PDI に対
しARキュー共通処理を行う。デキューポインタで指示
されるARキュー17cの Vフラグを0にする。デキュ
ーポインタをインクリメントし、(c) に戻る。V=1 で B
DIあるいはDA がコマンドパラメータの値と一致しなか
った場合、デキューポインタをインクリメントし、(c)
に戻る。 (e) BDI のCAM、FDBに DA 、AAI を S=0、E=1 、
Q=0 とともに登録する。
The forward controller 16 puts into the AR queue 17c the packet with the unknown destination received from the Ethernet before the processing of the AR queue transmission command. The CPU 17 does nothing for the DA that has already issued the LE-ARP, but otherwise executes the processing after the LE-ARP issuance. The forward controller 16 performs the following AR queue transmission command processing. AR cue 1
The start address, end address, read pointer, and write pointer of 7c are copied to the dequeue start address, dequeue end address, dequeue pointer, and dequeue end pointer, respectively. (a) If the dequeue pointer and the dequeue end pointer match, proceed to (e). (b) The entry of the AR queue 17c designated by the dequeue pointer is read. When V = 0, the dequeue pointer and the AR queue 17c read pointer are incremented, and the process returns to (a). If BDI and DA match with the value of the command parameter when V = 1, the AR queue common processing (described later) is performed on PDI. Dequeue pointer and AR queue 1
7c Increment the read pointer and return to (a).
When V = 1 and BDI or DA does not match the command parameter value, the dequeue pointer is incremented. (c) If the dequeue pointer and the dequeue end pointer match, proceed to (e). (d) The entry of the AR queue 17c designated by the dequeue pointer is read. When V = 0, the dequeue pointer is incremented and the process returns to (c). When V = 1 and BDI and DA match with the command parameter value, AR queue common processing is performed on PDI. The V flag of the AR queue 17c designated by the dequeue pointer is set to 0. Increment the dequeue pointer and return to (c). B with V = 1
If DI or DA does not match the command parameter value, dequeue pointer is incremented and (c)
Return to (e) DA and AAI in BDI CAM and FDB S = 0, E = 1,
Register with Q = 0.

【0054】ARキュー共通処理は、まず BDI、AAI を
もとにVCテーブル17iを検索する。V=0 の場合、MP
VCI レジスタファイルから BUSへの VCI MPVCIを得る。
V=1の場合はVCテーブル17iから VCI DVCを得る。
つぎにLEC レジスタファイルから LECIDを得、パケット
データの先頭にLEヘッダとして追加する。最後に、修
正した PBC、PBUFを VCIとともにATM送信ディスクリ
プタ12cに記述し、PDI をATM送信キュー12aに
入れる。これらと並行して、BDI 、FDB OFS 、時刻 TIM
E をCRキュー17fに入れ、ダイレクトコネクション
要求を行う。
In the AR queue common processing, first, the VC table 17i is searched based on BDI and AAI. If V = 0, MP
Get VCI MPVCI from VCI register file to BUS.
When V = 1, VCI DVC is obtained from the VC table 17i.
Next, LECID is obtained from the LEC register file and added as a LE header to the beginning of the packet data. Finally, the modified PBC and PBUF are described in the ATM transmission descriptor 12c together with the VCI, and the PDI is put in the ATM transmission queue 12a. In parallel with these, BDI, FDB OFS, time TIM
Put E in the CR queue 17f and make a direct connection request.

【0055】以上のARキュー送信コマンド処理はフォ
ワードコントローラ16内で中継処理を排他的に行う。 (イーサネットから宛先既知のユニキャストパケットを
受信した場合)フォワードコントローラ16はE受信キ
ュー13dから PDIを取出し、E送受信ディスクリプタ
13eからポート番号、パケット長 PBC、データメモリ
15へのポインタ PBUF を得る。フォワードコントロー
ラ16はデータメモリ15からDA 、送信元MACアド
レス SA をリードし、BDI (ポート番号からBDI が判明
できる)のCAMに DA が登録されているかどうか検索
する。結果としてマッチし、フォワードコントローラ1
6は、マッチしたエントリから FDB OFSを求め、FDB
のエントリをリードする。S=1 であれば PDI をSRキ
ュー17bにプットする。S=0, E=0かつ P=(受信ポー
ト番号)であれば、 PDIを解放する(廃棄)。S=0, E=0
かつ P≠(受信ポート番号)であれば、E送受信ディス
クリプタ13eの送信ポート番号に Pをライトし、PDI
をE送信キュー13aにプットする(イーサネット送
信)。S=0, E=1であれば、FDB からリードされたAAI を
基にARキュー共通処理同様の処理を行う(ELAN送
信)。SAと受信ポート番号を BDIのCAMおよびFDB
( S=0、E=0 、Q=X 、P=受信ポート番号、AGE=初期値)
に登録する(学習機能)。 (ELANからユニキャストパケットを受信した場合)
フォワードコントローラ16はATM受信キュー11a
から PDIを取出し、ATM受信ディスクリプタ11cか
ら受信 VCI RVCI 、パケット長 PBC、データメモリ15
へのポインタ PBUF を得る。 RVCI を基にATMテーブ
ル17hをリードし、V=1, T=1, BDI を得る( T=0の場
合は PDIをSRキュー17bにプットする)。データメ
モリ15からLEヘッダ情報をリードし、他のLECか
らのデータパケットであることを確認する(制御パケッ
トの場合は、 PDIをSRキュー17bにプットする。自
LECからのデータパケットであれば PDIを解放す
る)。
In the above AR queue transmission command processing, relay processing is exclusively performed in the forward controller 16. (When a unicast packet whose destination is known) is received from the Ethernet, the forward controller 16 takes out PDI from the E reception queue 13d and obtains the port number, packet length PBC, and pointer PBUF to the data memory 15 from the E transmission / reception descriptor 13e. The forward controller 16 reads DA and the source MAC address SA from the data memory 15 and searches whether or not DA is registered in the CAM of BDI (BDI can be identified from the port number). Matches as a result, forward controller 1
6 finds FDB OFS from the matched entries,
Read the entry. If S = 1, PDI is put in the SR queue 17b. If S = 0, E = 0 and P = (receive port number), release PDI (discard). S = 0, E = 0
If P ≠ (reception port number), write P to the transmission port number of the E transmission / reception descriptor 13e and write PDI
Is sent to the E transmission queue 13a (Ethernet transmission). If S = 0 and E = 1, the same processing as the AR queue common processing is performed based on the AAI read from the FDB (ELAN transmission). SA and receiving port number in BDI CAM and FDB
(S = 0, E = 0, Q = X, P = receive port number, AGE = initial value)
Register to (learning function). (When receiving unicast packet from ELAN)
The forward controller 16 is the ATM reception queue 11a
PDI is extracted from ATM receive descriptor 11c and received from VCI RVCI, packet length PBC, data memory 15
Get pointer PBUF to. The ATM table 17h is read based on RVCI to obtain V = 1, T = 1, and BDI (when T = 0, PDI is put in the SR queue 17b). The LE header information is read from the data memory 15 and it is confirmed that it is a data packet from another LEC (PDI is put in the SR queue 17b in the case of a control packet. Release).

【0056】PBC, PBUFはLEヘッダを除去するよう修
正する。フォワードコントローラ16はデータメモリ1
5から DA, SA をリードし、 BDIのCAMにDAが登録
されているかどうか調べる。CAMにマツチしなければ
BDIに属するイーサネットポートすべてに送信する。C
AMにマツチすると、フォワードコントローラ16はマ
ッチしたエントリから FDB OFSを求め、 FDBのエントリ
をリードする。S=1 であれば PDI をSRキュー17b
にプットする。S=0, E=0であれば、E送受信ディスクリ
プタ13eの送信ポート番号に Pをライトし、PDI をE
送信キュー13aにプットする。S=0, E=1であれば、 P
DIを解放する(廃棄)。
PBC and PBUF are modified to remove the LE header. The forward controller 16 is the data memory 1
Read DA and SA from 5 and check whether DA is registered in CAM of BDI. I have to match the CAM
Send to all Ethernet ports belonging to BDI. C
When matching to AM, the forward controller 16 obtains FDB OFS from the matched entry and reads the FDB entry. If S = 1, the PDI is SR queue 17b
Put. If S = 0 and E = 0, write P to the transmission port number of the E transmission / reception descriptor 13e and set PDI to E.
Put in the transmission queue 13a. If S = 0, E = 1, P
Release DI (discard).

【0057】ARキュー17cにエントリが入り、LE
−ARP要求を発行しても宛先がイーサネット側にあっ
た場合、LE−ARP応答はタイムアウトする。この場
合、イーサネット側にはパケットを転送しているので、
宛先からの応答によって学習している可能性が高い。C
PU17は、LE−ARP応答がタイムアウトしたと
き、CAMを検索し、宛先が学習されている場合は、 B
DI, DAを指定して、ARキューフラッシュコマンド(後
述)をフォワードコントローラ16に対し起動する。学
習されていない場合は、BUSに送信するため、 BDI,
DA、ARキューBUS送信コマンド(後述)をフォワー
ドコントローラ16に対し起動する。
An entry enters the AR queue 17c and LE
-If the destination is on the Ethernet side even after issuing the ARP request, the LE-ARP response times out. In this case, since the packet is transferred to the Ethernet side,
It is highly possible that you are learning by the response from the destination. C
PU17 searches the CAM when the LE-ARP response times out, and if the destination is learned, B
By designating DI and DA, an AR queue flush command (described later) is activated to the forward controller 16. If it has not been learned, it will be sent to BUS.
A DA and AR queue BUS transmission command (described later) is activated to the forward controller 16.

【0058】ARキューフラッシュコマンド処理は、A
Rキュー共通処理に代えてその PDIの解放処理を行うこ
とと、 CAM, FDB に登録しないことを除き、ARキュー
送信コマンド処理と同じである。ARキューBUS送信
コマンド処理は、ARキュー共通処理でVCテーブルを
引く代わりにV=0が得られたとみなすことと、 CAM,
FDB に登録しないことを除き、ARキュー送信コマンド
処理と同じである。 (ダイレクトコネクションを確立するときの動作)CP
U17はCRキュー17fにより、BDI 、FDB OFS ごと
のトラフィックを監視し、ダイレクトコネクションに切
替える決断をする。FDBの内容から宛先LECのATM
アドレスを知り、シグナリングプロトコルによってダイ
レクトコネクションを確立する。このためには、LE-ARP
同様、SCキュー17a経由のATM送信依頼と、SR
キュー17b経由(ATMテーブル17hでは受信VCI
がCPU17配送タイプになっている)の応答受信を行
う。CPU17はダイレクトコネクション DVCを確立し
た後、FDBの Qフラグをセットする。そして、AAIと
DVCの対応をATMテーブル17hとVCテーブル17
iに記述する。BDI 、FDB OFS で指示されるCAMから
MACアドレス MACを得、BUS 経由のコネクションに対
し、フラッシュプロトコルを行う。フラッシュ要求と応
答は LE-ARP 同様のキューを通る。CPU17はフラッ
シュプロトコルに対する応答を受け取ると、フォワード
コントローラ16に対し、BDI 、FDB OFS をパラメータ
としてCWキュー送信コマンドを起動する。
The AR queue flush command process is A
This is the same as the AR queue send command processing, except that the PDI release processing is performed instead of the R queue common processing and that it is not registered in the CAM or FDB. AR queue BUS transmission command processing considers that V = 0 is obtained instead of pulling the VC table in the AR queue common processing, and CAM,
This is the same as the AR queue transmission command processing except that it is not registered in the FDB. (Operation when establishing a direct connection) CP
U17 monitors traffic for each BDI and FDB OFS by the CR queue 17f, and decides to switch to the direct connection. ATM of destination LEC from contents of FDB
Know the address and establish a direct connection by signaling protocol. For this, LE-ARP
Similarly, an ATM transmission request via the SC queue 17a and SR
Via queue 17b (reception VCI in ATM table 17h
Is the CPU 17 delivery type). After establishing the direct connection DVC, the CPU 17 sets the Q flag of FDB. And with AAI
The correspondence of DVC is ATM table 17h and VC table 17
i. The MAC address MAC is obtained from the CAM specified by BDI and FDB OFS, and the flash protocol is performed for the connection via BUS. Flush requests and replies go through a queue similar to LE-ARP. Upon receiving the response to the flash protocol, the CPU 17 activates the CW queue transmission command to the forward controller 16 using BDI and FDB OFS as parameters.

【0059】フォワードコントローラ16はCWキュー
17d送信コマンドの処理に入る前にイーサネットから
受信した、FDBの Q=1であるエントリにマッチしたパ
ケットをCWキュー17dに入れるとともにSA、受信ポ
ート番号を学習する。フォワードコントローラ16は以
下のCWキュー送信コマンド処理を行う。CWキュー1
7dのスタートアドレス、エンドアドレス、リードポイ
ンタ、ライトポインタをそれぞれデキュースタートアド
レス、デキューエンドアドレス、デキューポインタ、デ
キュー終了ポインタにコピーする。 (a) デキューポインタとデキュー終了ポインタが一致す
れば、(e) へ進む。 (b) デキューポインタで指示されるCWキュー17dの
エントリをリードし、V=0 の場合は、デキューポインタ
とCWキュー17dリードポインタをインクリメント
し、(a) に戻る。V=1 で BDI、FDB OFS がパラメータの
値とともに一致した場合、PDI に対し仮想ポート送信処
理(後述)を行う。デキューポインタとCWキュー17
dリードポインタをインクリメントし、(a) に戻る。V=
1 で BDIあるいは FDB OFSがパラメータの値と一致しな
かった場合、デキューポインタをインクリメントする。 (c) デキューポインタとデキュー終了ポインタが一致す
れば、(e) へ進む。 (d) デキューポインタで指示されるCWキュー17dの
エントリをリードし、V=0 の場合は、デキューポインタ
をインクリメントし、(c) に戻る。V=1 で BDI、FDB OF
S がパラメータの値とともに一致した場合、PDI に対し
仮想ポート送信処理を行う。デキューポインタで指示さ
れるCWキュー17dの Vフラグを0にする。デキュー
ポインタをインクリメントし、(c) に戻る。V=1 で BDI
あるいは FDB OFSがパラメータの値と一致しなかった場
合、デキューポインタをインクリメントし、(c) に戻
る。 (e) BDI 、FDB OFS で指示されるFDBの Qフラグを0
にする。
The forward controller 16 puts in the CW queue 17d the packet matching the entry of Q = 1 in the FDB received from the Ethernet before the processing of the CW queue 17d transmission command is processed, and learns the SA and the receiving port number. . The forward controller 16 performs the following CW queue transmission command processing. CW queue 1
The 7d start address, end address, read pointer, and write pointer are copied to the dequeue start address, dequeue end address, dequeue pointer, and dequeue end pointer, respectively. (a) If the dequeue pointer and the dequeue end pointer match, proceed to (e). (b) The entry of the CW queue 17d designated by the dequeue pointer is read. When V = 0, the dequeue pointer and the CW queue 17d read pointer are incremented, and the process returns to (a). If VDI and FDB OFS match with the parameter value when V = 1, perform virtual port transmission processing (described later) for PDI. Dequeue pointer and CW queue 17
Increment the d-read pointer and return to (a). V =
If the BDI or FDB OFS does not match the parameter value in 1, the dequeue pointer is incremented. (c) If the dequeue pointer and the dequeue end pointer match, proceed to (e). (d) The entry of the CW queue 17d designated by the dequeue pointer is read, and if V = 0, the dequeue pointer is incremented and the process returns to (c). V = 1, BDI, FDB OF
If S matches with the parameter value, send virtual port to PDI. The V flag of the CW queue 17d designated by the dequeue pointer is set to 0. Increment the dequeue pointer and return to (c). B = 1 at V = 1
Or if FDB OFS does not match the parameter value, increment the dequeue pointer and return to (c). (e) Set the Q flag of FDB designated by BDI and FDB OFS to 0
To

【0060】仮想ポート送信処理は、まず BDI、AAI を
もとにVCテーブル17iを検索し、コネクションの状
態を調べる(この場合はダイレクトコネクション DVCを
得る)。ダイレクトコネクションがあれば TX TIMEに時
刻をライトする。ダイレクトコネクションがない場合は
MPVCI レジスタファイルから BUSへのコネクション MPV
CIを得る。さらに、LEC レジスタファイルから LECIDを
得、パケットデータの先頭にLEヘッダとして追加す
る。最後に、修正した PBC、PBUFを DVCまたは MPVCIと
ともにATM送信ディスクリプタ12cに記述し、PDI
をATM送信キュー12aに入れる。
In the virtual port transmission process, first, the VC table 17i is searched based on BDI and AAI to check the connection state (in this case, the direct connection DVC is obtained). If there is a direct connection, write the time to TX TIME. If there is no direct connection
MPVCI Register file to BUS connection MPV
Get CI. Furthermore, LECID is obtained from the LEC register file and added as a LE header to the beginning of the packet data. Finally, describe the modified PBC and PBUF together with DVC or MPVCI in the ATM transmission descriptor 12c, and
Into the ATM transmission queue 12a.

【0061】以上のCWキュー17d送信コマンド処理
はフォワードコントローラ16内で排他的に行われる。
以降、同じ宛先へのパケットをイーサネットから受信し
た場合は、FDBの検索により AAIを得、さらにVCテ
ーブル17iから DVCを得ることによって、ダイレクト
コネクションに中継するとともに、VCテーブル17i
に送信時刻をライトし、SA、受信ポート番号を学習す
る。 (ELANの BUSからユニキャストパケットを受信した
場合)フォワードコントローラ16はATM受信キュー
11aから PDIを取出し、ATM受信ディスクリプタ1
1cから VCI、パケット長 PBC、データメモリ15への
ポインタ PBUF を得る。VCI をもとにATMテーブル1
7hを検索すると、V=1,T=1,D=0、ブリッジ
識別子 BDIを知る( T=0の場合は PDIをSRキュー17
bにプットする)。データメモリ15からLEヘッダ情
報をリードし、他のLECからのデータパケットである
ことを確認する(制御パケットの場合は、 PDIをSRキ
ュー17bにプットする。自LECからのデータパケッ
トであれば PDIを解放する)。 PBC, PBUFはLEヘッダ
を除去するよう修正する。フォワードコントローラ16
はデータメモリ15から DA, SA をリードし、 BDIのC
AMにDAが登録されているかどうか調べる。CAMに
マツチしなければ BDIに属するイーサネットポートすべ
てに送信する。CAMにマツチすると、フォワードコン
トローラ16はマッチしたエントリから FDB OFSを求
め、 FDBのエントリをリードする。S=1 であれば PDI
をSRキュー17bにプットする。S=0, E=0であれば、
E送受信ディスクリプタ13eの送信ポート番号に Pを
ライトし、PDIをE送信キュー13aにプットする。S=
0, E=1であれば、 PDIを解放する(廃棄)。
The above CW queue 17d transmission command processing is exclusively executed in the forward controller 16.
After that, when a packet to the same destination is received from the Ethernet, AAI is obtained by searching the FDB and further DVC is obtained from the VC table 17i to relay the packet to the direct connection and also to the VC table 17i.
Write the sending time to and learn the SA and receiving port number. (When a unicast packet is received from the ELAN BUS) The forward controller 16 extracts the PDI from the ATM reception queue 11a, and the ATM reception descriptor 1
From 1c, VCI, packet length PBC, and pointer PBUF to the data memory 15 are obtained. ATM table 1 based on VCI
If 7h is searched, V = 1, T = 1, D = 0, and the bridge identifier BDI is known (when T = 0, PDI is SR queue 17
Put in b). The LE header information is read from the data memory 15 and it is confirmed that it is a data packet from another LEC (PDI is put in the SR queue 17b in the case of a control packet. Release). PBC and PBUF are modified to remove the LE header. Forward controller 16
Reads DA, SA from the data memory 15 and C of BDI
Check if DA is registered in AM. If it does not match the CAM, it sends to all Ethernet ports belonging to BDI. When the CAM is matched, the forward controller 16 obtains the FDB OFS from the matched entry and reads the FDB entry. PDI if S = 1
To the SR queue 17b. If S = 0, E = 0,
P is written in the transmission port number of the E transmission / reception descriptor 13e, and PDI is put in the E transmission queue 13a. S =
If 0, E = 1, release PDI (discard).

【0062】送信元の LECを特定できない(BUS からは
種々の LECからのパケットがマルチプレクスされるた
め)ので学習は行わない。フォワードコントローラ16
はデータメモリ15から DA をリードし、BDI のCAM
に DA が登録されているか検索する。結果としてノーマ
ッチを得る。フォワードコントローラ16はポートマッ
プから BDIに属するイーサネットポートを得、それらの
ポートに対し順次イーサネットへの中継を行う。
Since the LEC of the transmission source cannot be specified (because packets from various LECs are multiplexed from BUS), learning is not performed. Forward controller 16
Reads DA from data memory 15 and BDI CAM
Search whether DA is registered in. As a result you get no match. The forward controller 16 obtains the Ethernet ports belonging to the BDI from the port map, and relays these ports to Ethernet in order.

【0063】宛先端末がそれらのイーサネットに接続さ
れていた場合、返されるパケットを受信すると、受信ポ
ート RP と送信元MACアドレス MACが、CAMおよび
FDBに登録される。引続きELANから BUS経由で M
AC宛のパケットを受信した場合、CAMおよびFDBを
検索するとイーサポート番号 RP を得るので、RPにパケ
ットを中継する。 (ELANのダイレクトコネクションからユニキャスト
パケットを受信した場合)フォワードコントローラ16
はATM受信キュー11aから PDIを取出し、ATM受
信ディスクリプタ11cから VCI、パケット長 PBC、デ
ータメモリ15へのポインタ PBUF を得る。VCI をもと
にATMテーブル17hを検索すると、V=1,T=
1,D=0、ブリッジ識別子 BDI、送信元 LECのATM
アドレスインデックス AAIを知る。ダイレクトコネクシ
ョン経由の場合はATMテーブル17hの RX TIMEに時
刻をライトする。以降の中継動作は BUSから受信した場
合と同じである。AAI を特定できるので、学習を行う点
に差異があり、これを説明する。
When the destination terminal is connected to those Ethernets, the reception port RP and the source MAC address MAC are registered in the CAM and the FDB when the returned packet is received. Continue to M from ELAN via BUS
When a packet addressed to AC is received, the CAM and FDB are searched and the e-support number RP is obtained, so the packet is relayed to the RP. (When unicast packet is received from ELAN direct connection) Forward controller 16
Retrieves PDI from the ATM receive queue 11a and obtains VCI, packet length PBC, and pointer PBUF to the data memory 15 from the ATM receive descriptor 11c. When the ATM table 17h is searched based on VCI, V = 1, T =
1, D = 0, bridge identifier BDI, sender LEC ATM
Know the address index AAI. When using a direct connection, write the time to RX TIME of ATM table 17h. Subsequent relay operation is the same as when receiving from BUS. Since the AAI can be specified, there is a difference in learning, and this is explained.

【0064】フォワードコントローラ16は BDIのCA
MおよびFDBに SA が登録されているか検索する。Q=
0 で AAIの一致するエントリが登録されていれば、AGE
を初期化して終了する。Q=1 または AAIの一致しないエ
ントリが登録されていれば、FDBのエントリを S=0、
E=1 、Q=1 、AAI=AAI 、AGE=初期値 に変更し、SAが登
録されていなければCAMに SA と、対応するFDBの
エントリに S=0、E=1、Q=1 、AAI=AAI 、AGE=初期値
を登録する。これらの場合は、FRキュー17eに BD
I、FDB OFS を入れ、CPU17に通知して終了する。
The forward controller 16 is a CA of BDI.
Search whether SA is registered in M and FDB. Q =
If 0 and the matching entry of AAI is registered, AGE
Initialize and exit. If Q = 1 or an entry that does not match AAI is registered, set the FDB entry to S = 0,
Change E = 1, Q = 1, AAI = AAI, AGE = initial value, and if SA is not registered, SA in CAM and S = 0, E = 1, Q = 1 in corresponding FDB entry, AAI = AAI, AGE = initial value
Register In these cases, BD in the FR queue 17e
Insert I and FDB OFS, notify CPU 17 and end.

【0065】中継時 Q=1のエントリにマッチするパケッ
トはCWキュー17dに入れられる。これは学習以降の
ダイレクトコネクションを通るパケットが、学習以前の
BUS経由のパケットを追い越すことを防止するためであ
る。CPU17はFRキュー17eから、フラッシュす
べきコネクションと宛先MACアドレスを得、フラッシ
ュを確認してからCWキュー17dに保留されたパケッ
トを送信する。これらの手順は、ダイレクトコネクショ
ン確立時のフラッシュと同じである。 (ダイレクトコネクションを切断する場合)ATMテー
ブル17hにはそのダイレクトコネクションから受信し
た直近の時刻、VCテーブル17iにはそのダイレクト
コネクションに送信した直近の時刻が記録されているの
で、CPU17は定期的にダイレクトコネクションの使
用状況を調べ、最近使用されていないことが判れば、ダ
イレクトコネクションを BUS経由に切替える。このため
の最も簡単な方法はATMテーブル17hとVCテーブ
ル17iの該当するエントリを無効( V=0)にすること
である。これは、ダイレクトコネクションは速いので以
後の BUS経由のパケットが追い越すことはないことが前
提となっている。
At the time of relaying, the packet matching the entry of Q = 1 is put in the CW queue 17d. This is because the packet passing through the direct connection after learning is
This is to prevent overtaking packets via the BUS. The CPU 17 obtains the connection to be flushed and the destination MAC address from the FR queue 17e, confirms the flush, and then transmits the suspended packet to the CW queue 17d. These procedures are the same as the flush when the direct connection is established. (When disconnecting the direct connection) The latest time received from the direct connection is recorded in the ATM table 17h, and the latest time transmitted to the direct connection is recorded in the VC table 17i. Check the usage of the connection, and if it is not used recently, switch the direct connection to BUS. The simplest way to do this is to invalidate (V = 0) the corresponding entries in the ATM table 17h and VC table 17i. This is based on the assumption that the direct connection is fast, so that subsequent packets via the BUS will not pass.

【0066】確実に追い越し防止をするためには、その
ダイレクトコネクション配下のMACアドレスを管理
(CPU17はARキュー17c、FRキュー17eに
よって配下のMACアドレスを知る機会がある)してお
き、以下の処理を行う。配下のMACアドレスに対応す
るFDBのすべてのエントリの Qフラグをセットする。
ATMテーブル17h、VCテーブル17iの切断する
コネクションに対応するエントリを無効にする。配下の
MACアドレスについてフラッシュプロトコルを行う。
フラッシュ応答があれば、対応するMACアドレスにつ
いてCWキュー送信処理を行う。
In order to surely prevent overtaking, the MAC address under the direct connection is managed (the CPU 17 has an opportunity to know the subordinate MAC address by the AR queue 17c and the FR queue 17e), and the following processing is performed. I do. It sets the Q flag of all entries in the FDB corresponding to the subordinate MAC address.
The entry corresponding to the connection to be disconnected in the ATM table 17h and the VC table 17i is invalidated. The flash protocol is performed for the subordinate MAC address.
If there is a flush response, CW queue transmission processing is performed for the corresponding MAC address.

【0067】[0067]

【発明の効果】以上のように本発明のLAN間接続装置
によれば、1つのキューに、複数のLANグループや複
数のMACアドレスに対応する情報を多重化し記憶させ
ることができるので、メモリを有効に使用することがで
きる。
As described above, according to the LAN-to-LAN connecting device of the present invention, it is possible to multiplex and store information corresponding to a plurality of LAN groups and a plurality of MAC addresses in one queue. It can be used effectively.

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

【図1】ELANと、複数の従来型のLANとを接続し
た、本発明のLAN間接続装置を示す概念図である。
FIG. 1 is a conceptual diagram showing an inter-LAN connection device of the present invention in which an ELAN and a plurality of conventional LANs are connected.

【図2】キューの構造図であり、(a) はMACa に対す
るデキュー処理前の記憶内容を示し、(b) はデキュー処
理後の記憶内容を示す。
2A and 2B are structure diagrams of a queue, in which FIG. 2A shows stored contents before dequeue processing for MAC a , and FIG. 2B shows stored contents after dequeue processing.

【図3】複数のELAN及び複数の従来型LANを、M
ACレイヤにおいてブリッジ接続したLAN間接続装置
を示す概念図である。
FIG. 3 shows a plurality of ELANs and a plurality of conventional LANs,
It is a conceptual diagram which shows the inter-LAN connecting device bridge-connected in the AC layer.

【図4】キューの構造図である。FIG. 4 is a structural diagram of a queue.

【図5】LEサービス手段と、フォワーディング手段と
に機能区分したLAN間接続装置を示す概念図である。
FIG. 5 is a conceptual diagram showing an inter-LAN connection device that is functionally divided into LE service means and forwarding means.

【図6】本発明のLAN間接続装置のハードウェア構成
を示す図である。
FIG. 6 is a diagram showing a hardware configuration of a LAN-to-LAN connecting device of the present invention.

【図7】各コントローラやCPU間をインターフェース
するデータ構造を表す図である。
FIG. 7 is a diagram showing a data structure for interfacing between controllers and CPUs.

【図8】ARキューのエントリの内容を示す図である。FIG. 8 is a diagram showing the contents of entries in an AR queue.

【図9】CWキューのエントリの内容を示す図である。FIG. 9 is a diagram showing the contents of entries in a CW queue.

【図10】ATMテーブルのエントリの内容を示す図で
ある。
FIG. 10 is a diagram showing the contents of entries in an ATM table.

【図11】VCテーブルのエントリの内容を示す図であ
る。
FIG. 11 is a diagram showing the contents of an entry in a VC table.

【図12】FDBのエントリの内容を示す図である。FIG. 12 is a diagram showing the contents of an entry in the FDB.

【図13】FRキュー、CRキューのエントリの内容を
示す図である。
FIG. 13 is a diagram showing contents of entries of an FR queue and a CR queue.

【図14】ATM網上で、従来型のLANのアクセス機
能を、ATM網上で他のMACにつなぐLANエミュレ
ーションサービスを実行するための各要素を示す図であ
る。
FIG. 14 is a diagram showing each element for executing a LAN emulation service in which an access function of a conventional LAN is connected to another MAC on the ATM network on the ATM network.

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

1 先入れ先出し型の記憶手段(キュー) 2 比較手段 3 中継手段 3a フォワーディング手段 3b LEサービス手段 11 ATM受信コントローラ 12 ATM送信コントローラ 13 イーサネットコントローラ 14 制御メモリ 15 データメモリ 16 フォワードコントローラ 17 CPU 17c ARキュー 17d CWキュー 1 first-in first-out storage means (queue) 2 comparison means 3 relay means 3a forwarding means 3b LE service means 11 ATM reception controller 12 ATM transmission controller 13 Ethernet controller 14 control memory 15 data memory 16 forward controller 17 CPU 17c AR queue 17d CW queue

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ATM網上に模擬されたLANと、従来型
のLANとを、MACレイヤにおいてブリッジ接続する
ようにしたLAN間接続装置であって、 前記模擬されたLANを通して送信すべきパケットを示
す情報及びそのパケットの宛先MACアドレスを示す情
報を、宛先MACアドレスの異同にかかわらず共通に一
時記憶する先入れ先出し型の記憶手段と、 一つの宛先MACアドレスに係るパケットを模擬された
LANの上に確立されたデータダイレクトVCCを通し
て送信する場合に、送信しようとする宛先MACアドレ
スと、前記記憶手段に記憶された宛先MACアドレスと
を比較する比較手段と、 比較手段による比較の結果、MACアドレスの一致した
パケットがある場合に当該パケットを送信する中継手段
とを有することを特徴とするLAN間接続装置。
1. A LAN-to-LAN connecting device configured to bridge-connect a LAN simulated on an ATM network and a conventional LAN in a MAC layer, wherein packets to be transmitted through the simulated LAN are transmitted. The first-in first-out storage means for temporarily storing the information indicating and the information indicating the destination MAC address of the packet in common regardless of the difference of the destination MAC address, and the LAN on which the packet related to one destination MAC address is simulated. When transmitting through the established data direct VCC, comparing means for comparing the destination MAC address to be transmitted with the destination MAC address stored in the storage means, and the result of the comparison by the comparing means, matching of the MAC addresses It has a relay means for transmitting the packet when the packet is present. LAN-to-LAN connecting device to be.
【請求項2】ATM網上に模擬された複数のLANと、
従来型の複数のLANとを、MACレイヤにおいてブリ
ッジ接続するようにしたLAN間接続装置であって、 従来型の複数のLANと、模擬された複数のLANとが
縦割りでグルーピングされ、 前記模擬されたいずれかのLANを通して送信すべきパ
ケットを示す情報、そのパケットの宛先MACアドレス
及び対応するグループ識別子を示す情報を、宛先MAC
アドレスの異同又は当該グループ識別子の異同にかかわ
らず共通に一時記憶する先入れ先出し型の記憶手段と、 一つの宛先MACアドレス及びグループ識別子に係るパ
ケットを模擬されたLANの上に確立されたデータダイ
レクトVCCを通して送信する場合に、送信しようとす
る宛先MACアドレス及びグループ識別子と、前記記憶
手段に記憶された宛先MACアドレス及びグループ識別
子とを比較する比較手段と、 比較手段による比較の結果、MACアドレス及びグルー
プ識別子の一致したパケットがある場合に当該パケット
を送信する中継手段とを有することを特徴とするLAN
間接続装置。
2. A plurality of LANs simulated on an ATM network,
An inter-LAN connecting device configured to bridge-connect a plurality of conventional LANs in a MAC layer, wherein the plurality of conventional LANs and the plurality of simulated LANs are vertically grouped, Information indicating a packet to be transmitted through any one of the LANs, the destination MAC address of the packet, and the information indicating the corresponding group identifier,
Through the first-in first-out storage means for temporarily temporarily storing the same regardless of the difference in the address or the group identifier, and the data direct VCC established on the simulated LAN for the packet related to one destination MAC address and the group identifier. When transmitting, the destination MAC address and the group identifier to be transmitted are compared with the destination MAC address and the group identifier stored in the storage means, and the comparison result by the comparison means, the MAC address and the group identifier And a relay means for transmitting the packet when there is a matched packet.
Inter-connection device.
【請求項3】ATM網上に模擬されたLANと、従来型
のLANとを、MACレイヤにおいてブリッジ接続する
ようにしたLAN間接続装置であって、 当該LAN間接続装置は、ATM網のコネクション管理
やプロトコルの解釈を行うとともにフォワーディング手
段に対して先入れ先出し型の記憶手段に記憶したパケッ
トのデキュー処理を依頼するLEサービス手段と、模擬
されたLANに送信すべきパケット及びそのパケットの
宛先MACアドレスを宛先MACアドレスの異同にかか
わらず共通に記憶した先入れ先出し型の記憶手段と、模
擬されたLANの上に確立されたデータダイレクトVC
Cを通して送信しようとする宛先MACアドレスと前記
記憶手段に記憶された宛先MACアドレスとを比較する
比較手段と、フォワーディング手段とを備え、 前記フォワーディング手段は、模擬されたLANあるい
は従来型のLANからパケットを受信すると、当該パケ
ットの宛先MACアドレスから中継先を判断し、模擬さ
れたLANに中継すべきであるが一時保留しなければな
らないパケットを前記先入れ先出し型の記憶手段に記憶
させ、前記LEサービス手段からデキュー処理の依頼を
受けると、前記記憶手段を開いて、送信しようとする宛
先MACアドレスと、前記記憶手段内に記憶された宛先
MACアドレスとを比較手段に比較させ、比較の結果、
当該宛先MACアドレスに対応するパケットを模擬され
たLANに送信するものであることを特徴とするLAN
間接続装置。
3. A LAN-to-LAN connecting device in which a LAN simulated on an ATM network and a conventional LAN are bridge-connected in a MAC layer, and the LAN-to-LAN connecting device is a connection of an ATM network. The LE service means that manages and interprets the protocol and requests the forwarding means to dequeue the packet stored in the first-in first-out storage means, the packet to be transmitted to the simulated LAN, and the destination MAC address of the packet. First-in first-out storage means commonly stored regardless of different destination MAC addresses, and data direct VC established on a simulated LAN
The destination MAC address to be transmitted through C and the destination MAC address stored in the storage unit are compared with each other, and the forwarding unit is provided, and the forwarding unit is a packet from a simulated LAN or a conventional LAN. When the packet is received, the relay destination is determined from the destination MAC address of the packet, and the packet that should be relayed to the simulated LAN but must be temporarily held is stored in the first-in first-out storage means, and the LE service means is stored. When receiving a request for dequeuing processing from the storage unit, the storage unit is opened, and the destination MAC address to be transmitted and the destination MAC address stored in the storage unit are compared by the comparison unit.
A LAN characterized in that a packet corresponding to the destination MAC address is transmitted to a simulated LAN.
Inter-connection device.
JP8011242A 1996-01-25 1996-01-25 Inter-lan connector Pending JPH09205455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8011242A JPH09205455A (en) 1996-01-25 1996-01-25 Inter-lan connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8011242A JPH09205455A (en) 1996-01-25 1996-01-25 Inter-lan connector

Publications (1)

Publication Number Publication Date
JPH09205455A true JPH09205455A (en) 1997-08-05

Family

ID=11772475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8011242A Pending JPH09205455A (en) 1996-01-25 1996-01-25 Inter-lan connector

Country Status (1)

Country Link
JP (1) JPH09205455A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104870A (en) * 1998-07-02 2000-08-15 International Business Machines Corporation Method and system for improving communications in data communications networks that provide network emulation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104870A (en) * 1998-07-02 2000-08-15 International Business Machines Corporation Method and system for improving communications in data communications networks that provide network emulation

Similar Documents

Publication Publication Date Title
US6427185B1 (en) Method and apparatus for managing the flow of data within a switching device
US6798776B1 (en) Method for traffic management, traffic prioritization, access control, and packet forwarding in a datagram computer network
USRE44151E1 (en) Switching ethernet controller
US5434863A (en) Internetworking apparatus for connecting plural network systems and communication network system composed of plural network systems mutually connected
US5418781A (en) Architecture for maintaining the sequence of packet cells transmitted over a multicast, cell-switched network
US5940596A (en) Clustered address caching system for a network switch
US6311212B1 (en) Systems and methods for on-chip storage of virtual connection descriptors
EP0889623A2 (en) System and method for efficient remote disk I/O
EP1629644B1 (en) Method and system for maintenance of packet order using caching
US7304941B2 (en) Switchover system and method in a data packet switching network
US6163541A (en) Method for selecting virtual channels based on address priority in an asynchronous transfer mode device
US8174971B2 (en) Network switch
US5408468A (en) Queueing system for switches having fast circuit properties
USRE39026E1 (en) Bus protocol
US20060165055A1 (en) Method and apparatus for managing the flow of data within a switching device
GB2321821A (en) A method for controlling the distribution and recovery of buffers in an asynchronous network
US6904039B1 (en) Packet queuing for a network switch
JPH09205455A (en) Inter-lan connector
JPH09205456A (en) Inter-lan connector
EP0321544B1 (en) Intercomputer communication control apparatus and method
JPH09270815A (en) Inter-lan connector
GB2321820A (en) A method for dynamically allocating buffers to virtual channels in an asynchronous network
JPH0799833B2 (en) Data transmission method and device
JPH03235444A (en) Address filter device
JPH0974410A (en) Communication repeater