JP3361343B2 - Network connection device - Google Patents

Network connection device

Info

Publication number
JP3361343B2
JP3361343B2 JP25016092A JP25016092A JP3361343B2 JP 3361343 B2 JP3361343 B2 JP 3361343B2 JP 25016092 A JP25016092 A JP 25016092A JP 25016092 A JP25016092 A JP 25016092A JP 3361343 B2 JP3361343 B2 JP 3361343B2
Authority
JP
Japan
Prior art keywords
operation mode
communication
layer
packet
identifier
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
JP25016092A
Other languages
Japanese (ja)
Other versions
JPH06104896A (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.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP25016092A priority Critical patent/JP3361343B2/en
Publication of JPH06104896A publication Critical patent/JPH06104896A/en
Application granted granted Critical
Publication of JP3361343B2 publication Critical patent/JP3361343B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばLAN等のコン
ピュータネットワーク相互間を通信回線を用いて接続す
るネットワーク接続装置に係わり、特に、ブリッジ動作
モードやルータ動作モードおよびブルータ動作モードを
含む複数の動作モードを有するネットワーク接続装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network connection device for connecting computer networks such as LAN using communication lines, and more particularly to a plurality of network connection devices including a bridge operation mode, a router operation mode and a bruta operation mode. The present invention relates to a network connection device having an operation mode.

【0002】[0002]

【従来の技術】一般にLAN(ローカル・エリア・ネッ
トワーク)等のコンピュータネットワークにおいては伝
送路にワークステーション,電話機,ファクシミリ,プ
リンタ,表示装置等の各種のノードが接続される。そし
て、通常この一つのLANの伝送路に接続された各ノー
ド相互間で各種の情報交換を実施する。また、複数のL
AN相互間を公衆回線または専用回線で接続して、異な
るLANに所属するノード相互間で情報交換が可能であ
る。
2. Description of the Related Art Generally, in a computer network such as a LAN (Local Area Network), various nodes such as workstations, telephones, facsimiles, printers and display devices are connected to a transmission line. Then, normally, various kinds of information exchange are carried out between the respective nodes connected to the transmission line of this one LAN. Also, a plurality of L
Information can be exchanged between nodes belonging to different LANs by connecting the ANs to each other via a public line or a dedicated line.

【0003】図9は例えば互いに遠隔地に配設された2
つのLANの概略構成を示す模式図である。各LAN1
a,1bにはそれぞれ独立した伝送路2a,2bが設け
られている。また、各LAN1a,1bの各伝送路2
a,2bにはそれぞれ複数のノード3a(A1 ,A2 ,
…,An ),3b(B1 ,B2 ,…,Bm )が接続され
ている。そして、各伝送路2a,2bには通信回線とし
てのWAN(広域通信網)4を介して、LAN1a,1
b相互間を接続するためのネットワーク接続装置として
のLAN接続装置5a,5bが接続されている。
FIG. 9 shows, for example, two devices which are arranged at remote places from each other.
It is a schematic diagram which shows the schematic structure of one LAN. Each LAN1
Independent transmission lines 2a and 2b are provided on a and 1b, respectively. In addition, each transmission line 2 of each LAN 1a, 1b
a and 2b each have a plurality of nodes 3a (A1, A2,
, An), 3b (B1, B2, ..., Bm) are connected. The LANs 1a, 1 are connected to the transmission lines 2a, 2b through a WAN (wide area communication network) 4 as a communication line.
LAN connection devices 5a and 5b are connected as a network connection device for connecting the two terminals b to each other.

【0004】そして、各ノード3a,3bは自己が属さ
ない他のLAN1b,1aのノード3b,3aに対して
データを送信する場合、TCP/IP通信においては、
例えばIPデータグラムを含む場合、図10(a)に示
すイーサネットフレーム6にデータを組込んで伝送路2
a,2bへ送出する。このイーサネットフレーム6にお
いては、先頭にプリアンブルPA,2番目に有効フレー
ムの先頭を示すフレーム開始デリミタSFDが設定さ
れ、3番目に送信先ノードを特定する宛先アドレスDA
が設定され、4番目に送信元ノードを特定する送信元ア
ドレスSAが設定され、5番目に使用プロトコルの種別
TYPEが設定される。その後に、IP(イーサネット
・プロトコル)のヘッダ(IPヘッダ)が設定され、そ
の後に送信すべき実際のデータDATAが格納される。
そして、最後にフレーム・チェック・シーケンス(FC
S)が設定される。
When each node 3a, 3b transmits data to the nodes 3b, 3a of the other LANs 1b, 1a to which it does not belong, in TCP / IP communication,
For example, when an IP datagram is included, the data is embedded in the Ethernet frame 6 shown in FIG.
a, 2b. In this Ethernet frame 6, a preamble PA is set at the beginning, a frame start delimiter SFD indicating the beginning of a valid frame is set at the second, and a destination address DA for specifying a destination node is set at the third.
Is set, the source address SA for identifying the source node is set fourth, and the type TYPE of the used protocol is set fifth. Then, it sets the header of the IP (Ethernet <br/> · Protocol) (IP header) is the actual data DATA to be transmitted thereafter are stored.
And finally, the frame check sequence (FC
S) is set.

【0005】LAN接続装置5a,5bは例えば図11
のように構成されている。LAN1a,1bの各伝送路
2a,2bから入力された図10(a)に示すイーサ
ットフレーム6はLANインタフェース7a,7bを介
してPA,SFD,FCSが除去されたデータフォーマ
ットとして制御部8a,8bの指定する層(レイヤ)1
0〜12へ入力される。すなわち、この制御部8a,8
bはLANインタフェース7a,7bから入力したデー
タフォーマットを、動作モード設定器9a,9bにて設
定された動作モードに応じた層(レイヤ)10〜12へ
導く機能を有する。
LAN connecting devices 5a and 5b are shown in FIG.
It is configured like. LAN1a, each transmission path 2a 1b, the Ethernet Ne <br/> Ttofuremu 6 LAN interface 7a shown in FIG. 10 that is input from 2b (a), PA through 7b, SFD, as a data format FCS is removed Layer 1 designated by the control units 8a and 8b
Input to 0-12. That is, the control units 8a, 8
b has a function of guiding the data format input from the LAN interfaces 7a and 7b to the layers 10 to 12 according to the operation mode set by the operation mode setters 9a and 9b.

【0006】また、WAN4からWANインタフエース
13a,13bを介して入力した図10(b)または図
10(c)に示す各通信パケット14,14bを、同じ
く動作モード設定器9a,9bにて設定された動作モー
ドに応じた層(レイヤ)10〜12へ導く機能を有す
る。そして、LANインタフェース7a,7bを介して
PA,SFD,FCSを付加したイーサネットフレーム
6として各伝送路2a,2bへ出力する。
Further, the communication packets 14 and 14b shown in FIG. 10B or 10C input from the WAN 4 through the WAN interfaces 13a and 13b are set by the operation mode setters 9a and 9b. It has a function of leading to layers 10 to 12 according to the selected operation mode. Then, it is output to each transmission line 2a, 2b as an Ethernet frame 6 to which PA, SFD, FCS are added via the LAN interfaces 7a, 7b.

【0007】ここで、LAN1a,1b相互間のプロト
コルについて説明する。LAN1a,1b相互間でデー
タ伝送を実施する場合は、その通信手順(プロトコル)
を一致させる必要がある。一般にLANのプロトコルは
図11に示すように低位層から高位層まで7階層に分割
されている。1層目は物理層10のプロトコルである。
2層目はデータリンク層11のプロトコルであり、例え
ばブリッジ部で構成されている。3層目はネットワーク
層12のプロトコルであり、例えばルータ部で構成され
ている。そして階層が高くなるほど複雑なプロトコルに
なる。
Here, a protocol between the LANs 1a and 1b will be described. When performing data transmission between the LANs 1a and 1b, the communication procedure (protocol)
Need to match. Generally, the LAN protocol is divided into seven layers from a lower layer to a higher layer as shown in FIG. The first layer is the protocol of the physical layer 10.
The second layer is a protocol of the data link layer 11, and is composed of a bridge unit, for example. The third layer is a protocol of the network layer 12, and is composed of, for example, a router unit. And the higher the hierarchy, the more complex the protocol.

【0008】次に、動作モード設定器9a,9bで設定
される動作モードを説明する。このLAN接続装置5
a,5bにおいては、動作モードとして[ブリッジ動作
モード]と[ルータ動作モード]と[ブルータ動作モー
ド]とが選択可能である。
Next, the operation modes set by the operation mode setting devices 9a and 9b will be described. This LAN connection device 5
In a and 5b, [Bridge operation mode], [Router operation mode], and [Bruta operation mode] can be selected as operation modes.

【0009】ブリッジ動作モードにおいては、図12
(a)に示すように、送信側のLAN接続装置5aは、
自己のLAN1aから入力された図10(a)に示す宛
先アドレスDAおよび送信元アドレスSAを含むイーサ
ネットフレーム6からPA,SFDとFCSを除去した
データフォーマットを図10(c)に示す通信パケット
14bとしてデータリンク層11,WANインタフェー
ス13aを介してWAN4へ送出する。なお、このデー
タリンク層11はIPヘッダの内部を解釈する事なくそ
のまま送出する。
In the bridge operation mode, FIG.
As shown in (a), the LAN connecting device 5a on the transmitting side is
PA, SFD, and FCS are removed from the Ethernet frame 6 including the destination address DA and the source address SA shown in FIG. 10 (a) input from the own LAN 1a.
The data format is sent to the WAN 4 as the communication packet 14b shown in FIG. 10C via the data link layer 11 and the WAN interface 13a. The data link layer 11 sends the IP header as it is without interpreting the inside.

【0010】受信側のLAN接続装置5bは、WAN4
からWANインタフェース13b,データリンク層11
を介して受信した通信パケットにPA,SFD,FCS
を付加して、図10(a)に示す元のイーサネットフレ
ーム6を組立てて自己のLAN1bの伝送路2bへ送出
する。
The LAN connecting device 5b on the receiving side is the WAN 4
To WAN interface 13b, data link layer 11
PA, SFD, FCS for communication packets received via
Is added, the original Ethernet frame 6 shown in FIG. 10A is assembled and sent to the transmission line 2b of the own LAN 1b.

【0011】すなわち、ブリッジ動作モードにおいて
は、各LAN1a,1bの各ノード3a,3bが採用し
ているネットワーク層のプロトコルの種類に関係なく各
ノード3a.3b間でデータ送受信を行うことができ
る。
That is, in the bridge operation mode, each node 3a. 1b is irrelevant regardless of the type of the protocol of the network layer adopted by each node 3a, 3b of each LAN 1a, 1b. Data can be transmitted and received between 3b.

【0012】また、ルータ動作モードにおいては、図1
2(b)に示すように、送信側のLAN接続装置5a
は、自己のLAN1aから入力された図10(a)に示
す宛先アドレスDA,送信元アドレスSAを含むイーサ
ネットフレーム6からPA,SFDとFCSを除去した
データフォーマットを作成し、このデータフォーマット
をネットワーク層12においてIPヘッダの内部まで解
釈し、他方のLANへ送出するか否かを判断し、必要な
場合は、このデータフオーマットから、DA,SA,T
YPEの各部分を除去して、IPヘッダと実際のデータ
とからなるIPデータグラムを抽出してこれを通信パケ
ット14としてWAN4へ送出する。
Further, in the router operation mode, as shown in FIG.
As shown in 2 (b), the LAN connecting device 5a on the transmitting side
Creates a data format in which PA, SFD, and FCS are removed from the Ethernet frame 6 including the destination address DA and the source address SA shown in FIG. 12 interprets the inside of the IP header and determines whether to send it to the other LAN, and if necessary, from this data format, DA, SA, T
IP header and actual data are removed by removing each part of YPE
An IP datagram consisting of and is extracted and sent to the WAN 4 as a communication packet 14.

【0013】受信側のLAN接続装置5bは、WAN4
からネットワーク層12を介して受信した通信パケット
14にPA,SFD,DA,SA,TYPEそしてFC
Sを付加して、図10(a)に示す元のイーサネットフ
レーム6を組立てて、自己のLAN1bの伝送路2bへ
送出する。なお、IPヘッダの内部には宛先装置のIP
アドレスと送信元装置のIPアドレスが格納されている
ので、IPヘッダの内部を解釈することで宛先アドレス
DAおよび送信元アドレスSAを復元できる。すなわ
ち、このルータ動作モードにおいては、LAN相互間の
プロトコルが一致している必要がある。
The LAN connecting device 5b on the receiving side is the WAN 4
From the communication packet 14 received via the network layer 12 from the PA, SFD, DA, SA, TYPE and FC.
By adding S, the original Ethernet frame 6 shown in FIG. 10A is assembled and sent to the transmission line 2b of the own LAN 1b. Note that the IP of the destination device is inside the IP header.
Since the address and the IP address of the transmission source device are stored, the destination address DA and the transmission source address SA can be restored by interpreting the inside of the IP header. That is, in this router operation mode, the protocols between the LANs must match.

【0014】さらに、ブルータ動作モードにおいては、
図12(c)に示すように、通常2つの接続端子が用意
されており、送信側あるいは受信側が相手の動作モード
に合わせて接続端子を切換えれば、送信側及び受信側の
動作モードが一致して、前述したブリッジ動作モードあ
るいはルータ動作モードが行える。
Further, in the bruta operation mode,
As shown in FIG. 12C, usually two connection terminals are prepared, and if the transmission side or the reception side switches the connection terminals according to the operation mode of the other party, the operation modes of the transmission side and the reception side become one. Therefore, the bridge operation mode or router operation mode described above can be performed.

【0015】このように、ブルータ動作モードにおいて
は、たとえLAN相互間のプロトコルがネットワーク層
12において一致しない場合であっても、接続端子を切
換える事により、データリンク層11又はネットワーク
層12を介してデータ伝送が可能である。
As described above, in the bruta operation mode, even if the protocols between the LANs do not match in the network layer 12, by switching the connection terminal, the data link layer 11 or the network layer 12 is used. Data transmission is possible.

【0016】以上説明したように、伝送するデータ種類
や伝送先のLANの状態に応じて、オペレータが最適な
動作モードを選択することでデータ伝送を行うことがで
きる。
As described above, data can be transmitted by the operator selecting the most suitable operation mode in accordance with the type of data to be transmitted and the state of the destination LAN.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、上述し
た「ブリッジ動作モード」,「ルータ動作モード」およ
び「ブルータ動作モード」を切換え可能にしたLAN接
続装置においてもまだ改良すべき次のような問題があっ
た。
However, even in the LAN connecting device capable of switching the above-mentioned "bridge operation mode", "router operation mode" and "bruta operation mode", there are still the following problems to be improved. there were.

【0018】例えば、送信側のLAN接続装置がルータ
動作モードに設定され、受信側のLAN接続装置がブリ
ッジ動作モードに設定されていた場合、受信側のLAN
接続装置はデータリンク層11を最上位の層(レイヤ)
として通過した通信パケットしか受信できないので、ネ
ットワーク層12から出力される図10(b)に示す通
信パケット14から図10(a)に示す元のイーサネッ
トフレーム6を再生できない。
For example, when the LAN connecting device on the transmitting side is set to the router operation mode and the LAN connecting device on the receiving side is set to the bridge operating mode, the LAN on the receiving side is set.
The connection device uses the data link layer 11 as the uppermost layer.
Since only the communication packet that has passed through as can be received, the original Ethernet frame 6 shown in FIG. 10A cannot be reproduced from the communication packet 14 shown in FIG.

【0019】また、送信側のLAN接続装置がブリッジ
動作モードに設定され、受信側のLAN接続装置がルー
タ動作モードに設定されていた場合、受信側のLAN接
続装置はネットワーク層13を最上位の層(レイヤ)と
して通過した通信パケットしか受信できないので、デー
タリンク層11からの図10(c)に示す通信パケット
14bを取込むことができない。
When the LAN connecting device on the transmitting side is set to the bridge operation mode and the LAN connecting device on the receiving side is set to the router operating mode, the LAN connecting device on the receiving side places the network layer 13 at the highest level. Since only the communication packet passed as a layer can be received, the communication packet 14b shown in FIG. 10C from the data link layer 11 cannot be taken.

【0020】従来技術に記述したブルータのように、2
つの接続端子を用意していないブルータであっても、各
通信パケットの先頭に通過した最上位の層(レイヤ)を
特定した識別子を付加することで、受信側で受信した各
通信パケットがいずれの層(レイヤ)を介してきた通信
パケットであるかを判断して、自己の動作モードで取扱
い可能な通信パケットを自己の動作モードにて定まる層
(レイヤ)を介して、正規の通信パケットとして使用で
きるようにすることが考えられる。
Like the Bruta described in the prior art, 2
Even if the bruta does not have one connection terminal, each communication packet received at the receiving side can be Determine whether the packet is a communication packet that has come through a layer, and use the communication packet that can be handled in its own operation mode as a regular communication packet through the layer (layer) determined by its own operation mode. It is possible to make it possible.

【0021】この場合であっても、送信側がブルータ動
作モードに設定されている場合は、WAN4に2種類の
通信パケット6,14が伝送される。しかし、受信側が
ブリッジ動作モードまたはルータ動作モードに設定され
ていた場合は、受信に使用しない不必要な通信パケット
がWAN4上を伝送されるので、余分な通信時間や余分
な通信費用が発生する。
Even in this case, two types of communication packets 6 and 14 are transmitted to the WAN 4 when the transmission side is set to the bruta operation mode. However, when the receiving side is set to the bridge operation mode or the router operation mode, unnecessary communication packets not used for reception are transmitted on the WAN 4, resulting in extra communication time and extra communication cost.

【0022】したがって、データを確実に伝送し、かつ
通信回線を効率的に使用する上で、異なるLAN1a,
1bに所属する各ノード3a.3b相互間でデータ伝送
を実行する場合、送信側のLAN接続装置と受信側のL
AN接続装置との間の動作モードとを一致させることが
必要である。
Therefore, in order to reliably transmit the data and use the communication line efficiently, different LAN 1a,
Each node 3a. When performing data transmission between 3b, the LAN connecting device on the sending side and the L on the receiving side
It is necessary to match the operation mode with the AN connection device.

【0023】しかし、多数のLANを公衆回線や専用回
線を用いて接続している場合等においては、一つのLA
Nでそれぞれ動作モードが異なる複数のLANとの間で
データ伝送する必要が生じる場合もある。
However, when a large number of LANs are connected by using a public line or a private line, one LA
In some cases, N may need to perform data transmission with a plurality of LANs having different operation modes.

【0024】この場合、接続されている相手側のLAN
の動作モードに自己の動作モードをその都度合せる必要
がある。この相手先の動作モードに合わせる作業は、相
手先の動作モードも相手先のさらに別の通信先によって
変更されている場合も考えられるので、その都度例えば
電話等で確認してから自己の動作モードを設定する必要
があるので、非常に繁雑である。
In this case, the connected LAN of the other party
It is necessary to match its own operation mode with the above operation mode each time. This work to match the operation mode of the other party may be changed by the other communication destination of the other party as well, so it is possible to confirm the operation mode of the other party, for example, by telephone each time. Very complicated because you need to set up.

【0025】また、このような繁雑な切換作業を頻繁に
実施すると、設定ミスから誤った動作モードでデータ伝
送を行う懸念もある。
Further, if such complicated switching work is frequently performed, there is a concern that data transmission may be performed in an incorrect operation mode due to a setting error.

【0026】本発明はこのような事情に鑑みてなされた
ものであり、本来、通信手順等は規格で決まっており変
更できないが、公衆回線または専用回線などのWANは
本質的に何を流しても良いという点に着目し、設定され
た動作モードに対応する各層(レイヤ)から通信回線へ
出力される各通信パケットに自己の動作モードを特定す
る識別子を付加したり、自己の動作モード情報を含む識
別専用パケットを送信することにより、受信側の動作モ
ードを送信側の動作モードに許容できる動作モードにす
ることができ、かつ最終的に両者の動作モードを一致さ
せることができ、相手側の動作モードに合わせて自己の
動作モードを切換操作する必要がなく、データ伝送ミス
の発生率を低減でき、かつ操作性を大幅に向上できるネ
ットワーク接続装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the communication procedure and the like are originally determined by the standard and cannot be changed, but what is essentially what a WAN such as a public line or a private line does. Focusing on the fact that it is also good, add an identifier that identifies its own operation mode to each communication packet output from each layer (layer) corresponding to the set operation mode to the communication line, or add its own operation mode information. By transmitting the identification-only packet that includes the operation mode of the receiving side to the operation mode that is allowable for the operation mode of the transmitting side, and finally the operation modes of both can be made to match, A network connection device that does not need to switch the operation mode according to the operation mode, reduces the occurrence rate of data transmission errors, and greatly improves operability. An object of the present invention is to provide a.

【0027】[0027]

【課題を解決するための手段】上記課題を解消するため
に本発明は、それぞれ複数のノードを伝送路を介して接
続してなる複数のコンピュータネットワーク相互間を通
信回線を介して接続すると共に、データリンク層とネッ
トワーク層を含む複数の層(レイヤ)が組込まれ、通信
パケットが通過する最上位の層(レイヤ)に対応して定
まる複数の動作モードを有するネットワーク接続装置で
あって、伝送路から入力され、設定されている動作モー
ドに応じた層(レイヤ)を介して通信回線へ送出される
通信パケットに対して設定されている動作モードを特定
する識別子を付加する識別子付加手段と、通信回線から
入力された通信パケットに付された識別子を判別する識
別子判別手段と、動作モードを識別子が示す動作モード
が許容する動作モードへ切換える動作モード切換手段
と、通信回線から入力された通信パケットを切換えた動
作モードに応じた層(レイヤ)を介して伝送路へ送出す
る手段とを備えたものである。
In order to solve the above problems, the present invention connects a plurality of computer networks, each of which is formed by connecting a plurality of nodes via a transmission path, with each other via a communication line. A network connection device having a plurality of layers including a data link layer and a network layer, and having a plurality of operation modes determined corresponding to the highest layer (layer) through which a communication packet passes, which is a transmission line. Identifier adding means for adding an identifier for specifying the set operation mode to the communication packet input from the communication layer and transmitted to the communication line through the layer corresponding to the set operation mode, and communication An identifier discriminating means for discriminating the identifier attached to the communication packet input from the line, and an operation mode permitted by the operation mode indicated by the identifier. An operation mode switching means for switching to de, dynamic switching the communication packet received from the communication line
Send to the transmission line via the layer corresponding to the operation mode
And means for

【0028】また、別の発明においては、設定されてい
る動作モードを示す情報を組込んだ識別専用パケットを
通信回線へ送出する識別専用パケット送信手段と、通信
回線から入力された識別専用パケットを受信する識別専
用パケット受信手段と、動作モードを受信された識別専
用パケットに含まれる動作モード情報が示す動作モード
が許容する動作モードへ切換える動作モード切換手段と
を備えたものである。
According to another aspect of the invention, an identification-dedicated packet transmitting means for transmitting an identification-dedicated packet incorporating information indicating a set operation mode to a communication line, and an identification-dedicated packet input from the communication line are provided. It is provided with an identification-only packet receiving means for receiving and an operation mode switching means for switching the operation mode to an operation mode permitted by the operation mode indicated by the operation mode information included in the received identification-only packet.

【0029】[0029]

【作用】このように構成されたネットワーク接続装置で
あれば、送信側のネットワーク接続装置においては、自
己が接続されたLANの伝送路から入力されたデータ
を、自己に設定された動作モードに対応する層(レイ
ヤ)を介して通信回線へ通信パケットとして送出する。
この場合、識別子付加手段によって、自己の動作モード
を特定する識別子が送出された通信パケットに付加され
る。
With the network connecting device configured as described above, in the network connecting device on the transmitting side, the data input from the transmission line of the LAN to which the device is connected corresponds to the operation mode set for itself. It is sent as a communication packet to the communication line via the layer (layer).
In this case, the identifier adding means adds an identifier for identifying its own operation mode to the transmitted communication packet.

【0030】受信側のネットワーク接続装置において、
通信回線から入力された通信パケットには送信側の動作
モードを示す識別子が付加されている。そして、受信側
の動作モードはこの識別子の指定する動作モードが許容
する動作モードに自動的に切換わる。したがって、これ
以降、送信側LANのノードと受信側LANのノードと
は正常にデータ送受信を実行できる。
In the network connection device on the receiving side,
An identifier indicating the operation mode of the transmitting side is added to the communication packet input from the communication line. Then, the operation mode on the receiving side is automatically switched to the operation mode permitted by the operation mode specified by this identifier. Therefore, thereafter, the data transmission / reception can be normally executed between the transmission side LAN node and the reception side LAN node.

【0031】なお、許容する動作モードとは、送信側と
受信側とが一致する動作モードであることの他に、一致
しなくても許容できる動作モードの組合わせがあること
を示す。例えば、送信側(相手側)がブルータ動作モー
ドで、受信側(自己側)がルータ動作モードの場合、受
信側は受信した2種類の通信パケットのうちネットワー
ク層を経由した方の通信パケットをそのまま使用できる
ので、この組合わせは一致していないが許容される組合
わせである。
The allowable operating mode indicates that the transmitting side and the receiving side are in agreement with each other, and that there are combinations of operating modes that are acceptable even if they are not in agreement. For example, if the sender (other party) is in the bruta operation mode and the receiver (self) is in the router operation mode, the receiver directly receives the one of the two types of received communication packets that has passed through the network layer. Because it can be used, this combination is a non-matching but acceptable combination.

【0032】そして、ノード相互間でデータ送受信を行
う場合は、相手側(今回の送信側)は、次の通信パケッ
トにおいては受信側となるので、相手側の動作モードも
自己側の動作モードが許容する動作モードに変化する。
したがって、最終的に両方の動作モードが一致する。
When data is transmitted and received between the nodes, the partner (the sender of this time) becomes the receiver in the next communication packet. Change to an allowable operating mode.
Therefore, both operation modes finally match.

【0033】また、別の発明においては、例えば送信側
LANと受信側LANと通信回線で接続された時に、送
信側から自己の動作モードを示す情報が組込まれた識別
専用パケットが通信回線を介して受信側へ送信される。
そして、受信側の動作モードはこの識別専用パケット情
報が示す動作モードが許容する動作モードに自動的に切
換わる。したがって、上述した発明と同様に、これ以
降、送信側LANのノードと受信側LANのノードとは
正常にデータ送受信を実行できる。
Further, in another invention, for example, when the transmission side LAN and the reception side LAN are connected to each other through a communication line, an identification-dedicated packet in which information indicating its own operation mode is incorporated from the transmission side is transmitted via the communication line. Is transmitted to the receiving side.
Then, the operation mode on the receiving side is automatically switched to the operation mode permitted by the operation mode indicated by the packet information for identification. Therefore, similarly to the above-described invention, thereafter, data transmission / reception can be normally performed between the node of the transmission side LAN and the node of the reception side LAN.

【0034】[0034]

【実施例】以下本発明の一実施例を図面を用いて説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0035】図1は実施例のネットワーク接続装置とし
てのLAN接続装置の概略構成を示すブロック図であ
る。このLAN接続装置21が組込まれるコンピュータ
ネットワーク全体の構成は図9に示したコンピュータネ
ットワークの構成とほぼ同じであるので説明を省略す
る。
FIG. 1 is a block diagram showing a schematic configuration of a LAN connection device as a network connection device of the embodiment. Since the configuration of the entire computer network in which the LAN connection device 21 is incorporated is almost the same as the configuration of the computer network shown in FIG. 9, description thereof will be omitted.

【0036】図1において、LAN1aの各ノード3a
から他のLAN1bのノード3bにデータを伝送する場
合、例えばIPデータグラムを含む場合は、前述したよ
うに、ノード3aは、図10(a)に示すイーサネット
フレーム6を伝送路2aへ送出する。伝送路2aへ出力
されたイーサネットフレーム6はLAN接続装置21内
のLANインタフェース22を介して、PA,SFD,
FCSを除去したデータフォーマットとしてデータ出力
制御部23へ入力される。このデータ出力制御部23に
は動作モード設定部24にて設定された動作モードが入
力される。この実施例装置において設定可能な動作モー
ドは前述した「ブリッジ動作モード」と「ルータ動作モ
ード」と「ブルータ動作モード」との3種類である。
In FIG. 1, each node 3a of the LAN 1a
When transmitting data from the node to another node 3b of the LAN 1b, for example, when including an IP datagram, the node 3a sends out the Ethernet frame 6 shown in FIG. 10A to the transmission line 2a, as described above. The Ethernet frame 6 output to the transmission line 2a is transmitted via the LAN interface 22 in the LAN connection device 21 to PA, SFD,
It is input to the data output control unit 23 as a data format with FCS removed. The operation mode set by the operation mode setting unit 24 is input to the data output control unit 23. The operation modes that can be set in the apparatus of this embodiment are the three types of "bridge operation mode", "router operation mode" and "bruta operation mode" described above.

【0037】データ出力制御部23は、動作モード設定
部24にて設定された動作モードがブリッジ動作モード
の場合、入力したデータフォーマットをデータリンク層
25を構成するブリッジ部26へ送出する。また、動作
モードがルータ動作モードの場合、入力したデータフォ
ーマットをネットワーク層27を構成するルータ部28
へ送出する。さらに、データ出力制御部23は、動作モ
ードがブルータ動作モードの場合、入力したデータフォ
ーマットを解釈してIPデータグラムならばルータ部2
8へ送出し、それ以外ならばブリッジ部26へ送出す
る。
When the operation mode set by the operation mode setting section 24 is the bridge operation mode, the data output control section 23 sends the input data format to the bridge section 26 constituting the data link layer 25. Further, when the operation mode is the router operation mode, the input data format is applied to the router unit 28 which constitutes the network layer 27.
Send to. Furthermore, the data output control unit 23, when the operation mode is the brouter operation mode, and interprets the data format entered IP datagram if it router 2
8 to the bridge unit 26 otherwise .
It

【0038】データリンク層25を構成するブリッジ部
26は入力したデータフォーマットをそのまま通信パケ
ット6aとして識別子付加部29へ送出する。一方、ネ
ットワーク層27を構成するルータ部28は、入力した
データフォーマットからDA,SA,TYPEを除去し
て、IPヘッダとDATAとからなるIPデータグラム
と呼ばれる通信パケット14を作成して識別子付加部2
9へ送出する。
The bridge section 26 constituting the data link layer 25 sends the input data format as it is to the identifier adding section 29 as the communication packet 6a. On the other hand, the router unit 28 constituting the network layer 27 removes DA, SA, and TYPE from the input data format, creates a communication packet 14 called an IP datagram composed of an IP header and DATA, and creates an identifier adding unit. Two
9 is sent.

【0039】識別子付加部29には前記動作モード設定
部24から現在このLAN接続装置21に設定されてい
る動作モードが入力されている。そして、識別子付加部
29はブリッジ部26から入力された図10(c)に示
すフォーマットの通信パケット14bの先頭に、図5
(a)に示すように、動作モードを示す識別子30を付
加する。例えば、ブリッジ動作モードの場合、先頭にB
(=[00]H )のフラグを付加し、ルータ動作モード
の場合、先頭にR(=[02]H )のフラグを付加し、
ブルータ動作モードの場合、先頭にBR(=[0
1]H )のフラグを付加する。識別子30が付加された
通信パケット6aはWANインタフェース31を介して
WAN4へ送出される。
The operation mode currently set in the LAN connection device 21 is input from the operation mode setting section 24 to the identifier adding section 29. Then, the head of the communication packet 14b format identifier adding unit 29 shown in FIG. 10 that is input from the bridge portion 26 (c), FIG. 5
As shown in (a), an identifier 30 indicating the operation mode is added. For example, in the bridge operation mode, B is added at the beginning
The flag of (= [00] H ) is added, and in the case of the router operation mode, the flag of R (= [02] H ) is added at the beginning,
In the bruta operation mode, BR (= [0
1] H ) flag is added. The communication packet 6a to which the identifier 30 is added is sent to the WAN 4 via the WAN interface 31.

【0040】また、識別子付加部29はルータ部28か
ら入力された図10(b)に示すフォーマットの通信パ
ケット14の先頭に、図5(b)に示すように、動作モ
ードを示す識別子30を付加する。そして、識別子30
が付加された通信パケット14aは他方の通信パケット
6aと同様に、WANインタフェース31を介してWA
N4へ送出される。
Further, the identifier adding unit 29, at the beginning of the communication packet 14 of the format shown in FIG. 10B input from the router unit 28, as shown in FIG. Add. And the identifier 30
The communication packet 14a to which is added is the same as the other communication packet 6a through the WAN interface 31.
It is sent to N4.

【0041】逆に、WAN4からこのLAN接続装置2
1へ入力された図5(a)または図5(b)に示す通信
パケット6a,14aはWANインタフェース31を介
してデータ入力制御部32へ入力する。
On the contrary, from the WAN 4 to this LAN connection device 2
The communication packets 6a and 14a shown in FIG. 5 (a) or FIG. 5 (b), which have been input to the network 1, are input to the data input control unit 32 via the WAN interface 31.

【0042】データ入力制御部32には動作モード設定
部24に設定されている動作モードが入力されている。
そして、このデータ入力制御部32はWANインタフェ
ース31を介して入力された各通信パケット6a,14
aの先頭に設定された識別子30を読取る。そして、読
取った識別子30の示す送信側(相手側)のLAN接続
装置の動作モードと自己の動作モード設定部24に設定
されている動作モードとを比較して不一致の場合、原則
として動作モード切換部33へ動作モード切換指令を送
出する。動作モード切換部33は切換指令に基づいて動
作モード設定部24に設定されている動作モードを指定
された動作モードに切換える。
The operation mode set in the operation mode setting section 24 is input to the data input control section 32.
The data input control unit 32 then receives the communication packets 6a, 14 input via the WAN interface 31.
The identifier 30 set at the beginning of a is read. Then, the operation mode of the LAN connecting device on the transmission side (other party) indicated by the read identifier 30 is compared with the operation mode set in the own operation mode setting unit 24, and if they do not match, the operation mode is switched in principle. An operation mode switching command is sent to the unit 33. The operation mode switching unit 33 switches the operation mode set in the operation mode setting unit 24 to the designated operation mode based on the switching command.

【0043】また、データ入力制御部32は、受信した
通信パケット6a,14aの示す相手側(送信側)の動
作モードが自己(受信側)の動作モードと一致する場合
においては、受信した各通信パケット6a,14aを動
作モード設定部24に設定されている動作モードが指定
する層(レイヤ)25,27へ送出する。すなわち、動
作モードがブリッジ動作モードの場合、受信した通信パ
ケット6aをブリッジ部26へ送出する。また、ルータ
動作モードのとき受信した通信パケット14aをルータ
部28へ送出する。さらに、ブルータ動作モードのとき
受信した通信パケット6a,14aをそれぞれブリッジ
部26およびルータ部28へ送出する。
Further, when the operation mode of the other side (transmission side) indicated by the received communication packets 6a, 14a matches the operation mode of its own (reception side), the data input control section 32 receives each communication. The packets 6a and 14a are sent to the layers 25 and 27 designated by the operation mode set in the operation mode setting unit 24. That is, when the operation mode is the bridge operation mode, the received communication packet 6a is sent to the bridge unit 26. Further, the communication packet 14a received in the router operation mode is sent to the router unit 28. Further, the communication packets 6a and 14a received in the bruta operation mode are sent to the bridge unit 26 and the router unit 28, respectively.

【0044】図5(a)に示す通信パケット6aはブリ
ッジ部26のデータリンク層25を介してLANインタ
フェース22に入力する。そして、LANインタフェー
ス22にて識別子30が除去されたのちPA,SFD,
FCSが付加された図10(a)に示す元のイーサネッ
トフレーム6となってLAN1aの伝送路2aへ送出さ
れる。
The communication packet 6a shown in FIG. 5A is input to the LAN interface 22 via the data link layer 25 of the bridge section 26. Then, after the identifier 30 is removed by the LAN interface 22, PA, SFD,
The original Ethernet frame 6 shown in FIG. 10A to which the FCS is added is sent to the transmission line 2a of the LAN 1a.

【0045】同様に、図5(b)に示す通信パケット1
4aはルータ部28のネットワーク層27を介してIP
ヘッダの内部まで解釈され、DA,SA,TYPEが付
加され、LANインタフェース22へ入力される。そし
て、このLANインタフェース22にて識別子30が除
去されたのちPA,SFD,FCSを付加した元のイー
サネットフレーム6となって、LAN1aの伝送路2a
へ送出される。
Similarly, the communication packet 1 shown in FIG.
4a is an IP via the network layer 27 of the router unit 28.
The inside of the header is interpreted, DA, SA, and TYPE are added, and the result is input to the LAN interface 22. Then, after the identifier 30 is removed by the LAN interface 22, the original Ethernet frame 6 with PA, SFD, FCS is added, and the transmission line 2a of the LAN 1a is obtained.
Sent to.

【0046】図2は図1に示すLAN接続装置21にお
けるLANから入力したイーサネットフレーム6をWA
N4へ出力するデータ出力処理を示す流れ図である。L
ANの伝送路からイーサネットフレーム6を受信すると
(P1)、動作モードがブリッジ動作モードであれば
(P2)、受信したイーサネットフレーム6を図10
(c)に示す通信パケット14bに変換してブリッジ部
26を経由させて(P3)、ブリッジ動作モードを示す
Bの識別子30を付加し(P4)、その後、WAN4へ
送出する(P5)。
FIG. 2 shows that the Ethernet frame 6 input from the LAN in the LAN connection device 21 shown in FIG.
It is a flowchart which shows the data output process which outputs to N4. L
When the Ethernet frame 6 is received from the AN transmission path (P1) and the operation mode is the bridge operation mode (P2), the received Ethernet frame 6 is shown in FIG.
The packet is converted into the communication packet 14b shown in (c) and passed through the bridge unit 26 (P3), the identifier 30 of B indicating the bridge operation mode is added (P4), and then sent to the WAN4 (P5).

【0047】また、動作モードがルータ動作モードであ
れば(P6)、イーサネットフレーム6を図10(b)
に示すIPデータグラムに変換してルータ部28を経由
させて(P7)、ルータ動作モードを示すRの識別子3
0を付加し(P8)、その後、WAN4へ送出する(P
5)。
When the operation mode is the router operation mode (P6), the Ethernet frame 6 is set as shown in FIG. 10 (b).
Is converted into the IP datagram shown in (1) and passed through the router unit 28 (P7), and the R identifier 3 indicating the router operation mode is displayed.
0 is added (P8), and then sent to WAN4 (P
5).

【0048】さらに、動作モードがブリッジ動作モード
およびルータ動作モードでなければ(P2,P6)、ブ
ルータ動作モードであるので、受信したイーサネットフ
レーム6のデータフォーマットをデータ出力制御部23
が解釈して、IPデータグラムならば(P9)、ルータ
部28を経由させて(P10)、ブルータ動作モードを
示す識別子BRを付加し(P11)、それ以外ならば、
ブリッジ部26を経由させて(P12)、同じく識別子
BRを付加し(P13)、その後それぞれWAN4へ送
出する(P5)。
Further, if the operation mode is neither the bridge operation mode nor the router operation mode (P2, P6), since it is the bruta operation mode, the data format of the received Ethernet frame 6 is set to the data output control unit 23.
If it is an IP datagram (P9), it is passed through the router unit 28 (P10), an identifier BR indicating the bruta operation mode is added (P11), and otherwise.
The identifier BR is also added via the bridge unit 26 (P12) (P13), and then sent to the WAN4 (P5).

【0049】図3は図1に示すLAN接続装置21にお
けるWAN4から入力した通信パケット6a,14aを
LANへ出力するデータ入力処理を示す流れ図である。
WAN4からWANインタフェース31を介して識別子
30が付加された通信パケット6a,14aを受信する
と(Q1)、この通信パケット6a,14aに付された
識別子30をデータ入力制御部32で読取る(Q2)。
識別子30が指定する動作モードが自己の動作モード設
定部24に設定されている自己の動作モードと一致する
と(Q4)、前述したように受信した通信パケット6
a,14aを動作モードが指定する層(レイヤ)25,
27へ送出する(Q5)。
FIG. 3 is a flow chart showing a data input process for outputting the communication packets 6a and 14a inputted from the WAN 4 to the LAN in the LAN connection device 21 shown in FIG.
When the communication packets 6a and 14a to which the identifier 30 is added are received from the WAN 4 through the WAN interface 31 (Q1), the data input control unit 32 reads the identifier 30 attached to the communication packets 6a and 14a (Q2).
When the operation mode designated by the identifier 30 matches the own operation mode set in the own operation mode setting unit 24 (Q4), the communication packet 6 received as described above is transmitted.
a, layer 14 for which 14a is designated by the operation mode,
It is sent to 27 (Q5).

【0050】受信した通信パケット6a,14aの識別
子30の動作モードと自己の動作モードとが一致しない
場合(Q4)においては、識別子30(相手側)の動作
モードと自己の動作モードとの各組合せに応じた処理を
実行する。
When the operation mode of the identifier 30 of the received communication packets 6a and 14a and the own operation mode do not match (Q4), each combination of the operation mode of the identifier 30 (other party) and the own operation mode. The processing according to is executed.

【0051】相手側(識別子30)の動作モードがブリ
ッジ動作モードで自己の動作モードがブルータ動作モー
ドの場合(Q6,Q7)、自己の動作モードを相手側の
動作モードであるブリッジ動作モードに変更する(Q
8)。その後、受信した通信パケット14aをブリッジ
部26へ送出する(Q9)。
When the operation mode of the other party (identifier 30) is the bridge operation mode and the own operation mode is the bruta operation mode (Q6, Q7), the own operation mode is changed to the bridge operation mode which is the operation mode of the other party. Do (Q
8). Then, the received communication packet 14a is sent to the bridge unit 26 (Q9).

【0052】また、相手側(識別子30)の動作モード
がブリッジ動作モードで自己の動作モードがブルータ動
作モード以外のルータ動作モードの場合(Q6,Q
7)、WAN4の回線を遮断する(Q10)。
When the operation mode of the other party (identifier 30) is the bridge operation mode and the self operation mode is a router operation mode other than the bruta operation mode (Q6, Q
7), the line of WAN4 is cut off (Q10).

【0053】この理由は、ブリッジはネットワークアド
レスが一致しているホスト間の通信を前提としているの
に対して、ルータはネットワークアドレスの異なるホス
ト間の通信を前提としているために、ルータはブリッジ
からの通信パケットを受取ってもそのまま破棄するの
で、通信費の無駄を省くためである。
The reason for this is that the bridge is premised on communication between hosts having the same network address, whereas the router is premised on communication between hosts having different network addresses. This is because even if the communication packet is received, the communication packet is discarded as it is, so that the communication cost is not wasted.

【0054】図4のQ11,Q12において、相手側
(識別子30)の動作モードがブルータ動作モードで自
己の動作モードがブリッジ動作モードの場合、相手側の
動作モードをブリッジ動作モードに変更する。その後受
信した通信パケット6aをブリッジ部26へ送出する
(Q13)。なお、この組合わせの場合、自己の動作モ
ードは変更しない。
In Q11 and Q12 of FIG. 4, when the operation mode of the other party (identifier 30) is the bruta operation mode and the own operation mode is the bridge operation mode, the operation mode of the other party is changed to the bridge operation mode. Then, the received communication packet 6a is sent to the bridge unit 26 (Q13). In the case of this combination, the own operation mode is not changed.

【0055】相手側(識別子30)の動作モードがブル
ータ動作モードで自己の動作モードがブリッジ動作モー
ド以外のルータ動作モードの場合(Q11,Q12)、
相手側の動作モードをルータ動作モードに変更する。そ
の後受信した通信パケット14aをルータ部28へ送出
する(Q14)。この組合わせにおいても、自己の動作
モードの変更は行わない。
When the operation mode of the other party (identifier 30) is the bruta operation mode and the self operation mode is the router operation mode other than the bridge operation mode (Q11, Q12),
Change the operation mode of the other side to the router operation mode. Then, the received communication packet 14a is sent to the router unit 28 (Q14). Even in this combination, the operation mode of itself is not changed.

【0056】相手側(識別子30)の動作モードがルー
タ動作モードで自己の動作モードがブルータ動作モード
の場合(Q15,Q16)、自己の動作モードを相手側
の動作モードであるルータ動作モードに変更する(Q1
7)。そして、受信した通信パケット14aをルータ部
28へ送出する(Q18)。
When the operation mode of the other side (identifier 30) is the router operation mode and the self operation mode is the bruta operation mode (Q15, Q16), the self operation mode is changed to the router operation mode which is the operation mode of the other side. Yes (Q1
7). Then, the received communication packet 14a is sent to the router unit 28 (Q18).

【0057】さらに、相手側(識別子30)の動作モー
ドがルータ動作モードで自己の動作モードがブルータ動
作モード以外のブリッジ動作モードの場合(Q15,Q
16)、前述した前提によりブリッジはルータからの通
信パケットを受取ってもそのまま破棄するので、回線を
遮断する(Q19)。
Furthermore, when the operation mode of the other party (identifier 30) is the router operation mode and the self operation mode is a bridge operation mode other than the bruta operation mode (Q15, Q
16) On the basis of the above-mentioned premise, the bridge discards the communication packet received from the router as it is, so the line is cut off (Q19).

【0058】そして、動作モードが一致または許容動作
モードになった状態でノード3a,3b相互間で一連の
データ伝送処理が開始される。なお、相手側と動作モー
ドが一致しないのにかかわらず、自己の動作モードを変
更しない場合は、自己から該当相手側のLANに対して
次の通信パケットを送信した時点で、相手側の動作モー
ドが自己の動作モードに一致するように変更される。し
たがって、最終的に、両者の動作モードは互いに一致す
る。
Then, a series of data transmission processing is started between the nodes 3a and 3b in a state where the operation modes coincide or become the allowable operation mode. If the operation mode of the other party is not changed even though the operation mode of the other party does not match, the operation mode of the other party will be set when the next communication packet is transmitted from the self to the LAN of the other party. Is changed to match its own operation mode. Therefore, finally, the operation modes of the both agree with each other.

【0059】図6は伝送開始前の自己の動作モードと相
手側の動作モードとの関係と、開始後動作モード相互間
の関係との対応関係を示す図であり、実施例装置におい
ては、この対応関係がLAN接続装置21のデータ入力
制御部32にテーブルの形で記憶されている。
FIG. 6 is a diagram showing a correspondence relationship between the own operation mode before the start of transmission and the operation mode of the other side and the relationship between the operation modes after the start, and in the embodiment apparatus, this relationship is shown. The correspondence is stored in the data input control unit 32 of the LAN connection device 21 in the form of a table.

【0060】そして、最終的に動作モードが一致した状
態においてノード3a,3b相互間で一連のデータ伝送
処理が終了すると、変更された動作モードは、原則とし
た、変更前の動作モードに復帰する。
Then, when a series of data transmission processing is finally completed between the nodes 3a and 3b in a state where the operation modes match each other, the changed operation mode is returned to the operation mode before the change as a general rule. .

【0061】このように構成されたLAN接続装置21
であれば、受信側のLAN接続装置においては、受信し
た通信パケット6a,14aに付された識別子30によ
って送信側(相手側)の動作モードがデータ入力制御部
32によって判断されて、自己の動作モードと相手側の
動作モードが一致しなかった場合は、データが1往復す
る期間に自己の動作モードと相手側の動作ードとが一致
する。
The LAN connection device 21 configured as described above
In this case, in the LAN connecting device on the receiving side, the data input control unit 32 determines the operation mode of the transmitting side (the other side) based on the identifier 30 attached to the received communication packets 6a and 14a, and the own operation is performed. When the mode and the operation mode of the other party do not match, the own operation mode and the operation mode of the other party match during the period of one round trip of data.

【0062】したがって、相手側(送信側)から2個目
の通信パケット6a.14aを受信した時点において
は、最初から動作モードが一致しているので、正常にデ
ータ伝送が可能である。よって、2回目以降は互いに異
なるLANに組込まれたノード3a,3b相互間で正常
にデータ伝送が実施できる。
Therefore, the second communication packet 6a. When 14a is received, the operation modes are the same from the beginning, so that data can be transmitted normally. Therefore, after the second time, normal data transmission can be performed between the nodes 3a and 3b incorporated in different LANs.

【0063】したがって、従来装置のように、必ず動作
モードが相手側の動作モードに一致しているか否かを例
えば電話等によって確認したり、一致していなければ一
致させるために自己の動作モードを切換え操作する必要
がない。よって、相手側の動作モード変更に応じてその
都度自己の動作モードを変更する必要がないので、操作
性を大幅に向上できる。
Therefore, as in the conventional device, it is sure to confirm whether the operation mode matches the operation mode of the other party by, for example, a telephone, and if they do not match, the operation mode of the self is set to match. No need to switch. Therefore, since it is not necessary to change the operation mode of the other party each time the operation mode of the other party is changed, the operability can be greatly improved.

【0064】また、相手側(送信側)がブルータ動作モ
ードで、自己(受信側)がルータ動作モードやブリッジ
動作モードである等の組合わせが最終的に解消されるの
で、受信側で使用しない通信パケットが通信回線を伝送
されることはない。したがって、通信回線における通信
効率を向上できると共に、通信費用を節減できる。
Also, since the combination of the other party (sending side) in the bruta operation mode and the self (receiving side) in the router operation mode or the bridge operation mode is finally resolved, it is not used by the receiving side. No communication packet is transmitted on the communication line. Therefore, the communication efficiency in the communication line can be improved and the communication cost can be reduced.

【0065】図8は本発明の他の実施例に係わるネット
ワーク接続装置としてのLAN接続装置34の概略構成
を示すブロック図である。図1に示す実施例と同一部分
には同一符号を付して重複する部分の詳細説明を省略す
る。
FIG. 8 is a block diagram showing a schematic configuration of a LAN connection device 34 as a network connection device according to another embodiment of the present invention. The same parts as those of the embodiment shown in FIG. 1 are designated by the same reference numerals, and detailed description of the overlapping parts will be omitted.

【0066】この実施例においては、識別子付加部29
の代りに、識別パケット発生部35が組込まれている。
この識別パケット発生部35は、動作モード設定部24
に設定されている動作モードを組込んだ図7に示す動作
モード識別通信パケット36を作成する。この動作モー
ド識別通信パケット36には現在の動作モードを示す識
別子30が付されている。
In this embodiment, the identifier adding section 29
Instead of, the identification packet generator 35 is incorporated.
The identification packet generator 35 includes an operation mode setting unit 24.
The operation mode identification communication packet 36 shown in FIG. 7 incorporating the operation mode set in step 1 is created. The operation mode identification communication packet 36 is provided with the identifier 30 indicating the current operation mode.

【0067】識別パケット発生部35は、相手側と初め
て通信回線が接続されると、自動的に現在の自己の動作
モードを示す情報が組込まれた動作モード識別通信パケ
ット36をWANインタフェース31を介してWAN4
へ送出する。
When the communication line is connected to the other side for the first time, the identification packet generating section 35 automatically transmits the operation mode identification communication packet 36 incorporating the information indicating the current operation mode of itself through the WAN interface 31. WAN4
Send to.

【0068】WANインタフェース31を介してこの動
作モード識別通信パケット36を受信したデータ入力制
御部32は、この動作モード識別通信パケット36の識
別子30から相手側(送信側)の動作モードを判別し
て、前述したように、自己の記憶部に記憶されている図
6に示すテーブルの設定内容に従って、自己の動作モー
ドを変化させる。
The data input control unit 32, which has received the operation mode identification communication packet 36 via the WAN interface 31, determines the operation mode of the other party (transmission side) from the identifier 30 of the operation mode identification communication packet 36. As described above, the operation mode of its own is changed according to the setting contents of the table shown in FIG. 6 stored in its storage unit.

【0069】このような構成のLAN接続装置34にお
いても、最終的に送信側と受信側との動作ードは一致す
るので、先の実施例とほぼ同様の効果を得ることができ
る。さらに、この実施例においては、動作モード識別通
信パケット36はLANどうしが接続された最初の1往
復のみ互いに送受信されるので、通常の通信パケット
6,14に余分な識別子30が付加されないので、デー
タ伝送効率が上昇する。
Even in the LAN connecting device 34 having such a configuration, since the operation modes of the transmitting side and the receiving side are finally the same, it is possible to obtain substantially the same effect as that of the previous embodiment. Further, in this embodiment, since the operation mode identification communication packet 36 is transmitted and received only in the first round trip where LANs are connected to each other, the extra identifier 30 is not added to the normal communication packets 6 and 14, so that the data is transmitted. Transmission efficiency increases.

【0070】なお、本発明は上述した実施例に限定され
るものではない。上述した実施例においては、IPデー
タグラムを含むイーサネットフレームについて説明した
が、本発明の主旨に従い種々の変形が可能であり、例え
ばIPデータグラムを含まないDECNTであっても本
発明と同一の方法で同一の効果が得られ、本発明からこ
れらを排除するものではない。
The present invention is not limited to the above embodiment. Although the Ethernet frame including the IP datagram has been described in the above-described embodiment, various modifications can be made according to the gist of the present invention. The same effect can be obtained in the above, and these are not excluded from the present invention.

【0071】[0071]

【発明の効果】以上説明したように、本発明のネットワ
ーク接続装置によれば、設定された動作モードに対応す
る各層(レイヤ)から通信回線へ出力される各通信パケ
ットに自己の動作モードを特定する識別子を付加した
り、自己の動作モード情報を含む識別専用パケットを送
信している。したがって、受信側の動作モードを送信側
の動作モードに許容できる動作モードにすることがで
き、さらに、最終的に受信側と送信側との間の動作モー
ドを一致させることができる。
As described above, according to the network connection device of the present invention, its own operation mode is specified in each communication packet output from each layer corresponding to the set operation mode to the communication line. A packet for identification is added or an identification-only packet including its own operation mode information is transmitted. Therefore, the operation mode on the receiving side can be set to an operation mode that is acceptable to the operation mode on the transmitting side, and finally the operation modes on the receiving side and the transmitting side can be matched.

【0072】よって、相手側に合わせて自己の動作モー
ドを切換操作する必要がなく、データ伝送ミスの発生率
を低減でき、かつ操作性を大幅に向上できる。さらに、
通信回線を効率的に使用できかつ通信費を節減できる。
Therefore, it is not necessary to switch the operation mode of the user in accordance with the other party, the occurrence rate of data transmission error can be reduced, and the operability can be greatly improved. further,
The communication line can be used efficiently and the communication cost can be reduced.

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

【図1】 本発明の一実施例に係わるネットワーク接続
装置としてのLAN接続装置の概略構成を示すブロック
図、
FIG. 1 is a block diagram showing a schematic configuration of a LAN connection device as a network connection device according to an embodiment of the present invention,

【図2】 実施例装置のデータ出力動作を示す流れ図、FIG. 2 is a flow chart showing a data output operation of the apparatus of the embodiment,

【図3】 実施例装置のデータ入力動作を示す流れ図、FIG. 3 is a flow chart showing a data input operation of the embodiment apparatus,

【図4】 実施例装置のデータ入力動作を示す流れ図、FIG. 4 is a flowchart showing a data input operation of the apparatus of the embodiment,

【図5】 実施例装置で用いた各通信パケットを示すフ
ォーマット図、
FIG. 5 is a format diagram showing each communication packet used in the apparatus of the embodiment.

【図6】 実施例装置における送信側と受信側との間に
おける動作モード切換先を示す図、
FIG. 6 is a diagram showing an operation mode switching destination between a transmitting side and a receiving side in the embodiment apparatus;

【図7】 本発明の他の実施例に係わるネットワーク接
続装置で用いられる動作モード識別通信パケットを示す
フォーマット図、
FIG. 7 is a format diagram showing an operation mode identifying communication packet used in a network connection device according to another embodiment of the present invention;

【図8】 同実施例装置の概略構成を示すブロック図、FIG. 8 is a block diagram showing a schematic configuration of the apparatus of the embodiment.

【図9】 一般的なLAN相互間を接続したシステムを
示す図、
FIG. 9 is a diagram showing a system in which general LANs are connected to each other,

【図10】 一般的な通信パケットを示すフォーマット
図、
FIG. 10 is a format diagram showing a general communication packet,

【図11】 一般的なLAN接続装置の構成を示すブロ
ック図、
FIG. 11 is a block diagram showing the configuration of a general LAN connection device,

【図12】 一般的なLAN接続装置の各動作モードに
おけるデータ伝送動作を示す模式図。
FIG. 12 is a schematic diagram showing a data transmission operation in each operation mode of a general LAN connection device.

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

1a,1b…LAN(コンピュータネットワーク)、2
a,2b…伝送路、3a,3b…ノード、4…WAN
(通信回線)、6,6a,14,14a…通信パケッ
ト、21,34…LAN接続装置(ネットワーク接続装
置)、22…LANインタフェース、23…データ出力
制御部、24…動作モード設定部、25…データリンク
層、26…ブリッジ部、27…ネットワーク層、28…
ルータ部、29…識別子付加部、30…識別子、31…
WANインタフェース、32…データ入力制御部、33
…動作モード切換部、35…識別パケット発生部、36
…動作モード識別通信パケット。
1a, 1b ... LAN (computer network), 2
a, 2b ... Transmission line, 3a, 3b ... Node, 4 ... WAN
(Communication line), 6, 6a, 14, 14a ... Communication packet, 21, 34 ... LAN connection device (network connection device), 22 ... LAN interface, 23 ... Data output control unit, 24 ... Operation mode setting unit, 25 ... Data link layer, 26 ... Bridge unit, 27 ... Network layer, 28 ...
Router section, 29 ... Identifier adding section, 30 ... Identifier, 31 ...
WAN interface, 32 ... Data input control unit, 33
... operation mode switching unit, 35 ... identification packet generating unit, 36
... operation mode identification communication packet.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 それぞれ複数のノード(3a,3b) を伝送
路(2a,2b) を介して接続してなる複数のコンピュータネ
ットワーク(1a,1b) 相互間を通信回線(4) を介して接続
すると共に、データリンク層(25)とネットワーク層(27)
を含む複数の層(レイヤ)が組込まれ、通信パケットが
通過する最上位の層(レイヤ)に対応して定まる複数の
動作モードを有するネットワーク接続装置であって、 前記伝送路から入力され、設定されている動作モードに
応じた層(レイヤ)を介して前記通信回線へ送出される
通信パケットに対して前記設定されている動作モードを
特定する識別子を付加する識別子付加手段(29)と、前記
通信回線から入力された通信パケットに付された識別子
を判別する識別子判別手段(32)と、前記動作モードを前
記識別子が示す動作モードが許容する動作モードに切換
える動作モード切換手段(33)と、前記通信回線から入力
された通信パケットを前記切換えた動作モードに応じた
層(レイヤ)を介して前記伝送路へ送出する手段とを備
えたネットワーク接続装置。
1. A plurality of computer networks (1a, 1b) each formed by connecting a plurality of nodes (3a, 3b) via a transmission line (2a, 2b) are connected via a communication line (4). Data link layer (25) and network layer (27)
A network connection device having a plurality of operation modes determined by corresponding to the highest layer (layer) through which a communication packet passes by incorporating a plurality of layers (layers) including Identifier adding means (29) for adding an identifier for specifying the set operation mode to a communication packet sent to the communication line through a layer corresponding to the operation mode being set, Identifier discriminating means (32) for discriminating an identifier attached to a communication packet input from a communication line, and an operation mode switching means (33) for switching the operation mode to an operation mode permitted by the operation mode indicated by the identifier , Input from the communication line
The transmitted communication packet according to the switched operation mode.
A network connection device comprising: means for sending to the transmission path via a layer .
【請求項2】 それぞれ複数のノードを伝送路を介して
接続してなる複数のコンピュータネットワーク相互間を
通信回線を介して接続すると共に、データリンク層とネ
ットワーク層を含む複数の層(レイヤ)が組込まれ、通
信パケットが通過する最上位の層(レイヤ)に対応して
定まる複数の動作モードを有するネットワーク接続装置
であって、 設定されている動作モードを示す情報を組込んだ識別専
用パケット(36)を前記通信回線へ送出する識別専用パケ
ット送信手段(35)と、前記通信回線から入力された識別
専用パケットを受信する識別専用パケット受信手段(32)
と、前記動作モードを前記受信された識別専用パケット
に含まれる動作モード情報が示す動作モードが許容する
動作モードへ切換える動作モード切換手段(33)とを備え
たネットワーク接続装置。
2. A plurality of computer networks, each of which is formed by connecting a plurality of nodes via a transmission line, are connected via a communication line, and a plurality of layers including a data link layer and a network layer are provided. A network connection device that has a plurality of operation modes that are incorporated and are determined corresponding to the highest layer (layer) through which communication packets pass, and that is an identification-only packet that incorporates information indicating the set operation mode ( Dedicated packet transmitting means (35) for sending out 36) to the communication line, and identification dedicated packet receiving means (32) for receiving the identification dedicated packet input from the communication line
A network connection device comprising: and an operation mode switching means (33) for switching the operation mode to an operation mode permitted by the operation mode indicated by the operation mode information included in the received identification-only packet.
JP25016092A 1992-09-18 1992-09-18 Network connection device Expired - Fee Related JP3361343B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25016092A JP3361343B2 (en) 1992-09-18 1992-09-18 Network connection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25016092A JP3361343B2 (en) 1992-09-18 1992-09-18 Network connection device

Publications (2)

Publication Number Publication Date
JPH06104896A JPH06104896A (en) 1994-04-15
JP3361343B2 true JP3361343B2 (en) 2003-01-07

Family

ID=17203717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25016092A Expired - Fee Related JP3361343B2 (en) 1992-09-18 1992-09-18 Network connection device

Country Status (1)

Country Link
JP (1) JP3361343B2 (en)

Also Published As

Publication number Publication date
JPH06104896A (en) 1994-04-15

Similar Documents

Publication Publication Date Title
KR100890771B1 (en) Unicast-to-multicast converting apparatus, method, and computer usable storage medium, and monitoring system comprising the same
US6538997B1 (en) Layer-2 trace method and node
US6798775B1 (en) Virtual LANs over a DLSw network
JP3426606B2 (en) Network addressing structure for compatible transfer of extended address space
US20040213272A1 (en) Layer 2 switching device
US20010044842A1 (en) Communication system, communication control method and control program storage medium
JPH11112577A (en) Interconnection system between lan systems and network service system
US11962491B2 (en) Source routing tunnel ingress protection
EP4044523A1 (en) Packet forwarding method, first network device, and first device group
JP3361343B2 (en) Network connection device
US5917825A (en) LAN message routing system
JP2000244563A (en) Route tracing method and network system using this
JP3361342B2 (en) Network connection device
JP4633723B2 (en) Network system, transmission-side switch device, reception-side switch device, and dual-use switch device
JP3464375B2 (en) Communication data processing method and network connection device thereof
JP3132232B2 (en) Data link layer type automatic setting device
JP3438237B2 (en) Relay device
KR100519166B1 (en) Method for Echo Requesting in ATM MPLS VPN Network
JP2003324463A (en) Communication path switching apparatus
JP2000013443A (en) Network device
JPH10327152A (en) Network management method and system therefor
KR100570815B1 (en) A distributed ethernet switching system and method of packet fowarding thereof
KR100563655B1 (en) Virtual private network service method in MPLS and a computer readable record medium on which a program therefor is
JP2581475B2 (en) Communication path switching method and device
JP2001156856A (en) Method and system for information communication between networks

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071018

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081018

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091018

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101018

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111018

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees