JPH03212038A - System for detecting duplicate address - Google Patents

System for detecting duplicate address

Info

Publication number
JPH03212038A
JPH03212038A JP2007516A JP751690A JPH03212038A JP H03212038 A JPH03212038 A JP H03212038A JP 2007516 A JP2007516 A JP 2007516A JP 751690 A JP751690 A JP 751690A JP H03212038 A JPH03212038 A JP H03212038A
Authority
JP
Japan
Prior art keywords
address
subscriber
lan
terminal
addresses
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
JP2007516A
Other languages
Japanese (ja)
Inventor
Yuichi Kato
裕一 加藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007516A priority Critical patent/JPH03212038A/en
Publication of JPH03212038A publication Critical patent/JPH03212038A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent confusion such as mis-connection and to build up a LAN (local.area.network) system with high reliability by detecting the presence of a duplicated address at the start of operation of each terminal equipment connected to the LAN system. CONSTITUTION:The LAN system is provided with a ring LAN 1, bus LANs 2, 3, ring-bus couplers 4a, 4b, LAN terminal equipments 5a-5c, a terminal adaptor 6, line terminals 7a-7c and a network monitoring device 8. An address table and a subscriber address included in a terminal start packet are collated/ registered at the reception of a terminal start packet and when the subscriber addresses are coincident but MAC(Media Access Control) addresses are dicordant, it is decided that the subscriber addresses are set in duplicate. Thus, when the subscriber addresses are set in duplicate in the LAN system, it is detected early.

Description

【発明の詳細な説明】 (a業上の利用分野) この発明は、LAN (ローカル・エリア・ネットワー
ク)システムに加入する端末対応に付与される加入者ア
ドレスが重複した場合のアドレス重複検出方式に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Application in Business A) This invention relates to an address duplication detection method when subscriber addresses assigned to terminals joining a LAN (Local Area Network) system are duplicated. It is something.

〔従来の技術〕[Conventional technology]

第4図はLANシステム例を示す図であり、図において
(1)はリング形LAN 、 (2)および(3)はバ
ス形LAN 、  (4a) 、  (4b)はバス形
LAN (2)、(3)をリング形LAN (1) に
結合しデータ信号の中継・伝送を行うリング−バス結合
装置、(5a) 、  (5b) 、  (5c)は各
々バス形LAN (2)、(3)に接続され、所定のL
ANのプロトコルにより任意の相手とデータ通信が可能
なLAN端末、(6)は回線(モデム)インタフェース
を持つ回線端末(7a)〜(7C)を収容し所定のLA
NプロトコルによりLAN端末(5)とのデータ通信を
可能にする端末アダプタ、(8)はLAN内の各装置の
運用状態を監視するネットワーク監視装置である。
FIG. 4 is a diagram showing an example of a LAN system, in which (1) is a ring type LAN, (2) and (3) are bus type LANs, (4a) and (4b) are bus type LANs (2), (3) is a ring-bus coupling device that connects the ring-type LAN (1) and relays and transmits data signals; (5a), (5b), and (5c) are the bus-type LANs (2) and (3), respectively; connected to a predetermined L
A LAN terminal that can perform data communication with any party using the AN protocol, (6) accommodates line terminals (7a) to (7C) having a line (modem) interface, and is a predetermined LA terminal.
A terminal adapter (8) enables data communication with a LAN terminal (5) using the N protocol, and a network monitoring device (8) monitors the operating status of each device in the LAN.

上記構成において、LANJ末(5a)〜(5c)およ
び回線端末(7a)〜(7c)は任意の組合せて相互に
データ通信が可能である。
In the above configuration, the LANJ terminals (5a) to (5c) and the line terminals (7a) to (7c) can perform data communication with each other in any combination.

ここて、LAN端末(5a) 、  (5b) 、  
(5c)は、各々、LAN上を伝送される自分宛のデー
タを正しく受信するためのアドレス(ここでは、以後M
AC(MediaAccess Control)とい
う)と任意の相手を選択し論理的に接続するための加入
者アドレスを持つ。
Here, LAN terminals (5a), (5b),
(5c) is an address (hereinafter referred to as M
AC (Media Access Control)) and a subscriber address for selecting and logically connecting to an arbitrary party.

