JPH09307579A - Multiport relay device and network equipment - Google Patents
Multiport relay device and network equipmentInfo
- Publication number
- JPH09307579A JPH09307579A JP8116484A JP11648496A JPH09307579A JP H09307579 A JPH09307579 A JP H09307579A JP 8116484 A JP8116484 A JP 8116484A JP 11648496 A JP11648496 A JP 11648496A JP H09307579 A JPH09307579 A JP H09307579A
- Authority
- JP
- Japan
- Prior art keywords
- address
- virtual lan
- network device
- relay device
- port
- 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
- 238000000034 method Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 2
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
(57)【要約】
【課題】 1つのネットワーク機器が複数の仮想LAN
に属することが可能で、マルチポート中継装置は仮想L
ANのための全MACアドレスの記憶・検索が不要なマ
ルチポート中継装置及びネットワーク機器を提供する。
【解決手段】 マルチポート中継装置101は、ポート
に接続されたネットワーク機器111に対し、そのネッ
トワーク機器の仮想LANにおけるアドレスとして、M
ACアドレスに置き換え可能な仮想LANアドレス10
00を割り当てる。割り当てを受けたネットワーク機器
111は、このアドレスを仮想LANにおける自局のア
ドレスとし、MACアドレスに代えてフレームに使用す
る。マルチポート中継装置101は、フレームを仮想L
ANアドレス1000に基づいて中継する。
(57) [Abstract] [PROBLEMS] One network device includes a plurality of virtual LANs.
Multiport relay device can belong to a virtual L
(EN) Provided are a multi-port relay device and a network device that do not require storage / search of all MAC addresses for AN. A multi-port relay device (101) sets a network device (111) connected to a port as an address in a virtual LAN of the network device (M).
Virtual LAN address that can be replaced with AC address 10
Assign 00. The assigned network device 111 uses this address as the address of its own station in the virtual LAN and uses it for the frame instead of the MAC address. The multi-port relay device 101 sends a frame to a virtual L
Relay based on AN address 1000.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ネットワーク上の
ネットワーク機器をグループ分けして仮想LANを構成
するマルチポート中継装置及びネットワーク機器に係
り、特に、1つのネットワーク機器が複数の仮想LAN
に属することが可能で、マルチポート中継装置は仮想L
ANのための全MACアドレスの記憶・検索が不要なマ
ルチポート中継装置及びネットワーク機器に関するもの
である。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-port relay device and a network device for grouping network devices on a network to form a virtual LAN, and in particular, one network device has a plurality of virtual LANs.
Multiport relay device can belong to a virtual L
The present invention relates to a multi-port relay device and a network device that do not require storage and retrieval of all MAC addresses for AN.
【0002】[0002]
【従来の技術】マルチポート中継装置によってネットワ
ーク機器が相互接続されているネットワークにおいて、
ネットワーク機器の接続されているポートやネットワー
ク機器のMACアドレスによってネットワーク機器をグ
ループ分けし、グループに含まれるネットワーク機器間
のみで通信を行う、いわゆる仮想LANが知られてい
る。このために、従来の仮想LAN機能を有するマルチ
ポート中継装置は、ポートやMACアドレスによってネ
ットワーク機器を仮想LANグループに分け、この仮想
LANグループに含まれるネットワーク機器間のみで中
継を行うようになっている。2. Description of the Related Art In a network in which network devices are interconnected by a multiport relay device,
A so-called virtual LAN is known in which network devices are divided into groups according to the ports to which the network devices are connected and the MAC addresses of the network devices, and communication is performed only between the network devices included in the group. Therefore, a conventional multi-port relay device having a virtual LAN function divides network devices into virtual LAN groups according to ports and MAC addresses, and relays only between network devices included in the virtual LAN group. There is.
【0003】MACアドレスは、ISO/IEC 8802-3(CSMA/
CD) 或いはISO/IEC 8802-5(Token Ring)等の規格に規定
されているとおり、ネットワーク機器のハードウェアに
固有のアドレスであり、ネットワーク機器に物理的なネ
ットワークインタフェースとして組み込まれているネッ
トワークアダプタに、ROM(Read Only Memory)等によ
り固定的に保持されている。The MAC address is ISO / IEC 8802-3 (CSMA /
CD) or ISO / IEC 8802-5 (Token Ring), etc., a network adapter that is an address unique to the hardware of the network device and is incorporated in the network device as a physical network interface. In addition, it is fixedly held by a ROM (Read Only Memory) or the like.
【0004】[0004]
【発明が解決しようとする課題】上記のようにMACア
ドレスはネットワーク機器に固有のものであり、他から
与えることはできない。また、このMACアドレスをフ
レームの宛先や送信元に使用することによって中継を可
能としているので、MACアドレス以外のアドレスを使
用して通信することはできない。As described above, the MAC address is unique to the network device and cannot be given from others. Further, since the relay can be performed by using this MAC address as the destination or source of the frame, it is impossible to communicate using an address other than the MAC address.
【0005】従来、仮想LANを構成するとき、このよ
うなMACアドレスによりネットワーク機器を仮想LA
Nグループに分けているので、1つのネットワーク機器
が2つ以上の仮想LANグループに属することができな
い。Conventionally, when constructing a virtual LAN, a network device is virtual LA by such a MAC address.
Since it is divided into N groups, one network device cannot belong to more than one virtual LAN group.
【0006】また、仮想LAN機能を有するマルチポー
ト中継装置にあっては、仮想LANグループに含まれる
ネットワーク機器間のみで中継を行うために、仮想LA
Nグループに属する全てのネットワーク機器のMACア
ドレスを記憶しておく必要がある。そして、このような
仮想LANにおけるフレームの中継に際し、仮想LAN
グループに属するネットワーク機器のMACアドレスを
検索し、フレームに含まれるMACアドレスとの比較を
行った上で中継を行う必要がある。Further, in the multi-port relay device having the virtual LAN function, since the relay is performed only between the network devices included in the virtual LAN group, the virtual LA is used.
It is necessary to store the MAC addresses of all network devices belonging to the N group. When relaying frames in such a virtual LAN, the virtual LAN
It is necessary to search the MAC address of the network device belonging to the group, compare it with the MAC address included in the frame, and then perform the relay.
【0007】そこで、本発明の目的は、上記課題を解決
し、1つのネットワーク機器が複数の仮想LANに属す
ることが可能で、マルチポート中継装置は仮想LANの
ための全MACアドレスの記憶・検索が不要なマルチポ
ート中継装置及びネットワーク機器を提供することにあ
る。Therefore, an object of the present invention is to solve the above-mentioned problems, one network device can belong to a plurality of virtual LANs, and the multi-port relay device stores and retrieves all MAC addresses for the virtual LAN. It is to provide a multi-port relay device and a network device that do not require.
【0008】[0008]
【課題を解決するための手段】上記目的を達成するため
に本発明のマルチポート中継装置は、ポートに接続され
たネットワーク機器に対し、そのネットワーク機器の仮
想LANにおけるアドレスとして、MACアドレスに置
き換え可能な仮想LANアドレスを割り当てるものであ
る。In order to achieve the above object, the multi-port relay device of the present invention can replace a network device connected to a port with a MAC address as an address in the virtual LAN of the network device. A virtual LAN address is assigned.
【0009】上記仮想LANアドレスは、このアドレス
がMACアドレスのローカルアドレスであることを示す
フラグと、このアドレスが仮想LANアドレスであるこ
とを示すフラグと、このアドレスを持つネットワーク機
器が所属する仮想LANグループの識別番号と、このア
ドレスを持つネットワーク機器が接続されているマルチ
ポート中継装置の識別番号と、このアドレスを持つネッ
トワーク機器を特定する終端ネットワーク機器識別番号
とを含んでもよい。The virtual LAN address is a flag indicating that this address is a local address of a MAC address, a flag indicating that this address is a virtual LAN address, and a virtual LAN to which a network device having this address belongs. The identification number of the group, the identification number of the multi-port relay device to which the network device having this address is connected, and the end network device identification number that identifies the network device having this address may be included.
【0010】フレームの送信元又は宛先MACアドレス
に上記仮想LANアドレスが使用されている場合、この
仮想LANアドレスに含まれるマルチポート中継装置識
別番号及び終端ネットワーク機器識別番号に基づいて中
継を行ってもよい。When the virtual LAN address is used as the source or destination MAC address of the frame, even if relay is performed based on the multiport relay device identification number and the termination network device identification number included in this virtual LAN address. Good.
【0011】また、ネットワーク機器は、マルチポート
中継装置からMACアドレスに置き換え可能な仮想LA
Nアドレスの割り当てを受け、このアドレスを仮想LA
Nにおける自局のアドレスとするものである。Further, the network device is a virtual LA that can be replaced with a MAC address from the multiport relay device.
Received N address and assigned this address to virtual LA
This is the address of its own station in N.
【0012】仮想LANにおける通信を行う場合、フレ
ームの送信元又は宛先MACアドレスに代えて上記仮想
LANアドレスを使用してもよい。When performing communication in the virtual LAN, the virtual LAN address may be used in place of the frame source or destination MAC address.
【0013】[0013]
【発明の実施の形態】以下、本発明の一実施形態を添付
図面に基づいて詳述する。An embodiment of the present invention will be described below in detail with reference to the accompanying drawings.
【0014】本発明は、MACアドレスに置き換え可能
な仮想LANアドレスをネットワーク機器に持たせ、こ
の仮想LANアドレスがフレームの送信元又は宛先MA
Cアドレスに使用できるようにしたものである。この仮
想LANアドレスは、ネットワーク機器のハードウェア
に固有であるMACアドレスとは別途に、ネットワーク
機器のハードウェアには依存せずに、任意に決めること
のできる仮想のMACアドレスと考えてよい。従って、
1つのネットワーク機器が複数の仮想LANアドレスを
持つことが可能であり、各々の仮想LANアドレスがそ
の仮想LANにおいてMACアドレスの代わりに使用で
きるので、1つのネットワーク機器が複数の仮想LAN
に属することが可能になる。According to the present invention, a network device is provided with a virtual LAN address that can be replaced with a MAC address, and this virtual LAN address is the source or destination MA of a frame.
It can be used for the C address. This virtual LAN address may be considered as a virtual MAC address that can be arbitrarily determined independently of the hardware of the network device, separately from the MAC address unique to the hardware of the network device. Therefore,
Since one network device can have a plurality of virtual LAN addresses and each virtual LAN address can be used in place of the MAC address in that virtual LAN, one network device can have a plurality of virtual LAN addresses.
Will be able to belong to.
【0015】マルチポート中継装置は、仮想LANアド
レスをネットワーク機器に割り当て、この仮想LANア
ドレスを送信元又は宛先に持つフレームについては、仮
想LANアドレスに含まれるマルチポート中継装置識別
番号及び終端ネットワーク機器識別番号に基づいて中継
を行う。The multi-port relay device assigns a virtual LAN address to a network device, and for a frame having this virtual LAN address as a source or destination, the multi-port relay device identification number and end network device identification included in the virtual LAN address. Relay based on the number.
【0016】ネットワーク機器は、マルチポート中継装
置から仮想LANアドレスの割り当てを受け、フレーム
の送信元又は宛先MACアドレスに代えて仮想LANア
ドレスを使用して通信を行う。The network device receives the virtual LAN address from the multi-port relay device, and performs communication using the virtual LAN address instead of the source or destination MAC address of the frame.
【0017】マルチポート中継装置は、仮想LANアド
レスにマルチポート中継装置識別番号及び終端ネットワ
ーク機器識別番号が含まれるので、ネットワーク機器が
接続されているマルチポート中継装置が判り、さらにネ
ットワーク機器が特定できる。従って、マルチポート中
継装置識別番号及び終端ネットワーク機器識別番号に基
づいて中継を行うことができ、中継に際して全てのMA
Cアドレスを記憶したり、MACアドレスを検索、比較
したりする必要がない。Since the virtual LAN address of the multi-port relay device includes the multi-port relay device identification number and the termination network device identification number, the multi-port relay device to which the network device is connected can be known and the network device can be specified. . Therefore, the relay can be performed based on the multiport relay device identification number and the termination network device identification number, and all MAs can be relayed.
There is no need to store the C address or search and compare the MAC address.
【0018】ここで、図1に仮想LANアドレスの構成
例を示す。Here, FIG. 1 shows a configuration example of the virtual LAN address.
【0019】図示されるように、仮想LANアドレス1
000は、ISO/IEC 8802-3(CSMA/CD) 或いはISO/IEC 88
02-5(Token Ring)に規定される48ビットのMACアド
レスの構成を有している。ここでは、各ビットに図の左
から順に1から48までの番号を与えてある。As shown, virtual LAN address 1
000 is ISO / IEC 8802-3 (CSMA / CD) or ISO / IEC 88
It has a 48-bit MAC address structure defined by 02-5 (Token Ring). Here, each bit is given a number from 1 to 48 from the left side of the drawing.
【0020】仮想LANアドレス1000の2ビット目
は、このアドレスがMACアドレスのローカルアドレス
であることを示すフラグである。即ち、上記規格によ
り、2ビット目はユニバーサル/ローカル(Universal/L
ocal) 識別ビット1001であり、このビットが“0”
ならばこのMACアドレスはユニバーサルアドレス(グ
ローバルアドレス)であり、このビットが“1”ならば
このMACアドレスはローカルアドレスであると規定さ
れている。仮想LANアドレスでは、常にローカルアド
レスを示すべく、上記2ビット目を“1”としている。
これにより、仮想LANアドレスは、ネットワーク機器
が固有のものとして保持しているグローバルアドレスと
は重複しないことが保証される。The second bit of the virtual LAN address 1000 is a flag indicating that this address is a local address of the MAC address. That is, according to the above standard, the second bit is Universal / Local (Universal / L
ocal) Identification bit 1001 and this bit is “0”
Then, this MAC address is a universal address (global address), and if this bit is "1", this MAC address is a local address. In the virtual LAN address, the second bit is set to "1" to always indicate the local address.
This ensures that the virtual LAN address does not overlap with the global address that is uniquely held by the network device.
【0021】仮想LANアドレス1000の3ビット目
は、このアドレスが仮想LANアドレスであることを示
すためのフラグ、即ち、仮想LANアドレス識別ビット
1002として使用する。このビットが“1”ならばこ
のアドレスは仮想LANアドレスである。The third bit of the virtual LAN address 1000 is used as a flag for indicating that this address is a virtual LAN address, that is, a virtual LAN address identification bit 1002. If this bit is "1", this address is a virtual LAN address.
【0022】仮想LANアドレス1000の7ビット目
から16ビット目までのフィールドは、仮想LANグル
ープ識別番号(仮想LAN識別番号)1003として使
用する。このフィールドに設定された値により、この仮
想LANアドレスを持つネットワーク機器が所属してい
る仮想LANグループを識別することができる。また、
この仮想LANアドレスを送信元又は宛先MACアドレ
スに持つフレームが通信に使用される仮想LANグルー
プを識別することができる。7ビット目から16ビット
目までのフィールドを使用することにより、最大102
4個までの仮想LANグループを設定することができ
る。The fields from the 7th bit to the 16th bit of the virtual LAN address 1000 are used as a virtual LAN group identification number (virtual LAN identification number) 1003. The value set in this field makes it possible to identify the virtual LAN group to which the network device having this virtual LAN address belongs. Also,
A frame having this virtual LAN address as a source or destination MAC address can identify the virtual LAN group used for communication. By using the fields from the 7th bit to the 16th bit, a maximum of 102
Up to 4 virtual LAN groups can be set.
【0023】仮想LANアドレス1000の18ビット
目から32ビット目までのフィールドは、マルチポート
中継装置識別番号1004として使用する。マルチポー
ト中継装置識別番号1004は、管理者が予め重複しな
いようにマルチポート中継装置に割り当てた番号であ
る。このフィールドに設定された値により、この仮想L
ANアドレスを持つネットワーク機器が接続されている
マルチポート中継装置を識別することができる。The fields from the 18th bit to the 32nd bit of the virtual LAN address 1000 are used as the multiport relay device identification number 1004. The multi-port relay device identification number 1004 is a number assigned to the multi-port relay device in advance so that the administrator will not duplicate it. This virtual L depends on the value set in this field.
It is possible to identify the multi-port relay device to which the network device having the AN address is connected.
【0024】仮想LANアドレス1000の33ビット
目から48ビット目までのフィールドは、終端ネットワ
ーク機器識別番号1005として使用する。終端ネット
ワーク機器識別番号1005は、ネットワーク機器を識
別する番号であり、マルチポート中継装置が、自身に接
続されたネットワーク機器に対し、他のネットワーク機
器と重複しないように割り当てるものである。The fields from the 33rd bit to the 48th bit of the virtual LAN address 1000 are used as the terminal network equipment identification number 1005. The terminal network device identification number 1005 is a number for identifying the network device, and is assigned by the multi-port relay device to the network device connected to itself so as not to overlap with other network devices.
【0025】なお、マルチポート中継装置は、終端ネッ
トワーク機器識別番号1005とそのネットワーク機器
が接続されているポートとの対応関係を保持するように
なっている。これによりマルチポート中継装置は、ネッ
トワーク機器宛てのフレームをそのネットワーク機器が
接続されているポートに中継することが可能である。The multi-port relay device holds the correspondence between the terminal network device identification number 1005 and the port to which the network device is connected. As a result, the multiport relay device can relay a frame addressed to a network device to a port to which the network device is connected.
【0026】図2に、本発明に係るマルチポート中継装
置及びネットワーク機器を用いたネットワークの構成例
を示す。図示されるように、このネットワークには2つ
のマルチポート中継装置101,102があり相互に接
続されている。また、マルチポート中継装置101の各
ポートにはネットワーク機器111,112が接続さ
れ、マルチポート中継装置102の各ポートにはネット
ワーク機器113,114が接続されている。FIG. 2 shows a configuration example of a network using the multi-port relay device and network equipment according to the present invention. As shown in the figure, this network has two multi-port relay devices 101 and 102, which are connected to each other. Further, network devices 111 and 112 are connected to the respective ports of the multiport relay apparatus 101, and network devices 113 and 114 are connected to the respective ports of the multiport relay apparatus 102.
【0027】このネットワークにおいて、仮想LANグ
ループ#1及び仮想LANグループ#2の2つの仮想L
ANグループが存在し、ネットワーク機器111,11
4は仮想LANグループ#1に属し、ネットワーク機器
111,112,113は仮想LANグループ#2に属
するので、ネットワーク機器111は仮想LANグルー
プ#1、仮想LANグループ#2の両方に属しているこ
とになる。In this network, two virtual L's of virtual LAN group # 1 and virtual LAN group # 2
An AN group exists and network devices 111 and 11
Since 4 belongs to the virtual LAN group # 1 and the network devices 111, 112, 113 belong to the virtual LAN group # 2, the network device 111 belongs to both the virtual LAN group # 1 and the virtual LAN group # 2. Become.
【0028】本発明にあっては、このような仮想LAN
の構成を実現するため、各ネットワーク機器は自身が接
続されているマルチポート中継装置より仮想LANアド
レスの割り当てを受ける。その具体的な手順をネットワ
ーク機器111の場合を例に説明する。In the present invention, such a virtual LAN is used.
In order to realize the above configuration, each network device is assigned a virtual LAN address by the multiport relay device to which it is connected. The specific procedure will be described by taking the case of the network device 111 as an example.
【0029】図3は、このような仮想LANの構成を実
現するための割り当て処理に用いるフレームシーケンス
の一例である。ネットワーク機器111は、電源立ち上
げ時に、自局が接続されているマルチポート中継装置1
01に対して、仮想LANグループ#1において使用す
る仮想LANアドレスの割り当てを要求するための要求
フレーム321を送信する。この要求フレーム321を
受け取ったマルチポート中継装置101は、ネットワー
ク機器111が仮想LANグループ#1において使用す
る仮想LANアドレスを図1の構成例のように作成し、
この仮想LANアドレスを応答内容とする応答フレーム
331をネットワーク機器111に返送する。続いて、
ネットワーク機器111は、マルチポート中継装置10
1に対して、仮想LANグループ#2において使用する
仮想LANアドレスの割り当てを要求するための要求フ
レーム322を送信する。この要求フレーム322を受
け取ったマルチポート中継装置101は、ネットワーク
機器111が仮想LANグループ#2において使用する
仮想LANアドレスを同様に作成し、この仮想LANア
ドレスを応答内容とする応答フレーム332をネットワ
ーク機器111に返送する。FIG. 3 is an example of a frame sequence used in the allocation process for realizing such a virtual LAN configuration. The network device 111 uses the multiport relay device 1 to which its own station is connected when the power is turned on.
A request frame 321 for requesting allocation of the virtual LAN address used in the virtual LAN group # 1 is transmitted to 01. The multiport relay apparatus 101 that has received this request frame 321 creates a virtual LAN address used by the network device 111 in the virtual LAN group # 1 as in the configuration example of FIG.
A response frame 331 having this virtual LAN address as the response content is returned to the network device 111. continue,
The network device 111 is the multiport relay device 10
1, the request frame 322 for requesting the allocation of the virtual LAN address used in the virtual LAN group # 2 is transmitted. Upon receiving the request frame 322, the multi-port relay device 101 similarly creates a virtual LAN address used by the network device 111 in the virtual LAN group # 2, and sends a response frame 332 having this virtual LAN address as the response content to the network device. Return to 111.
【0030】ネットワーク機器114の場合、又はネッ
トワーク機器112,113の場合、上記のフレームシ
ーケンスは仮想LANグループ#1又は#2のみについ
て行われる。In the case of the network device 114, or in the case of the network devices 112 and 113, the above frame sequence is performed only for the virtual LAN group # 1 or # 2.
【0031】このようなフレームシーケンスによる割り
当て処理を行うことにより、1つのネットワーク機器が
1乃至複数の仮想LANアドレスを持つことになる。こ
れらの仮想LANアドレスはMACアドレスに置き換え
可能であるから、ネットワーク機器は、もともと持って
いるハードウェア固有のMACアドレスの他にMACア
ドレスとして使用できる仮想LANアドレスを持つこと
になり、あたかも複数のMACアドレスを持つかのよう
になる。By performing the allocation processing by such a frame sequence, one network device has one to a plurality of virtual LAN addresses. Since these virtual LAN addresses can be replaced with MAC addresses, the network device has a virtual LAN address that can be used as a MAC address in addition to the hardware-specific MAC address that it originally has, and it is as if there are multiple MAC addresses. As if it had an address.
【0032】次に、ネットワーク機器の仮想LANおけ
る通信動作を説明する。Next, the communication operation of the network device in the virtual LAN will be described.
【0033】ネットワーク機器は、仮想LANグループ
において単一又は全体のネットワーク機器にフレームを
送信する際には、自局に割り当てられた1乃至複数の仮
想LANアドレスのうち、当該仮想LANグループに対
応する仮想LANアドレスを送信元MACアドレスに使
用する。また、宛先の単一又は全体のネットワーク機器
の当該仮想LANグループに対応する仮想LANアドレ
スを宛先LANアドレスに使用する。When transmitting a frame to a single network device or all network devices in a virtual LAN group, the network device corresponds to the virtual LAN group among one to a plurality of virtual LAN addresses assigned to itself. Use the virtual LAN address as the source MAC address. In addition, the virtual LAN address corresponding to the virtual LAN group of a single destination or all network devices is used as the destination LAN address.
【0034】なお、宛先のネットワーク機器の仮想LA
Nアドレスは、予めARPプロトコル等のMACアドレ
スを取得するプロトコルを利用して取得するとよい。The virtual LA of the destination network device
The N address may be acquired in advance by using a protocol for acquiring a MAC address such as ARP protocol.
【0035】また、ネットワーク機器は、フレームを受
信した際には、そのMACアドレスに仮想LANアドレ
スが使用されている場合、仮想LANアドレスに含まれ
る仮想LAN識別番号から仮想LANグループを判定し
た後、このフレームを、この仮想LANのネットワーク
インタフェースを使用する上位プロトコルの通信エンテ
ィティに受け渡す。When the virtual LAN address is used for the MAC address of the network device when the frame is received, after determining the virtual LAN group from the virtual LAN identification number included in the virtual LAN address, the network device This frame is passed to the communication entity of the upper protocol which uses the network interface of this virtual LAN.
【0036】次に、マルチポート中継装置の仮想LAN
における中継処理を説明する。Next, the virtual LAN of the multiport relay device
The relay process in will be described.
【0037】図4に、中継処理の流れの一例を示す。マ
ルチポート中継装置は、ステップ401にて、ポートに
フレームが到着すると、ステップ402にて、その宛先
MACアドレスを読み込む。ステップ403にて、宛先
MACアドレスがローカルアドレスであって、仮想LA
Nアドレス識別ビットが“1”であれば仮想LANアド
レスと判定する。宛先MACアドレスが仮想LANアド
レスであった場合、ステップ404にて、この仮想LA
Nアドレスに含まれるマルチポート中継装置識別番号を
参照する。このマルチポート中継装置識別番号が自装置
のマルチポート中継装置識別番号と一致した場合、その
フレームの宛先となっているネットワーク機器は自装置
に接続されたネットワーク機器であると判定できるか
ら、ステップ405にて、この仮想LANアドレスに含
まれる終端ネットワーク機器識別番号を参照し、このマ
ルチポート中継装置が保持している、終端ネットワーク
機器識別番号とそのネットワーク機器が接続されている
ポートとの対応関係から、対応するポートにフレームを
中継する。仮想LANアドレスに含まれるマルチポート
中継装置識別番号が自装置のマルチポート中継装置識別
番号と一致しない場合、ステップ406にて、隣接する
マルチポート中継装置にフレームを中継する。宛先MA
Cアドレスが仮想LANアドレスでない場合、ステップ
407にて、通常のフレームの中継処理を行う。FIG. 4 shows an example of the flow of relay processing. When the frame arrives at the port in step 401, the multiport relay device reads the destination MAC address in step 402. In step 403, if the destination MAC address is a local address and the virtual LA
If the N address identification bit is "1", it is determined to be a virtual LAN address. If the destination MAC address is the virtual LAN address, then in step 404 this virtual LA
The multiport relay device identification number included in the N address is referred to. If this multi-port relay device identification number matches the multi-port relay device identification number of the own device, the network device that is the destination of the frame can be determined to be the network device connected to the own device, so step 405. Then, referring to the end network device identification number included in this virtual LAN address, from the correspondence relationship between the end network device identification number and the port to which the network device is connected, which is held by this multiport relay device. , Relay the frame to the corresponding port. If the multi-port relay device identification number included in the virtual LAN address does not match the multi-port relay device identification number of its own device, in step 406, the frame is relayed to the adjacent multi-port relay device. Destination MA
If the C address is not the virtual LAN address, a normal frame relay process is performed in step 407.
【0038】このようにマルチポート中継装置において
は、仮想LANアドレスに含まれるマルチポート中継装
置識別番号及び終端ネットワーク機器識別番号に基づい
て仮想LANグループ内での中継処理を行うことができ
る。従来技術では、マルチポート中継装置は、仮想LA
Nグループに属する全てのネットワーク機器のMACア
ドレスを記憶しておき、仮想LANグループに属するネ
ットワーク機器のMACアドレスを検索し、フレームに
含まれるMACアドレスとの比較を行っていたが、ネッ
トワークの規模が大きいと、非常に大きな記憶容量を必
要とし、かつ検索・比較の処理が膨大になる。本発明の
場合、ネットワークの規模によらず、個々のマルチポー
ト中継装置は、隣接しているマルチポート中継装置のマ
ルチポート中継装置識別番号とその接続ポートとの対応
関係、及び自装置に接続されたネットワーク機器の終端
ネットワーク機器識別番号とその接続ポートとの対応関
係を保持していればよい。よって、マルチポート中継装
置は、従来に比べ記憶容量、検索・比較の処理が非常に
軽くなる。As described above, in the multi-port relay device, the relay process in the virtual LAN group can be performed based on the multi-port relay device identification number and the termination network device identification number included in the virtual LAN address. In the prior art, the multiport relay device is a virtual LA.
The MAC addresses of all the network devices belonging to the N group are stored, the MAC addresses of the network devices belonging to the virtual LAN group are searched and compared with the MAC addresses included in the frame. If it is large, a very large storage capacity is required, and the search / comparison process becomes enormous. In the case of the present invention, regardless of the scale of the network, each multiport relay device is connected to its own device and the correspondence relationship between the multiport relay device identification number of the adjacent multiport relay device and its connection port. It is only necessary to hold the correspondence relationship between the terminal network device identification number of the network device and its connection port. Therefore, the multi-port relay device is much lighter in storage capacity and search / comparison processing than conventional ones.
【0039】[0039]
【発明の効果】本発明は次の如き優れた効果を発揮す
る。The present invention exhibits the following excellent effects.
【0040】(1)1つのネットワーク機器が複数の仮
想LANに属することが可能になるため、仮想LANが
利用しやすくなる。(1) Since one network device can belong to a plurality of virtual LANs, the virtual LAN can be used easily.
【0041】(2)マルチポート中継装置は仮想LAN
のための全MACアドレスの記憶・検索が不要なため、
負担が軽減されると共に処理時間が短縮される。(2) The multiport relay device is a virtual LAN
Since it is not necessary to store and retrieve all MAC addresses for
The burden is reduced and the processing time is shortened.
【図1】本発明の一実施形態を示す仮想LANアドレス
の構成図である。FIG. 1 is a configuration diagram of a virtual LAN address showing an embodiment of the present invention.
【図2】本発明のマルチポート中継装置及びネットワー
ク機器を用いたネットワークの構成図である。FIG. 2 is a configuration diagram of a network using the multi-port relay device and the network device of the present invention.
【図3】本発明による割り当て処理に用いるフレームシ
ーケンスの図である。FIG. 3 is a diagram of a frame sequence used for allocation processing according to the present invention.
【図4】本発明による中継処理の流れ図である。FIG. 4 is a flowchart of a relay process according to the present invention.
101、102 マルチポート中継装置 111、112、113、114 ネットワーク機器 1000 仮想LANアドレス 1001 ユニバーサル/ローカル識別ビット 1002 仮想LANアドレス識別ビット 1003 仮想LANグループ識別番号 1004 マルチポート中継装置識別番号 1005 終端ネットワーク機器識別番号 101, 102 Multi-port relay device 111, 112, 113, 114 Network device 1000 Virtual LAN address 1001 Universal / local identification bit 1002 Virtual LAN address identification bit 1003 Virtual LAN group identification number 1004 Multi-port relay device identification number 1005 Termination network device identification number
Claims (5)
ムの中継を行うマルチポート中継装置において、ポート
に接続されたネットワーク機器に対し、そのネットワー
ク機器の仮想LANにおけるアドレスとして、MACア
ドレスに置き換え可能な仮想LANアドレスを割り当て
ることを特徴とするマルチポート中継装置。1. In a multi-port relay device having a plurality of ports and relaying a frame between the ports, a network device connected to the port is replaced with a MAC address as an address in the virtual LAN of the network device. A multi-port relay device, which allocates possible virtual LAN addresses.
スがMACアドレスのローカルアドレスであることを示
すフラグと、このアドレスが仮想LANアドレスである
ことを示すフラグと、このアドレスを持つネットワーク
機器が所属する仮想LANグループの識別番号と、この
アドレスを持つネットワーク機器が接続されているマル
チポート中継装置の識別番号と、このアドレスを持つネ
ットワーク機器を特定する終端ネットワーク機器識別番
号とを含むことを特徴とする請求項1記載のマルチポー
ト中継装置。2. The virtual LAN address belongs to a flag indicating that this address is a local address of a MAC address, a flag indicating that this address is a virtual LAN address, and a network device having this address. It is characterized in that it includes the identification number of the virtual LAN group, the identification number of the multi-port relay device to which the network device having this address is connected, and the end network device identification number for identifying the network device having this address. The multiport relay device according to claim 1.
スに上記仮想LANアドレスが使用されている場合、こ
の仮想LANアドレスに含まれるマルチポート中継装置
識別番号及び終端ネットワーク機器識別番号に基づいて
中継を行うことを特徴とする請求項2記載のマルチポー
ト中継装置。3. When the virtual LAN address is used as the source or destination MAC address of a frame, relay is performed based on the multiport relay device identification number and the termination network device identification number included in this virtual LAN address. The multiport relay device according to claim 2, wherein
れ、このマルチポート中継装置を介して通信を行うネッ
トワーク機器において、マルチポート中継装置からMA
Cアドレスに置き換え可能な仮想LANアドレスの割り
当てを受け、このアドレスを仮想LANにおける自局の
アドレスとすることを特徴とするネットワーク機器。4. A network device which is connected to a port of a multi-port relay device and communicates via the multi-port relay device, wherein the multi-port relay device is connected to the MA device.
A network device, which receives a virtual LAN address that can be replaced with a C address, and uses this address as an address of its own station in the virtual LAN.
レームの送信元又は宛先MACアドレスに代えて上記仮
想LANアドレスを使用することを特徴とする請求項4
記載のネットワーク機器。5. The virtual LAN address is used in place of a frame source or destination MAC address when performing communication on the virtual LAN.
The listed network equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8116484A JPH09307579A (en) | 1996-05-10 | 1996-05-10 | Multiport relay device and network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8116484A JPH09307579A (en) | 1996-05-10 | 1996-05-10 | Multiport relay device and network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH09307579A true JPH09307579A (en) | 1997-11-28 |
Family
ID=14688262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8116484A Pending JPH09307579A (en) | 1996-05-10 | 1996-05-10 | Multiport relay device and network equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH09307579A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7197039B2 (en) | 2001-05-30 | 2007-03-27 | Nec Corporation | Bridge apparatus with entries reduced in filtering database and network using the same |
JP2008271015A (en) * | 2007-04-18 | 2008-11-06 | Hitachi Ltd | Network system, management computer and user terminal |
JP2014529255A (en) * | 2011-09-12 | 2014-10-30 | インテル コーポレイション | Multiple MAC address resolution virtual process |
JP2017212726A (en) * | 2016-05-27 | 2017-11-30 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Electronic control unit, frame generation method, and program |
WO2017203904A1 (en) * | 2016-05-27 | 2017-11-30 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Electronic control unit, frame generation method, and program |
-
1996
- 1996-05-10 JP JP8116484A patent/JPH09307579A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7197039B2 (en) | 2001-05-30 | 2007-03-27 | Nec Corporation | Bridge apparatus with entries reduced in filtering database and network using the same |
JP2008271015A (en) * | 2007-04-18 | 2008-11-06 | Hitachi Ltd | Network system, management computer and user terminal |
JP2014529255A (en) * | 2011-09-12 | 2014-10-30 | インテル コーポレイション | Multiple MAC address resolution virtual process |
JP2017212726A (en) * | 2016-05-27 | 2017-11-30 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Electronic control unit, frame generation method, and program |
WO2017203904A1 (en) * | 2016-05-27 | 2017-11-30 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Electronic control unit, frame generation method, and program |
US10601607B2 (en) | 2016-05-27 | 2020-03-24 | Panasonic Intellectual Property Corporation Of America | Electronic control unit, frame generating method, and non-transitory computer-readable recording medium storing a program |
US11012255B2 (en) | 2016-05-27 | 2021-05-18 | Panasonic Intellectual Property Corporation Of America | Electronic control unit, frame generating method, and non-transitory computer-readable recording medium storing a program |
JP2021119724A (en) * | 2016-05-27 | 2021-08-12 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | Electronic control unit, frame generation method and program |
US11463275B2 (en) | 2016-05-27 | 2022-10-04 | Panasonic Intellectual Property Corporation Of America | Electronic control unit, frame generating method, and non-transitory computer-readable recording medium storing a program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7496052B2 (en) | Automatic VLAN ID discovery for ethernet ports | |
US5978378A (en) | Method and apparatus for VLAN support | |
KR100863105B1 (en) | Switching device including filtering database in single search operation, transmission vector selection device and method using single search operation | |
EP0537408B1 (en) | Routing in a network of bridge-connected LAN segments | |
US5872783A (en) | Arrangement for rendering forwarding decisions for packets transferred among network switches | |
JP2735390B2 (en) | Hub for partitioned virtual area network with shared media access | |
US9294387B2 (en) | Discovery technique for physical media interface aggregation | |
US7106751B2 (en) | Apparatus for linking a SAN with a LAN | |
US20050083952A1 (en) | Flexible ethernet bridge | |
US20030084219A1 (en) | System, apparatus and method for address forwarding for a computer network | |
JPH077524A (en) | How to access the communication subscriber's address identifier | |
US5568613A (en) | Dataframe bridge filter with communication node recordkeeping | |
US5848242A (en) | Local area network interconnection system implementing a routing protocol of the "source routing" type and interconnection equipment intended to be used in such a system | |
CN114189492A (en) | A network card stress testing method and system based on network address translation technology | |
JPH09307579A (en) | Multiport relay device and network equipment | |
CN107070688B (en) | Method for configuring node and node | |
JPH1127310A (en) | High speed lan switching control method and its system | |
JP3315033B2 (en) | Network frame repeater | |
JPH05199225A (en) | System for communication between lan | |
WO2019142327A1 (en) | Relay device and relay method | |
CN109768933B (en) | Message forwarding method and device based on L2TP network | |
JPH0537569A (en) | Connection method between LANs by ATM network | |
JPH0728308B2 (en) | Communication network interconnection device | |
JPH0514438A (en) | Communication line setting method | |
JP3448163B2 (en) | Virtual connection selection device |