JPH0556050A - Network system - Google Patents

Network system

Info

Publication number
JPH0556050A
JPH0556050A JP3214958A JP21495891A JPH0556050A JP H0556050 A JPH0556050 A JP H0556050A JP 3214958 A JP3214958 A JP 3214958A JP 21495891 A JP21495891 A JP 21495891A JP H0556050 A JPH0556050 A JP H0556050A
Authority
JP
Japan
Prior art keywords
address
data processing
processing terminal
network
terminal
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
JP3214958A
Other languages
Japanese (ja)
Inventor
Arata Ando
新 安東
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 JP3214958A priority Critical patent/JPH0556050A/en
Publication of JPH0556050A publication Critical patent/JPH0556050A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To improve the communication performance by releasing a data processing terminal equipment from the processing of an ARP response so as to relieve the load of the terminal equipment. CONSTITUTION:The cross reference between an IP address of data processing terminal equipments 11-14 subscribing the network and a MAC address is managed on an address table 24 of a network equipment 20. The network equipment 20 replies a collation request of the MAC address. Thus, each of the data processing terminal equipments 11-14 is relieved from the reply processing of the MAC address thereby relieving the load of the data processing terminal equipments 11-14.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、サーバ、ブリッジ、
ルータ、またはゲートウェイ等のネットワーク装置とワ
ークステーション等の複数のデータ処理端末が結合され
て成るネットワークシステムに関する。
This invention relates to a server, a bridge,
The present invention relates to a network system in which a network device such as a router or a gateway and a plurality of data processing terminals such as a workstation are combined.

【0002】[0002]

【従来の技術】一般に、LAN等のネットワークシステ
ムにおいて、ワークステーションやミニコンピュータ等
の各データ処理端末が、ファイル転送等の通信を相手先
データ処理端末と行うためには、その相手先データ処理
端末のネットワーク層レベルのプロトコルアドレスだけ
でなく、データリンク層レベルのハードウェアアドレス
も知る必要がある。
2. Description of the Related Art Generally, in a network system such as a LAN, in order for each data processing terminal such as a workstation or a minicomputer to perform communication such as file transfer with a partner data processing terminal, the partner data processing terminal is required. It is necessary to know not only the protocol address at the network layer level but also the hardware address at the data link layer level.

【0003】例えば、イーサネットを用いたTCP/I
P等の通信においては、実際にネットワーク上に送信さ
れるパケットは、ネットワーク層レベルのIP(Inter
netProtocol )アドレスがイーサネットレベルのMA
C(Media Access Control)アドレスに置き換えら
れる。
For example, TCP / I using Ethernet
In communication such as P, the packet actually transmitted on the network is an IP (Internet) at the network layer level.
netProtocol) MA whose address is Ethernet level
It is replaced with a C (Media Access Control) address.

【0004】しかしながら、各データ処理端末におい
て、他の端末のMACアドレスまでも管理するのはユー
ザにとっても非常に不便である。このため、通常は、各
データ処理端末は他の端末のIPアドレスだけを管理
し、他の端末のMACアドレスについては管理していな
い。
However, it is very inconvenient for the user to manage the MAC addresses of other terminals in each data processing terminal. Therefore, each data processing terminal normally manages only the IP address of the other terminal, and does not manage the MAC address of the other terminal.

【0005】IPアドレスからMACアドレスを得る手
法としては、アドレスリゾルーション(ARP;Addre
ss Resolution Protocol )と称されるプロセスが良
く使用されている。このアドレスリゾルーションを用い
たMACアドレスの認識プロセスは、次ぎのように行わ
れる。
A method for obtaining a MAC address from an IP address is address resolution (ARP; Addre).
A process called ss Resolution Protocol) is often used. The process of recognizing a MAC address using this address resolution is performed as follows.

【0006】すなわち、まず、相手先データ処理装置の
MACアドレスが分からない送信元のデータ処理端末
は、相手先のIPアドレスを含むブロードキャストパケ
ットを送信する。このブロードキャストパケットは、ネ
ットワークシステム内の他の全てのデータ処理端末に取
り込まれる。そして、そのブロードキャストパケットで
指定されるIPアドレスと同一のIPアドレスを持つデ
ータ処理端末は、自装置のMACアドレスを含むARP
レスポンスパケットを、そのブロードキャストパケット
の送信元端末に送信する。これによって、送信元のデー
タ処理端末は、相手先のMACアドレスを認識すること
ができる。
That is, first, the source data processing terminal, which does not know the MAC address of the destination data processing device, transmits a broadcast packet including the destination IP address. This broadcast packet is captured by all other data processing terminals in the network system. Then, the data processing terminal having the same IP address as the IP address specified by the broadcast packet is an ARP including the MAC address of its own device.
The response packet is transmitted to the transmission source terminal of the broadcast packet. Thereby, the data processing terminal of the transmission source can recognize the MAC address of the transmission destination.