端末アダプタ(6)も同様に1つのMACアドレスと収
容する回線端末(7a)〜(7c)の数分の加入者アド
レスを持つ。
Similarly, the terminal adapter (6) has one MAC address and as many subscriber addresses as the line terminals (7a) to (7c) it accommodates.

1、!ACアドレスとしては、一般に各装置か国際標準
で定められた48ビツト構成の世界で唯一となるように
管理されたアドレスを使用する。そして、そのアドレス
は各装置のメーカー比荷時に設定済である。従って、M
ACアドレスの重複についてはここでは問題としない。
1,! As the AC address, each device generally uses an address that is managed to be unique in the world and has a 48-bit configuration defined by international standards. The address has already been set at the time of manufacture of each device. Therefore, M
Duplication of AC addresses is not a problem here.

加入者アドレスとは、そのLANシステム内で唯一とな
るように管理され、各端末対応に付与されるアドレスで
あり(NTTのDDXパケット網における加入者アドレ
スに相当する)、各LAN m末(5a)〜(5c)毎
にまたは端末アダプタ(6)@にLAN管理者か設定す
る。
A subscriber address is an address that is managed to be unique within the LAN system and is assigned to each terminal (corresponds to the subscriber address in NTT's DDX packet network). ) to (5c) or to the terminal adapter (6)@.

LAN内の通信においては、一般に、ユーザはMACア
ドレスを意識せず、加入者アドレスのみを認識している
。即ち、ある相手と通信する場合、その相手の加入者ア
ドレスを含むパケットを同報し、該加入者アドレスを持
つ装置が返送する応答パケットに含まれるMACアドレ
スから相手のMACアドレスを得る。そして、以後、そ
のMACアドレスを使用したパケットによりデータのや
りとりを行う。
In communication within a LAN, users are generally unaware of MAC addresses and only recognize subscriber addresses. That is, when communicating with a certain party, a packet containing the subscriber address of the party is broadcast, and the MAC address of the party is obtained from the MAC address included in the response packet sent back by the device having the subscriber address. Thereafter, data is exchanged using packets using that MAC address.

〔発明が解決しようとする課題) 従来のLANシステムにおいては、加入者アドレスを以
上のように使用しているので、誤って複数の装置に同一
の加入者アドレスを設定した場合、同報パケットに対し
て複数の応答か返ることになり、通信相手か定まらなく
なるという問題が発生する。複数の応答か返る場合には
、まだ対処の方法かある(複数の応答が返ったとき異常
と判定てきる)が、重複アドレスを持つ一方の装置がそ
の時たまたま電源断等で未使用状態のときには応答が1
つとなるので、異常の判定ができず、誤接続の原因がな
かなかつかめないというより深刻な問題点があった。
[Problem to be Solved by the Invention] In conventional LAN systems, subscriber addresses are used in the manner described above, so if the same subscriber address is set in multiple devices by mistake, broadcast packets may be This results in multiple responses being returned, causing the problem that it becomes unclear who the communication partner is. If multiple responses are returned, there is still a way to deal with it (it will be determined that there is an abnormality when multiple responses are returned), but if one device with the duplicate address happens to be unused at the time due to power off, etc. response is 1
This poses a more serious problem in that it is not possible to determine whether there is an abnormality and it is difficult to determine the cause of the erroneous connection.

