JPH07240751A - Overlapped address check system - Google Patents

Overlapped address check system

Info

Publication number
JPH07240751A
JPH07240751A JP6028749A JP2874994A JPH07240751A JP H07240751 A JPH07240751 A JP H07240751A JP 6028749 A JP6028749 A JP 6028749A JP 2874994 A JP2874994 A JP 2874994A JP H07240751 A JPH07240751 A JP H07240751A
Authority
JP
Japan
Prior art keywords
address
duplicate
xid
command
mac
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
JP6028749A
Other languages
Japanese (ja)
Inventor
Kazuaki Hashimoto
和明 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Kyushu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Kyushu Ltd filed Critical NEC Software Kyushu Ltd
Priority to JP6028749A priority Critical patent/JPH07240751A/en
Publication of JPH07240751A publication Critical patent/JPH07240751A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To perform the check of an MAC address where LLC sub-layers are overlapped, regardless of the control system of the MAC sub-layer in a LAN. CONSTITUTION:The subscription/connection of a LAN is performed, an XID command where a group address is preliminarily set is transmitted an opposite party and the XID command where the MAC address of its own device is set is transmitted to a transmission origin, in order to confirm whether other device having the same MAC address as its own device already exists or not (S21). The opposite party receiving the MIXD command transmits an XID response when the MAC address of the transmission origin is the same as the MAC address of its own device (D21, 22). Because the transmission side of the XID command receives two times XID responses of the XID response (S24) that its own device (LLC1) transmits and the XID response that the opposite device (LLC2) transmit, the transmission side cancels the both of the responses and leaves from the LAN because the device having the same MAC address as its own device already exists (S26).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は重複アドレスチェック方
式、特にLANに新しい装置を加入・接続するとき自装
置と同じメディアアクセス制御(以下MACという)ア
ドレスを持った装置が存在するかをチェックするための
重複アドレスチェック方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplicate address check method, and in particular, when a new device is added to or connected to a LAN, it is checked whether or not a device having the same media access control (hereinafter referred to as MAC) address exists. Duplicate address check method for

【0002】[0002]

【従来の技術】従来、この種の重複アドレスチェック方
式は、LANのモデルではISOで標準化されたOSI
参照モデルのデータリンク層が論理リンク制御サブ層
(LLCサブ層)とMACサブ層に分けられていて、L
LCサブ層はフレームの送受の制御を行ない、MACサ
ブ層は共通伝送路にデータを送出する際の制御および伝
送路の異常を検出するようになっていて、LAN上に装
置または局を新規に加入・接続する場合などで、LLC
サブ層が重複アドレスのチェックを行なうとき、チェッ
クを行う側は相手装置と自装置とのMACアドレスに自
装置のMACアドレスを設定した重複アドレスチェック
コマンドを発行し、同一MACアドレスの相手装置から
のレスポンスの有無により、重複アドレスのチェックを
行なうようになっている。
2. Description of the Related Art Conventionally, this type of duplicate address check method has been standardized by ISO in the LAN model as OSI.
The data link layer of the reference model is divided into a logical link control sublayer (LLC sublayer) and a MAC sublayer.
The LC sub-layer controls transmission / reception of frames, and the MAC sub-layer controls the transmission of data to a common transmission line and detects an abnormality in the transmission line. A device or station is newly added to the LAN. LLC when subscribing / connecting
When the sub-layer checks a duplicate address, the checking side issues a duplicate address check command in which the MAC address of the own device is set to the MAC address of the other device and the own device, and the other device with the same MAC address A duplicate address is checked depending on the presence or absence of a response.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の重複ア
ドレスチェック方式は、MACサブ層がループバック制
御を行なっていない場合には問題がないが、ループバッ
ク制御を行なっている場合には、LLCサブ層が相手装
置と自装置とのMACアドレスに自装置のMACアドレ
スを設定して重複アドレスのチェックコマンドを発行す
ると、ループバックによるフレームと相手装置からのレ
スポンスコマンドのフレームとの区別ができない場合が
生じ、MACサブ層からのチェックコマンドの発行を禁
止しているので、LLCサブ層は重複アドレスのチェッ
クを行なうことができないという問題点がある。
The above-mentioned conventional duplicate address check method has no problem when the MAC sublayer does not perform loopback control, but when the MAC sublayer performs loopback control, the LLC When the sub-layer sets the MAC address of its own device to the MAC address of the other device and issues a duplicate address check command, the frame due to loopback cannot be distinguished from the frame of the response command from the other device. However, since the check command is prohibited from being issued from the MAC sublayer, the LLC sublayer cannot check duplicate addresses.

