JPH09149084A - Virtual network routing method - Google Patents
Virtual network routing methodInfo
- Publication number
- JPH09149084A JPH09149084A JP7300040A JP30004095A JPH09149084A JP H09149084 A JPH09149084 A JP H09149084A JP 7300040 A JP7300040 A JP 7300040A JP 30004095 A JP30004095 A JP 30004095A JP H09149084 A JPH09149084 A JP H09149084A
- Authority
- JP
- Japan
- Prior art keywords
- router
- virtual
- information
- physical address
- network
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ATM(非同期転
送モード)網等のバックボーンネットワークを介して構
築されるバーチャルLAN等の仮想ネットワークのルー
ティング方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a routing method for a virtual network such as a virtual LAN constructed via a backbone network such as an ATM (asynchronous transfer mode) network.
【0002】[0002]
【関連する背景技術】従来、接続装置であるハブを、例
えばATM網の様な高速ネットワークに接続させて利用
する場合、物理構成に関係なく複数の分離したLAN
(バーチャルLAN)を構築することが知られている。
典型的なバーチャルLANの構成を述べると、例えばA
TM−IEEE802.3規格に基づいて構成されたハ
ブは、高速バックボーンのATMインターフェースを有
し、ATMフォーラムで標準化されているLANエミュ
レーションを用いて、IEEE802.3規格に基づい
て構成されたパケット(以下単に、「パケット」とい
う)をATM側のインターフェースに転送する。2. Related Background Art Conventionally, when a hub, which is a connection device, is used by connecting to a high speed network such as an ATM network, a plurality of separated LANs are irrelevant regardless of the physical configuration.
It is known to build a (virtual LAN).
A typical virtual LAN configuration is, for example, A
A hub configured based on the TM-IEEE802.3 standard has a high-speed backbone ATM interface, and a packet configured based on the IEEE802.3 standard by using LAN emulation standardized by the ATM forum (hereinafter Simply referred to as "packet") to the ATM side interface.
【0003】LANエミュレーションでは、異なるエミ
ュレーティットLAN(以下、「ELAN」という)を
持つことができ、ハブのIEEE802.3規格に基づ
いて構成されたポート(以下単に、「ポート」という)
それぞれにどのエミュレーティットLANを割り当てる
かを、ソフトウェアによって設定でき、その結果、物理
配線を変えることなく、複数の独立したLAN(バーチ
ャルLAN)を構築していた。そして、異なるバーチャ
ルLAN間においては、同報パケットが通過せず、異な
るバーチャルLANに属しているノードは、互いに分離
され、直接通信できないようになっていた。In LAN emulation, different emulated LANs (hereinafter referred to as "ELANs") can be provided, and ports configured according to the IEEE802.3 standard of the hub (hereinafter simply referred to as "ports")
Which emulated LAN is assigned to each can be set by software, and as a result, a plurality of independent LANs (virtual LANs) have been constructed without changing the physical wiring. Then, a broadcast packet does not pass between different virtual LANs, and nodes belonging to different virtual LANs are separated from each other and cannot directly communicate with each other.
【0004】そこで、異なるバーチャルLANのノード
間で通信を行う場合には、上記バーチャルLANを外付
けのルータ経由で接続させて、上記バーチャルLAN間
のデータ通信を可能にするシステムがあった。Therefore, there is a system in which, when communication is performed between nodes of different virtual LANs, the virtual LAN is connected via an external router to enable data communication between the virtual LANs.
【0005】[0005]
【発明が解決しようとする課題】ところが、上記外付け
ルータを用いた場合には、用途に応じてルータとハブを
使い分けなければならず、部品点数が増えるとともに、
コストや設置スペースが増加するという問題点があっ
た。また、特開平5−292091号公報に示すよう
に、ルータ機能とブリッジ機能を1つのインタネットワ
ーク装置内に持たせて、コストや設置スペースを軽減さ
せるものもあった。この場合には、例えばATM網を介
して上記インタネットワーク装置を複数接続させ、上記
インタネットワーク装置を介してデータ通信を行う。し
かし、このインタネットワーク装置では、2つのネット
ワークに接続されている2つのルータが存在する時、ど
ちらのルータを経由するかを決定するアルゴリズムを考
慮して設計されていない。However, when the above-mentioned external router is used, the router and the hub must be used properly according to the application, and the number of parts increases and
There is a problem that the cost and the installation space increase. Further, as disclosed in Japanese Patent Laid-Open No. 5-292091, there has been one that has a router function and a bridge function in one internetwork device to reduce the cost and installation space. In this case, for example, a plurality of the internetwork devices are connected via an ATM network and data communication is performed via the internetwork device. However, this internetwork device is not designed in consideration of an algorithm that determines which router is used when there are two routers connected to two networks.
【0006】このため、宛先までの距離(データ中継を
行うルータの数)を示すメトリックス数が同じ場合に
は、ATMを介して実質的に距離が遠いインタネットワ
ーク装置に接続されるように、パケット伝送が設定され
てしまう可能性がある。この場合には、ATM網を使用
することになるので、応答速度が遅くなるとともに、A
TM網を不必要に使用することとなり資源節約が図られ
ないという問題点があった。Therefore, when the metrics number indicating the distance to the destination (the number of routers performing data relay) is the same, the packet is connected via the ATM to the internetwork device which is substantially distant. Transmission may be set up. In this case, since the ATM network is used, the response speed becomes slow and A
There is a problem that the TM network is unnecessarily used and resource saving cannot be achieved.
【0007】本発明は、上記問題点に鑑みなされたもの
で、システム内の応答速度を早めるとともに、バックボ
ーンネットワークの資源節約が図られる仮想ネットワー
クのルーティング方法を提供することを目的とする。The present invention has been made in view of the above problems, and an object of the present invention is to provide a virtual network routing method that speeds up the response speed in the system and saves resources of the backbone network.
【0008】[0008]
【課題を解決するための手段】上記目的を達成するた
め、本発明では、各ノードがそれぞれ接続される複数の
ポートとブリッジ機能とを有する複数のハブを、ATM
網を介して接続して、他のハブとの間で所定ポートをグ
ループ分けしてバーチャルLANの設定を行い、前記ノ
ード間でデータを伝送するシステムにおいて、前記各ハ
ブは、仮想ルータと、該仮想ルータ及び前記ノードの物
理アドレス情報に対応したポート情報を登録した物理ア
ドレステーブルとを有し、前記伝送されるデータを該テ
ーブルの登録内容に基づいて転送するとともに、前記他
のハブからのルーティング情報を受け取り、該ルーティ
ング情報のうちの相手先ネットワークまでの距離を示す
メトリックス情報が、自装置の仮想ルータを中継させた
場合と他のハブのルータを中継させた場合と同じ時は、
前記伝送されるデータを前記仮想ルータに転送するよう
に、前記テーブルに前記物理アドレス情報と、それに対
応するポート情報を登録しており、メトリックス数が同
じ場合には、伝送データを仮想ルータに転送して応答速
度の迅速化を図る仮想ネットワークのルーティング方法
が提供される。In order to achieve the above object, according to the present invention, a plurality of hubs having a plurality of ports to which each node is connected and a bridge function are provided.
In a system that connects via a network, groups predetermined ports with other hubs, sets a virtual LAN, and transmits data between the nodes, each hub includes a virtual router and A virtual router and a physical address table in which port information corresponding to the physical address information of the node is registered, the transmitted data is transferred based on the registered contents of the table, and the routing from the other hub is performed. When the information is received and the metrics information indicating the distance to the partner network in the routing information is the same as when the virtual router of the own device is relayed and when the router of another hub is relayed,
The physical address information and the corresponding port information are registered in the table so that the transmitted data is transferred to the virtual router, and when the metrics are the same, the transmission data is transferred to the virtual router. A routing method for a virtual network is provided that aims at speeding up response speed.
【0009】自装置の仮想ルータを中継させた場合と他
のハブのルータを中継させた場合と同じ時に、前記テー
ブルに登録される物理アドレスは、前記自装置の仮想ル
ータの情報であり、それに対応する前記ポート情報は、
該仮想ルータのポートに設定された情報であるのが望ま
しい。At the same time when the virtual router of the own device is relayed and when the router of another hub is relayed, the physical address registered in the table is the information of the virtual router of the own device. The corresponding port information is
It is desirable that the information is set to the port of the virtual router.
【0010】[0010]
【発明の実施の形態】本発明に係る仮想ネットワークの
ルーティング方法を図1乃至図5の図面に基づいて説明
する。図1は、本発明に係る仮想ネットワークのルーテ
ィング方法を用いたバーチャルLANシステムの一実施
例の構成を示す構成図である。図において、バーチャル
LAN(以下、「VLAN」という)システムでは、A
TM網11のような高速ネットワークをバックボーンに
有し、支線に接続装置である複数のハブ12,13を接
続して構成されている。DESCRIPTION OF THE PREFERRED EMBODIMENTS A virtual network routing method 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 an embodiment of a virtual LAN system using a virtual network routing method according to the present invention. In the figure, in a virtual LAN (hereinafter referred to as "VLAN") system, A
It has a high-speed network such as the TM network 11 in its backbone, and is configured by connecting a plurality of hubs 12 and 13 as connecting devices to branch lines.
【0011】ハブ12,13は、例えばATM−10B
ASE−Tインターフェースを相互に接続する変換装置
からなり、通常のブリッジの機能とともに、例えばソフ
トウェア等でルーティングプロトコルをサポートするよ
うに設定されたルータの機能(以下、このルータの機能
を「仮想ルータ」という。)を有している。また、ハブ
12,13は、例えば各ネットワークノード(以下単
に、「ノード」という)が接続されたポート1〜7と、
仮想ルータのポート8,9と、ATM網側ポート10と
をそれぞれ有し、自装置のポート1〜7間及び他のハブ
とのATM網側ポート10間で、MAC層レベルでのブ
リッジング接続を行っている。The hubs 12 and 13 are, for example, ATM-10B.
A function of a router, which is composed of a conversion device that connects ASE-T interfaces to each other and is configured to support a routing protocol by software or the like (hereinafter, this function of the router is referred to as a "virtual router"). That is). The hubs 12 and 13 include, for example, ports 1 to 7 to which each network node (hereinafter simply referred to as “node”) is connected,
The virtual router has ports 8 and 9 and ATM network side port 10, respectively, and bridging connection at the MAC layer level between ports 1 to 7 of its own device and between ATM network side ports 10 with other hubs. It is carried out.
【0012】ハブ12,13は、VLANの機能を有
し、それぞれのポート1〜7が独立にどのVLANに属
するか設定することができる。異なるVLANは、AT
M網11上では、異なるエミュレーティットLANとし
て識別される。これにより、VLANは、ハブ12,1
3にまたがって構築することが可能となる。本実施例で
は、ハブ12のポート1〜7には、ノード21〜27が
接続されており、ハブ13のポート1〜7には、ノード
31〜37が接続されている。ノード21〜23及びノ
ード31〜34は、VLAN50を構築し、ノード24
〜27及びノード35〜37は、VLAN60を構築し
ている。The hubs 12 and 13 have a VLAN function, and it is possible to independently set which VLAN each of the ports 1 to 7 belongs to. Different VLAN is AT
On the M network 11, they are identified as different emulated LANs. This allows the VLAN to
It is possible to build across three. In this embodiment, nodes 21 to 27 are connected to the ports 1 to 7 of the hub 12, and nodes 31 to 37 are connected to the ports 1 to 7 of the hub 13. The nodes 21 to 23 and the nodes 31 to 34 construct the VLAN 50, and the node 24
27 and nodes 35 to 37 form a VLAN 60.
【0013】ハブ12の仮想ルータ14及びハブ13の
仮想ルータ15には、VLAN50とVLAN60が接
続されており、仮想ルータ14,15は、VLAN1,
60間を公知のルーティングプロトコルを利用してルー
ティングする機能を有している。従って、例えば仮想ル
ータ14は、同種のルーティングプロトコルをサポート
する仮想ルータ15から定期的、或いは諸条件変更時に
送信するルーティング情報を受信することができる。A VLAN 50 and a VLAN 60 are connected to the virtual router 14 of the hub 12 and the virtual router 15 of the hub 13, respectively.
It has a function of routing between 60 using a known routing protocol. Therefore, for example, the virtual router 14 can receive the routing information transmitted from the virtual router 15 supporting the same kind of routing protocol periodically or when changing the conditions.
【0014】仮想ルータ14は、このルーティング機能
によって得られたルーティング情報に基づいてルーティ
ングテーブルを作成しており、表1はIP(インターネ
ット・プロトコル)による上記ルーティングテーブルの
一例である。The virtual router 14 creates a routing table based on the routing information obtained by this routing function, and Table 1 is an example of the above routing table based on IP (Internet Protocol).
【0015】[0015]
【表1】 [Table 1]
【0016】表1において、ネットワークのエントリに
は、仮想ルータ14に接続されるVLANのネットワー
クアドレスが登録され、ポートのエントリには、そのV
LANが接続されているポートのネットワークアドレス
が登録され、ゲートウェイのエントリには、データ中継
のVLAN又はルータのネットワークアドレスが登録さ
れ、メトリックスのエントリには、宛先までの距離(実
際にはデータ中継を行うルータの数)が登録されてい
る。In Table 1, the network entry registers the network address of the VLAN connected to the virtual router 14, and the port entry lists the V address.
The network address of the port to which the LAN is connected is registered, the data entry VLAN or router network address is registered in the gateway entry, and the distance to the destination (actually data relay The number of routers to do) is registered.
【0017】仮想ルータ14は、上記ルーティング情報
を含んだフレーム中からルータ15の仮想ネットワーク
アドレスの情報を得ることができ、例えばプロトコルが
TCP/IPである場合には、このアドレス情報及びA
RPプロトコルの情報により、ルータ15の物理アドレ
スを認識することができる。また、プロトコルがIPX
である場合には、ネットワーク番号の下位6バイトから
ルータ15の物理アドレスを認識することができる。The virtual router 14 can obtain information on the virtual network address of the router 15 from the frame containing the routing information. For example, when the protocol is TCP / IP, this address information and A
The physical address of the router 15 can be recognized from the information of the RP protocol. Also, the protocol is IPX
If it is, the physical address of the router 15 can be recognized from the lower 6 bytes of the network number.
【0018】仮想ルータ14は、表2に示す物理アドレ
ステーブルを有している。The virtual router 14 has a physical address table shown in Table 2.
【0019】[0019]
【表2】 [Table 2]
【0020】表2において、物理アドレスのエントリに
は、例えばノード21のアドレス「11.11.11.
11.11.11」、ルータ14のポート8のアドレス
「22.22.22.22.22.22」、ルータ15
のポート8のアドレス「33.33.33.33.3
3.33」、ノード27のアドレス「44.44.4
4.44.44.44」が、それぞれ登録されている。
また、ポートのエントリには、フレームを転送するポー
トのネットワークアドレスがそれぞれ登録されている。In Table 2, the physical address entry is, for example, the address “11.11.11.
11.11.11 ”, the address of the port 8 of the router 14“ 22.22.2.22.22.22.22 ”, the router 15
Address of port 8 of "33.33.33.33.3"
3.33 ”, the address of the node 27 is“ 44.44.4.
4.44.444. ”Are registered respectively.
Further, in the port entry, the network address of the port to which the frame is transferred is registered.
【0021】ハブ12は、内部のブリッジ機能によって
処理されるフレームを、上記物理アドレステーブルに登
録されている情報によって各々の方向に転送している。
また、ハブ12は、通常のブリッジの自動学習機能によ
り、仮想ルータ15からのパケットに基づいて上記テー
ブルに各種情報を登録する。すなわち、仮想ルータ14
は、ルーティング情報の交換時等のタイミングに、図2
のフローチャートに基づいて物理アドレステーブルのエ
ントリの追加を行う。図2において、まず、仮想ルータ
14は、上記タイミングでルーティングテーブルをチェ
ックし(ステップ101)、同一VLANに複数のルー
ティング情報、すなわち複数ルートがあるかどうか判断
する(ステップ102)。The hub 12 transfers the frame processed by the internal bridge function in each direction according to the information registered in the physical address table.
Further, the hub 12 registers various information in the table based on the packet from the virtual router 15 by the normal bridge automatic learning function. That is, the virtual router 14
At the timing of exchanging routing information, etc.
The entry of the physical address table is added based on the flowchart of FIG. In FIG. 2, first, the virtual router 14 checks the routing table at the above timing (step 101) and determines whether or not there are a plurality of routing information, that is, a plurality of routes in the same VLAN (step 102).
【0022】ここで、複数ルートがある場合には、その
ルーティング情報のゲートウェイの中にルータのエント
リがあるかどうか判断し(ステップ103)、上記ルー
タのエントリがある場合には、そのルータが自ルータと
同じ仮想ルータかどうか判断する(ステップ104)。
なお、自ルータと同じ仮想ルータかどうかの判断は、例
えば各ルータの物理アドレスによって判断することがで
き、このルータの物理アドレスは、仮想ルータ間のブロ
ードキャストによって認識することができる。If there are a plurality of routes, it is judged whether or not there is a router entry in the gateway of the routing information (step 103). It is determined whether the router is the same virtual router (step 104).
Whether or not the router is the same as the virtual router can be determined by the physical address of each router, for example, and the physical address of this router can be recognized by broadcasting between the virtual routers.
【0023】そして、そのルータが仮想ルータの場合に
は、物理アドレステーブルの該当するポートエントリを
自ルータとして(ステップ105)、上記動作を終了す
る。すなわち、表1において、VLAN50には、2つ
のルートが存在しており、そのゲートウェイの情報の中
には、自ルータと同じ仮想ルータ15がある。そこで、
仮想ルータ14は、物理アドレステーブル中におけるル
ータ15のポート8のアドレス「33.33.33.3
3.33.33」に対応するポートエントリとして、自
ルータのポート8のポート番号を登録する(表2では、
上から3段目のエントリがそれに該当する)。そして、
ハブ12は、宛先が仮想ルータ15のポート8を指定す
るフレームを受信した場合には、上記フレームを仮想ル
ータ14に送信する。仮想ルータ14は、上記フレーム
を受信すると、宛先アドレスが自ルータのアドレスかど
うか判断し、異なる場合には、上記宛先アドレスを自ル
ータのアドレスとする。If the router is a virtual router, the corresponding port entry in the physical address table is set as its own router (step 105), and the above operation is terminated. That is, in Table 1, two routes exist in the VLAN 50, and the virtual router 15 which is the same as the self router is included in the information of the gateway. Therefore,
The virtual router 14 uses the address “33.33.33.3” of the port 8 of the router 15 in the physical address table.
Register the port number of port 8 of the router itself as the port entry corresponding to "3.33.33" (in Table 2,
That is the entry in the third row from the top). And
When the hub 12 receives a frame whose destination designates the port 8 of the virtual router 15, the hub 12 transmits the frame to the virtual router 14. Upon receiving the frame, the virtual router 14 determines whether or not the destination address is the address of its own router, and if different, sets the destination address as the address of its own router.
【0024】従って、仮想ルータ14は、自装置に接続
されたノードのルーティング情報のうちの宛先までの距
離を示すメトリックス情報が、自装置の仮想ルータ14
を中継させた場合と他のハブ13の仮想ルータ15を中
継させた場合と同じ時、フレームを自装置の仮想ルータ
14に転送するように、物理アドレステーブルの物理ア
ドレスに次の宛先(中継先)と、それに対応する仮想ル
ータ14のポート番号を追加して登録することができ
る。Therefore, in the virtual router 14, the metric information indicating the distance to the destination among the routing information of the nodes connected to the own device is the virtual router 14 of the own device.
At the same time as when the virtual router 15 of another hub 13 is relayed, so that the frame is transferred to the virtual router 14 of its own device, the next address (relay destination) is added to the physical address of the physical address table. ) And the port number of the virtual router 14 corresponding thereto can be added and registered.
【0025】物理アドレステーブルは、パケットの中の
宛先アドレス(物理アドレス)に基づいて、そのパケッ
トの出力ポート番号を検索するために使用されている。
表3は、上記物理アドレステーブルの他の実施例であ
る。The physical address table is used to search the output port number of a packet based on the destination address (physical address) in the packet.
Table 3 is another embodiment of the physical address table.
【0026】[0026]
【表3】 [Table 3]
【0027】表3においては、物理アドレスとポートに
対応する優先度の情報を付加した場合を示している。上
記優先度において、「0」は非優先の場合を、「1」は
優先の場合を示している。なお、表3では、物理アドレ
スがルータ15のポート8のアドレス「33.33.3
3.33.33.33」を示す場合には、擬似的に付加
された仮想ルータ14のポート8に優先的にフレームを
転送するように設定されている。従って、物理アドレス
テーブル中に同一の物理アドレスのエントリが複数存在
しても、上記優先度を示す情報によって優先的にフレー
ムを特定ポートに転送することができる。このため、例
えばルータ15宛に送られたVLAN60へのパケット
は、宛先アドレスが仮想ルータ15向けであっても、仮
想ルータ14向けであっても、ルータ14を経由するこ
ととなる。Table 3 shows a case where priority information corresponding to a physical address and a port is added. In the above priority, “0” indicates a non-priority case, and “1” indicates a priority case. In Table 3, the physical address is the address "33.33.3" of the port 8 of the router 15.
3.33.33.33 ”indicates that the frame is preferentially transferred to the pseudo-added port 8 of the virtual router 14. Therefore, even if there are a plurality of entries having the same physical address in the physical address table, the frame can be preferentially transferred to the specific port by the information indicating the priority. Therefore, for example, a packet to the VLAN 60 sent to the router 15 passes through the router 14 regardless of whether the destination address is for the virtual router 15 or the virtual router 14.
【0028】また、ハブ12では、仮想ルータ14から
送られた仮想ルータ15向けのフレームについては、再
び仮想ルータ14に戻らないように、物理アドレステー
ブルのポートに登録されたATMポート10に転送する
エントリに対しては、優先度を低く設定しておく。ま
た、この擬似的に付加された物理アドレスは、実際のル
ータ15の物理ポートと競合しないように、パケットの
送出やARPの応答等は行わない。In the hub 12, the frame for the virtual router 15 sent from the virtual router 14 is transferred to the ATM port 10 registered in the port of the physical address table so as not to return to the virtual router 14 again. The priority is set low for the entry. In addition, the pseudo-added physical address is not used for sending a packet or responding to an ARP so as not to conflict with the actual physical port of the router 15.
【0029】図3は、上述した物理アドレステーブルを
管理するブリッジの構成の一例を示すブロック図であ
る。図において、転送制御器40は、フレームを、例え
ば自装置のポート(ポート1〜7、ATMポート10)
又はルータ14から取り込むと、上記フレームの宛先ア
ドレス(物理アドレス)から、上記物理アドレステーブ
ル41を検索して該当する転送先(ポート1〜7、AT
Mポート10又はルータ14)に上記フレームを転送し
ている。FIG. 3 is a block diagram showing an example of the configuration of a bridge that manages the above-mentioned physical address table. In the figure, the transfer controller 40 sends a frame to a port of its own device (ports 1 to 7, ATM port 10), for example.
Alternatively, when fetched from the router 14, the physical address table 41 is searched from the destination address (physical address) of the frame and the corresponding transfer destination (ports 1 to 7, AT
The frame is transferred to the M port 10 or the router 14).
【0030】なお、上記バーチャルLANシステムでデ
ータ伝送されるフレームは、例えばARPの場合には、
図4に示すような構成になっている。図において、フレ
ームは、物理アドレスからなる宛先アドレス及び送信元
アドレス、ネットワークアドレスからなるIPアドレス
等から構成されるMAC層ヘッダと、データと、フレー
ムの終了を示すFCS等からなっている。The frame for data transmission in the virtual LAN system is, for example, in the case of ARP,
The structure is as shown in FIG. In the figure, a frame is composed of a MAC layer header composed of a destination address and a source address composed of a physical address, an IP address composed of a network address, etc., data, and an FCS indicating the end of the frame.
【0031】次に、図1に示したVLANシステムにお
けるフレーム通信手順の一実施例を図5の手順図に基づ
いて説明する。なお、ここでは、ノード21からノード
27へのフレームを送信する場合について述べる。そこ
で、ハブ12の物理アドレステーブルは、表3に示すも
のを使用し、ノード21のルーティングテーブルは、表
4に示すものとする。Next, an embodiment of the frame communication procedure in the VLAN system shown in FIG. 1 will be described with reference to the procedure diagram of FIG. Note that, here, a case where a frame is transmitted from the node 21 to the node 27 will be described. Therefore, the physical address table of the hub 12 is shown in Table 3, and the routing table of the node 21 is shown in Table 4.
【0032】[0032]
【表4】 [Table 4]
【0033】図5において、ノード21では、ノード2
7に対するパケットが発生すると、自ノード内のルーテ
ィングテーブルを参照して、フレーム(図4参照)を作
成する。なお、この場合、VLAN60に属するノード
27にフレームを送信するルートは2通りあり、いずれ
のメトリックスも「1」なので、宛先をルータ15とす
ることも、ルータ14とすることも可能である。しか
し、ノード21では、表4に示すように、ゲートウェイ
がルータ15の方が先に設定されているので、フレーム
は、宛先アドレスがルータ15のポート8の物理アドレ
ス「33.33.33.33.33.33」に、送信元
がノード21物理アドレス「11.11.11.11.
11.11」に設定されて送信される。In FIG. 5, the node 21 is the node 2
When a packet for 7 is generated, a frame (see FIG. 4) is created by referring to the routing table in the own node. In this case, there are two routes for transmitting the frame to the node 27 belonging to the VLAN 60, and both metrics are "1". Therefore, the destination can be the router 15 or the router 14. However, in the node 21, as shown in Table 4, the gateway is set to the router 15 first, so that the destination address of the frame is the physical address “33.33.33.3.33” of the port 8 of the router 15. .33.33 ”, the transmission source is the node 21 physical address“ 11.11.11.11.
11.11. ”Is set and transmitted.
【0034】ハブ12の転送制御器40は、ポート1か
ら上記フレームを受信すると、物理アドレステーブル4
1のエントリを、上記宛先アドレス「33.33.3
3.33.33.33」に基づいて検索する。そして、
2つのルータ15の物理アドレスのエントリとマッチン
グするが、ここでは、擬似的に追加されたルータ15の
物理アドレスのエントリの方が、優先度が高いので、転
送制御器40は、ポート6、すなわちルータ14に上記
フレームを転送する。When the transfer controller 40 of the hub 12 receives the frame from the port 1, the transfer controller 40 of the physical address table 4
1 entry to the destination address “33.33.3”
3.33.33.33 ”. And
Although it matches the entries of the physical addresses of the two routers 15, the entry of the pseudo-added physical address of the router 15 has a higher priority here. The frame is transferred to the router 14.
【0035】ルータ14は、上記フレームを受信する
と、MAC層ヘッダを取り除き、直接自ルータ宛に送ら
れてきたフレームと同様に扱う。すなわち、MAC層ヘ
ッダ内部のネットワークアドレスと、ルータ14の持つ
ルーティングテーブルを参照して、上記フレームを所定
方向(本実施例では、ポート9を介してVLAN60に
属するポート7)に送信する。When the router 14 receives the above frame, it removes the MAC layer header and treats it in the same manner as a frame sent directly to its own router. That is, the network address in the MAC layer header and the routing table of the router 14 are referred to and the frame is transmitted in a predetermined direction (in this embodiment, the port 7 belonging to the VLAN 60 via the port 9).
【0036】なお、この時のフレームの宛先アドレス
は、ノード27のアドレス「44.44.44.44.
44.44」に、送信元アドレスは、ポート8のアドレ
ス「22.22.22.22.22.22」に設定され
ている。従って、ノード27は、自ノード宛の上記フレ
ームを受信することができる。本実施例では、ATM網
にまたがる仮想ネットワーク間で、複数のルートが存在
する場合には、常に応答速度の速い方のルートを選ん
で、フレームの通信を行うので、システム内の応答速度
を早めるとともに、通信がATM網が必要な場合にのみ
上記ATM網を使用して、ATM網の資源節約を図るル
ーティング方法を実現することができる。The destination address of the frame at this time is the address "44.44.44.44.
44.44 ”, and the transmission source address is set to the address“ 22.22.2.22.22.22.22 ”of the port 8. Therefore, the node 27 can receive the frame addressed to its own node. In the present embodiment, when there are a plurality of routes between virtual networks extending over the ATM network, the route having the faster response speed is always selected and the frame communication is performed, so that the response speed in the system is increased. At the same time, the above-mentioned ATM network can be used only when the communication requires the ATM network, and a routing method for saving the resources of the ATM network can be realized.
【0037】また、本実施例では、物理アドレスを用い
てルーティング(データの転送先)を制御しているた
め、汎用性が良く、多種類のプロトコルに対して利用す
ることが可能となる。また、本実施例では、物理アドレ
スエントリを追加する条件を、既存のルーティングプロ
トコルで判断しているため、ルータ間で新たに制御用の
プロトコルを追加する必要がなく、開発時間・開発コス
トの縮小を図ることができる。Further, in this embodiment, since the routing (data transfer destination) is controlled by using the physical address, the versatility is good and it is possible to use it for various kinds of protocols. Further, in the present embodiment, since the condition for adding the physical address entry is determined by the existing routing protocol, it is not necessary to add a new control protocol between the routers, which reduces the development time and development cost. Can be achieved.
【0038】なお、本実施例では、ノード内のルーティ
ングテーブルの一例を表4に示したが、例えば上記ハブ
がデフォルト・ゲートウェイタイプの場合には、以下の
表5のように設定することも可能ある。In this embodiment, an example of the routing table in the node is shown in Table 4. However, if the hub is the default gateway type, it can be set as shown in Table 5 below. is there.
【0039】[0039]
【表5】 [Table 5]
【0040】この表5のルーティングテーブルでは、自
ノード(例えば、図1におけるルータ21)と同じVL
AN(この例では仮想ネットワーク1)で、かつ同じハ
ブ内の宛先(例えばノード22,23)に対しては、デ
ータ中継のVLAN(この例では仮想ネットワーク5
0)に、フレームを送るように設定する。また、上記条
件すなわち、自ノードと同じVLAN、同じハブ内の宛
先のうち、いずれかの条件が異なる宛先(ノード)の場
合には、ルータ14にフレームを送るようにテーブルを
設定する。この場合にも、応答速度の速い方のルートを
選んで、フレームの通信を行うことが可能なので、シス
テム内の応答速度を早めるとともに、ATM網の資源節
約を図ることができる。In the routing table shown in Table 5, the same VL as that of the own node (for example, the router 21 in FIG. 1) is used.
For an AN (in this example, virtual network 1) and a destination (for example, nodes 22 and 23) within the same hub, a data relay VLAN (in this example, virtual network 5).
Set 0) to send a frame. In addition, under the above condition, that is, in the same VLAN as the own node and the destinations (nodes) in the same hub, any one of the conditions is different, the table is set to send the frame to the router 14. Also in this case, it is possible to select the route with the faster response speed for frame communication, so that the response speed in the system can be increased and the resources of the ATM network can be saved.
【0041】また、本実施例では、ルータの扱う仮想ネ
ットワークの数が3つ以上になった場合でも、扱う仮想
ネットワークの数に関わらず、上記実施例と同様の方法
を使用することができる。また、本実施例のハブでは、
ATM側のインターフェースとポート側のATM−10
BASE−Tインターフェースの間は、ATMフォーラ
ムLANで標準化されているLANエミュレーションv
1.0やその他の例えばピアtoピアでパケットの交換
が可能な独自のカプセリングを用いることが可能であ
る。Further, in this embodiment, even when the number of virtual networks handled by the router is three or more, the same method as in the above embodiment can be used regardless of the number of virtual networks handled. Also, in the hub of this embodiment,
ATM side interface and ATM side port-10
Between the BASE-T interface, LAN emulation v standardized by the ATM Forum LAN
It is possible to use a proprietary encapsulation that allows packet exchanges such as 1.0 or other, eg peer-to-peer.
【0042】さらに、本実施例では、バックボーンネッ
トワークとしてATM網を用いたが、本発明はこれに限
らず、ATM網以外の広域網(ワイドエリアネットワー
ク)、例えば専用線、フレームリレー、ISDN等も、
上記実施例と同様に用いることが可能である。Furthermore, in the present embodiment, the ATM network is used as the backbone network, but the present invention is not limited to this, and wide area networks (wide area networks) other than the ATM network, such as leased lines, frame relays, ISDN, etc. ,
It can be used in the same manner as in the above embodiment.
【0043】[0043]
【発明の効果】以上説明したように、本発明では、各ノ
ードがそれぞれ接続される複数のポートとブリッジ機能
とを有する複数の接続装置を、バックボーンネットワー
クを介して接続して、他の接続装置との間で所定ポート
をグループ分けして仮想ネットワークの設定を行い、前
記ノード間でデータを伝送するシステムにおいて、前記
各接続装置は、仮想ルータと、該仮想ルータ及び前記ノ
ードの物理アドレス情報に対応したポート情報を登録し
た記憶手段とを有し、前記伝送されるデータを該記憶手
段の登録内容に基づいて転送するとともに、前記他の接
続装置からのルーティング情報を受け取り、該ルーティ
ング情報のうちの相手先ネットワークまでの距離を示す
情報が、自装置の前記ルータを中継させた場合と他の接
続装置のルータを中継させた場合と同じ時は、前記伝送
されるデータを前記自装置の仮想ルータに転送するよう
に、前記記憶手段に前記物理アドレス情報と、それに対
応するポート情報を登録するので、システム内の応答速
度を早めるとともに、必要な場合にのみバックボーンネ
ットワークを使用でき、バックボーンネットワークの資
源節約が図られる。As described above, according to the present invention, a plurality of connecting devices each having a plurality of ports to which each node is connected and a bridge function are connected via a backbone network to provide another connecting device. In a system in which a predetermined port is divided into groups to set a virtual network and data is transmitted between the nodes, each of the connection devices includes a virtual router and a physical address information of the virtual router and the node. Storage means for registering corresponding port information, transferring the transmitted data based on the registered contents of the storage means, receiving routing information from the other connection device, The information indicating the distance to the other party's network of the router of the other device At the same time as when the data is transferred, the physical address information and the corresponding port information are registered in the storage means so that the transmitted data is transferred to the virtual router of the own device. The response speed is increased, and the backbone network can be used only when necessary, so that the backbone network resources are saved.
【0044】請求項2では、自装置の仮想ルータを中継
させた場合と他の接続装置のルータを中継させた場合に
ルーティングが同じ時に、前記記憶手段に登録される物
理アドレスは、前記自装置の仮想ルータの情報であり、
それに対応する前記ポート情報は、該仮想ルータのポー
トに設定された情報であるので、データを自装置の仮想
ルータに転送することができ、これにより必要な場合に
のみバックボーンネットワークを使用し、短い距離でデ
ータを伝送することが可能となる。According to a second aspect of the present invention, when the routing is the same when the virtual router of the own device is relayed and when the router of another connecting device is relayed, the physical address registered in the storage means is the own device. Virtual router information,
Since the corresponding port information is the information set in the port of the virtual router, the data can be transferred to the virtual router of the own device, which allows the backbone network to be used only when necessary and the short time. It becomes possible to transmit data over a distance.
【図1】本発明に係る仮想ネットワークのルーティング
方法を用いたバーチャルLANシステムの一実施例の構
成を示す構成図である。FIG. 1 is a configuration diagram showing a configuration of an embodiment of a virtual LAN system using a virtual network routing method according to the present invention.
【図2】図1に示したハブが行う物理アドレステーブル
のエントリの追加を説明するためのフローチャートであ
る。FIG. 2 is a flowchart for explaining addition of an entry in a physical address table performed by the hub shown in FIG.
【図3】表3に示した物理アドレステーブルを管理する
ブリッジの構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of a configuration of a bridge that manages a physical address table shown in Table 3.
【図4】図1に示したVLANシステムでデータ伝送さ
れるフレームの構成を示す構成図である。4 is a configuration diagram showing a configuration of a frame for data transmission in the VLAN system shown in FIG.
【図5】図1に示したVLANシステムにおけるフレー
ム通信手順の一実施例を説明する手順図である。5 is a procedure diagram for explaining an example of a frame communication procedure in the VLAN system shown in FIG.
1〜10 ポート 11 ATM網 12,13 ハブ 21〜27,31〜37 ノード 40 転送制御器 41 物理アドレステーブル 50,60 バーチャルLAN(VLAN) 1-10 port 11 ATM network 12,13 hub 21-27, 31-37 node 40 transfer controller 41 physical address table 50,60 virtual LAN (VLAN)
Claims (2)
ートとブリッジ機能とを有する複数の接続装置を、バッ
クボーンネットワークを介して接続して、他の接続装置
との間で所定ポートをグループ分けして仮想ネットワー
クの設定を行い、前記ノード間でデータを伝送するシス
テムにおいて、 前記各接続装置は、仮想ルータと、該仮想ルータ及び前
記ノードの物理アドレス情報に対応したポート情報を登
録した記憶手段とを有し、前記伝送されるデータを該記
憶手段の登録内容に基づいて転送するとともに、前記他
の接続装置からのルーティング情報を受け取り、該ルー
ティング情報のうちの相手先ネットワークまでの距離を
示す情報が、自装置の前記ルータを中継させた場合と他
の接続装置のルータを中継させた場合と同じ時は、前記
伝送されるデータを前記自装置の仮想ルータに転送する
ように、前記記憶手段に前記物理アドレス情報と、それ
に対応するポート情報を登録することを特徴とする仮想
ネットワークのルーティング方法。1. A plurality of connecting devices having a bridge function and a plurality of ports to which each node is respectively connected are connected via a backbone network, and predetermined ports are grouped with other connecting devices. In the system for setting a virtual network and transmitting data between the nodes, each of the connection devices includes a virtual router and a storage unit that registers port information corresponding to physical address information of the virtual router and the node. Information for transmitting the transmitted data based on the registered contents of the storage means, receiving routing information from the other connection device, and indicating the distance to the destination network in the routing information. However, when it is the same as when the router of the own device is relayed and when the router of another connection device is relayed, To forward the data to the virtual router of the own device, and the physical address information in the storage unit, routing method of the virtual network and registers the port information corresponding thereto.
合と他の接続装置のルータを中継させた場合と同じ時
に、前記記憶手段に登録される物理アドレスは、前記自
装置の仮想ルータの情報であり、それに対応する前記ポ
ート情報は、該仮想ルータのポートに設定された情報で
あることを特徴とする請求項1に記載の仮想ネットワー
クのルーティング方法。2. The physical address registered in the storage means at the same time when the virtual router of the own device is relayed and when the router of another connection device is relayed, The virtual network routing method according to claim 1, wherein the virtual network routing information is information, and the port information corresponding thereto is information set in a port of the virtual router.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7300040A JPH09149084A (en) | 1995-11-17 | 1995-11-17 | Virtual network routing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7300040A JPH09149084A (en) | 1995-11-17 | 1995-11-17 | Virtual network routing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09149084A true JPH09149084A (en) | 1997-06-06 |
Family
ID=17879980
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7300040A Pending JPH09149084A (en) | 1995-11-17 | 1995-11-17 | Virtual network routing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09149084A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100681466B1 (en) * | 2006-03-08 | 2007-02-09 | 주식회사 이젠이에스 | Combined Communication Device Performing Bridge Operation and Routing Operation |
-
1995
- 1995-11-17 JP JP7300040A patent/JPH09149084A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100681466B1 (en) * | 2006-03-08 | 2007-02-09 | 주식회사 이젠이에스 | Combined Communication Device Performing Bridge Operation and Routing Operation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6847638B1 (en) | Multicast system for forwarding desired multicast packets in a computer network | |
| US7359394B2 (en) | Method and apparatus for bridging between networks | |
| US6539432B1 (en) | Network manager, nodes and network management system | |
| US6189042B1 (en) | LAN internet connection having effective mechanism to classify LAN traffic and resolve address resolution protocol requests | |
| JP3113742B2 (en) | Internetwork equipment | |
| US6873603B1 (en) | MAC address population protocol | |
| US20030112805A1 (en) | Method and apparatus for providing device-to-device connectivity using shared infiniband NIC device | |
| US9473242B2 (en) | Establishing connection across a connection-oriented first telecommunications network in response to a connection request from a second telecommunications network | |
| CN100563215C (en) | A message routing switching device and method thereof | |
| KR100298286B1 (en) | Atm-lan network having a bridge that establishes communication with or without lan emulation protocol depending on destination address | |
| JP2001060956A (en) | Transport layer multilink communication method | |
| JPH10303965A (en) | Routing method in router device | |
| US6791979B1 (en) | Mechanism for conveying data prioritization information among heterogeneous nodes of a computer network | |
| JP2008167008A (en) | RPR transmission route designation method and apparatus | |
| JP3352073B2 (en) | Internetwork equipment | |
| JPH09149084A (en) | Virtual network routing method | |
| EP0998081B1 (en) | Method and apparatus for bridging between networks | |
| JP3435130B2 (en) | Internetwork equipment | |
| JPH1093637A (en) | Routing method for network connection equipment | |
| JPH1032597A (en) | Inter-lan connection device | |
| JP3475158B2 (en) | Communication processing method | |
| JP3475192B2 (en) | Internetwork equipment and router | |
| JP4255863B2 (en) | Wide area network system and communication method | |
| JP2923921B1 (en) | Packet transfer method | |
| JPH10243009A (en) | Switching hub |