JP3132426B2 - High-speed LAN switching control method and system - Google Patents

High-speed LAN switching control method and system

Info

Publication number
JP3132426B2
JP3132426B2 JP18152497A JP18152497A JP3132426B2 JP 3132426 B2 JP3132426 B2 JP 3132426B2 JP 18152497 A JP18152497 A JP 18152497A JP 18152497 A JP18152497 A JP 18152497A JP 3132426 B2 JP3132426 B2 JP 3132426B2
Authority
JP
Japan
Prior art keywords
terminal
mac address
lan
address
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18152497A
Other languages
Japanese (ja)
Other versions
JPH1127310A (en
Inventor
猛 岩元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP18152497A priority Critical patent/JP3132426B2/en
Publication of JPH1127310A publication Critical patent/JPH1127310A/en
Application granted granted Critical
Publication of JP3132426B2 publication Critical patent/JP3132426B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はLANスイッチシス
テムの高速スイッチング方法と該方法が適用されたLA
N高速スイッチングシステムに関する。
The present invention relates to a high-speed switching method for a LAN switch system and an LA to which the method is applied.
N high speed switching system.

【0002】[0002]

【従来の技術】従来のLANスイッチシステムにおける
ARP制御、およびスイッチング制御について説明す
る。
2. Description of the Related Art ARP control and switching control in a conventional LAN switch system will be described.

【0003】図6は、従来のLANスイッチシステムの
概要図である。複数のLANとしてLAN1〜LANn
ポート1〜nに収容するLANスイッチ30と、各LA
Nに接続された端末40(端末1〜端末n)から構成さ
れる。端末1のIPアドレスをIP1,MACアドレス
をAAA、端末2の.IPアドレスをIP2,MACア
ドレスをBBB、端末nのIPアドレスをIPn,MA
CアドレスをNNNとする。
FIG. 6 is a schematic diagram of a conventional LAN switch system. A LAN switch 30 for accommodating LAN1 to LANn in ports 1 to n as a plurality of LANs;
N is connected to the terminal 40 (terminal 1 to terminal n). The IP address of terminal 1 is IP 1 , the MAC address is AAA, the terminal 2. The the IP address IP2, MAC address BBB, IP n the IP address of the terminal n, MA
The C address is NNN.

【0004】まず、ARP制御について端末1から端末
2ヘの通信要求が発生した場合について説明する。端末
1の上位アプリケーシヨン11から相手端末2ヘのIP
パケットが出されると、ARPクライアント12が端末
2のIPアドレスIP2に対応するMACアドレスBB
Bを認識しているかを検索し、認識していない場合(認
識している場合は通信相手端末アドレス(以下DAと称
す)をBBBとしたパケットを送出する)にIP2に対
応するMACアドレスの通知要求(ARPリクエスト)
を同報パケットを用いて行う。同報パケットは全LAN
ポートに送られるため、全端末がこのARPリクエスト
を受信しIPアドレスIP2に対応する端末2のみが、
自MACアドレス情報BBBを送信元の端末1に対し返
送する。このようにして端末1は端末2のMACアドレ
スを認識し、パケットを送出することが可能となる。
[0004] First, a case where a communication request from the terminal 1 to the terminal 2 occurs in the ARP control will be described. IP from upper application 11 of terminal 1 to partner terminal 2
When the packet is output, the ARP client 12 transmits the MAC address BB corresponding to the IP address IP2 of the terminal 2
A search is performed to determine whether or not B is recognized. If the B is not recognized (if it is recognized, a packet with the communication partner terminal address (hereinafter, referred to as DA) as BBB is transmitted), the MAC address corresponding to IP2 is notified. Request (ARP request)
Using a broadcast packet. Broadcast packets are all LAN
Since all the terminals receive this ARP request and only the terminal 2 corresponding to the IP address IP2 is sent to the port,
It returns its own MAC address information BBB to the source terminal 1. In this way, the terminal 1 can recognize the MAC address of the terminal 2 and transmit a packet.

【0005】イーサネットの名で知られるIEEE80
2.3のLANではMACアドレスは48ビット構成と
なっておリ、全世界で使用管理されているグローバルア
ドレスとユーザ定義が可能なローカルアドレスの2種類
があるが、通常ユーザ管理が不要なグローバルアドレス
がー般的に使用されている。
[0005] IEEE80 known by the name of Ethernet
In the 2.3 LAN, the MAC address has a 48-bit configuration, and there are two types of global addresses that are used and managed worldwide and user-definable local addresses. Addresses are commonly used.

【0006】次に、従来のLANスイッチの動作を端末
1が端末2に対してパケットを送出した場合について説
明する。
Next, the operation of the conventional LAN switch when the terminal 1 sends a packet to the terminal 2 will be described.

【0007】端末1から端末2ヘの通信は,パケットの
DAをBBBとしたパケットが端末1からLANlに送
出される。LANスイッチ30ではLAN1を収容する
ポート1からパケットを受信し、該パケットのDAを見
て送出先LANポートをルーティングテーブル33で検
索する。ルーティングテーブル33はグローバルMAC
アドレス48ビットを検索キーとしてポート番号を検索
されるメモリや,連想記憶メモリ(Content A
ddressable Memory 以下CAMと称
す)で構成され、この場合BBBの収容ポート番号2が
検索される。ルーティングテーブル33から前記パケッ
トの送出先ポート番号の通知を受けたスイッチ制御部3
4はMACアドレスBBBの端末の収容されているポー
ト2ヘパケットを送出する。このようにしてパケットの
スイッチングを制御している。
In communication from the terminal 1 to the terminal 2, a packet in which the DA of the packet is BBB is transmitted from the terminal 1 to the LAN1. The LAN switch 30 receives the packet from the port 1 that accommodates the LAN 1 and searches the routing table 33 for the destination LAN port by looking at the DA of the packet. The routing table 33 is a global MAC
A memory for searching for a port number using a 48-bit address as a search key, and a content addressable memory (Content A)
addressable Memory, hereinafter referred to as CAM). In this case, the accommodation port number 2 of the BBB is searched. The switch control unit 3 having received the notification of the destination port number of the packet from the routing table 33
4 sends a packet to port 2 in which the terminal having the MAC address BBB is accommodated. In this way, packet switching is controlled.