【0007】このアドレスリゾルーションプロセスによ
って一度入手した相手先のMACアドレスは、データ処
理端末の内部テーブル等に記憶される。このため、この
テーブルに登録されてない相手との通信の場合にのみ、
前述のアドレスリゾルーションプロセスが実行される。
The MAC address of the destination once obtained by this address resolution process is stored in an internal table or the like of the data processing terminal. Therefore, only in the case of communication with a party not registered in this table,
The address resolution process described above is performed.

【0008】しかしながら、このような各データ処理端
末におけるアドレスリゾルーションプロセスでは、デー
タ処理端末側でARPレスポンスを返す必要があるの
で、データ処理端末の負荷が増大されるという問題があ
る。このようなデータ処理端末における負荷の増大は、
端末内ソフトウェア処理におけるオーバーヘッドを招
き、ネットワークシステム全体の通信性能を低下させる
大きな原因となる。
However, in the address resolution process in each data processing terminal as described above, it is necessary to return the ARP response on the data processing terminal side, which causes a problem that the load on the data processing terminal is increased. The increase in load on such a data processing terminal is
This causes an overhead in software processing in the terminal, which is a major cause of deterioration in communication performance of the entire network system.

【0009】また、このように各データ処理端末にAR
Pレスポンス機能を持たせていると、システム全体渡る
アドレス管理が困難であるので、例えば、ネットワーク
管理者のミスによって同一のIPアドレスが重複して与
えられることによって、通信不能を招くという危険もあ
った。
Further, as described above, the AR is provided to each data processing terminal.
If the P-response function is provided, it is difficult to manage addresses throughout the system. For example, there is a risk that the same IP address will be given twice due to a mistake made by the network administrator, resulting in communication failure. It was

【0010】[0010]

【発明が解決しようとする課題】従来では、データ処理
端末側でARPレスポンスを行う必要があり、端末の負
荷が増大し、システム全体の通信性能が低下される欠点
があった。
Conventionally, the data processing terminal has to make an ARP response, which increases the load on the terminal and deteriorates the communication performance of the entire system.

【0011】この発明はこの様な点に鑑みてなされたも
ので、データ処理端末をARPレスポンスの処理から解
放できるようにし、端末の負荷を軽減することによって
十分に通信性能の高いネットワークシステムを提供する
ことを目的とする。
The present invention has been made in view of the above circumstances, and provides a network system having sufficiently high communication performance by allowing a data processing terminal to be released from processing an ARP response and reducing the load on the terminal. The purpose is to do.

【0012】[0012]

【課題を解決するための手段および作用】この発明は、
ネットワーク装置と複数のデータ処理端末が結合されて
成るネットワークシステムにおいて、前記ネットワーク
装置は、前記各データ処理端末のネットワーク層レベル
のプロトコルアドレスとデータリンク層レベルのハード
ウェアアドレスとの対応が登録されたアドレス記憶手段
と、前記各データ処理端末から発行される相手先データ
処理端末のハードウェアアドレスの照会要求を受信し、
前記アドレス記憶手段を参照することによって、その照
会要求で指定される相手先データ処理端末のプロトコル
アドレスに対応したハードウェアアドレスを求める手段
と、前記照会要求を発行したデータ処理端末に対して相
手先データ処理端末のプロトコルアドレスを通知する手
段とを具備し、照会要求に対する応答を前記ネットワー
ク装置によって実行することを特徴とする。
Means and Actions for Solving the Problems
In a network system including a network device and a plurality of data processing terminals coupled to each other, the correspondence between the network layer level protocol address and the data link layer level hardware address of each of the data processing terminals is registered in the network device. Address storage means, and receives a hardware address inquiry request of a partner data processing terminal issued from each of the data processing terminals,
A means for obtaining a hardware address corresponding to a protocol address of a destination data processing terminal designated by the inquiry request by referring to the address storage means, and a destination for the data processing terminal issuing the inquiry request Means for notifying the protocol address of the data processing terminal, and a response to the inquiry request is executed by the network device.

【0013】このネットワークシステムにおいては、ネ
ットワークシステムに加入しているデータ処理端末のプ
ロトコルアドレスとハードウェアアドレスの対応がネッ
トワーク装置で管理されており、ハードウェアアドレス
の照会要求に対しては、そのネットワーク装置によって
応答が行われる。このため、各データ処理端末をそのハ
ードウェアアドレスの応答処理から解放することがで
き、データ処理端末の負荷を軽減することができる。ま
た、ネットワーク装置によって各端末のプロトコルアド
レスを一括管理できるので、重複アドレスの割り当て等
による通信障害を防止し易くなり、ネットワークシステ
ムの信頼性を向上させることができる。
In this network system, the correspondence between the protocol address and the hardware address of the data processing terminal that has joined the network system is managed by the network device. The device responds. Therefore, each data processing terminal can be released from the response processing of its hardware address, and the load on the data processing terminal can be reduced. In addition, since the protocol address of each terminal can be collectively managed by the network device, it is easy to prevent a communication failure due to the assignment of a duplicate address, etc., and the reliability of the network system can be improved.

【0014】[0014]

【実施例】以下、図面を参照してこの発明の実施例を説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1にはこの発明の一実施例に係わるネッ
トワークシステムの構成が示されている。このネットワ
ークシステムは、LANセグメント10に接続されたデ
ータ処理端末11〜14とネットワーク装置20とを備
えている。
FIG. 1 shows the configuration of a network system according to an embodiment of the present invention. This network system includes data processing terminals 11 to 14 connected to a LAN segment 10 and a network device 20.

【0016】データ処理端末11〜14は、ワークステ
ーションやパーソナルコンピャータ、またはミニコンピ
ュータ等によって実現されるものであり、LANセグメ
ント10を介して相互に通信を行うと共に、ネットワー
ク装置20を介して接続されている図示しない他のLA
NセグメントやWAN、公衆回線網等に加入している他
のデータ処理端末と通信を行う。
The data processing terminals 11 to 14 are realized by workstations, personal computers, minicomputers, etc., and communicate with each other via the LAN segment 10 and via the network device 20. Other LA not shown connected
It communicates with other data processing terminals that are subscribing to N segment, WAN, public network, etc.

【0017】ネットワーク装置20は、例えば、ネット
ワークサーバ、リピータ、ブリッジ、ルータ、またはゲ
ートウェイ等を構成するものであり、LANセグメント
10を別のLANセグメントやWAN、公衆回線網等に
接続するため等に使用される。このネットワーク装置2
0は、LANセグメント10や図示しない他の接続され
たネットワーク上のパケットをプロミスキャスモードで
全て受信し、データ転送サービスやアドレスリゾルーシ
ョン(ARP)の応答サービス等を実行する。
The network device 20 constitutes, for example, a network server, a repeater, a bridge, a router, a gateway, or the like, and is used to connect the LAN segment 10 to another LAN segment, WAN, public network, or the like. used. This network device 2
0 receives all the packets on the LAN segment 10 and other connected networks (not shown) in the promiscuous mode, and executes the data transfer service, the address resolution (ARP) response service, and the like.

【0018】このネットワーク装置20は、複数のポー
トを有しており、その内の1ポートがLANセングメン
10に接続されている。LANセングメン10に対する
ネットワークインターフェースは、図示のように、ロー
カルバス21、CPU22、バッファメモリ23、アド
レステーブル24、通信コントローラ25、およびトラ
ンシーバ26から構成されている。CPU22、バッフ
ァメモリ23、アドレステーブル24、および通信コン
トローラ25は、ローカルバス21を介して相互接続さ
れており、また、通信コントローラ25はトランシーバ
26を介してLANセグメント10に接続されている。
The network device 20 has a plurality of ports, one of which is connected to the LAN segment 10. The network interface for the LAN segment 10 is composed of a local bus 21, a CPU 22, a buffer memory 23, an address table 24, a communication controller 25, and a transceiver 26, as shown in the figure. The CPU 22, the buffer memory 23, the address table 24, and the communication controller 25 are interconnected via the local bus 21, and the communication controller 25 is connected to the LAN segment 10 via the transceiver 26.

【0019】ローカルバス21は、CPU21がバッフ
ァメモリ22、アドレステーブル24、および通信コン
トローラ25にアクセスするため等に使用される。バッ
ファメモリ23は、ネットワーク装置20を介して行わ
れるデータ転送の送受信データを格納する。
The local bus 21 is used by the CPU 21 to access the buffer memory 22, the address table 24, the communication controller 25, and the like. The buffer memory 23 stores transmission / reception data for data transfer performed via the network device 20.

【0020】アドレステーブル23は、ネットワーク装
置20がアドレスリゾルーション(ARP)の応答サー
ビスを実行するために使用されるものであり、このアド
レステーブル23には、図2に示されているように、デ
ータ処理端末11〜14のネットワーク層レベルにおけ
るプロトコルアドレス(IPアドレス)とMACレベル
のようなデータリンク層レベルにおけるハードウェアア
ドレス(MACアドレス)との対応が登録されている。
図2においては、データ処理端末11,12,13,1
4のIPアドレスがそれぞれ“A”,“B”,“C”,
“D”であり、データ処理端末11,12,13,14
のMACアドレスがそれぞれ“A´”,“B´”,“C
´”,“D´”である場合を想定している。
The address table 23 is used by the network device 20 to execute the response service of the address resolution (ARP). As shown in FIG. The correspondence between the protocol address (IP address) at the network layer level of the data processing terminals 11 to 14 and the hardware address (MAC address) at the data link layer level such as the MAC level is registered.
In FIG. 2, data processing terminals 11, 12, 13, 1
4 IP addresses are "A", "B", "C",
"D", and the data processing terminals 11, 12, 13, 14
MAC addresses are "A '", "B'", and "C", respectively.
It is assumed that they are "" and "D".

【0021】CPU4は、このネットワーク装置20全
体の制御を司るものであり、データ転送制御、およびア
ドレステーブル23を用いたアドレスリゾルーション
(ARP)の応答処理を実行する。
The CPU 4 controls the entire network device 20, and executes data transfer control and address resolution (ARP) response processing using the address table 23.

【0022】通信コントローラ25は、LANセグメン
ト10からのパケットを受信したり、バッファメモリ2
3中のデータをパケット化してLANセグメント10に
送信したりする。通信トランシーバ26は、ネットワー
クとの間でパケットの送受信を行う。
The communication controller 25 receives packets from the LAN segment 10 and the buffer memory 2
The data in 3 is packetized and transmitted to the LAN segment 10. The communication transceiver 26 sends and receives packets to and from the network.

【0023】アドレスリゾルーションのプロセスにおい
ては、例えば、データ処理端末11は、データ処理端末
12のIPアドレス“B”を含むブロードキャストパケ
ットP1を発行する。このブロードキャストパケットP
1を受け取ると、ネットワーク装置20は、アドレステ
ーブル24を参照してIPアドレス“B”に対応するM
ACアドレス“B´”を捜し、そのMACアドレス“B
´”を含むARPレスポンスパケットP2をデータ処理
端末11に送信する。
In the address resolution process, for example, the data processing terminal 11 issues a broadcast packet P1 containing the IP address "B" of the data processing terminal 12. This broadcast packet P
Upon receipt of 1, the network device 20 refers to the address table 24 and refers to the M address corresponding to the IP address “B”.
Search for the AC address "B '" and find its MAC address "B"
The ARP response packet P2 including "" is transmitted to the data processing terminal 11.

【0024】このようにして、データ処理端末11が通
信相手先のデータ処理端末12のMACアドレス“B
´”を認識した後には、データ処理端末11からデータ
処理端末12にはMACアドレス“B´”を相手先アド
レスとするパケットP3が送信され、データ処理端末1
2からデータ処理端末11にはMACアドレス“A´”
を相手先アドレスとするパケットP4が送信され、これ
によって端末11,12間の通信が実行される。
In this way, the data processing terminal 11 makes the MAC address "B" of the data processing terminal 12 of the communication partner.
After recognizing “′”, the data processing terminal 11 transmits the packet P3 having the MAC address “B ′” as the destination address to the data processing terminal 12, and the data processing terminal 1
2 to the data processing terminal 11 the MAC address "A '"
A packet P4 whose destination address is P is transmitted, whereby communication between the terminals 11 and 12 is executed.

【0025】通信コントローラ25は、LANセグメン
ト10からのパケットを受信したり、バッファメモリ2
3中のデータをパケット化してLANセグメント10に
送信したりする。通信トランシーバ26は、ネットワー
クとの間でパケットの送受信を行う。
The communication controller 25 receives packets from the LAN segment 10 and the buffer memory 2
The data in 3 is packetized and transmitted to the LAN segment 10. The communication transceiver 26 sends and receives packets to and from the network.

【0026】次に、図3のフローチャートおよび図4の
フレーム構造を参照して、ネットワーク装置20がパケ
ットを受信してからMACアドレスを知らせるためのパ
ケットを送信するまでの動作について説明する。
Next, with reference to the flowchart of FIG. 3 and the frame structure of FIG. 4, the operation from the reception of the packet by the network device 20 to the transmission of the packet for notifying the MAC address will be described.

【0027】データ処理端末11〜14から発行される
全てのパケットは、ネットワーク装置20に受信され
る。この場合、ネットワーク装置20では、通信コント
ローラ25のDMA機能によって、受信パケットは直接
的にバッファメモリ23に格納される(ステップS1
1)。CPU22は、その受信パケットの宛先MACア
ドレスを参照し、自ノード宛てか否かを判断する(ステ
ップS12)。
All packets issued from the data processing terminals 11 to 14 are received by the network device 20. In this case, in the network device 20, the received packet is directly stored in the buffer memory 23 by the DMA function of the communication controller 25 (step S1).
1). The CPU 22 refers to the destination MAC address of the received packet and determines whether it is addressed to its own node (step S12).

【0028】自ノード宛のパケットの場合は、CPU2
2は、ネットワーク装置20がサーバ、リピータ、ブリ
ッジ、ルータ、またはゲートウェイのうちのどれを実現
するものであるかによって定まる所定のアルゴリズムに
基づき、自ノード宛てパケットに対する通常の処理を実
行する(ステップS13)。
In the case of a packet addressed to its own node, the CPU 2
2 executes a normal process for a packet addressed to its own node based on a predetermined algorithm determined by which of the network device 20 implements a server, a repeater, a bridge, a router, or a gateway (step S13). ).

【0029】自ノード宛てパケットでない場合には、C
PU22は、受信パケットの宛先MACアドレスが、M
ACアドレス問い合わせ用のブロードキャストアドレス
(例えば、全ビット1のアドレス)かどうかをチェック
する(ステップS14)。
If the packet is not addressed to its own node, C
In the PU 22, the destination MAC address of the received packet is M
It is checked whether or not it is a broadcast address for inquiry of an AC address (for example, an address of all bits 1) (step S14).

【0030】ブロードキャストアドレスでなかった場合
には、CPU22は、例えば、ネットワーク装置20が
ARPレスポンスを行う専用サーバの時にはそのパケッ
トを廃棄し、また、ネットワーク装置20がブリッジや
ルータ等のようにネットワーク接続を行うものである時
には、所定の転送アルゴリズムにしたがって他のネット
ワークへの転送、または廃棄を行う。例えば、ネットワ
ーク装置20がブリッジやルータの場合、第1ポートを
介してLANセグメント10から受信したパケットの宛
先アドレスがLANセグメント10に接続された端末を
指定する場合には、他ポートを介したデータ転送の必要
がないので廃棄し、また、その宛先アドレスが他のネッ
トワークに接続された端末を指定する場合には、その端
末が属するネットワークに対応するポートを介してその
受信パケットを転送する。このようなパケットの転送
は、通常、転送データベースと称される良く知られた転
送用アドレステーブルを用いて制御されている。
When the address is not the broadcast address, the CPU 22 discards the packet when the network device 20 is a dedicated server for making an ARP response, and the network device 20 connects to a network such as a bridge or a router. If it is to perform the above, the transfer to another network or the discard is performed according to a predetermined transfer algorithm. For example, when the network device 20 is a bridge or a router, when the destination address of the packet received from the LAN segment 10 via the first port specifies the terminal connected to the LAN segment 10, the data via another port is used. It is discarded because it does not need to be transferred, and when the destination address designates a terminal connected to another network, the received packet is transferred via the port corresponding to the network to which the terminal belongs. The transfer of such packets is usually controlled using a well-known transfer address table called a transfer database.

【0031】受信パケットの宛先MACアドレスがMA
Cアドレス問い合わせ用のブロードキャストアドレスで
あった場合には、CPU22は、アドレステーブル24
を参照し、テーブル24内にその受信パケットに含まれ
る宛先IPアドレスが登録されているか否かを調べる
(ステップS16,S17)。
The destination MAC address of the received packet is MA
If it is the broadcast address for the C address inquiry, the CPU 22 causes the address table 24
Is checked to see if the destination IP address included in the received packet is registered in the table 24 (steps S16 and S17).

【0032】登録されてない無い場合には、CPU22
は、ネットワーク装置20がネットワークサーバとして
機能している時には、アラーム等を上げてネットワーク
管理者に対してARPレスポンスができないことを通知
し、また、ネットワーク装置20がブリッジやルータ等
の時には、接続されている図示しない他の全てのネット
ワークに対して受信パケットをブロードキャスト転送す
る(ステップS18)。
If not registered, the CPU 22
Raises an alarm when the network device 20 is functioning as a network server and notifies the network administrator that an ARP response cannot be made. When the network device 20 is a bridge or router, the connection is established. The received packet is broadcast-transferred to all other networks not shown (step S18).

【0033】これは、ARPレスポンスを、他のネット
ワークに存在するデータ処理端末やネットワーク装置2
0と同様の機能を持つブリッジまたはルータから、得る
ためである。
This is because the ARP response is transmitted to the data processing terminal or the network device 2 existing in another network.
This is because it is obtained from a bridge or router having the same function as 0.

【0034】一方、テーブル24内に受信パケットに含
まれる宛先IPアドレスが登録されている場合には、C
PU22は、宛先IPアドレスに対応するMACアドレ
スを読取り、そのMACアドレスを送信元MACアドレ
スとして含むARPレスポンスパケットをLANセグメ
ント10に送信する(ステップS19)。このARPレ
スポンスパケットは、ブロードキャストパケットの発行
元端末で受信され、これによって通信相手先のMACア
ドレスが認識される。次に、図4を参照して、ネットワ
ーク装置20によるこのようなARPレスポンス処理で
授受されるパケットのフレーム構造について説明する。
On the other hand, if the destination IP address included in the received packet is registered in the table 24, C
The PU 22 reads the MAC address corresponding to the destination IP address, and sends an ARP response packet including the MAC address as the source MAC address to the LAN segment 10 (step S19). This ARP response packet is received by the terminal that issued the broadcast packet, and the MAC address of the communication partner is recognized thereby. Next, with reference to FIG. 4, a frame structure of a packet transmitted / received in such an ARP response process by the network device 20 will be described.

【0035】例えば、データ処理端末11が、通信相手
となるデータ処理端末12のMACアドレスを問い合わ
せるブロードキャストパケットP1を発行した場合に
は、そのパケットP1は、図4(A)に示されているよ
うに、宛先MACアドレスDA(MAC)としてブロー
ドキャストを示す“11111…”を含み、送信元MA
CアドレスSA(MAC)としてデータ処理端末11の
MACアドレス“A´”を含み、宛先IPアドレスとし
てデータ処理端末12のIPアドレス“B”を含み、送
信元IPアドレスとしてデータ処理端末11のIPアド
レス“A”を含む。
For example, when the data processing terminal 11 issues a broadcast packet P1 inquiring about the MAC address of the data processing terminal 12 which is a communication partner, the packet P1 is as shown in FIG. 4 (A). Includes "11111 ..." Indicating broadcast as the destination MAC address DA (MAC),
The C address SA (MAC) includes the MAC address "A '" of the data processing terminal 11, the destination IP address includes the IP address "B" of the data processing terminal 12, and the source IP address of the data processing terminal 11 is the IP address. Contains "A".

【0036】この場合、CPU22は、そのパケットP
1の宛先IPアドレス“B”に対応するMACアドレス
“B´”をアドレステーブル24から求め、図4(B)
に示されているようなARPレスポンスパケットP2を
発行する。このARPレスポンスパケットP2は、宛先
MACアドレスDA(MAC)としてブロードキャスト
パケットの送信元端末11を示す“A´”を含み、送信
元MACアドレスSA(MAC)としてアドレステーブ
ル24から得た相手先端末12のMACアドレス“B
´”を含み、宛先IPアドレスとして端末11のIPア
ドレス“A”を含み、送信元IPアドレスとして端末1
2のIPアドレス“B”を含む。
In this case, the CPU 22 sends the packet P
The MAC address "B '" corresponding to the destination IP address "B" of No. 1 is obtained from the address table 24, and the MAC address "B'" shown in FIG.
The ARP response packet P2 as shown in FIG. The ARP response packet P2 includes "A '" indicating the source terminal 11 of the broadcast packet as the destination MAC address DA (MAC), and the destination terminal 12 obtained from the address table 24 as the source MAC address SA (MAC). MAC address of "B
″ ”, The IP address“ A ”of the terminal 11 as the destination IP address, and the terminal 1 as the source IP address.
2 IP address “B” is included.

【0037】データ処理端末11は、そのARPレスポ
ンスパケットP2を受信し、パケットP2の送信元MA
CアドレスSA(MAC)に含まれるアドレス“B´”
を通信相手先端末12のMACアドレスとして認識す
る。この後、データ処理端末11からデータ処理端末1
2には、図4(C)に示されているように、宛先MAC
アドレスDA(MAC)としてアドレス“B´”を含む
パケットP3が送信され、データ処理端末12からデー
タ処理端末11には、図4(D)に示されているよう
に、宛先MACアドレスDA(MAC)としてアドレス
“A´”を含むパケットP4が送信され、これによって
端末11,12間の通信が実行される。
The data processing terminal 11 receives the ARP response packet P2, and sends the source MA of the packet P2.
Address "B '" included in C address SA (MAC)
Is recognized as the MAC address of the communication destination terminal 12. After this, the data processing terminal 11 to the data processing terminal 1
2 includes the destination MAC as shown in FIG.
The packet P3 including the address “B ′” is transmitted as the address DA (MAC), and the data processing terminal 12 sends to the data processing terminal 11 the destination MAC address DA (MAC) as shown in FIG. 4D. ), The packet P4 including the address "A '" is transmitted, whereby the communication between the terminals 11 and 12 is executed.

【0038】次に、ARPの方式の違う端末がLANセ
グメント10で運用される場合について説明する。ここ
では、その一例として、図1に破線で示されているよう
に、ARPに対して応答する端末50がLANセグメン
ト10に追加接続された場合に関して説明する。
Next, a case where a terminal having a different ARP method is operated in the LAN segment 10 will be described. Here, as an example thereof, a case will be described in which a terminal 50 that responds to ARP is additionally connected to the LAN segment 10 as shown by a broken line in FIG.

【0039】端末50から他の端末へのMACアドレス
の問い合わせに対しては、ネットワーク装置20が応答
を返すので何等問題は生じない。しかし、端末50に対
し、他の端末11〜14からMACアドレスの問い合わ
せを行った場合、問い合わせた側では、ネットワーク装
置20と、端末50の両方から応答が返ることになる。
この場合、通信障害の発生を防止するために、ネットワ
ーク装置20に、端末50に対するMACアドレスの問
い合わせに対してはスタティックに応答を返さないよう
な機構を設けるか、あるいは、ARPレスポンスを受け
取った端末側で片方のレスポンスを無視するか、もしく
は、2つのMACアドレスを比較して一致した場合にの
み通信を開始するようにする事が好ましい。
In response to a MAC address inquiry from the terminal 50 to another terminal, the network device 20 returns a response, so that no problem occurs. However, when a MAC address is inquired from the other terminals 11 to 14 to the terminal 50, both the network device 20 and the terminal 50 return a response on the inquiring side.
In this case, in order to prevent the occurrence of communication failure, the network device 20 is provided with a mechanism that does not statically return a response to the inquiry about the MAC address to the terminal 50, or the terminal that receives the ARP response. It is preferable that one side ignores one response or starts communication only when two MAC addresses are compared and they match.

【0040】以上のように、この実施例のネットワーク
システムにおいては、ネットワークに加入しているデー
タ処理端末11〜14のIPアドレスとMACアドレス
の対応がネットワーク装置20のアドレステーブル24
上で管理されており、MACアドレスの照会要求に対し
ては、そのネットワーク装置20によって応答が行われ
る。このため、各データ処理端末11〜14をそのMA
Cアドレスの応答処理から解放することができ、データ
処理端末11〜14の負荷を軽減することができる。
As described above, in the network system of this embodiment, the correspondence between the IP address and the MAC address of the data processing terminals 11 to 14 that join the network corresponds to the address table 24 of the network device 20.
It is managed above, and the network device 20 responds to the inquiry request of the MAC address. Therefore, each of the data processing terminals 11 to 14 is
The response processing of the C address can be released, and the load on the data processing terminals 11 to 14 can be reduced.

【0041】また、ネットワーク装置20によって各端
末11〜15のIPアドレスも一括管理できるので、端
末への重複アドレスの割り当て等による通信障害の発生
も防止し易くなり、ネットワークシステムの信頼性を向
上させることができる。
Further, since the IP address of each of the terminals 11 to 15 can be collectively managed by the network device 20, it becomes easy to prevent the occurrence of a communication failure due to the assignment of the duplicate address to the terminals and improve the reliability of the network system. be able to.

【0042】なお、本発明のネットワーク装置20は、
本来、ネットワーク上のパケットをプロミスキャスモー
ドで全て受信する構成のものであれば、サーバ、ブリッ
ジ、ルータ、リピータ、ゲートウェイ等の全ての装置に
適用可能である。
The network device 20 of the present invention is
Originally, as long as all the packets on the network are received in the promiscuous mode, they can be applied to all devices such as servers, bridges, routers, repeaters, and gateways.

【0043】また、この実施例では、CPU22がソフ
トウェア的な処理によって受信パケットのアドレスを参
照する方式を説明したが、例えば、通信コントローラ2
5にシストレジスタ等を設け、そのシストレジスタにラ
ッチされる受信パケットの宛先IPアドレスを端末11
〜14のIPアドレスとハードウェア的に順次比較し、
その比較結果に応じて通信相手先のMACアドレスを求
めることもできる。
In this embodiment, the system in which the CPU 22 refers to the address of the received packet by software processing has been described. For example, the communication controller 2
5 is provided with a cyst register or the like, and the destination IP address of the received packet latched in the cyst register is set to the terminal 11
~ 14 IP address sequentially compared by hardware,
It is also possible to obtain the MAC address of the communication partner according to the comparison result.

【0044】さらに、この実施例では、説明を簡単にす
るために、アドレステーブル24へのアドレスエントリ
をスタティック方式としたが、ブリッジ等の転送データ
ベースへのエントリ方式ですでに良く知られている学習
機能を用いて、アドレステーブル24へのアドレス登録
を動的に行うことも可能である。この場合、ネットワー
ク装置20は、パケットを受信する度に、その受信パケ
ットに含まれる送信元MACアドレスと送信元IPアド
レスをアドレステーブル24に登録し、そして、あらか
じめ決められた時間経過してもその登録したアドレスに
対するMACアドレスの問い合わせが無い場合には、そ
のエントリをテーブル24から削除するといった処理を
行う。この様にすれば、メモリ資源を有効に利用でき、
記憶容量の少ないアドレステーブル24で多くの端末に
対するARP応答を実現できるようになる。
Further, in this embodiment, in order to simplify the explanation, the address entry in the address table 24 is set to the static method, but the learning method which is already well known in the entry method to the transfer database such as a bridge. Addresses can be dynamically registered in the address table 24 by using the function. In this case, the network device 20 registers the source MAC address and the source IP address included in the received packet in the address table 24 every time the packet is received, and the packet is stored even if a predetermined time has elapsed. If there is no inquiry about the MAC address for the registered address, the entry is deleted from the table 24. By doing this, memory resources can be effectively used,
The address table 24 having a small storage capacity can realize ARP responses for many terminals.

【0045】但し、この時には、ブロードキャストパケ
ットを受信したときに、通信相手先端末がLANセグメ
ント10に接続されていてもその通信相手先端末のIP
アドレスがアドレステーブル24に存在しないという場
合が生じる。この場合には、第3の固有アドレスを用意
し、ネットワーク装置20には、その固有アドレスをブ
ロードキャストパケットに付加して送信する機能を持た
せ、また、各端末には第3の固有アドレスが付加された
ブロードキャストパケットに対してだけARP応答を行
う機能を持たせることにより、相手先のMACアドレス
を送信元に通知することができる。
However, at this time, even if the communication destination terminal is connected to the LAN segment 10 when the broadcast packet is received, the IP of the communication destination terminal is received.
There may be a case where the address does not exist in the address table 24. In this case, a third unique address is prepared, the network device 20 is provided with a function of adding the unique address to a broadcast packet and then transmitted, and each terminal is provided with the third unique address. It is possible to notify the sender of the MAC address of the other party by providing a function of making an ARP response only to the broadcast packet that has been sent.

【0046】[0046]

