JPH07254912A - Inter-lan connection device - Google Patents

Inter-lan connection device

Info

Publication number
JPH07254912A
JPH07254912A JP4461194A JP4461194A JPH07254912A JP H07254912 A JPH07254912 A JP H07254912A JP 4461194 A JP4461194 A JP 4461194A JP 4461194 A JP4461194 A JP 4461194A JP H07254912 A JPH07254912 A JP H07254912A
Authority
JP
Japan
Prior art keywords
address
header
communication packet
lan
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4461194A
Other languages
Japanese (ja)
Inventor
Tatsuya Kimura
達也 木村
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP4461194A priority Critical patent/JPH07254912A/en
Publication of JPH07254912A publication Critical patent/JPH07254912A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To improve a transfer speed of a communication packet between LANs remarkably by dividing protocol processing of a received communication packet into pre-processing and simple routing processing and implementing each processing individually. CONSTITUTION:An IP header detection section 26 of a pre-processing section 22 detects an IP header from a received packet and sends the header to an error check section 28, a check sum calculation section 29 and an address detection section 30. Furthermore, a bit counter 27 counts bit data of the IP header. The check section 28 and the calculation section 29 refer to the received data and the count to check the IP header and to calculate a check sum of the received data and sends the result to a control signal generating section 31. The detection section 30 extracts a destination IP address from the IP header and sends it to a simple routing processing section 23. A retrieval section 24 of the processing section 23 retrieves a routing table 11a based on a destination IP address received from the detection section 30 to read out the IP address or the like and a management section 25 replies the data including the ID address of a succeeding purpose to be read to the detection section 30.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はインターネットプロトコ
ルに従って、複数のLAN相互間を接続するLAN間接
続装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-LAN connecting device for connecting a plurality of LANs to each other according to the Internet protocol.

【0002】[0002]

【従来の技術】それぞれ複数のノードが組込まれた複数
のLAN(ローカルエリアネットワーク)相互間をLA
N間接続装置(ルータ)で接続してなる通信ネットワー
クシステムは例えば図8に示すように構成されている。
2. Description of the Related Art LAs are connected between a plurality of LANs (local area networks) each having a plurality of nodes incorporated therein.
A communication network system connected by N-to-N connecting devices (routers) is configured as shown in FIG. 8, for example.

【0003】LAN1a,1b,1c相互間は1台のL
AN間接続装置(ルータ)2aで接続され、LAN1
c,1d相互間は別のLAN間接続装置(ルータ)2b
で接続されている。そして、各LAN1a〜1dにはそ
れぞれ多数のノード3a,3b,3c,3dが組込まれ
ている。
One L is connected between the LANs 1a, 1b and 1c.
LAN 1 connected by an inter-AN connection device (router) 2a
LAN connection device (router) 2b different between c and 1d
Connected by. A large number of nodes 3a, 3b, 3c, 3d are incorporated in each of the LANs 1a-1d.

【0004】各ノード3a〜3d,各LAN間接続装置
(ルータ)2a,2bはそれぞれ固有の物理アドレスE
(EA)を有している。また、各ノード3a〜3dには
採用プロトコルによってソフト的に割付けられたIPア
ドレスが付されている。さらに。各LAN1a〜1d自
体にもIPアドレスがされている。
Each of the nodes 3a to 3d and each of the LAN connecting devices (routers) 2a and 2b has a unique physical address E.
(EA). Further, each node 3a to 3d is provided with an IP address assigned by software according to the adopted protocol. further. An IP address is assigned to each of the LANs 1a to 1d itself.

【0005】そして、LAN1aの物理アドレスE=
1,IPアドレスI=1のノード3aから、LAN1c
の物理アドレスE=4,IPアドレスI=4のノード3
cへデータを送信する場合は、図示するようなIPヘッ
ダ4が組込まれた通信パケット5を作成してLAN1a
へ出力する。このIPヘッダ4には、LAN間接続装置
(ルータ)2aの接続ポート番号(物理アドレス)E5
,自己ノード3aの物理アドレスE1 ,送信先ノード
3cを特定するIPアドレスI4 ,自己ノード3aを特
定するIPアドレスI1 が組込まれる。
Then, the physical address E of the LAN 1a =
1, from node 3a with IP address I = 1 to LAN1c
Node 3 with physical address E = 4 and IP address I = 4
When sending data to the LAN c, the communication packet 5 in which the IP header 4 as shown in FIG.
Output to. The IP header 4 has a connection port number (physical address) E5 of the LAN-to-LAN connecting device (router) 2a.
, The physical address E1 of the self node 3a, the IP address I4 for specifying the destination node 3c, and the IP address I1 for specifying the self node 3a are incorporated.

【0006】LAN間接続装置(ルータ)2aは物理ア
ドレスE5 で指定された通信パケット5を受信すると、
IPヘッダ4を解析して、この通信パケット5の送信先
ノード3cの所属するLAN1cを判断して、このLA
N1cのIPアドレスI6 に対応する接続ポート番号
(LAN3cの物理アドレス)E6 から通信パケット5
aを出力する。この通信パケット5aのIPヘッダ4a
は、送信先ノード3cの物理アドレスE4 ,LAN間接
続装置(ルータ)2aの物理アドレス(接続ポート番
号)E6 ,送信先ノード3cのIPアドレスI4 ,送信
元ノード3aのIPアドレスI1 が設定される。よっ
て、LAN1c上に出力された通信パケット5aは最終
的に送信先ノード3cに取込まれる。なお、IPヘッダ
4aは、LAN間接続装置(ルータ)2aにて作成され
る。
When the LAN-to-LAN connecting device (router) 2a receives the communication packet 5 designated by the physical address E5,
The LAN 1c to which the destination node 3c of this communication packet 5 belongs is analyzed by analyzing the IP header 4, and this LA
Communication packet 5 from the connection port number (physical address of LAN3c) E6 corresponding to the IP address I6 of N1c
Output a. IP header 4a of this communication packet 5a
Is set to the physical address E4 of the destination node 3c, the physical address (connection port number) E6 of the inter-LAN connecting device (router) 2a, the IP address I4 of the destination node 3c, and the IP address I1 of the source node 3a. . Therefore, the communication packet 5a output on the LAN 1c is finally taken in by the destination node 3c. The IP header 4a is created by the LAN-to-LAN connecting device (router) 2a.

【0007】このような通信パケット5,5aをLAN
相互間で相互に転送させるLAN間接続装置(ルータ)
2aは、例えば図9に示すように、自己に接続された各
LAN1a,1bからの通信パケット5を処理するネッ
トワークインタフェース部6a,6bとネットワークイ
ンタフェース部6a,6b間における通信パケット5の
交換を管理する交換部7とで構成されている。
Such communication packets 5 and 5a are transmitted to the LAN.
LAN-to-LAN connection device (router) that transfers data to each other
As shown in FIG. 9, for example, 2a manages the exchange of the communication packet 5 between the network interface units 6a and 6b and the network interface units 6a and 6b which process the communication packet 5 from each LAN 1a and 1b connected to itself. And an exchanging section 7 for the same.

【0008】一方のネットワークインタフェース部6a
は、大きく分けて、LAN1aとの間で通信パケット5
の送受信を行うLAN接続ポート8と、このネットワー
クインタフェース部6a内で各種データの転送を行うた
めの内部バス9と、予め定められた手順に従ってプロト
コル処理を行うCPU(中央演算処理装置)10と、I
Pアドレス相互間の関係を示すソフトウェアにより管理
されるルーティングテーブル11と、IPアドレスと物
理アドレスとの対応関係を記憶するIPアドレス・物理
アドレス対応テーブル12と、受信した通信パケット5
を一時記憶するメモリ13と、他方のネットワークイン
タフェース部6bと通信パケット5の交換を行うデータ
転送部14とで構成されている。
One network interface section 6a
Is roughly divided into communication packets 5 with the LAN 1a.
A LAN connection port 8 for transmitting and receiving data, an internal bus 9 for transferring various data within the network interface unit 6a, a CPU (central processing unit) 10 for performing protocol processing according to a predetermined procedure, I
A routing table 11 managed by software showing a relationship between P addresses, an IP address / physical address correspondence table 12 storing a correspondence relationship between IP addresses and physical addresses, and a received communication packet 5
And a data transfer unit 14 for exchanging communication packets 5 with the other network interface unit 6b.