ところで、特開昭fil−63134号及び特開昭61
−248638号公報には、複数リングでステーション
番号の重複を防止するのに、−元管理、即ちネットワー
ク内のステーション情報を記憶するテーブル、を特定ス
テーションに持たせる技術が開示されているが、上記各
公報技術は、通信プロトコルの最下位レイヤの物理アド
レス(ステーション番号)をターゲットにしたもので、
物理アドレスの重複はないとの前提の基に上位レイヤの
アドレス(加入者アドレス)重複を検出するものではな
かった。
By the way, Japanese Patent Application Laid-Open No. 1986-63134 and Japanese Patent Application Laid-open No. 61
Publication No. 248638 discloses a technique in which a specific station is provided with a source management, that is, a table that stores station information within the network, in order to prevent duplication of station numbers in multiple rings. Each published technology targets the physical address (station number) of the lowest layer of the communication protocol.
It did not detect duplication of upper layer addresses (subscriber addresses) based on the premise that there is no duplication of physical addresses.

この発明は上記のような従来例における問題点を解消す
るためになされたもので、LANシステムにおいて加入
者アドレスの重複設定があった場合、早期に検出するこ
とができるアドレス重複検出方式を提供する。
This invention was made in order to solve the problems in the conventional example as described above, and provides an address duplication detection method that can detect at an early stage when there is a duplication of subscriber addresses in a LAN system. .

〔課題を解決するための手段] この発明に係るアドレス重複検出方式は、LAN内の各
装置の運用状態を監視するネットワーク監視装置を有す
るLANシステムにおいて、LANに加入する端末に、
使用開始時に自加入者アドレスを含むパケットを上記ネ
ットワーク監視装置光に送信する手段を備えると共に、
上記ネットワーク監視装置に、上記加入者アドレスとパ
ケット伝送に必須のMACアドレスとの対によって構成
するアドレステーブルを格納する手段と、上記パケット
を受信したとき、上記アドレステーブルを調べ、同一加
入者アドレスが存在しない場合には受信パケットに含ま
れる加入者アドレスとMACアドレスとの対をテーブル
に追加登録する手段と、上記アドレステーブルに同一加
入者アドレスが存在した場合に対のMACアドレスによ
り加入者アドレス重複か否かを判定する手段とを具備し
たものである。
[Means for Solving the Problems] The address duplication detection method according to the present invention provides a method for detecting duplication of addresses in a LAN system having a network monitoring device that monitors the operating status of each device in the LAN.
comprising means for transmitting a packet containing the own subscriber address to the network monitoring device Hikari at the time of start of use;
means for storing an address table constituted by a pair of the subscriber address and a MAC address essential for packet transmission in the network monitoring device; A means for additionally registering a pair of subscriber address and MAC address included in a received packet in a table if the pair does not exist, and a means for registering subscriber address duplication by a paired MAC address when the same subscriber address exists in the address table. and means for determining whether or not.

(作用) 二の発明においてネットワーク監視装置は、アドレステ
ーブルと端末始業パケットに含まれる加入者アドレスと
の照合/登録を次のようにして行う。
(Operation) In the second invention, the network monitoring device performs the verification/registration of the address table and the subscriber address included in the terminal start-up packet in the following manner.

端末始業パケット受信時、加入者アドレスがアドレステ
ーブルに登録されてない場合はアドレスの重複はないと
判定し、端末始業パケットの自MACアドレスと共にア
ドレステーブルに追加登録する。他方、加入者アドレス
かアドレステーブルにある場合には、対になるMACア
ドレスを端末始業パケットの自MACアドレスと照合し
、一致した場合には端末の再始業であり正常と判定する
When the terminal start packet is received, if the subscriber address is not registered in the address table, it is determined that there is no duplication of addresses, and it is additionally registered in the address table together with the own MAC address of the terminal start packet. On the other hand, if the subscriber address is in the address table, the paired MAC address is compared with the own MAC address of the terminal startup packet, and if they match, the terminal is restarted and determined to be normal.

また、加入者アドレスは一致したがMACアドレスか不
一致の場合に加入者アドレスが重複設定されていると判
定する。
Further, if the subscriber addresses match but the MAC addresses do not match, it is determined that the subscriber addresses are set duplicated.