【0008】[0008]

【発明が解決しようとする課題】上述した従来のLAN
スイッチは、LANスイッチで受信したパケットの送出
先を判定するためのルーテイングテーブルは、LANス
イッチシステム内で同時に管理する端末数が248よりも
遥かに少ないにもかかわらず、48ビットのMACアド
レスからポート番号を検索してスイッチングを行ってい
る。ルーティングテーブルはメモリ、またはCAMで実
現しているが、メモリの場合はMACアドレス48ビッ
トの空間をユニークに検索する必要があり、248通リの
検索処理に時間がかかってしまいパケットスイッチング
の処理能力が上がらないという問題がある。
The above-mentioned conventional LAN
The switch is Rute queuing table for determining the delivery destination of the packet received by the LAN switch, even though the number of terminals managed simultaneously in LAN switch system is much less than 2 48, MAC addresses of 48 bits Switching is performed by searching the port number from. Although the routing table is realized by the memory or CAM,, in the case of the memory it must be searched unique MAC address 48 bits of space, 2 48 search process packet processing switching it takes time for Tsuri There is a problem that ability is not improved.

【0009】また、メモリを高速で検索する方法とし
て、メモリを複数用いてメモリアドレスを48ビットに
して、検索するMACアドレスをメモリアドレスに直接
マッピングする方法もあるが、メモリ複数使用するため
にコストや消費電流があがるといった問題もある。一
方、CAMはメモリに比べて高速検索は可能であるがコ
ストが高いという欠点がある。
As a method of searching a memory at high speed, there is a method of using a plurality of memories to set a memory address to 48 bits and directly mapping a MAC address to be searched to a memory address. And the consumption current increases. On the other hand, the CAM can perform a high-speed search as compared with the memory, but has a disadvantage that the cost is high.

【0010】本発明の目的は、グローバルMACアドレ
スの取扱を改善した高速LANスイッチング方法の提供
ある。
An object of the present invention is to provide a high-speed LAN switching method with improved handling of global MAC addresses.

【0011】[0011]

【課題を解決するための手段】本発明の高速化LANス
イッチング方法は、複数のLANを収容し、収容されて
いる第1のLANに接続された第1の端末から前記第1
のLANとは別の第2のLANに接続されている第2の
端末ヘの通信を、第1の端末から送出されたパケットの
相手先MACアドレスにより判断し、該パケットを送る
べき相手端末が接続されているLANに対してのみパケ
ットを送出するLANスイッチを有するLANスイッチ
ングシステムにおける高速LANスイッチング制御方法
において、各端末に対してグローバルMACアドレスに
対応する、システム内で最大端末数に識別可能に付与で
きるビット数に圧縮して構成されたローカルMACアド
レスを割り当てる。
SUMMARY OF THE INVENTION A high-speed LAN switching method according to the present invention accommodates a plurality of LANs and transmits the first LAN from a first terminal connected to the accommodated first LAN.
Communication to a second terminal connected to a second LAN different from the first LAN is determined based on the destination MAC address of the packet transmitted from the first terminal, and the destination terminal to which the packet is to be transmitted is determined. In a high-speed LAN switching control method in a LAN switching system having a LAN switch that transmits a packet only to a connected LAN, each terminal can be identified to a maximum number of terminals in the system corresponding to a global MAC address. A local MAC address configured to be compressed to the number of bits that can be assigned is assigned.

【0012】各端末は、発信時、自端末に保持してない
通信相手端末のローカルMACアドレスを、相手端末の
システム内識別アドレスであるIPアドレスを提示する
ことによりLANスイッチに問い合わせる。
At the time of calling, each terminal makes an inquiry to the LAN switch for the local MAC address of the communication partner terminal which is not held in the terminal itself, by presenting the IP address which is the in-system identification address of the partner terminal.

【0013】LANスイッチは、各IPアドレスに対応
するローカルMACアドレス、グローバルMACアドレ
ス、接続ポートを記載する管理テーブルを備え、入力さ
れたIPアドレスに対応するローカルMACアドレスを
前記管理テーブルを検索して検出結果を問い合わせ元に
通知し、同時に検出されたグローバルMACアドレス
と、LANポート情報を前記IPアドレス対応データと
して格納する。
The LAN switch has a management table describing a local MAC address, a global MAC address, and a connection port corresponding to each IP address, and searches the management table for a local MAC address corresponding to the input IP address. The detection result is notified to the inquiry source, and the detected global MAC address and LAN port information are stored as the IP address corresponding data.