【0009】このような構成のLAN間接続装置(ルー
タ)2aにおいて、LAN接続ポート8でLAN1aか
らの通信パケット5を受信し、この通信パケット5を内
部バス9を介してメモリ13へ一旦格納する。メモリ1
3への転送終了後、LAN接続ポート8からCPU10
へ受信完了通知が出される。CPU10は通知を受ける
と、メモリ13内の受信した通信パケット5のIPヘッ
ダ4を参照し、所定のプロトコル処理を行う。
In the LAN connecting device (router) 2a having such a configuration, the LAN connection port 8 receives the communication packet 5 from the LAN 1a, and the communication packet 5 is temporarily stored in the memory 13 via the internal bus 9. . Memory 1
After the transfer to 3, the LAN connection port 8 to the CPU 10
The reception completion notification is issued to. Upon receiving the notification, the CPU 10 refers to the IP header 4 of the received communication packet 5 in the memory 13 and performs a predetermined protocol process.

【0010】ネットワーク層プロトコルであるIP(イ
ンターネットプロトコル)では、CPU10は、主に次
に示すプロトコル処理を行う。 (1) IPヘッダのエラーチェック (2) 通信パケットの送信先ノードへ至るまでの経路決定 (3) IPヘッダにエラーが発生した場合の送信元ノード
への通知 (4) 通信パケットのデータサイズ(データ長)が大きい
場合のデータの分割、再構成 (5) オプション処理 上述した各プロトコル処理のうち、経路決定処理におい
ては、ルーティングテーブル11を参照して、通信パケ
ット5の送信先ノード3a〜3dがどのLAN1a〜1
dに所属するかを決定する。そして、次の目標IPアド
レスを決定する。
In IP (Internet Protocol) which is a network layer protocol, the CPU 10 mainly performs the following protocol processing. (1) Error check of IP header (2) Route determination to destination node of communication packet (3) Notification to source node when error occurs in IP header (4) Data size of communication packet ( Data division and reconfiguration when data length is large (5) Optional processing Among the above-mentioned protocol processing, in the route determination processing, the routing table 11 is referred to, and the destination nodes 3a to 3d of the communication packet 5 are referred to. Which LAN 1a-1
Determine if you belong to d. Then, the next target IP address is determined.

【0011】経路決定処理により、通信パケット5の次
の目標IPアドレスが決定すると、CPU10は、IP
アドレス・物理アドレス変換テーブル12を参照して先
に決定した次の目標IPアドレスに対応する物理アドレ
スを検索する。そして、新たなIPヘッダ4aを作成し
て、この新規IPヘッダ4aを組込んだ通信パケット5
aを作成して、データ転送部14,交換部7を介して他
方のネットワークインタフェース部6bへ送出する。他
方のネットワークインタフェース部6bは該当LAN1
cへこの通信パケット5aを出力する。
When the next target IP address of the communication packet 5 is determined by the route determination processing, the CPU 10
The physical address corresponding to the previously determined next target IP address is searched by referring to the address / physical address conversion table 12. Then, a new IP header 4a is created and a communication packet 5 incorporating this new IP header 4a
A is created and sent to the other network interface unit 6b via the data transfer unit 14 and the exchange unit 7. The other network interface unit 6b is the LAN 1
This communication packet 5a is output to c.

【0012】なお、ルーティングテーブル11は上位プ
ロトコルにより管理され、複数のLAN1a〜1d相互
間の構成が変化した場合や、一部のLAN1a〜1dが
故障して伝送不能になった場合、他のLANを経由する
等のIPアドレス相互間の関係に変化が生じ場合は記憶
内容も変化する。
The routing table 11 is managed by a higher level protocol, and when the configuration between a plurality of LANs 1a to 1d changes, or when some of the LANs 1a to 1d fail and transmission is impossible, another LAN is used. When a change occurs in the relationship between IP addresses, such as when passing through, the stored contents also change.

【0013】また、上述したプロトコル処理において、
IPヘッダ4のエラーチェックと経路決定は通信パケッ
ト5を他のLANへ中継する場合に必ず実施する。IP
ヘッダ4にフレームエラーがなく、かつオプションのな
い通常の通信パケット5の場合においては、上述した経
路決定のプロトコル処理がネットワーク層での主要なプ
ロトコル処理となる。
Further, in the above-mentioned protocol processing,
The error check and route determination of the IP header 4 are always performed when the communication packet 5 is relayed to another LAN. IP
In the case of a normal communication packet 5 having no frame error in the header 4 and no option, the above-described protocol processing for route determination is the main protocol processing in the network layer.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、図9に
示したLAN間接続装置においてもまだ解消すべき次の
ような課題があった。すなわち、上述した全てのプロコ
ル処理はCPU(中央演算処理装置)10によりソフト
的に実行されていた。ソフトウェアによる処理では通信
パケット5に対する一連のプロトコル処理に対する処理
時間が非常に大きくなる。
However, the inter-LAN connecting device shown in FIG. 9 still has the following problems to be solved. That is, all of the above-described protocol processing is executed by the CPU (Central Processing Unit) 10 as software. With software processing, the processing time for a series of protocol processing for the communication packet 5 becomes very long.

【0015】そのため、たとえ各LAN1a〜1dの伝
送速度が高速であったとしても、通信パケット5がLA
N間接続装置(ルータ)2a,2bを通過するのに多大
の時間がかかり、通信ネットワークシステム全体として
のデータ伝送速度が低下する問題があった。
Therefore, even if the transmission speed of each of the LANs 1a to 1d is high, the communication packet 5 is transmitted to the LA
It takes a lot of time to pass through the N-to-N connecting devices (routers) 2a and 2b, and there is a problem that the data transmission speed of the entire communication network system is lowered.

【0016】本発明はこのような事情に鑑みてなされた
ものであり、受信した通信パケットのプロトコル処理を
エラー検出等を行うIP前処理と、経路決定等を行う簡
易ルーティング処理部とに分割してそれぞれ個別に実施
することによって、通信パケットに対するプロトロコ処
理速度を高速化でき、ひいてはLAN相互間における通
信パケットの伝送速度を大幅に向上できるLAN間接続
装置を提供することを目的とする。
The present invention has been made in view of such circumstances, and divides the protocol processing of the received communication packet into an IP preprocessing for detecting an error and a simple routing processing section for determining a route. It is an object of the present invention to provide a LAN-to-LAN connecting device that can increase the protocol processing speed for communication packets and can significantly improve the communication packet transmission speed between LANs by individually performing each of these.

【0017】[0017]

【課題を解決するための手段】本発明は、複数のLAN
相互間に接続され、一つのLANのノードから該当LA
N上に出力された通信パケットを受信して、この通信パ
ケットを、この通信パケットに組込まれたIPヘッダの
指定するノードのLNAへ送出すると共に、通信パケッ
トに対するエラー検出処理等の付随処理を実行するLA
N間接続装置に適用される。
The present invention provides a plurality of LANs.
Connected to each other and from one LAN node to the corresponding LA
The communication packet output to N is received, this communication packet is sent to the LNA of the node designated by the IP header embedded in this communication packet, and accompanying processing such as error detection processing for the communication packet is executed. LA to do
It is applied to the N-to-N connecting device.

【0018】そして、上述した課題を解消するために、
請求項1の発明においては、上述した構成のLAN間接
続装置に対してIP前処理部と簡易ルーティング処理部
とを付加している。
In order to solve the above problems,
According to the invention of claim 1, an IP pre-processing unit and a simple routing processing unit are added to the LAN-to-LAN connecting device having the above-described configuration.

【0019】IP前処理部を、受信した通信パケットか
らIPヘッダを検出するIPヘッダ検出部と、受信した
通信パケットの先頭位置からのビットデータ数を計数す
るビットカウンタと、このビットカウンタのカウント値
を参照してIPヘッダのエラーチェックを行うエラーチ
ェック部と、ビットカウンタのカウント値を参照してI
Pヘッダのチェックサムを計算するチェックサム計算部
と、IPヘッダ検出部にて検出されたIPヘッダから送
信先のIPアドレスを抽出するアドレス検出部とで構成
している。
The IP preprocessor is an IP header detector for detecting an IP header from the received communication packet, a bit counter for counting the number of bit data from the head position of the received communication packet, and a count value of this bit counter. Error check section for checking the error of the IP header and the count value of the bit counter for I
It is composed of a checksum calculation unit for calculating the checksum of the P header and an address detection unit for extracting the IP address of the transmission destination from the IP header detected by the IP header detection unit.

【0020】また、簡易ルーティング処理部を、IPア
ドレス毎に送信先LANを指定する出力ポート番号と次
の送信目標のIPアドレスを記憶するルーティングテー
ブルと、このルーティングテーブル内からアドレス検出
部で抽出されたIPアドレスに対応する出力ポート番号
及び次送信目標IPアドレスを検索する検索部とで構成
している。
Further, the simplified routing processing unit is extracted by the address detection unit from the routing table storing the output port number designating the destination LAN for each IP address and the IP address of the next transmission target. And an output port number corresponding to the IP address and a search unit for searching the next transmission target IP address.

【0021】請求項2の発明においては、上述した構成
のLAN間接続装置に対して請求項1と同一構成のIP
前処理部と下記に示す簡易ルーティング処理部とを付加
している。
According to a second aspect of the present invention, an IP having the same configuration as that of the first aspect is provided for the LAN connecting device having the above configuration.
A preprocessing unit and a simple routing processing unit shown below are added.

【0022】すなわち、請求項2の発明における簡易ル
ーティング処理部を、IPアドレス毎に送信先LANを
指定する出力ポート番号と次の送信目標の物理アドレス
を記憶する簡易ルーティングテーブルと、この簡易ルー
ティングテーブル内からアドレス検出部で抽出されたI
Pアドレスに対応する出力ポート番号及び次送信目標物
理アドレスを検索する検索部とで構成している。
That is, the simple routing processing unit according to the second aspect of the present invention uses the simple routing table for storing the output port number for designating the destination LAN for each IP address and the physical address of the next transmission target, and the simple routing table. I extracted from inside by the address detector
It is composed of an output port number corresponding to the P address and a search unit for searching the next transmission target physical address.

【0023】さらに、請求項3の発明においては、上述
した請求項2の発明のLAN間接続装置に対して、検索
部で検出されたIPアドレスが簡易ルーティングテーブ
ル内から検索されなかとき、ルーティングテーブル及び
IPアドレス・物理アドレス対応テーブルを用いてIP
アドレスに対応する出力ポート番号及び次送信目標物理
アドレスを求める正規検索手段と、この求められ出力ポ
ート番号及び次送信目標物理アドレスを簡易ルーティン
グテーブルへ登録するアドレス学習手段とを付加してい
る。
Further, in the third aspect of the present invention, in the inter-LAN connecting device of the second aspect of the invention, when the IP address detected by the search unit is not searched from the simple routing table, the routing table is displayed. And IP using the IP address / physical address correspondence table
The normal search means for obtaining the output port number and the next transmission target physical address corresponding to the address and the address learning means for registering the obtained output port number and the next transmission target physical address in the simple routing table are added.

【0024】[0024]

【作用】このように構成されたLAN接続装置において
は、LANから受信した通信パケットにおけるIPヘッ
ダはIPヘッダ検出部で検出される。そして、ビットカ
ウンタでもって受信した通信パケットの先頭位置からの
ビットデータ数が計数される。エラーチェック部及びチ
ェックサム計算部において、受信した通信パケットのI
Pヘッダが正常か否かを判断できる。したがって、CP
Uにおけるソフト的手段を用いずにエラーチエックがで
きるので、CPUの処理負担を軽減できる。
In the LAN connecting device configured as described above, the IP header in the communication packet received from the LAN is detected by the IP header detecting unit. Then, the bit counter counts the number of bit data from the start position of the received communication packet. In the error check unit and the checksum calculation unit, I of the received communication packet
It can be determined whether the P header is normal. Therefore, CP
Since error checking can be performed without using software means in U, the processing load on the CPU can be reduced.

【0025】また、IP前処理部において、検出された
送信先のIPアドレスは簡易ルーティング処理部へ入力
される。そして、この簡易ルーティング処理部内に設け
られたルーティングテーブル内が前記送信先のIPアド
レスで検索され、該当IPアドレスに対応する出力ポー
ト番号及び次送信目標IPアドレスが読出される。
In the IP preprocessing unit, the detected IP address of the transmission destination is input to the simple routing processing unit. Then, the routing table provided in the simple routing processing unit is searched for the destination IP address, and the output port number and the next transmission target IP address corresponding to the relevant IP address are read.

【0026】よって、CPUとしては、簡易ルーティン
グ処理部から出力された次送信目標IPアドレスから物
理アドレスを決定して、出力ポート番号の指定するLA
Nへこの物理アドレスを新規のIPヘッダとした通信パ
ケットを該当出力ポート番号の指定する出力ポートから
出力するのみでよい。したがって、この場合において
も、CPUにおけるソフト的処理負担がより軽減され
る。
Therefore, the CPU determines the physical address from the next transmission target IP address output from the simple routing processing unit and specifies the LA designated by the output port number.
It is only necessary to output a communication packet having this physical address as a new IP header to N from the output port designated by the corresponding output port number. Therefore, even in this case, the software processing load on the CPU is further reduced.

【0027】よって、一つのLANかのノードからLA
N間接続装置を介して他のLANのノードへ通信パケッ
トを伝送する場合の全体としての伝送速度を向上でき
る。請求項2の発明のLAN間接続装置においては、簡
易ルーティング処理部隔内に、IPアドレス毎に送信先
LANを指定する出力ポート番号と次の送信目標の物理
アドレスを記憶する簡易ルーティングテーブルが設けら
れている。そして、この簡易ルーティングテーブル内か
らアドレス検出部で抽出されたIPアドレスに対応する
出力ポート番号及び次送信目標物理アドレスを検索して
いる。
Therefore, from one LAN node to LA
It is possible to improve the overall transmission speed when transmitting a communication packet to a node of another LAN via the N-to-N connecting device. In the inter-LAN connection device of the invention of claim 2, a simple routing table for storing an output port number for designating a destination LAN for each IP address and a physical address of a next transmission target is provided in the simple routing processing section. Has been. Then, the output port number and the next transmission target physical address corresponding to the IP address extracted by the address detection unit are searched from the simple routing table.

【0028】よって、CPUとしては、簡易ルーティン
グ処理部から出力された出力ポート番号の指定するLA
Nへ物理アドレスを新規のIPヘッダとした通信ヘッダ
を該当出力ポート番号の指定する出力ポートから出力す
るのみでよい。したがって、CPUにおけるソフト的処
理負担をより一層軽減される。
Therefore, as the CPU, the LA designated by the output port number output from the simple routing processing unit is designated.
It is only necessary to output the communication header whose physical address is a new IP header to N from the output port designated by the corresponding output port number. Therefore, the software processing load on the CPU is further reduced.

【0029】請求項3の発明のLAN間接続装置におい
ては、簡易ルーティングテーブルに目標とする出力ポー
ト番号と次の送信目標の物理アドレスが検索できなかっ
た場合は、CPUにおけるソフト的手法によって、対応
する出力ポート番号と次の送信目標の物理アドレスを決
定するが、その結果が簡易ルーティングテーブルに登録
される。よって、次回に同じ送信先IPアドレスの通信
パケットを受信した場合は簡易ルーティングテーブルの
登録内容を利用でき、CPUにおけるプロトコル処理で
の経路決定処理は必要なくなる。よって、さらにCPU
のソフ的処理負担が軽減される。
In the LAN-to-LAN connecting device according to the third aspect of the present invention, when the target output port number and the next transmission target physical address cannot be retrieved in the simple routing table, the CPU handles them by a software method. The output port number to be used and the physical address of the next transmission target are determined, and the result is registered in the simple routing table. Therefore, when the next communication packet having the same destination IP address is received, the registered contents of the simple routing table can be used, and the route determination process in the protocol process in the CPU is not necessary. Therefore, further CPU
The soft processing load of is reduced.

【0030】[0030]

【実施例】以下本発明の一実施例を図面を用いて説明す
る。図2は実施例のLAN間接続装置の概略構成図であ
り、図1は装置全体を示すブロック図であり、図3は詳
細ブロック図である。図8,図9に示す従来のLAN間
接続装置と同一部分には同一符号が付してある。したが
って、重複する部分の詳細説明は省略されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. 2 is a schematic configuration diagram of an inter-LAN connecting device of the embodiment, FIG. 1 is a block diagram showing the entire device, and FIG. 3 is a detailed block diagram. The same parts as those of the conventional inter-LAN connecting device shown in FIGS. 8 and 9 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions is omitted.

【0031】図2に示す実施例のLAN間接続装置20
は、自己に接続された各LAN1a,1bからの通信パ
ケット5を処理するネットワークインタフェース部21
a,21bとネットワークインタフェース部21a,2
1b間における通信パケット5の交換を管理する交換部
7とで構成されている。
The inter-LAN connection device 20 of the embodiment shown in FIG.
Is a network interface unit 21 that processes communication packets 5 from the LANs 1a and 1b connected to itself.
a, 21b and network interface units 21a, 2
And a switching unit 7 that manages the exchange of communication packets 5 between 1b.

【0032】一方のネットワークインタフェース部21
a内において、内部バス9に対して、各種情報処理を実
行するCPU10a及びメモリ13の他に、IP前処理
部22が接続されている。また、CPU10aには、I
Pアドレス・物理アドレス対応テーブル12の他に、簡
易ルーティング処理部23が接続されている。簡易ルー
ティング処理部23内には、ルーティングテーブル11
aと検索部24と管理部25とが設けられている。
One network interface unit 21
In a, an IP preprocessing unit 22 is connected to the internal bus 9 in addition to the CPU 10a and the memory 13 that execute various information processes. Further, the CPU 10a has an I
In addition to the P address / physical address correspondence table 12, the simple routing processing unit 23 is connected. In the simple routing processing unit 23, the routing table 11
a, a search unit 24, and a management unit 25 are provided.

【0033】IP前処理部22は、図3に示すように、
IPヘッダ検出部26,アドレスカウンタ27,エラー
チェック部28,チェックサム計算部29,アドレス検
出部30,及び制御信号生成部31とで構成されてい
る。
As shown in FIG. 3, the IP preprocessing section 22
It is composed of an IP header detection unit 26, an address counter 27, an error check unit 28, a checksum calculation unit 29, an address detection unit 30, and a control signal generation unit 31.

【0034】簡易ルーティング処理部23内に形成され
たルーティンクテーブル11a内には、図4に示すよう
に、受信した通信パケット5から検出された送信先ノー
ド3a〜3dのIPアドレス毎に、次のLAN間接続装
置(ルータ)20のIPアドレス、通信パケット5を出
力するネットワークインタフェース部21a.21bを
指定する出力ポート番号、IPアドレスが示しているの
が自局か、自己に接続されたLAN1a,1b上のノー
ド3a〜3dか、その他かを示す識別子、及び管理情報
が登録されている。
In the routing table 11a formed in the simple routing processing unit 23, as shown in FIG. 4, for each IP address of the destination nodes 3a to 3d detected from the received communication packet 5, IP address of the LAN-to-LAN connecting device (router) 20 and the network interface unit 21a. 21b, an output port number designating 21b, an IP address, an identifier indicating whether the station is itself, the nodes 3a to 3d on the LANs 1a and 1b connected to itself, or other, and management information are registered. .

【0035】また、CPU10aに接続されたIPアド
レス・物理アドレス対応テーブル12内には、図5に示
すように、各ノード3a〜3d,各LAN1a〜1d,
各LAN間接続装置(ルータ)20をソフト的に指定す
るIPアドレスI毎に、対応する物理アドレスEが記憶
されている。
In the IP address / physical address correspondence table 12 connected to the CPU 10a, as shown in FIG. 5, nodes 3a to 3d, LANs 1a to 1d,
A corresponding physical address E is stored for each IP address I that specifies each LAN connection device (router) 20 by software.

【0036】このような構成のLAN間接続装置20の
各部の動作を説明する。例えば一方のネットワークイン
タフェース部21aにおいて、自己に接続されたLAN
1aからの通信パケット5はLAN接続ポート8で受信
され、内部バス9を通してメモリ13へ転送される。こ
のとき、同時にIP前処理部23にも転送されて、この
IP前処理部23において、エラーチェックとルーティ
ング処理が行われる。
The operation of each part of the LAN-to-LAN connecting device 20 having such a configuration will be described. For example, in one of the network interface units 21a, the LAN connected to itself
The communication packet 5 from 1a is received by the LAN connection port 8 and transferred to the memory 13 through the internal bus 9. At this time, it is also transferred to the IP preprocessing unit 23 at the same time, and the IP preprocessing unit 23 performs error checking and routing processing.

【0037】通信パケット5のIPヘッダ4に関するエ
ラーチェックとして例えば以下の項目を確認する。 (1) 「バージョン」が4であるか否か (2) 「ヘッダ長」が5以上であるか否か (3) 「データ長」が受信したデータ長と一致するか否か (3) オプションの有無と、フォーマットが正しいかの確
認 (4) TTL(Time to Live:パケットの生存時間)が1
より大きいか否か その他、IP前処理部23は、チェックサムの計算を行
う。さらに、送信先ノードのIPアドレスを抽出して簡
易ルーティング処理部23へ転送する。
For example, the following items are confirmed as the error check for the IP header 4 of the communication packet 5. (1) Whether the "version" is 4 (2) Whether the "header length" is 5 or more (3) Whether the "data length" matches the received data length (3) Optional And whether the format is correct (4) TTL (Time to Live: packet lifetime) is 1
In addition, the IP preprocessing unit 23 calculates a checksum. Further, the IP address of the destination node is extracted and transferred to the simple routing processing unit 23.

【0038】具体的には、IPヘッダ検出部26は受信
パケット5からIPヘッダ4の先頭を見つけ、IPヘッ
ダ4を順番に読出し、エラーチェック部28、チェック
サム計算部29、アドレス抽出部30へ送出する。ま
た、ビットカウンタ27でIPヘッダ4のビットデータ
をどこまで読んだかをカウントする。
Specifically, the IP header detection unit 26 finds the beginning of the IP header 4 from the received packet 5, reads the IP header 4 in order, and sends it to the error check unit 28, the checksum calculation unit 29, and the address extraction unit 30. Send out. Further, the bit counter 27 counts how much the bit data of the IP header 4 has been read.

【0039】エラーチェック部28は受信データとカウ
ント値を参照してIPヘッダ4のフォーマットが正しい
か否かをチェックする。確認後、結果を制御信号生成部
31へ知らせる。
The error check unit 28 refers to the received data and the count value to check whether the format of the IP header 4 is correct. After confirmation, the result is notified to the control signal generation unit 31.

【0040】チェックサム計算部29は受信データとカ
ウント値を参照し、IPヘッダ4中の「ヘッダ長」で示
された分だけ、受信データのチェックサムを計算し、計
算結果を制御信号生成部31へ渡す。
The checksum calculator 29 refers to the received data and the count value, calculates the checksum of the received data by the amount indicated by the "header length" in the IP header 4, and outputs the calculation result to the control signal generator. Pass to 31.

【0041】アドレス抽出部30は、IPヘッダ4から
送信先ノード3a〜3dのIPアドレスを抽出して簡易
ルーティング処理部23へ送出する。簡易ルーティング
処理部23において、検索部24は、IP前処理部22
のアドレス検出部30から受領した送信先ノード3a〜
3dのIPアドレスでもってルーティングテーブル11
aを検索して、送信先ノード3a〜3dに対応する次の
LAN間接続装置(ルータ)のIPアドレス、出力ホー
ド番号,識別子,管理情報等のデータを読出す。管理部
25は読出した次目的のIPアドレスを含むデータをI
P前処理部22のアドレス検出部30へ応答する。
The address extracting unit 30 extracts the IP addresses of the destination nodes 3a to 3d from the IP header 4 and sends them to the simple routing processing unit 23. In the simple routing processing unit 23, the search unit 24 uses the IP preprocessing unit 22.
Destination node 3a received from the address detection unit 30 of
Routing table 11 with 3d IP address
A is searched and data such as the IP address of the next LAN-to-LAN connecting device (router) corresponding to the destination nodes 3a to 3d, the output word number, the identifier, and the management information is read. The management unit 25 returns the data including the read next-purpose IP address to the I
It responds to the address detection unit 30 of the P preprocessing unit 22.

【0042】なお、ルーティングテーブル11aに該当
データが登録されていなかった場合、管理部25はエラ
ー情報を返信する。IP前処理部22のアドレス検出部
30は、簡易ルーティング処理部23の結果を制御信号
生成部31へ転送する。制御信号生成部31では、各部
28,29,30より得られた各結果を基に制御信号を
生成し、CPU10aへ送信する。CPU10aは受領
した各結果を一旦メモリ13へ書込む。
When the corresponding data is not registered in the routing table 11a, the management unit 25 returns error information. The address detection unit 30 of the IP preprocessing unit 22 transfers the result of the simple routing processing unit 23 to the control signal generation unit 31. The control signal generation unit 31 generates a control signal based on each result obtained from each unit 28, 29, 30 and transmits it to the CPU 10a. The CPU 10a once writes each received result in the memory 13.

【0043】このIP前処理部22の処理結果は、例え
ば、受信した通信パッケット5か正規のIPデータであ
るか否か、この通信パッケット5を破棄するか否か、送
信元ノード3a〜3dエラー通知をするか否か、エラー
の種類、オプションの有無、通信パケット5が自局宛て
か否か、経路決定が成功したか否か、通信パケット5を
転送する出力ポート番号、この通信パケット5を転送す
る次のLAN間接続装置(ルータ)のIPアドレス等で
ある。
The processing result of the IP preprocessing unit 22 is, for example, whether the received communication packet 5 is the normal IP data, whether the communication packet 5 is discarded, or the source node 3a to 3d error. Whether or not to notify, whether or not there is an error, whether or not there is an option, whether or not the communication packet 5 is addressed to itself, whether or not the route is successfully determined, the output port number to which the communication packet 5 is transferred, and this communication packet 5 The IP address or the like of the next LAN-to-LAN connecting device (router) to be transferred.

【0044】CPU10aはメモリ13に記憶された元
の送信パケット5及び今回書込んだIP前処理部22で
得られた各情報を参照して、送信パケット5に対する残
りのプロトコル処理を実施する。
The CPU 10a refers to the original transmission packet 5 stored in the memory 13 and each information obtained by the IP preprocessing unit 22 written this time, and executes the remaining protocol processing for the transmission packet 5.

【0045】すなわち、CPU10aは、メモリ13を
参照して、新規に通信パケット5を受信すると、最初
に、IP前処理部22の処理結果を参照する。通信パケ
ット5が自局宛のものならば、下記の上位層の処理を行
う。
That is, when the CPU 10a refers to the memory 13 and newly receives the communication packet 5, the CPU 10a first refers to the processing result of the IP preprocessor 22. If the communication packet 5 is addressed to its own station, the following upper layer processing is performed.

【0046】すなわち、通信パケット5にエラー及びオ
プションがなく、かつ経路決定に成功していれば、IP
アドレス・物理アドレス対応テーブル12を参照して次
の目標ルータ又はノードのIPアドレスに対応する物理
アドレスを取出し、下位層のIPヘッダ4を作成してデ
ータ転送部14へ転送し、このデータ転送部14から通
信パケット5を該当するLAN1a〜1dに接続された
出力ポートへ転送する。
That is, if there is no error or option in the communication packet 5 and the route determination is successful, IP
The physical address corresponding to the IP address of the next target router or node is taken out by referring to the address / physical address correspondence table 12, the lower layer IP header 4 is created and transferred to the data transfer unit 14, and this data transfer unit The communication packet 5 is transferred from 14 to the output port connected to the corresponding LAN 1a to 1d.

【0047】なお、経路決定に失敗していた場合、CP
U10aは簡易ルーティング処理部23内のルーティン
グテーブル11aを参照して正規の経路決定処理を行
い、次の宛先IPアドレスを取得し、このIPアドレス
の物理アドレスをIPアドレス・物理アドレス対応テー
ブル12で物理アドレスを得て、該当する出力ポートへ
通信パケットを転送する。
When the route determination has failed, the CP
The U 10a refers to the routing table 11a in the simple routing processing unit 23 to perform a normal route determination process, obtains the next destination IP address, and the physical address of this IP address is stored in the IP address / physical address correspondence table 12 as a physical address. Obtain the address and transfer the communication packet to the corresponding output port.

【0048】転送先の出力ポートは、IPヘッダ4が書
改められた通信パケット5を自己のLAN1a〜1dへ
送出する。なお、CPU10aは、受信した通信パケッ
ト5が正規のIPデータでなければ、他のプロトコル処
理を行う。また、IPヘッダ4にフレームエラーが発見
されれば、受信した通信パケット5を破棄し、必要であ
れば、エラー通知を送信元ノード3a〜3dへ送信す
る。オプションがあれば、その処理を行う。
The output port of the transfer destination sends the communication packet 5 with the rewritten IP header 4 to its own LAN 1a-1d. Note that the CPU 10a performs another protocol process if the received communication packet 5 is not regular IP data. If a frame error is found in the IP header 4, the received communication packet 5 is discarded, and if necessary, an error notification is transmitted to the transmission source nodes 3a to 3d. If there is an option, it is processed.

【0049】このように構成されたLAN接続装置20
においては、自己に接続されたLAN1a〜1dから通
信パケット5を受信した際に、先ずIP前処理部22で
もって、エラーチエックや経路決定等のIP前処理を実
施することにより、CPU10aによるソフト的手法を
用いたプロトコル処理を大幅に簡易化できる。
The LAN connection device 20 configured as described above
In the above, when the communication packet 5 is received from the LANs 1a to 1d connected to itself, first, the IP pre-processing unit 22 performs the IP pre-processing such as the error check and the route determination, so that the software by the CPU 10a can be realized. The protocol processing using the method can be greatly simplified.

【0050】したがって、一つのLAN1a〜1dから
通信パケット5を受信してから他のLAN1a〜1dへ
送出するまでの所要時間を大幅に短縮できる。その結
果、一つのLANに接続されたノードから他のLANに
接続されたノードに通信パケット5を送信する場合の通
信ネットワークシステム全体としてのデータ伝送速度を
向上できる。
Therefore, the time required from the reception of the communication packet 5 from one LAN 1a to 1d to the transmission to the other LAN 1a to 1d can be greatly reduced. As a result, it is possible to improve the data transmission rate of the communication network system as a whole when the communication packet 5 is transmitted from a node connected to one LAN to a node connected to another LAN.

【0051】図6は本発明の他の実施例のLAN間接続
装置40の概略構成を示すブロック図である。図1に示
す実施例のLAN間接続装置20と同一部分には同一符
号が付してある。したがって、重複する部分の詳細説明
を省略する。
FIG. 6 is a block diagram showing a schematic structure of a LAN interconnection device 40 of another embodiment of the present invention. The same parts as those of the inter-LAN connecting device 20 of the embodiment shown in FIG. 1 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions will be omitted.

【0052】この実施例装置においては、簡易ルーティ
ンク処理部23a内に、図1におけるルーティングテー
ブル11aに代えて、簡易ルーティングテーブル11b
が記憶されている。そして、図1におけるルーティング
テーブル11aはCPU10bに直接接続されている。
In the apparatus of this embodiment, the simplified routing table 11b is provided in the simplified routine processing section 23a instead of the routing table 11a shown in FIG.
Is remembered. The routing table 11a in FIG. 1 is directly connected to the CPU 10b.

【0053】簡易ルーティンクテーブル11b内には、
図7に示すように、IP前処理部22で検出された送信
先ノードのIPアドレス毎に、このIPアドレスの内容
が有効か無効かのフラグ、IPアドレスが自局又は他局
を示すフラグ、通信パケット5を直接転送するのか自己
以外の他のLAN間接続装置(ルータ)を経由するのか
を示すフラグ、出力ポート番号、次の転送目標の物理ア
ドレス等が登録されている。
In the simple routine table 11b,
As shown in FIG. 7, for each IP address of the destination node detected by the IP preprocessing unit 22, a flag indicating whether the content of this IP address is valid or invalid, a flag indicating that the IP address indicates its own station or another station, A flag indicating whether the communication packet 5 is directly transferred or passed through another LAN connecting device (router) other than itself, an output port number, a physical address of a next transfer target, and the like are registered.

【0054】簡易ルーティンクテーブル11b内には、
各ネットワークインタフェース部21a,21bのLA
N接続ポート5に割り当てられたIPアドレスも登録さ
れている。よって、受信した通信パケット5が自局宛か
否かも判定可能である。
In the simple routine table 11b,
LA of each network interface unit 21a, 21b
The IP address assigned to the N connection port 5 is also registered. Therefore, it is possible to determine whether or not the received communication packet 5 is addressed to the own station.

【0055】このような構成のLAN間接続装置40に
おいて、受信した通信パケット5はメモリ13へ一旦格
納されると共に、IP前処理部22で送信先ノードのI
Pアドレスが抽出されて簡易ルーティング処理部23a
へ送出される。
In the LAN-to-LAN connecting device 40 having such a configuration, the received communication packet 5 is temporarily stored in the memory 13, and the IP preprocessing unit 22 sets the I of the destination node.
The P address is extracted and the simple routing processing unit 23a
Sent to.

【0056】簡易ルーティング処理部23aにおいて、
検索部24は、IP前処理部22のアドレス検出部30
から受領した送信先ノード3a〜3dのIPアドレスで
もって簡易ルーティングテーブル11bを検索して、送
信先ノード3a〜3dに対応する物理アドレスEを含む
各データを読出して、IP前処理部22のアドレス検出
部30へ応答する。
In the simple routing processing section 23a,
The search unit 24 uses the address detection unit 30 of the IP preprocessing unit 22.
The simple routing table 11b is searched with the IP addresses of the destination nodes 3a to 3d received from the server, and each data including the physical address E corresponding to the destination nodes 3a to 3d is read, and the address of the IP preprocessor 22 is read. It responds to the detection unit 30.

【0057】なお、簡易ルーティングテーブル11bに
該当データが登録されていなかった場合、管理部25は
エラー情報を返信する。IP前処理部22へ応答された
各データはCPU10bを介して一旦メモリ13内へ書
込まれる。
If the corresponding data is not registered in the simple routing table 11b, the management section 25 returns error information. Each data returned to the IP preprocessing unit 22 is once written in the memory 13 via the CPU 10b.

【0058】CPU10aはメモリ13に記憶された元
の送信パケット5及び今回書込んだIP前処理部22で
得られた各情報を参照して、送信パケット5に対する残
りのプロトコル処理を実施する。
The CPU 10a refers to the original transmission packet 5 stored in the memory 13 and each information obtained by the IP preprocessing unit 22 written this time, and executes the remaining protocol processing for the transmission packet 5.

【0059】すなわち、CPU10aは、メモリ13を
参照して、新規に通信パケット5を受信すると、最初
に、IP前処理部22の処理結果を参照する。通信パケ
ット5が自局宛のものならば、上位層の処理を行う。
That is, when the CPU 10a refers to the memory 13 and newly receives the communication packet 5, the CPU 10a first refers to the processing result of the IP preprocessor 22. If the communication packet 5 is addressed to the own station, the upper layer processing is performed.

【0060】すなわち、通信パケット5にエラー及びオ
プションがなく、かつ経路決定に成功していれば、通信
パケット5に含まれる送信先IPアドレスに対応する物
理アドレスを用いて、下位層のIPヘッダ4を作成して
データ転送部14へ転送し、このデータ転送部14から
通信パケット5を該当するLAN1a〜1dに接続され
た出力ポートへ転送する。
That is, if there is no error or option in the communication packet 5 and the route has been successfully determined, the physical address corresponding to the destination IP address included in the communication packet 5 is used, and the lower layer IP header 4 is used. Is created and transferred to the data transfer unit 14, and the communication packet 5 is transferred from the data transfer unit 14 to the output port connected to the corresponding LAN 1a to 1d.

【0061】なお、経路決定に失敗していた場合、CP
U10bはルーティングテーブル11aを参照して正規
の経路決定処理を行い、次の宛先IPアドレスを取得
し、このIPアドレスの物理アドレスをIPアドレス・
物理アドレス対応テーブル12から得て、該当する出力
ポートへ通信パケットを転送する。
When the route determination has failed, the CP
The U10b refers to the routing table 11a, performs a regular route determination process, acquires the next destination IP address, and acquires the physical address of this IP address as the IP address.
The communication packet is obtained from the physical address correspondence table 12 and transferred to the corresponding output port.

【0062】同時、CPU10bは、今回新たに求め
た、送信先ノードのIPアドレスと物理アドレスとの関
係を管理部25を介して簡易ルーティングテーブル11
bへ新規登録する。
At the same time, the CPU 10b uses the management unit 25 to determine the relationship between the IP address and the physical address of the destination node newly obtained this time via the management unit 25.
Register to b.

【0063】転送先の出力ポートは、IPヘッダ4が書
改められた通信パケット5を自己のLAN1a〜1dへ
送出する。なお、CPU10aは、受信した通信パケッ
ト5が正規のIPデータでなければ、他のプロトコル処
理を行う。また、IPヘッダ4にフレームエラーが発見
されれば、受信した通信パケット5を破棄し、必要であ
れば、エラー通知を送信元ノード3a〜3dへ送信す
る。オプションがあれば、その処理を行う。
The output port of the transfer destination sends the communication packet 5 with the rewritten IP header 4 to its own LAN 1a-1d. Note that the CPU 10a performs another protocol process if the received communication packet 5 is not regular IP data. If a frame error is found in the IP header 4, the received communication packet 5 is discarded, and if necessary, an error notification is transmitted to the transmission source nodes 3a to 3d. If there is an option, it is processed.

【0064】このように構成されたLAN間接続装置4
0においては、簡易ルーティングテーブル11bを使用
することにより、CPU10bによるIPアドレス・物
理アドレス対応テーブル12の参照回数が大幅に減るの
で、CPU10bのソフト的処理負担が大幅に軽減され
る。
Inter-LAN connection device 4 configured in this way
In 0, the number of times the CPU 10b refers to the IP address / physical address correspondence table 12 is greatly reduced by using the simple routing table 11b, so that the software processing load of the CPU 10b is significantly reduced.

【0065】よって、受信した通信パケット5に対する
他のLAN1a〜1dへの転送処理速度が大幅に向上す
る。よって、先の実施例装置以上にLAN相互間のデー
タ伝送速度を高速化できる。
Therefore, the transfer processing speed of the received communication packet 5 to the other LANs 1a to 1d is significantly improved. Therefore, the data transmission rate between LANs can be increased more than that of the apparatus of the previous embodiment.

【0066】さらに、最初に簡易ルーティング処理部2
3aで経路経路決定を失敗した場合は、CPU10bが
ソフト的に経路決定を行うと共に、決定結果のデータを
簡易ルーティングテーブル11bへ登録するようにして
いる。したがって、次に同じ送信先IPアドレスの通信
パケット5を受信した場合には、CPU10bでソフト
的に経路決定を行う必要はなくなる。
Further, first, the simple routing processing unit 2
When the route determination fails in 3a, the CPU 10b determines the route by software and registers the determination result data in the simple routing table 11b. Therefore, when the next communication packet 5 having the same destination IP address is received, it is not necessary for the CPU 10b to determine the route by software.

【0067】よって、通信パケット5の伝送処理速度を
より一層向上できる。なお、本発明は実施例で示した構
成に限定されるものではなく、例えば、IP前処理部2
2で得られた結果をメモリ13に書き込むのではなく、
レジスタに格納してCPU10a,10bがそれを読込
むようにしてもよい。また、各LAN間接続装置に3つ
以上のLAN1a〜1dを接続することも可能である。
Therefore, the transmission processing speed of the communication packet 5 can be further improved. The present invention is not limited to the configuration shown in the embodiment, and for example, the IP preprocessing unit 2
Instead of writing the result obtained in 2 to the memory 13,
It may be stored in a register and read by the CPUs 10a and 10b. It is also possible to connect three or more LANs 1a to 1d to each LAN connecting device.

【0068】[0068]

【発明の効果】以上説明したように本発明のLAN間接
続装置によれば、受信した通信パケットのプロトコル処
理をエラー検出等を行う前処理と、経路決定等を行う簡
易ルーティング処理部とに分割してそれぞれ個別に実施
することによって、CPUが実施するソフト的なプロト
コル処理量を大幅に減少でき、通信パケットに対するプ
ロトコル処理速度を高速化でき、ひいてはLAN相互間
における通信パケットの伝送速度を大幅に向上できる。
As described above, according to the LAN-to-LAN connecting device of the present invention, the protocol processing of the received communication packet is divided into the preprocessing for error detection and the simple routing processing section for route determination. By individually performing each, the amount of software protocol processing performed by the CPU can be significantly reduced, the protocol processing speed for communication packets can be increased, and the transmission speed of communication packets between LANs can be greatly increased. Can be improved.

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

【図1】 本発明の一実施例に係わるLAN間接続装置
の概略構成を示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of an inter-LAN connection device according to an embodiment of the present invention.

【図2】 同LAN間接続装置全体を示す模式図FIG. 2 is a schematic diagram showing the entire LAN connection device.

【図3】 同LAN間接続装置の要部を取出して示す詳
細ブロック図
FIG. 3 is a detailed block diagram showing an essential part of the LAN-to-LAN connecting device.

【図4】 同LAN間接続装置に組込まれたルーティン
グテーブルの登録内容を示す図
FIG. 4 is a diagram showing registration contents of a routing table incorporated in the LAN-to-LAN connecting device.

【図5】 同LAN間接続装置に組込まれたIPアドレ
ス・物理アドレス対応テーブルの登録内容を示す図
FIG. 5 is a diagram showing registered contents of an IP address / physical address correspondence table incorporated in the LAN-to-LAN connecting device.

【図6】 本発明の他の実施例に係わるLAN間接続装
置の概略構成を示すブロック図
FIG. 6 is a block diagram showing a schematic configuration of an inter-LAN connection device according to another embodiment of the present invention.

【図7】 同LAN間接続装置に組込まれた簡易ルーテ
ィングテーブルの登録内容を示す図
FIG. 7 is a diagram showing registration contents of a simple routing table incorporated in the LAN-to-LAN connecting device.

【図8】 複数のLANが組込まれた一般的な通信ネッ
トワークシステムを示す模式図
FIG. 8 is a schematic diagram showing a general communication network system incorporating a plurality of LANs.

【図9】 従来のLAN間接続装置の概略構成を示すブ
ロック図
FIG. 9 is a block diagram showing a schematic configuration of a conventional inter-LAN connecting device.

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

1a,1b,1c,1d…LAN、3a,3b,3c,
3d…ノード、4…IPヘッダ、5…通信パケット、7
…交換部、8…LAN接続ポート、9…内部バス、10
a,10b…CPU、11a…ルーティングテーブル、
11b…簡易ルーティングテーブル、12…IPアドレ
ス・物理アドレス対応テーブル、13…メモリ、14…
データ転送部、20,40…LAN間接続装置、21
a,21b…ネットワークインタフェース部、22…I
P前処理部、23,23a…簡易ルーティング処理部、
24…検索部、25…管理部、26…IPヘッダ検出
部、27…ビットカウンタ、28…エラーチェック部、
29…チェックサム計算部、30…アドレス検出部、3
1…制御信号生成部
1a, 1b, 1c, 1d ... LAN, 3a, 3b, 3c,
3d ... node, 4 ... IP header, 5 ... communication packet, 7
… Exchange unit, 8… LAN connection port, 9… Internal bus, 10
a, 10b ... CPU, 11a ... Routing table,
11b ... Simple routing table, 12 ... IP address / physical address correspondence table, 13 ... Memory, 14 ...
Data transfer unit, 20, 40 ... LAN connecting device, 21
a, 21b ... Network interface section, 22 ... I
P preprocessing unit, 23, 23a ... Simple routing processing unit,
24 ... Search unit, 25 ... Management unit, 26 ... IP header detection unit, 27 ... Bit counter, 28 ... Error check unit,
29 ... Checksum calculator, 30 ... Address detector, 3
1 ... Control signal generator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のLAN(ローカルエリアネットワ
ーク)相互間に接続され、一つのLANのノードから該
当LAN上に出力された通信パケットを受信して、この
通信パケットを、この通信パケットに組込まれたIP
(インターネットプロトコル)ヘッダの指定するノード
のLNAへ送出すると共に、前記通信パケットに対する
エラー検出処理等の付随処理を実行するLAN間接続装
置において、 前記受信した通信パケットから前記IPヘッダを検出す
るIPヘッダ検出部と、受信した通信パケットの先頭位
置からのビットデータ数を計数するビットカウンタと、
このビットカウンタのカウント値を参照して前記IPヘ
ッダのエラーチェックを行うエラーチェック部と、前記
ビットカウンタのカウント値を参照して前記IPヘッダ
のチェックサムを計算するチェックサム計算部と、前記
IPヘッダ検出部にて検出されたIPヘッダから送信先
のIPアドレスを抽出するアドレス検出部とを有するI
P前処理部と、 IPアドレス毎に送信先LANを指定する出力ポート番
号と次の送信目標のIPアドレスを記憶するルーティン
グテーブルと、このルーティングテーブル内から前記ア
ドレス検出部で抽出されたIPアドレスに対応する出力
ポート番号及び次送信目標IPアドレスを検索する検索
部とを有する簡易ルーティング処理部とを備えたことを
と特徴とするLAN間接続装置。
1. A communication packet which is connected between a plurality of LANs (local area networks), is output from a node of one LAN to the corresponding LAN, and incorporates this communication packet into this communication packet. IP
(Internet protocol) In an inter-LAN connection device that transmits to an LNA of a node designated by a header and executes an accompanying process such as an error detection process for the communication packet, an IP header that detects the IP header from the received communication packet A detection unit, a bit counter for counting the number of bit data from the start position of the received communication packet,
An error check unit that refers to the count value of the bit counter to perform an error check on the IP header, a checksum calculation unit that refers to the count value of the bit counter to calculate a checksum of the IP header, and the IP An address detecting unit that extracts a destination IP address from the IP header detected by the header detecting unit.
P pre-processing unit, a routing table that stores the output port number that specifies the destination LAN for each IP address and the IP address of the next transmission target, and the IP address extracted by the address detection unit from this routing table. An inter-LAN connection device comprising: a simple routing processing unit having a search unit for searching a corresponding output port number and a next transmission target IP address.
【請求項2】 複数のLAN(ローカルエリアネットワ
ーク)相互間に接続され、一つのLANのノードから該
当LAN上に出力された通信パケットを受信して、この
通信パケットを、この通信パケットに組込まれたIP
(インターネットプロトコル)ヘッダの指定するノード
のLNAへ送出すると共に、前記通信パケットに対する
エラー検出処理等の付随処理を実行するLAN間接続装
置において、 前記受信した通信パケットから前記IPヘッダを検出す
るIPヘッダ検出部と、受信した通信パケットの先頭位
置からのビットデータ数を計数するビットカウンタと、
このビットカウンタのカウント値を参照して前記IPヘ
ッダのエラーチェックを行うエラーチェック部と、前記
ビットカウンタのカウント値を参照して前記IPヘッダ
のチェックサムを計算するチェックサム計算部と、前記
IPヘッダ検出部にて検出されたIPヘッダから送信先
のIPアドレスを抽出するアドレス検出部とを有するI
P前処理部と、 IPアドレス毎に送信先LANを指定する出力ポート番
号と次の送信目標の物理アドレスを記憶する簡易ルーテ
ィングテーブルと、この簡易ルーティングテーブル内か
ら前記アドレス検出部で抽出されたIPアドレスに対応
する出力ポート番号及び次送信目標物理アドレスを検索
する検索部とを有する簡易ルーティング処理部とを備え
たことをと特徴とするLAN間接続装置。
2. A plurality of LANs (local area networks) are connected to each other, a communication packet output from the LAN node to a corresponding LAN is received, and the communication packet is incorporated into the communication packet. IP
(Internet protocol) In an inter-LAN connection device that transmits to an LNA of a node designated by a header and executes an accompanying process such as an error detection process for the communication packet, an IP header that detects the IP header from the received communication packet A detection unit, a bit counter for counting the number of bit data from the start position of the received communication packet,
An error check unit that refers to the count value of the bit counter to perform an error check on the IP header, a checksum calculation unit that refers to the count value of the bit counter to calculate a checksum of the IP header, and the IP An address detecting unit that extracts a destination IP address from the IP header detected by the header detecting unit.
P pre-processing unit, an output port number designating a destination LAN for each IP address, and a simple routing table that stores a physical address of a next transmission target, and an IP extracted by the address detection unit from the simple routing table. An inter-LAN connection device comprising: a simple routing processing unit having a search unit for searching an output port number corresponding to an address and a next transmission target physical address.
【請求項3】 前記検索部で検出されたIPアドレスが
前記簡易ルーティングテーブル内から検索されなかと
き、ルーティングテーブル及びIPアドレス・物理アド
レス対応テーブルを用いて前記IPアドレスに対応する
出力ポート番号及び次送信目標物理アドレスを求める正
規検索手段と、この求められ出力ポート番号及び次送信
目標物理アドレスを前記簡易ルーティングテーブルへ登
録するアドレス学習手段とを備えた請求項2記載のLA
N間接続装置。
3. When the IP address detected by the search unit is not searched from the simple routing table, an output port number corresponding to the IP address and a next address are used by using the routing table and the IP address / physical address correspondence table. 3. The LA according to claim 2, further comprising: a regular search unit for obtaining a transmission target physical address; and an address learning unit for registering the obtained output port number and the next transmission target physical address in the simple routing table.
Connection device between N.
JP4461194A 1994-03-16 1994-03-16 Inter-lan connection device Pending JPH07254912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4461194A JPH07254912A (en) 1994-03-16 1994-03-16 Inter-lan connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4461194A JPH07254912A (en) 1994-03-16 1994-03-16 Inter-lan connection device

Publications (1)

Publication Number Publication Date
JPH07254912A true JPH07254912A (en) 1995-10-03

Family

ID=12696245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4461194A Pending JPH07254912A (en) 1994-03-16 1994-03-16 Inter-lan connection device

Country Status (1)

Country Link
JP (1) JPH07254912A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6452908B1 (en) 1997-12-25 2002-09-17 Nec Corporation Route searching circuit and communication apparatus using the same
US7590076B2 (en) 2002-12-13 2009-09-15 Fujitsu Limited Switching apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6452908B1 (en) 1997-12-25 2002-09-17 Nec Corporation Route searching circuit and communication apparatus using the same
US7590076B2 (en) 2002-12-13 2009-09-15 Fujitsu Limited Switching apparatus

Similar Documents

Publication Publication Date Title
US7924833B2 (en) Packet transfer unit
US9019963B2 (en) Method and apparatus for direct frame switching using frame contained destination information
KR0170500B1 (en) Multiprocessor system
JP3371006B2 (en) Table search method and router device
KR19980024775A (en) Network communication systems
JPH09500774A (en) Communication device and communication method
JP2006295938A (en) Network type routing scheme
JP3113742B2 (en) Internetwork equipment
JP2006262193A (en) Controller, packet transferring method, and packet processor
US8218446B2 (en) Frame transfer route confirmation method, node, frame transfer route confirmation program and frame transfer route confirmation system
JPH0851454A (en) Interconnecting system for local area network and interconnection in network interconnecting apparatus
JP2845208B2 (en) Address resolution device
US6785738B1 (en) ARP packet to preserve canonical form of addresses
JPH07254912A (en) Inter-lan connection device
JP3464375B2 (en) Communication data processing method and network connection device thereof
JP3272280B2 (en) Router device and frame transfer method
US20230121096A1 (en) Location Based Medium Access Control Address
US20230124324A1 (en) Generation Number for Handling Resets
US20230179688A1 (en) Variable Frame Headers
JP3147844B2 (en) Address management method in network
JPH1070552A (en) Routing table generating method
JP2585843B2 (en) Local area network interconnection device and station device
JPH08212790A (en) Associative memory for retrieval of multiprotocol address and its retrieval method
JP3209620B2 (en) Communications system
JPH11127217A (en) Communication system at the time of address overlap between internet and internet