〔実施例) 以下、この発明の一実施例を図について説明する。第1
図は上記第4図に示すLANシステムにおいてLAN端
末(5a)〜(5c)および端末アダプタ(6)に機能
追加し、LAN端末(5a)〜(5c)が使用開始する
とぎに送信、または端末アダプタ(6)が収容する回線
端末(7a)〜(7b)が使用開始したことを検知した
とぎに送信する端末始業パケットのフォーマットを示し
、また、第2図は上記LANシステムにおけるネットワ
ーク監視装置(8)に備えるもので、端末始業パケット
が受信された時にアドレスに照合し、未登録の加入者ア
ドレスの場合には加入者アドレスとMACアドレスの対
を順次追加登録するためのアドレステーブルを示す。さ
らに、第3図は上記ネットワーク監視装置(8)に追加
する端末始業パケット受信時の処理を示したフローチャ
ートを示す。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
The figure shows functions added to the LAN terminals (5a) to (5c) and the terminal adapter (6) in the LAN system shown in Fig. 4 above, and when the LAN terminals (5a) to (5c) start using the The format of the terminal start packet that is sent when it is detected that the line terminals (7a) to (7b) accommodated by the adapter (6) have started to be used is shown in FIG. 8), which shows an address table for checking the address when a terminal start packet is received and sequentially additionally registering the subscriber address and MAC address pair in the case of an unregistered subscriber address. Furthermore, FIG. 3 shows a flowchart showing the processing when the terminal starting packet to be added to the network monitoring device (8) is received.

以上の機能を追加した後の加入者アドレス重複の検出動
作を、第4図のLAN端末(5a)をLANシステムに
増設したと仮定し、誤って回線端末(7a)の加入者ア
ドレスと同一に設定してしまった場合を想定して説明す
る。
The subscriber address duplication detection operation after adding the above functions is based on the assumption that the LAN terminal (5a) in Figure 4 is added to the LAN system, and the subscriber address is mistakenly the same as the subscriber address of the line terminal (7a). The following explanation assumes that the settings have already been made.

ここで、LAN m末(5a)の加入者アドレスをAA
AA、MACアドレスを102030777771、回
線端末(7a)の加入者アドレスをAAAA、端末アダ
プタ(6)のMACアドレスを1020301i656
50とする。既設の回線端末(7a)が使用を開始する
と、モデムインタフェース信号のオン状態により端末ア
ダプタ(6)が始業を検知し、第1図に示すフォーマッ
トの端末始業パケットをネットワーク監視装置(8)宛
に伝送路に送出する。この場合、端末始業パケットの自
MACアドレス= 102030666666、加入者
アドレス= AAAAがセットされている。
Here, the subscriber address of LAN m terminal (5a) is set to AA.
AA, MAC address is 102030777771, subscriber address of line terminal (7a) is AAAA, MAC address of terminal adapter (6) is 1020301i656
50. When the existing line terminal (7a) starts to be used, the terminal adapter (6) detects the start of operation based on the ON state of the modem interface signal, and sends a terminal start-up packet in the format shown in Figure 1 to the network monitoring device (8). Send it to the transmission path. In this case, the terminal start packet's own MAC address = 102030666666 and subscriber address = AAAA are set.

端末始業パケットを受信したネットワーク監視装置(8
)は第3図に示す処理を行う。この場合、回線端末(7
a)は何度も使用されていると考えられるので「アドレ
ステーブルに該当加入者アドレスが登録済みか」、「ア
ドレステーブルのMACアドレスと自MACアドレスが
一致しているか」の判定について“YES”の処理にな
る(ステップ51〜53)。なお、ステップS2におい
てNOと判定された時、アドレステーブルに加入者アド
レスと自アドレスの対を登録する(ステップS5)。
The network monitoring device (8) that received the terminal start packet
) performs the processing shown in FIG. In this case, the line terminal (7
Since a) is considered to have been used many times, select ``YES'' to determine whether the subscriber address has been registered in the address table and whether the MAC address in the address table matches the own MAC address. (steps 51 to 53). Note that when the determination in step S2 is NO, the pair of subscriber address and own address is registered in the address table (step S5).