【0014】その後、端末から前記ローカルMACアド
レス宛のパケットが入力されると、格納されている対応
する接続ポートに交換接続し、対応するグローバルMA
Cアドレスに転送する。
Thereafter, when a packet addressed to the local MAC address is input from a terminal, the terminal is switched to a corresponding connection port stored therein, and a corresponding global MA is connected.
Transfer to C address.

【0015】また、前記通信相手端末のローカルMAC
アドレスの問い合わせがIPアドレスを含む疑似ARP
パケットの送出によって行われ、前記LANスイッチの
管理テーブルの検索が疑似ARPサーバにより行われ、
疑似ARPサーバが検出したローカルMACアドレスを
要求端末に通知するとともに、前記IPアドレス対応デ
ータの格納をルーティングテーブルメモリに格納し、前
記ローカルMACアドレスを宛先としたパケットが入力
されるとスイッチ制御部が前記ルーティングテーブルメ
モリを高速検索して入力されたパケットを対応するLA
Nポートに交換接続させ、グローバルMACアドレスに
転送する請求項1記載の高速LANスイッチング制御方
法。
The local MAC of the communication partner terminal
Pseudo ARP where address inquiry includes IP address
By sending a packet, a search of the management table of the LAN switch is performed by a pseudo ARP server,
The local MAC address detected by the pseudo ARP server is notified to the requesting terminal, and the storage of the IP address corresponding data is stored in a routing table memory. When a packet addressed to the local MAC address is input, the switch control unit The routing table memory is searched at high speed and the input packet is stored in the corresponding LA.
2. The high-speed LAN switching control method according to claim 1, wherein the connection is switched to an N port, and the data is transferred to a global MAC address.

【0016】本発明の高速LANスイッチングシステム
は、LANを複数収容し、収容されている第1のLAN
に接続された第1の端末から前記第1のLANとは別の
第2のLANに接続されている第2の端末ヘの通信を、
第1の端末から送出されたパケットの相手先MACアド
レスにより判断し該パケットを送るべき相手端末が接続
されているLANに対してのみパケットを送出するLA
Nスイッチを有する高速LANスイッチングシステムに
おいて、各端末はグローバルMACアドレスに対応す
る、システム内で最大端末数に識別可能に付与できるビ
ット数に圧縮して構成されたローカルMACアドレスを
割り当てられている。
The high-speed LAN switching system of the present invention accommodates a plurality of LANs, and accommodates the first LAN accommodated therein.
From a first terminal connected to a second terminal connected to a second LAN different from the first LAN,
An LA that determines a destination MAC address of a packet transmitted from the first terminal and transmits the packet only to the LAN to which the destination terminal to which the packet is to be transmitted is connected
In a high-speed LAN switching system having N switches, each terminal is assigned a local MAC address corresponding to a global MAC address and compressed to a number of bits identifiably given to the maximum number of terminals in the system.

【0017】各端末側に、パケットの通信開始時に通信
相手端末のローカルMACアドレス通知要求を行うAR
Pリクエストを通信相手端末のシステム内アドレスであ
るIPアドレス提示を含む疑似ARPパケットとして送
出する疑似ARPクライアント部を有し、LANスイッ
チは、各端末のIPアドレスに対応するグローバルMA
Cアドレスと、収容LANのポート番号と、ローカルM
ACアドレスとを管理する管理テーブルを有し、さらに
前記疑似ARPパケットを受信すると、前記管理テーブ
ルを検索して両MACアドレスと、収容LANのポート
番号とを検出し、ローカルMACアドレスを応答通知
し、該ローカルMACアドレスをアドレスとし、同時に
検出されたグローバルMACアドレスと、収容LANポ
ート情報とをデータとしてルーティングテーブルメモリ
に格納する疑似ARPサーバを有し、端末から口−カル
MACアドレスを通信相手端末アドレスとしたパケット
が送られてくると、前記ルーティングテーブルメモリか
らパケット転送先のLANポートとグローバルMACア
ドレスを前記ルーティングテーブルメモリから高速に読
み出して入力されたパケットを対応するLANポートに
接続し、対応するグローバルMACアドレスに転送する
スイッチ制御部を有する。
An AR which issues a request for notification of a local MAC address of a communication partner terminal to each terminal at the start of packet communication.
The LAN switch has a pseudo ARP client unit that sends out the P request as a pseudo ARP packet including an IP address presentation that is an address in the system of the communication partner terminal.
C address, accommodation LAN port number, and local M
It has a management table for managing AC addresses, and upon receiving the pseudo ARP packet, searches the management table to detect both MAC addresses and the port number of the accommodated LAN, and sends a response notification of the local MAC address. A pseudo ARP server that stores the global MAC address detected at the same time and the accommodated LAN port information as data in a routing table memory using the local MAC address as an address. When a packet having an address is sent, a LAN port of a packet transfer destination and a global MAC address are read from the routing table memory at high speed from the routing table memory, and the input packet is connected to a corresponding LAN port. To A switch control unit that transfers the Baru MAC address.

【0018】[0018]