【0004】[0004]

【課題を解決するための手段】本発明の重複アドレスチ
ェック方式は、LANに自装置と同じMACアドレスを
持った装置が存在するかをチェックするためのISO標
準の重複アドレスチェック方式において、論理リンク制
御サブ層は、送信先アドレスに予め設定したそのLAN
に特有のグループアドレスを、送信元アドレスに自MA
Cアドレスを持つ制御部のPビットを“1”とした重複
アドレスチェックコマンドを送出させる重複アドレスチ
ェックコマンド送出手段と、重複アドレスチェックコマ
ンドを送出してから重複アドレスチェックレスポンスの
2回目が規定時間内に受信できないとき、再度重複アド
レスチェックコマンドを送出し、規定回数の重複アドレ
スチェックコマンドを送出してもそれらの重複アドレス
チェックレスポンスの2回目が受信できないときは、L
AN上に重複アドレスの既存装置が存在せず、2回目の
重複アドレスチェックレスポンスを受信したときはLA
N上に重複アドレスの既存装置が存在すると認識する判
定手段と、前記重複アドレスチェックコマンドを受信し
たとき送信元アドレスが自MACアドレスと異なるとき
はこのコマンドを破棄し、送信元アドレスが自MACア
ドレスと同じときは、送信先アドレスに前記グループア
ドレスを、送信元アドレスに自MACアドレスを持つ制
御部のFビットを“1”にした重複アドレスチェックレ
スポンスを送出させる重複アドレスチェックレスポンス
送出手段とを有することにより構成される。
The duplicate address check method of the present invention is a logical link in the ISO standard duplicate address check method for checking whether or not a device having the same MAC address as its own device exists in a LAN. The control sub-layer is the LAN that is preset to the destination address.
Group address unique to the
The duplicate address check command sending means for sending the duplicate address check command in which the P bit of the control unit having the C address is "1", and the second duplicate address check response after sending the duplicate address check command is within the specified time. When the duplicate address check command is not received, the duplicate address check command is sent again. Even if the duplicate address check command is sent a prescribed number of times and the second duplicate address check response cannot be received, L
If there is no existing device with the duplicate address on the AN and LA receives the second duplicate address check response, LA
A determination means for recognizing that an existing device with a duplicate address exists on N, and discards this command if the source address is different from the own MAC address when the duplicate address check command is received, and the source address is the own MAC address. When the same as the above, it has a duplicate address check response sending means for sending the duplicate address check response in which the group address is set as the destination address and the F bit of the control unit having the own MAC address as the source address is set to "1". It is composed of

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例においてLLCサ
ブ層が重複アドレスチェックで使用するコマンドのデー
タ構造を示し、図1(a)は重複アドレスチェックを行
なう側の重複アドレスチェックコマンド(XID−PD
U)1のデータ構造であり、図1(b)は重複アドレス
チェックを行なわれる側の重複アドレスチェックレスポ
ンス(XIDRSP−PDU)2のデータ構造を示して
いる。図1においてDAは一般には相手アドレスを設定
するが、重複アドレスチェックではグループアドレスを
使用し、SAは送信元アドレスで自局MACアドレスを
使用するものとする。また、DSAPは相手先サップア
ドレス、SSAPは送信元サップアドレスで、送信元は
何れも00Hを、相手先はそれぞれ00H,01Hを使
用する。制御部はISOで定めている制御フィールドで
ある。
FIG. 1 shows a data structure of a command used by the LLC sublayer in the duplicate address check in one embodiment of the present invention. FIG. 1A shows a duplicate address check command (XID- PD
FIG. 1B shows the data structure of the duplicate address check response (XIDRSP-PDU) 2 on the side where the duplicate address check is performed. In FIG. 1, the DA generally sets the partner address, but the group address is used in the duplicate address check, and the SA uses the own station MAC address as the source address. Further, DSAP is a destination sup address and SSAP is a source sup address. The source uses 00H and the destination uses 00H and 01H, respectively. The control unit is a control field defined by ISO.

【0007】図2はXID−PDUを送出し、自装置と
同じMACアドレスを持った装置が他に存在しなかった
場合のシーケンス図である。図2を参照してこの場合の
シーケンスの説明をする。図2においてLLCIおよび
MAC1は重複アドレスチェックを行なう側のLLCサ
ブ層およびMACサブ層であり、MAC2およびLLC
2は重複アドレスチェックが行なわれる側のMACサブ
層およびLLCサブ層である。
FIG. 2 is a sequence diagram when XID-PDU is transmitted and there is no other device having the same MAC address as the own device. The sequence in this case will be described with reference to FIG. In FIG. 2, LLCI and MAC1 are the LLC sublayer and MAC sublayer on the side that performs duplicate address checking, and MAC2 and LLC
Reference numeral 2 denotes the MAC sublayer and the LLC sublayer on the side where the duplicate address check is performed.

【0008】重複アドレスチェックを行う側では、LA
Nに加入・接続するとき等、自装置と同じMACアドレ
スを持った装置が既に存在するかどうかを確認するた
め、図1(a)に示すXID−PDUのDAにグループ
アドレスを設定し、SAには自装置のMACアドレスを
設定する。DAに設定するグループアドレスはLANに
接続可能な装置のMACアドレスとは異なる別に設定し
た16進数・12桁の値とする。LLC1はまず制御部
のPビットに“1”を設定した重複アドレスチェックコ
マンド(XID)を送出する(S11)。次いでLLC
1はMAC1のループバック制御によりXIDを受信し
(S12)、このXID受信に対するXIDレスポンス
(XIDRSP−PDU)を発行し(S13)、再びル
ープバックとしてXIDレスポンスを受信するが、第1
回目のXIDレスポンスとして破棄する(S14)。L
LC1は1回目のXIDレスポンスの破棄後に2回目の
XIDレスポンスの受信を待つが、来ないので規定時間
後、再度XIDを発行し(S15)、前回のS11以降
の処理を繰返す。再度のXIDの発行後も規定時間内に
2回のXIDレスポンスを受信しない場合は、規定回数
XIDの再発行を行ない2回のXIDレスポンスの受信
が得られなければ、自装置と同じMACアドレスを持っ
た別の装置は存在しないとして、そのままLANに加入
・接続する(S16)。
On the side performing the duplicate address check, LA
In order to confirm whether or not a device having the same MAC address as its own device already exists when joining / connecting to N, the group address is set in the DA of the XID-PDU shown in FIG. Is set to the MAC address of its own device. The group address set in DA is a hexadecimal 12-digit value set separately from the MAC address of a device connectable to the LAN. The LLC1 first sends a duplicate address check command (XID) in which the P bit of the control unit is set to "1" (S11). Then LLC
1 receives the XID by the loopback control of MAC1 (S12), issues the XID response (XIDRSP-PDU) for this XID reception (S13), and receives the XID response as the loopback again.
It is discarded as the XID response for the second time (S14). L
The LC1 waits for the reception of the second XID response after discarding the first XID response, but since it has not arrived, the XID is issued again after a specified time (S15), and the processing from S11 onwards is repeated. If the XID response is not received twice within the specified time even after the XID is issued again, the same MAC address as that of the own device is used unless the XID is reissued the specified number of times and the XID response is not received twice. Assuming that there is no other device that has it, it joins and connects to the LAN as it is (S16).

【0009】一方、MAC1から伝送路に送出されたX
ID−PDUにDAグループアドレスが指定してあるこ
とから何れのMAC2もこのXID−PDUを受信して
それぞれのLLC2に渡すが、LLC2はXID−PD
UのSAが自MACアドレスと異なることからこのXI
D受信を破棄し(D1)、XIDレスポンスを送出しな
い。MAC1から送出された再度以降のXID−PDU
についても同様に破棄する。
On the other hand, the X transmitted from the MAC1 to the transmission path
Since the DA group address is specified in the ID-PDU, any MAC2 receives this XID-PDU and passes it to each LLC2.
Since the SA of U is different from its own MAC address, this XI
D reception is discarded (D1), and XID response is not sent. Subsequent XID-PDU transmitted from MAC1
Similarly, discard.

【0010】図3はXID−PDUを送出し、自装置と
同じMACアドレスを持った装置が他に存在した場合の
シーケンス図である。図3を参照してこの場合のシーケ
ンスの説明をする。図3におけるLLC1,MAC1,
MAC2およびLLC2は図2の場合と同じであり、L
LC1から送出するXID−PDUの内容も図2の場合
と同じである。LLC1はまず、XIDを送出する(S
21)。次いでLLC1はXIDを受信(S22)、X
IDレスポンス(XIDRSP−PDU)を発行し(S
23)、ループバックされたXIDレスポンスを受信す
るが、第1回目のXIDレスポンスとして破棄する(S
24)。そこでLLC1は2回目のXIDレスポンスが
規定時間内に来なければ、再度XIDを発行する準備を
するが、今回は2回目のXIDレスポンスを受信する
(S25)ので、自装置と同じMACアドレスを持った
装置が既に存在するとして、LANから離脱する(S2
6)。
FIG. 3 is a sequence diagram when an XID-PDU is transmitted and there is another device having the same MAC address as the own device. The sequence in this case will be described with reference to FIG. LLC1, MAC1, in FIG.
MAC2 and LLC2 are the same as in FIG.
The contents of the XID-PDU sent from LC1 are the same as in the case of FIG. LLC1 first sends the XID (S
21). Then, LLC1 receives the XID (S22), X
Issue an ID response (XIDRSP-PDU) (S
23), the looped back XID response is received, but is discarded as the first XID response (S
24). Therefore, LLC1 prepares to issue the XID again if the second XID response does not come within the specified time, but this time it receives the second XID response (S25), so it has the same MAC address as its own device. Assuming that the device already exists, the device leaves the LAN (S2
6).

【0011】一方、MAC1から伝送路に送出されたX
ID−PDUは、何れのMAC2もこのXID−PDU
を受信して、それぞれのLL2に渡すが(D21)、何
れかのLLC2では相手先アドレスSAに自装置と同じ
MACアドレスを持ったPビット“1”のXIDを受信
したことにより、重複したMACアドレスのXIDであ
ると認識し、DAにグループアドレスを、SAに自装置
のMACアドレスを設定し、Fビット“1”のXIDレ
スポンスを送出する(D22)。LLC2ではMAC2
でループバックされたこのXIDレスポンスの受信(D
23)とMAC1から送出されたXIDレスポンスの受
信(D24)とを得るが何れも破棄する。
On the other hand, X transmitted from MAC1 to the transmission line
The ID-PDU is the XID-PDU of any MAC2.
Is received and passed to each of the LL2s (D21), but one of the LLCs 2 receives the XID of the P bit “1” having the same MAC address as the own device at the destination address SA, and thus the duplicate MAC The XID of the address is recognized, the group address is set in DA, the MAC address of the own device is set in SA, and the XID response of F bit "1" is sent (D22). MAC2 for LLC2
Received this XID response looped back in (D
23) and the reception of the XID response transmitted from MAC1 (D24) are obtained, but both are discarded.

【0012】[0012]

【発明の効果】以上説明したように本発明は、予め設定
したグループアドレスを用いて重複アドレスチェックを
行うことにより、MACサブ層の制御方式に関りなく、
重複アドレスチェックのコマンドの送受を行なえるよう
になり、同一伝送路上にある自装置と同じMACアドレ
うを持つ装置の存在を調べることができるという効果が
ある。
As described above, according to the present invention, a duplicate address check is performed using a preset group address, so that regardless of the control method of the MAC sublayer,
The duplication address check command can be transmitted / received, and the presence of a device having the same MAC address as its own device on the same transmission path can be checked.

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

【図1】本発明の一実施例に用いられる重複アドレスチ
ェックコマンドのデータ構造を示す図である。
FIG. 1 is a diagram showing a data structure of a duplicate address check command used in an embodiment of the present invention.

【図2】図1の重複アドレスチェックコマンドを用いた
重複MACアドレスがない場合の処理のシーケンス図で
ある。
FIG. 2 is a sequence diagram of processing using the duplicate address check command of FIG. 1 when there is no duplicate MAC address.

【図3】図1の重複アドレスチェックコマンドを用いた
重複MACアドレスがある場合の処理のシーケンス図で
ある。
FIG. 3 is a sequence diagram of processing when there is a duplicate MAC address using the duplicate address check command of FIG.

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

1 重複アドレスチェックコマンド(XID−PD
U) 2 重複アドレスチェックレスポンス(XIDRSP
−PDU)
1 Duplicate address check command (XID-PD
U) 2 Duplicate address check response (XIDRSP
-PDU)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 LANに自装置と同じメディアアクセス
制御(以下MACという)アドレスを持った装置が存在
するかをチェックするためのISO標準の重複アドレス
チェック方式において、論理リンク制御サブ層は、送信
先アドレスに予め設定したそのLANに特有のグループ
アドレスを、送信元アドレスに自MACアドレスを持つ
制御部のPビットを“1”とした重複アドレスチェック
コマンドを送出させる重複アドレスチェックコマンド送
出手段と、重複アドレスチェックコマンドを送出してか
ら重複アドレスチェックレスポンスの2回目が規定時間
内に受信できないとき、再度重複アドレスチェックコマ
ンドを送出し、規定回数の重複アドレスチェックコマン
ドを送出してもそれらの重複アドレスチェックレスポン
スの2回目が受信できないときは、LAN上に重複アド
レスの既存装置が存在しないと認識し、2回目の重複ア
ドレスチェックレスポンスを受信したときはLAN上に
重複アドレスの既存装置が存在すると認識する判定手段
と、前記重複アドレスチェックコマンドを受信したとき
送信元アドレスが自MACアドレスと異なるときはこの
コマンドを破棄し、送信元アドレスが自MACアドレス
と同じときは、送信先アドレスに前記グループアドレス
を、送信元アドレスに自MACアドレスを持つ制御部の
Fビットを“1”にした重複アドレスチェックレスポン
スを送出させる重複アドレスチェックレスポンス送出手
段とを有することを特徴とする重複アドレスチェック方
式。
1. In the ISO standard duplicate address check method for checking whether or not a device having the same media access control (hereinafter referred to as MAC) address as its own device exists in a LAN, the logical link control sublayer sends a message. A duplicate address check command sending means for sending a duplicate group address check command in which a group address peculiar to the LAN, which is set in advance as a destination address, and a P bit of a control unit having a source MAC address as a source address is set to "1", If the second duplicate address check response is not received within the specified time after the duplicate address check command is sent, even if the duplicate address check command is sent again and the duplicate address check command is sent the specified number of times The second check response is received When it is not possible, it is recognized that there is no existing device with the duplicate address on the LAN, and when the second duplicate address check response is received, it is judged that there is an existing device with the duplicate address on the LAN. When a duplicate address check command is received, this command is discarded if the source address is different from the own MAC address, and if the source address is the same as the own MAC address, the group address is set as the destination address and the source address is set as the source address. A duplicate address check response sending means for sending a duplicate address check response in which the F bit of the control unit having its own MAC address is set to "1".
JP6028749A 1994-02-28 1994-02-28 Overlapped address check system Pending JPH07240751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6028749A JPH07240751A (en) 1994-02-28 1994-02-28 Overlapped address check system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6028749A JPH07240751A (en) 1994-02-28 1994-02-28 Overlapped address check system

Publications (1)

Publication Number Publication Date
JPH07240751A true JPH07240751A (en) 1995-09-12

Family

ID=12257064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6028749A Pending JPH07240751A (en) 1994-02-28 1994-02-28 Overlapped address check system

Country Status (1)

Country Link
JP (1) JPH07240751A (en)

Cited By (1)

* 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

Cited By (1)

* 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

Similar Documents

Publication Publication Date Title
US5590285A (en) Network station with multiple network addresses
JP3320297B2 (en) Operation mode establishment / maintenance method and station for connecting to port of LAN switch
JPH07240751A (en) Overlapped address check system
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
Cisco IBM Network Protocol Translation Commands

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020226