方、増設のLAN端末(5a)が使用を開始すると、自
MACアドレス= 102030777771、加入者
アドレス重複AAAの端末始業パケットを送出する。こ
の端末始業パケットを受信したネットワーク監視装置(
8)は、第3図の処理に関して、「アドレステーブルに
該当加入者アドレスが登録済みか」の判定について“Y
ES″  「アドレステーブルのMACアドレスと自M
ACアドレスが一致しているか」の判定について“NO
”となる。即ち、加入者アドレスの重複が検出される(
ステップ51〜S4)。
On the other hand, when the additional LAN terminal (5a) starts to be used, it sends out a terminal start packet with its own MAC address = 102030777771 and subscriber address duplication AAA. The network monitoring device that received this terminal start packet (
8), regarding the process shown in Figure 3, the determination of whether the corresponding subscriber address has been registered in the address table is ``Y''.
ES'' MAC address in the address table and own M
Regarding the determination of “Do the AC addresses match?” “NO”
”.In other words, duplication of subscriber addresses is detected (
Steps 51 to S4).

なお、上記実施例では、アドレス重複を検出した場合に
メツセージを表示する例を示したが、ブザー等を鳴動さ
せる方法でもよい。また、アドレスが重複している各装
置に異常メツセージを通知することも可能である。
In addition, in the above embodiment, an example was shown in which a message is displayed when address duplication is detected, but a method of sounding a buzzer or the like may also be used. It is also possible to notify each device with an overlapping address of an abnormal message.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、LANシステムに接
続された各端末の使用開始時にアドレス重複の有無を検
出するようにしたので、誤接続等の混乱を未然に防ぎ、
信頼性の高いLANシステムを構築できるという効果が
ある。
As described above, according to the present invention, since the presence or absence of address duplication is detected when each terminal connected to the LAN system starts using it, confusion such as erroneous connections can be prevented.
This has the effect of making it possible to construct a highly reliable LAN system.

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

第1図、第2図、第3図はこの発明の一実施例に関する
もので、第1図は端末始業パケットのフォーマット図、
第2図はアドレステーブル図、第3図は端末始業パケッ
ト受信時のネットワーク監視装置の処理内容を示すフロ
ーチャート、第4図はLANシステム例を示す構成図で
ある。 図中、 1)・・・リング形LAN 。 2) 、 (3)・・・バス形LAN 。 4a) 、 (4b)・・・リング−バス結合装置、5
a、) 〜(5c) −LAN端末、6)・・・端末ア
ダプタ、 7a)〜(7C)・・・回線端末、 8)・・・ネットワーク監視装置。 なお、各図中、同一符号は同一または相当部分を示す。
FIGS. 1, 2, and 3 relate to an embodiment of the present invention, and FIG. 1 is a format diagram of a terminal starting packet;
FIG. 2 is an address table diagram, FIG. 3 is a flowchart showing the processing contents of the network monitoring device when a terminal start packet is received, and FIG. 4 is a configuration diagram showing an example of a LAN system. In the figure: 1)...Ring type LAN. 2), (3)...Bus type LAN. 4a), (4b)...Ring-bus coupling device, 5
a,) ~ (5c) - LAN terminal, 6)...terminal adapter, 7a) ~ (7C)... line terminal, 8)... network monitoring device. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] LAN内の各装置の運用状態を監視するネットワーク監
視装置を有するLANシステムにおいて、LANに加入
する端末に、使用開始時に自加入者アドレスを含むパケ
ットを上記ネットワーク監視装置宛に送信する手段を備
えると共に、上記ネットワーク監視装置に、上記加入者
アドレスとパケット伝送に必須のMACアドレスとの対
によって構成するアドレステーブルを格納する手段と、
上記パケットを受信したとき、上記アドレステーブルを
調べ、同一加入者アドレスが存在しない場合には受信パ
ケットに含まれる加入者アドレスとMACアドレスとの
対をテーブルに追加登録する手段と、上記アドレステー
ブルに同一加入者アドレスが存在した場合に対のMAC
アドレスにより加入者アドレス重複か否かを判定する手
段とを具備したことを特徴とするアドレス重複検出方式
In a LAN system having a network monitoring device that monitors the operating status of each device in the LAN, a terminal joining the LAN is provided with means for transmitting a packet containing its own subscriber address to the network monitoring device at the time of start of use. , means for storing, in the network monitoring device, an address table constituted by pairs of the subscriber address and a MAC address essential for packet transmission;
means for checking the address table when the packet is received and, if the same subscriber address does not exist, additionally registering the pair of subscriber address and MAC address included in the received packet in the table; Pair MAC when the same subscriber address exists
1. An address duplication detection method, comprising: means for determining whether subscriber addresses are duplications based on addresses.
JP2007516A 1990-01-17 1990-01-17 System for detecting duplicate address Pending JPH03212038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007516A JPH03212038A (en) 1990-01-17 1990-01-17 System for detecting duplicate address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007516A JPH03212038A (en) 1990-01-17 1990-01-17 System for detecting duplicate address

Publications (1)

Publication Number Publication Date
JPH03212038A true JPH03212038A (en) 1991-09-17

Family

ID=11667937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007516A Pending JPH03212038A (en) 1990-01-17 1990-01-17 System for detecting duplicate address

Country Status (1)

Country Link
JP (1) JPH03212038A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493340B1 (en) 1997-09-29 2002-12-10 Nec Corporation Automatic network-address-duplication detection method and device
US7246272B2 (en) 2004-01-16 2007-07-17 International Business Machines Corporation Duplicate network address detection
JP2008011314A (en) * 2006-06-30 2008-01-17 Oki Electric Ind Co Ltd Method for generating device identification code in wireless communication system
US8547826B2 (en) 2009-09-04 2013-10-01 Fujitsu Limited Monitoring apparatus and monitoring method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493340B1 (en) 1997-09-29 2002-12-10 Nec Corporation Automatic network-address-duplication detection method and device
US7246272B2 (en) 2004-01-16 2007-07-17 International Business Machines Corporation Duplicate network address detection
JP2008011314A (en) * 2006-06-30 2008-01-17 Oki Electric Ind Co Ltd Method for generating device identification code in wireless communication system
JP4709699B2 (en) * 2006-06-30 2011-06-22 Okiセミコンダクタ株式会社 Method for generating device identification code in wireless communication system
US8547826B2 (en) 2009-09-04 2013-10-01 Fujitsu Limited Monitoring apparatus and monitoring method

Similar Documents

Publication Publication Date Title
EP0469812B1 (en) Detection of duplicate alias addresses
US6493340B1 (en) Automatic network-address-duplication detection method and device
US20050286510A1 (en) Packet transfer apparatus
EP0637415B1 (en) System and method for automatic segment resolution on a local area network
US6421317B1 (en) Method and apparatus for an automatic load balancing and back-up of a multi-users network
US5283571A (en) Testing a communications network for duplicate station addresses
WO2007107624A2 (en) Method for the resolution of addresses in a communication system
JP3407717B2 (en) LAN communication path control system and control method
JPH03212038A (en) System for detecting duplicate address
JP4387937B2 (en) Telephone system and switching system
JP2001230789A (en) Method for detecting duplicate ip address in tcp/ip network
JP2504366B2 (en) Fault tolerant system
JP3432449B2 (en) Communication control apparatus and method
JPS60246148A (en) Data transmission control system
JPH06268650A (en) Network repeater
JPH10173665A (en) Virtual radio lan system
JPH08223199A (en) Network management method
JP3459046B2 (en) Media converter with test manager, fault detection system and fault detection method
JP3025021B2 (en) Data communication system and communication terminal device
JP2000059418A (en) Communication control method and communication controller
JPH11112514A (en) Network address monitor
JPH06338883A (en) Double address check method for mac bridge device
JPH0738598A (en) Network adapter group managing device
JPH0273741A (en) Data communication monitor processing device
JP2001060959A (en) High reliability system