【発明の実施の形態】本発明について図面を参照して説
明する。図1は本発明の高速LANスイッチング方式の
システム概要図である。複数のLANとしてLAN1
LANnをポート1〜nに収容するLANスイッチ20
と、各LAMに接続された端末10(端末1〜端末n)
で構成されるLANスイッチシステムは、端末10内
に、上位アプリケーション11から通信相手端末ヘのI
Pパケットが送出された時にIPアドレスに対応するM
ACアドレスの問い合わせを行うARPクライアント1
2からのARPリクエストを疑似ARPパケットに変換
し送出する疑似ARPクライアント13を有する。LA
Nスイッチ20は、前記疑似ARPパケットによるアド
レス検索要求を解決する疑似ARPサーバ21と、収容
LANから受信したパケットを送出するポートを検索す
るルーテイングテーブルメモリ23と、パケットのスイ
ッチングを行うスイッチ制御部24で構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram of a high-speed LAN switching system according to the present invention. LAN 1 to LAN
LAN switch 20 for accommodating LAN n in ports 1 to n
And the terminal 10 (terminal 1 to terminal n) connected to each LAM
Is a LAN switch system configured from the host application 11 to the communication partner terminal.
M corresponding to the IP address when the P packet is sent out
ARP client 1 that inquires about AC address
2 has a pseudo ARP client 13 which converts an ARP request into a pseudo ARP packet and sends it out. LA
The N switch 20 includes a pseudo ARP server 21 for resolving an address search request based on the pseudo ARP packet, a routing table memory 23 for searching a port for transmitting a packet received from the accommodation LAN, and a switch control unit for switching the packet. 24.

【0019】次に、本発明の動作を図2のシーケンスチ
ャートを用いて詳細に説明する。端末1のIPアドレス
をIP1,グローバルMACアドレスをAAA、端末2
のIPアドレスをIP2,グローバルMACアドレスを
BBB、端末nのIPアドレスをIPアドレスをI
n,グローバルMACアドレスをNNN、システム内
で同時に管理するMACアドレスの総数を8196(2
13)とする。
Next, the operation of the present invention will be described in detail with reference to the sequence chart of FIG. IP address of terminal 1 is IP 1 , global MAC address is AAA, terminal 2
The IP address of the terminal n is IP 2 , the global MAC address is BBB, and the IP address of the terminal n is the IP address I
P n , the global MAC address is NNN, and the total number of MAC addresses managed simultaneously in the system is 8196 (2
13 ).

【0020】まず,システム内で管理する最大端末数を
表すことが可能な有効ビット数のみを使用するグローバ
ルアドレスよりも有効ビツトの少ない口−カルMACア
ドレスを各端末に付与する。
First, a local MAC address having fewer effective bits than a global address using only the number of effective bits that can represent the maximum number of terminals managed in the system is assigned to each terminal.

【0021】次に、ARP制御について説明する。い
ま、端末1から端末2に対して通信する場合、まず端末
1の上位アプリケーシヨン11から、ARPクライアン
ト12に対して端末2に対するIPパケットが送出され
る(図2の)。ARPクライアント12は上位アプリ
ケーション11からのIPパケット送出を受けて、送信
要求先である端末2のIPアドレスIP2に対応するロ
ーカルMACアドレスが保持されているかどうかを調ベ
て、無い(ある場合は図2のの動作になる)場合、I
2に対応するMACアドレスの検索要求(ARPリク
エスト)を送出する(図2の)。
Next, ARP control will be described. Now, when communicating from the terminal 1 to the terminal 2, first, the upper application 11 of the terminal 1 sends an IP packet for the terminal 2 to the ARP client 12 (FIG. 2). ARP client 12 receives the IP packet transmitted from the upper application 11, transmits Te requested a whether the adjustment base or local MAC address is held corresponding to the IP address IP 2 of the terminal 2 is, no (if there is 2), I
A search request (ARP request) for the MAC address corresponding to P 2 is transmitted (FIG. 2).

【0022】ここで端末内の疑似ARPクライアント1
3はARPクライアント12から送出されたARPリク
エストをLANスイッチ20内の疑似ARPサーバ21
に対してアドレス解決要求を行う疑似ARPパケットに
変換する(図2の)。
Here, the pseudo ARP client 1 in the terminal
Reference numeral 3 denotes a pseudo ARP server 21 in the LAN switch 20 which transmits an ARP request sent from the ARP client 12.
Is converted to a pseudo-ARP packet that makes an address resolution request to (FIG. 2).

【0023】疑似ARPパケットを受けた疑似ARPサ
ーバ21は、要求されたIP2に対応するローカルMA
CアドレスをIP−MAC対応テーブル22で検索する
(図2の)。
[0023] Pseudo ARP server 21 which has received the pseudo ARP packet, local MA corresponding to the requested IP 2
The C address is searched in the IP-MAC correspondence table 22 (of FIG. 2).

【0024】IP−MAC対応テーブル22には、IP
アドレスに対応するロ−カルMACアドレスと、グロー
バルMACアドレスと、その端末の収容されているLA
Nのポート番号とが格納されている。IP−MAC対応
テーブル22の一例を図3に示す。
The IP-MAC correspondence table 22 contains an IP
The local MAC address corresponding to the address, the global MAC address, and the LA
N port numbers are stored. FIG. 3 shows an example of the IP-MAC correspondence table 22.