【発明の効果】以上のように、この発明によれば、デー
タ処理端末をARPレスポンスの処理から解放できるよ
うになり、端末の負荷を軽減することによって十分に通
信性能の高いネットワークシステムを実現できる。
As described above, according to the present invention, the data processing terminal can be released from the processing of the ARP response, and by reducing the load on the terminal, a network system having sufficiently high communication performance can be realized. ..

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

【図1】この発明の一実施例に係わるネットワークシス
テムの構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a network system according to an embodiment of the present invention.

【図2】図1に示したネットワークシステムのネットワ
ーク装置で管理されるアドレステーブルの内容の一例を
示す図。
FIG. 2 is a diagram showing an example of contents of an address table managed by a network device of the network system shown in FIG.

【図3】図1のネットワークシステムのARPレスポン
ス処理を説明するフローチャート。
3 is a flowchart illustrating ARP response processing of the network system of FIG.

【図4】図1のネットワークシステムのARPレスポン
ス処理で授受されるパケットの内容の一例を示す図。
FIG. 4 is a diagram showing an example of contents of a packet transmitted / received in an ARP response process of the network system of FIG. 1.

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

10…LANセグメント、11〜14…端末、20…ネ
ットワーク装置、22…CPU、23…バッファメモ
リ、24…アドレステーブル、25…通信コントロー
ラ。
10 ... LAN segment, 11-14 ... Terminal, 20 ... Network device, 22 ... CPU, 23 ... Buffer memory, 24 ... Address table, 25 ... Communication controller.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク装置と複数のデータ処理端
末が結合されて成るネットワークシステムにおいて、 前記ネットワーク装置は、 前記各データ処理端末のネットワーク層レベルのプロト
コルアドレスとデータリンク層レベルのハードウェアア
ドレスとの対応が登録されたアドレス記憶手段と、 前記各データ処理端末から発行される相手先データ処理
端末のハードウェアアドレスの照会要求を受信し、前記
アドレス記憶手段を参照することによって、その照会要
求で指定される相手先データ処理端末のプロトコルアド
レスに対応したハードウェアアドレスを求める手段と、 前記照会要求を発行したデータ処理端末に対して相手先
データ処理端末のプロトコルアドレスを通知する手段と
を具備し、 照会要求に対する応答を前記ネットワーク装置によって
実行することを特徴とするネットワークシステム。
1. A network system in which a network device and a plurality of data processing terminals are coupled to each other, wherein the network device includes a network layer level protocol address and a data link layer level hardware address of each of the data processing terminals. The address storage means in which the correspondence is registered and the inquiry request for the hardware address of the partner data processing terminal issued from each of the data processing terminals are received, and the inquiry request is designated by referring to the address storage means. A means for obtaining a hardware address corresponding to the protocol address of the destination data processing terminal, and means for notifying the data processing terminal that issued the inquiry request of the protocol address of the destination data processing terminal, The response to the inquiry request is sent to the network Network system and executes the device.
JP3214958A 1991-08-27 1991-08-27 Network system Pending JPH0556050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3214958A JPH0556050A (en) 1991-08-27 1991-08-27 Network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3214958A JPH0556050A (en) 1991-08-27 1991-08-27 Network system

Publications (1)

Publication Number Publication Date
JPH0556050A true JPH0556050A (en) 1993-03-05

Family

ID=16664384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3214958A Pending JPH0556050A (en) 1991-08-27 1991-08-27 Network system

Country Status (1)

Country Link
JP (1) JPH0556050A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564337B1 (en) 1999-09-30 2003-05-13 Fujitsu Limited Communication control method in network
WO2010046977A1 (en) * 2008-10-22 2010-04-29 富士通株式会社 Communication control program, communication control device, communication control system, and communication control method
US9537763B2 (en) 2012-03-02 2017-01-03 Nec Corporation Communication system, control apparatus, control method and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564337B1 (en) 1999-09-30 2003-05-13 Fujitsu Limited Communication control method in network
WO2010046977A1 (en) * 2008-10-22 2010-04-29 富士通株式会社 Communication control program, communication control device, communication control system, and communication control method
JP5018969B2 (en) * 2008-10-22 2012-09-05 富士通株式会社 COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, AND COMMUNICATION CONTROL METHOD
US8484345B2 (en) 2008-10-22 2013-07-09 Fujitsu Limited Communication control apparatus, communication control system, and communication control method
US9537763B2 (en) 2012-03-02 2017-01-03 Nec Corporation Communication system, control apparatus, control method and program

Similar Documents

Publication Publication Date Title
JP2520563B2 (en) Packet switching network
JPH11112577A (en) Interconnection system between lan systems and network service system
JP2002502152A (en) Proxy server for TCP / IP network address mobile terminal
US6343330B1 (en) Arrangement for preventing looping of explorer frames in a transparent bridging domain having multiple entry points
US20040230671A1 (en) Modular access point for wireless networking
JPH0556050A (en) Network system
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands
Cisco AppleTalk Routing Commands
Cisco AppleTalk Commands
Cisco AppleTalk Commands