【0025】疑似ARPサーバ21からの検索キーであ
るIP2に関しては、グローバルMACアドレスBBB
と、収容ポート番号2と、ローカルMACアドレスbb
bがIP−MAC対応テーブル22から検出される(図
2の)。口ー力ルMACアドレスbbbは、LANス
イッチ20で制御するMACの総数がユニークに表現可
能な必要最小なビット数で構成されており、それ以外は
オール“0”とする。図4に示すように本実施例のシス
テム内の同時に管理するMACアドレスの総数を819
6(213)とした場合は、MACアドレス48ビットの
内13ビットを使用することでシステム内でユニークに
管理することができる。IP−MAC対応テーブル22
から情報(BBB,ポート2、bbb)を得た疑似AR
Pサーバ21は、疑似ARPパケットに対する応答とし
てローカルMACアドレスbbbを端末1に返信する
(図2の)とともに、LANスイッチ20内のルーテ
ィングテーブルメモリ23にローカルMACアドレスb
bbと対応するグローバルMACアドレスBBB、収容
ポート番号2を格納する(図2の)。
With regard to IP 2 which is a search key from the pseudo ARP server 21, the global MAC address BBB
, Accommodation port number 2, and local MAC address bb
b is detected from the IP-MAC correspondence table 22 (of FIG. 2). The MAC address bbb is composed of the necessary minimum number of bits that can uniquely represent the total number of MACs controlled by the LAN switch 20, and all other bits are "0". As shown in FIG. 4, the total number of simultaneously managed MAC addresses in the system of this embodiment is 819.
When 6 (2 13 ) is used, 13 bits out of 48 bits of the MAC address can be uniquely managed in the system. IP-MAC correspondence table 22
AR obtained information (BBB, port 2, bbb) from
The P server 21 returns the local MAC address bbb to the terminal 1 as a response to the pseudo ARP packet (of FIG. 2), and stores the local MAC address bbb in the routing table memory 23 in the LAN switch 20.
bb and the corresponding global MAC address BBB and accommodation port number 2 are stored (FIG. 2).

【0026】ルーティングテーブル23は図5に示すよ
う通知されたローカルMACアドレスbbbをメモリア
ドレスとし、グローバルMACアドレスBBB、収容ポ
ート番号をデータとする汎用の安価なメモリで構成する
ことができる。
As shown in FIG. 5, the routing table 23 can be constituted by a general-purpose inexpensive memory using the notified local MAC address bbb as a memory address, and using the global MAC address BBB and the accommodation port number as data.

【0027】疑似ARPサーバ21からの応答パケット
を受けた端末1では、疑似ARPクライアント13で、
該応答パケツトをARPリクエストを行った端末からの
応答パケットに変換してARPクライアント12に通知
する(図2の)。通信したい相手端末2のローカルM
ACアドレスbbbを受けたARPクライアント12は
上位アプリケーシヨン11から送出されているIPパケ
ットの相手先アドレスをbbbとして送出する(図2の
)ことにより、通信が可能となる。
In the terminal 1 receiving the response packet from the pseudo ARP server 21, the pseudo ARP client 13
The response packet is converted into a response packet from the terminal that has made the ARP request, and is notified to the ARP client 12 (FIG. 2). Local M of partner terminal 2 to communicate with
The ARP client 12 having received the AC address bbb transmits the destination address of the IP packet transmitted from the upper application 11 as bbb (FIG. 2), thereby enabling communication.

【0028】次に、LANスイッチ20のパケットスイ
ッチング制御について説明する。前記ARP制御で通信
相手端末2のMACアドレスbbbを認識した端末1の
ARPクライアント12はDAをbbbとするパケット
をLAN1に送出する(図2の)。LAN1からパケッ
トを受信したLANスイッチ20のスイッチ制御部24
は受信パケットのDAbbbを抽出し、ルーティングテ
ーブルメモリ23でbbbに対応する送出ポートとグロ
ーバルMACアドレスを検索する(図2のα)。検索情
報はbbbをアドレスとするメモリに格納されているの
でスイッチ制御部24は高速にbbbに対応するポート
番号2とグローバルMACアドレスBBBを検索できる
(図2のβ)。パケットの送出ポートとグローバルMA
Cアドレスを検索したスイッチ制御部24はLAN1
ら受信したパケットのDAをローカルMACアドレスb
bbからグローバルMACアドレスBBBヘ変換し、グ
ローバルMACアドレスBBBの端末2が収容されでい
るLAN2にパケットを送出する(図2のγ)ことでパ
ケットのスイッチングを行う。
Next, the packet switching control of the LAN switch 20 will be described. The ARP client 12 of the terminal 1 that has recognized the MAC address bbb of the communication partner terminal 2 by the ARP control sends a packet with DA as bbb to the LAN 1 (FIG. 2). Switch control unit 24 of LAN switch 20 that has received a packet from LAN 1
Extracts DAbbb of the received packet, and searches the routing table memory 23 for a transmission port and global MAC address corresponding to bbb (α in FIG. 2). Since the search information is stored in the memory having the address bbb, the switch control unit 24 can quickly search for the port number 2 and the global MAC address BBB corresponding to bbb (β in FIG. 2). Packet sending port and global MA
The switch control unit 24 having searched the C address converts the DA of the packet received from the LAN 1 into the local MAC address b.
bb is converted to the global MAC address BBB, and the packet is transmitted to the LAN 2 in which the terminal 2 of the global MAC address BBB is accommodated (γ in FIG. 2), thereby switching the packet.

【0029】[0029]

【発明の効果】以上説明したように、LANスイッチシ
ステムにおいて、端末側に、パケットの通信開始時に通
信相手端末のMACアドレス通知要求を行うARPリク
エストを受け、疑似ARPパケットに変換して送出する
疑似ARPクライアント部と、LANスイッチ内に、前
記疑似ARPパケットを受けてIPアドレスとそのIP
アドレスに対応するグローバルMACアドレスと収容L
ANポート番号と,ロ―カルMACアドレスを管理する
管理テーブルをもち、前記ローカルMACアドレスを応
答通知する疑似ARPサーバと、該疑似ARPサーバか
ら端末ヘ通知したローカルMACアドレスをアドレスと
し、データとしてグローバルMACアドレスと収容LA
Nポート情報を格納したルーティングテーブルメモリ
と、端末からロ−カルMACアドレスをDAとしたパケ
ットが送られてきた時、前記ルーティングテーブルメモ
リからパケットの送出ポートとグローバルMACアドレ
スを高速に検索して,DAのロ―カルMACアドレスを
グローバルMACアドレスに変換し、該アドレスの端末
の接続されるLANポートにパケットを送出するスイッ
チ制御部を有することで、LANの高速スイッチングが
でき、かつ、極めて少ないビット数による信号の授受
と、データ処理と、それに対応するメモリの経済化が可
能となる効果がある。
As described above, in the LAN switch system, the terminal side receives the ARP request for notifying the MAC address of the communication partner terminal at the start of packet communication, converts the ARP request into a pseudo ARP packet, and sends out the pseudo ARP packet. The ARP client unit and the LAN switch receive the pseudo ARP packet and receive an IP address and the IP address.
Global MAC address corresponding to address and accommodation L
It has a management table for managing an AN port number and a local MAC address, a pseudo-ARP server for notifying the local MAC address as a response, and a local MAC address notified from the pseudo-ARP server to the terminal as an address. MAC address and accommodation LA
When a packet having a local MAC address as DA is transmitted from a terminal and a routing table memory storing N port information, a packet transmission port and a global MAC address are searched from the routing table memory at high speed. By having a switch control unit that converts a DA local MAC address to a global MAC address and sends out a packet to a LAN port to which a terminal of the address is connected, high-speed switching of the LAN can be performed and very few bits There is an effect that transmission and reception of signals by numbers, data processing, and cost saving of the corresponding memory can be achieved.

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

【図1】本発明のLANスイッチシステムのブロック図
である。
FIG. 1 is a block diagram of a LAN switch system according to the present invention.

【図2】本発明の高速LANスイッチング方法が適用さ
れた高速LANスイッチングシステムの動作シーケンス
チャートである。
FIG. 2 is an operation sequence chart of a high-speed LAN switching system to which the high-speed LAN switching method of the present invention is applied.

【図3】IP−MAC対応テーブルの―例を示す図であ
る。
FIG. 3 is a diagram showing an example of an IP-MAC correspondence table.

【図4】ローカルMACアドレスの―例を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing an example of a local MAC address.

【図5】ルーティングテーブルの−例を示す図である。FIG. 5 shows an example of a routing table.

【図6】従来のLANスイッチシステムのブロック図で
ある。
FIG. 6 is a block diagram of a conventional LAN switch system.

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

10 端末 11 上位アプリケーション 12 ARPクライアント 13 疑似ARPクライアント 20 LANスイッチ 21 疑似ARPサーバ 22 IP−MAC対応テーブル 23 ルーティングテーブル 24 スイッチ制御部 40 端末 30 LANスイッチ 33 ルーティングテーブ 34 スイッチ制御部 DESCRIPTION OF SYMBOLS 10 Terminal 11 Upper application 12 ARP client 13 Pseudo ARP client 20 LAN switch 21 Pseudo ARP server 22 IP-MAC correspondence table 23 Routing table 24 Switch control unit 40 Terminal 30 LAN switch 33 Routing table 34 Switch control unit

フロントページの続き (56)参考文献 特開 平10−93614(JP,A) 特開 平4−21066(JP,A) 特開 平3−54973(JP,A) IEEE Std 802.3,1998 Edition,”2.Media A ccess Control(MAC) service specificat ion”,pages.31−35 (58)調査した分野(Int.Cl.7,DB名) H04L 12/46 H04L 12/28 JICSTファイル(JOIS)Continuation of the front page (56) References JP-A-10-9614 (JP, A) JP-A-4-21066 (JP, A) JP-A-3-54973 (JP, A) IEEE Std 802.3, 1998 Edition , "2. Media Access Control (MAC) service specificion", pages. 31-35 (58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/46 H04L 12/28 JICST file (JOIS)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のLANを収容し、収容されている
第1のLANに接続された第1の端末から前記第1のL
ANとは別の第2のLANに接続されている第2の端末
ヘの通信を、第1の端末から送出されたパケットの相手
先MACアドレスにより判断し、該パケットを送るべき
相手端末が接続されているLANに対してのみパケット
を送出するLANスイッチを有するLANスイッチング
システムにおける高速LANスイッチング制御方法にお
いて、 各端末に対してグローバルMACアドレスに対応する、
システム内で最大端末数に識別可能に付与できるビット
数に圧縮して構成されたローカルMACアドレスを割り
当て、 各端末は、発信時、保持してない通信相手端末のローカ
ルMACアドレスを、相手端末のシステム内識別アドレ
スであるIPアドレスを提示することによりLANスイ
ッチに問い合わせ、 前記LANスイッチは、各IPアドレスに対応するロー
カルMACアドレス、グローバルMACアドレス、接続
ポートを記載する管理テーブルを備え、入力されたIP
アドレスに対応するローカルMACアドレスを前記管理
テーブルを検索し検出結果を問い合わせ元に通知し、 同時に検出されたグローバルMACアドレスと、LAN
ポート情報を前記IPアドレス対応データとして格納
し、 端末から前記ローカルMACアドレス宛のパケットが入
力されると、前記格納されている対応する接続ポートに
交換接続し、対応するグローバルMACアドレスに転送
することを特徴とする高速LANスイッチング制御方
法。
1. A first terminal which accommodates a plurality of LANs and which is connected to the accommodated first LAN by a first terminal.
The communication to the second terminal connected to the second LAN different from the AN is determined based on the destination MAC address of the packet transmitted from the first terminal, and the destination terminal to which the packet is to be transmitted is connected. A high-speed LAN switching control method in a LAN switching system having a LAN switch that sends out a packet only to a LAN that has been set, wherein each terminal corresponds to a global MAC address.
In the system, a local MAC address configured by compressing the number of bits that can be identifiably added to the maximum number of terminals is assigned. The LAN switch is queried by presenting an IP address that is an intra-system identification address. The LAN switch includes a management table that describes a local MAC address, a global MAC address, and a connection port corresponding to each IP address. IP
The management table is searched for the local MAC address corresponding to the address, the detection result is notified to the inquiry source, and the simultaneously detected global MAC address and LAN
Storing port information as the IP address corresponding data, and when a packet addressed to the local MAC address is input from a terminal, exchanges connection with the stored corresponding connection port and transfers to a corresponding global MAC address. And a high-speed LAN switching control method.
【請求項2】 前記通信相手端末のローカルMACアド
レスの問い合わせがIPアドレスを含む疑似ARPパケ
ットの送出によって行われ、 前記LANスイッチの管理テーブルの検索が疑似ARP
サーバにより行われ、疑似ARPサーバが検出したロー
カルMACアドレスを要求端末に通知するとともに、前
記IPアドレス対応データの格納をルーティングテーブ
ルメモリに格納し、 前記ローカルMACアドレスを宛先としたパケットが入
力されるとスイッチ制御部が前記ルーティングテーブル
メモリを高速検索して入力されたパケットを対応するL
ANポートに交換接続させ、グローバルMACアドレス
に転送する請求項1記載の高速LANスイッチング制御
方法。
2. A query of a local MAC address of the communication partner terminal is performed by sending a pseudo ARP packet including an IP address, and a search of a management table of the LAN switch is performed by a pseudo ARP.
Performed by the server, notifies the requesting terminal of the local MAC address detected by the pseudo-ARP server, stores the IP address correspondence data in a routing table memory, and inputs a packet addressed to the local MAC address. And the switch control unit searches the routing table memory at a high speed and finds an input packet corresponding to L
2. The high-speed LAN switching control method according to claim 1, wherein the connection is switched to an AN port and the data is transferred to a global MAC address.
【請求項3】 LANを複数収容し、収容されている第
1のLANに接続された第1の端末から前記第1のLA
Nとは別の第2のLANに接続されている第2の端末ヘ
の通信を、第1の端末から送出されたパケットの相手先
MACアドレスにより判断し該パケットを送るべき相手
端末が接続されているLANに対してのみパケットを送
出するLANスイッチを有する高速LANスイッチング
システムにおいて、 各端末はグローバルMACアドレスに対応する、システ
ム内で最大端末数に識別可能に付与できるビット数に圧
縮して構成されたローカルMACアドレスを割り当てら
れており、 各端末側に、パケットの通信開始時に通信相手端末のロ
ーカルMACアドレス通知要求を行うARPリクエスト
を通信相手端末のシステム内アドレスであるIPアドレ
ス提示を含む疑似ARPパケットとして送出する疑似A
RPクライアント部を有し、 LANスイッチは、各端末のIPアドレスに対応するグ
ローバルMACアドレスと、収容LANのポート番号
と、ローカルMACアドレスとを管理する管理テーブル
と、 前記疑似ARPパケットを受信すると、前記管理テーブ
ルを検索して両MACアドレスと、収容LANのポート
番号とを検出し、ローカルMACアドレスを応答通知
し、該ローカルMACアドレスをアドレスとし、同時に
検出されたグローバルMACアドレスと、収容LANポ
ート情報とをデータとしてルーティングテーブルメモリ
に格納する疑似ARPサーバと、 端末から口−カルMACアドレスを通信相手端末アドレ
スとしたパケットが送られてくると、前記ルーティング
テーブルメモリからパケット転送先のLANポートとグ
ローバルMACアドレスを前記ルーティングテーブルメ
モリから高速に読み出して入力されたパケットを対応す
るLANポートに接続し、対応するグローバルMACア
ドレスに転送するスイッチ制御部を有することを特徴と
する高速LANスイッチングシステム。
3. A plurality of LANs are accommodated, and a first terminal connected to the accommodated first LAN transmits said first LA.
N, a communication to a second terminal connected to a second LAN different from N is determined based on a destination MAC address of a packet transmitted from the first terminal, and a destination terminal to which the packet is to be transmitted is connected. In a high-speed LAN switching system having a LAN switch that sends a packet only to a LAN, each terminal is configured by compressing the number of bits corresponding to a global MAC address to the maximum number of terminals in the system so as to be identifiable. A local MAC address assigned to the terminal is sent to each terminal, and at the start of packet communication, an ARP request for requesting a notification of the local MAC address of the terminal of the communication partner is sent to the pseudo terminal including the presentation of the IP address which is an address in the system of the terminal of the communication partner. Pseudo-A sent as ARP packet
The LAN switch includes a management table for managing a global MAC address corresponding to the IP address of each terminal, a port number of the accommodated LAN, and a local MAC address. The management table is searched to detect both MAC addresses and the port number of the accommodating LAN, notify the local MAC address as a response, use the local MAC address as an address, and simultaneously detect the global MAC address and the accommodating LAN port. A pseudo-ARP server that stores information and data as data in a routing table memory; and a terminal that receives a packet having a mouth MAC address as a communication partner terminal address. global High-speed LAN switching system characterized by having a switch control unit that transfers the global MAC address to connect to the AC address inputted read at high speed from the routing table memory packets to the corresponding LAN port, corresponding.
JP18152497A 1997-07-07 1997-07-07 High-speed LAN switching control method and system Expired - Fee Related JP3132426B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18152497A JP3132426B2 (en) 1997-07-07 1997-07-07 High-speed LAN switching control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18152497A JP3132426B2 (en) 1997-07-07 1997-07-07 High-speed LAN switching control method and system

Publications (2)

Publication Number Publication Date
JPH1127310A JPH1127310A (en) 1999-01-29
JP3132426B2 true JP3132426B2 (en) 2001-02-05

Family

ID=16102279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18152497A Expired - Fee Related JP3132426B2 (en) 1997-07-07 1997-07-07 High-speed LAN switching control method and system

Country Status (1)

Country Link
JP (1) JP3132426B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7787476B2 (en) 2004-03-03 2010-08-31 Mitsubishi Electric Corporation Layer 2 switch network system
WO2016002652A1 (en) 2014-06-30 2016-01-07 Necプラットフォームズ株式会社 Gateway device, communication system, communication method, and communication program
KR200491543Y1 (en) * 2018-10-05 2020-04-23 하미경 Multi purpose cushion for pet

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100325426B1 (en) * 1999-11-24 2002-02-25 윤종용 Internet gateway system supporting VoIP
US7760720B2 (en) * 2004-11-09 2010-07-20 Cisco Technology, Inc. Translating native medium access control (MAC) addresses to hierarchical MAC addresses and their use
JP4505373B2 (en) * 2005-04-20 2010-07-21 富士通株式会社 Destination stage generation method and destination stage generation apparatus
JP4592623B2 (en) 2006-03-14 2010-12-01 富士通株式会社 Communications system
JP2010193146A (en) 2009-02-18 2010-09-02 Funai Electric Co Ltd Communication apparatus, and communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE Std 802.3,1998 Edition,"2.Media Access Control(MAC)service specification",pages.31−35

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7787476B2 (en) 2004-03-03 2010-08-31 Mitsubishi Electric Corporation Layer 2 switch network system
WO2016002652A1 (en) 2014-06-30 2016-01-07 Necプラットフォームズ株式会社 Gateway device, communication system, communication method, and communication program
US10375250B2 (en) 2014-06-30 2019-08-06 Nec Platforms, Ltd. Gate way device, communication system, communication method, and communication program
KR200491543Y1 (en) * 2018-10-05 2020-04-23 하미경 Multi purpose cushion for pet

Also Published As

Publication number Publication date
JPH1127310A (en) 1999-01-29

Similar Documents

Publication Publication Date Title
US7339895B2 (en) Gateway device and control method for communication with IP and IPV6 protocols
US5425026A (en) Multi-protocol packet switching network
US5815664A (en) Address reporting device and method for detecting authorized and unauthorized addresses in a network environment
JP4699474B2 (en) Media access control address translation
EP1125421B1 (en) Dns relay module in a digital network modem
US6151331A (en) System and method for providing a proxy FARP for legacy storage devices
US20020052972A1 (en) Communication method among a plurality of virtual LANs in an IP subnet
US7385989B2 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
US6128294A (en) Network connecting apparatus
US20030084219A1 (en) System, apparatus and method for address forwarding for a computer network
CN107395496B (en) Data forwarding method and device, gateway equipment and storage medium
JP2003087336A (en) Address conversion method
JPH05219064A (en) Method of transferring frame and bridge device
GB2283645A (en) Digital communication systems
CN1216657A (en) Internet protocol filter
JP3132426B2 (en) High-speed LAN switching control method and system
JP3269523B2 (en) Communication method
JP2003078541A (en) Network connecting device, system, and method
JPH11252172A (en) Packet generation method, information processor having its function and storage medium where packet generation program is recorded
Mogul Internet subnets
EP1107537B1 (en) System for distributing requests to servers
JPH11340984A (en) Ip address retrieval system
US6671281B1 (en) ATM LAN emulation network having LECS for providing ATM address of LES of target ELAN
JP5691612B2 (en) Communication system, router, switching hub, and program
JP3487342B2 (en) Transfer destination information search method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees