JP3033710B2 - MAC address changing device - Google Patents

MAC address changing device

Info

Publication number
JP3033710B2
JP3033710B2 JP9136829A JP13682997A JP3033710B2 JP 3033710 B2 JP3033710 B2 JP 3033710B2 JP 9136829 A JP9136829 A JP 9136829A JP 13682997 A JP13682997 A JP 13682997A JP 3033710 B2 JP3033710 B2 JP 3033710B2
Authority
JP
Japan
Prior art keywords
mac address
communication
computer system
information
communication state
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 - Lifetime
Application number
JP9136829A
Other languages
Japanese (ja)
Other versions
JPH10327181A (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.)
NEC Software Kyushu 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 JP9136829A priority Critical patent/JP3033710B2/en
Publication of JPH10327181A publication Critical patent/JPH10327181A/en
Application granted granted Critical
Publication of JP3033710B2 publication Critical patent/JP3033710B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はMACアドレス変更
装置に関し、特にMACアドレスを動的に獲得するプロ
トコル等を持たない通信プロトコルでLANに接続され
ているコンピュータシステムのMACアドレス変更装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a MAC address changing device, and more particularly to a MAC address changing device of a computer system connected to a LAN by a communication protocol having no protocol for dynamically acquiring a MAC address.

【0002】[0002]

【従来の技術】近年、通信プロトコルのオープン化に伴
ない.OSIや事実上の業界標準であるTCP/IPプ
ロトコルによりコンピュータを接続する場合が増えてい
る。
2. Description of the Related Art In recent years, with the opening of communication protocols. Computers are increasingly connected using OSI or the de facto industry standard TCP / IP protocol.

【0003】これらの通信プロトコルをLANに適用す
る場合、OSI階層モデルの第2層に相当するデータリ
ンク層のメデイアアクセスコントロール(MAC)副層
のアドレスであるMACアドレスは、上位プロトコルア
ドレスからMACアドレスを特定するARP(Adre
ss Resolution Protocol)やE
S−IS(Endsystem−Intermedia
tesystem)等の通信プロトコルや、特開平07
−303106号公報に記載のLAN接続機器発見装置
等により自動的に獲得されたり管理されたりしている。
When these communication protocols are applied to a LAN, the MAC address, which is the address of the media access control (MAC) sub-layer of the data link layer corresponding to the second layer of the OSI hierarchical model, is calculated from the upper protocol address to the MAC address. ARP (Address
ss Resolution Protocol) or E
S-IS (Endsystem-Intermedia)
communication system, such as communication system,
No. 303106, which is automatically acquired and managed by a LAN connection device discovery apparatus and the like.

【0004】ところが、上記のような通信プロトコルや
装置を持たないコンピュータ間の通信では、相手コンピ
ュータシステムの識別をMACアドレスで行なうため
に、予め、通信を行なう前に相手コンピュータシステム
のMACアドレスをマニュアルで登録する必要があっ
た。
However, in communication between computers having no communication protocol or device as described above, in order to identify a partner computer system by a MAC address, the MAC address of the partner computer system must be manually set before performing communication. It was necessary to register at.

【0005】このような技術が、特開平03−1231
37号公報に開示されている。この技術によれば、不揮
発性メモリに相手コンピュータのMACアドレスをマニ
ュアル登録しておき、装置の初期化時毎に、ルーテイン
グテーブルに展開して、この展開されたMACアドレス
を通信時に使用している。
[0005] Such a technique is disclosed in Japanese Patent Laid-Open No. 03-1231.
No. 37 is disclosed. According to this technique, the MAC address of the partner computer is manually registered in the nonvolatile memory, and is developed in a routing table every time the apparatus is initialized, and the developed MAC address is used for communication. I have.

【0006】そこで、このような技術により登録された
MACアドレスの変更を行なう場合には不揮発性メモリ
に登録されている変更対象のMACアドレスを再登録し
た後、装置の初期化を行なって変更されたMACアドレ
スをルーテイングテーブルに展開して使用することとな
る。
To change the MAC address registered by such a technique, the MAC address to be changed registered in the non-volatile memory is re-registered, and then the device is initialized to change the MAC address. The MAC address thus developed is used in the routing table.

【0007】[0007]

【発明が解決しようとする課題】上述した従来のMAC
アドレス登録方式では、変更登録されたMACアドレス
を使用しようとするときには、変更されたMACアドレ
スをルーテイングテーブルに展開せねばならず、そのた
めに、コンピュータシステムの運用を一時停止して再初
期化を行なわなければならないという欠点を有してい
る。
The conventional MAC described above
In the address registration method, when using a MAC address that has been changed and registered, the changed MAC address must be developed in a routing table. For this reason, the operation of the computer system is temporarily suspended and re-initialization is performed. It has the disadvantage of having to be done.

【0008】本発明の目的は、相手コンピュータシステ
ムのMACアドレスが変更されたときに、コンピュータ
システムの運用を一時停止することなく、無通信時にM
ACアドレスを変更し、相手コンピュータシステムと通
信が行なえるMACアドレス変更装置を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a computer system in which communication is not performed without a pause when the MAC address of a partner computer system is changed without suspending the operation of the computer system.
An object of the present invention is to provide a MAC address changing device which can change an AC address and communicate with a partner computer system.

【0009】[0009]

【課題を解決するための手段】第1の発明のMACアド
レス変更装置は、通信相手であるコンピュータシステム
の識別子とそのMACアドレスとを記憶する不揮発性メ
モリである第1の記憶手段と、運用時に前記コンピュー
タシステムの識別子とそのMACアドレスと自コンピュ
ータシステムとの通信状態を示す通信状態情報とを記憶
する第2の記憶手段と、前記MACアドレス更新情報の
入力とその対応情報とを出力表示制御するMACアドレ
ス入力手段と、第1の記憶手段を更新する第1の更新手
段と、第2の記憶手段を更新する第2の更新手段と、第
1の記憶手段と第2の記憶手段とを参照し入力された前
記MACアドレス更新情報の正当性と更新対象コンピュ
ータシステムの通信状態情報とを確認する通信状態確認
手段と、前記通信状態確認手段による更新情報の正当性
の確認結果が不正のときには前記MACアドレス入力手
段に不正情報を表示させ前記通信状態確認手段による更
新情報の正当性の確認結果が正当でかつ通信状態情報の
確認結果が無通信のときには前記第1および第2の更新
手段により前記第1および第2の記憶手段にあるMAC
アドレスの更新を行なわせ前記通信状態確認手段による
更新情報の正当性の確認結果が正当でかつ通信状態情報
の確認結果が通信中のときには前記MACアドレス入力
手段にMACアドレス更新不可を表示させるMACアド
レス変更制御手段とを含んで構成されている。
According to a first aspect of the present invention, there is provided a MAC address changing apparatus comprising: a first storage unit which is a nonvolatile memory for storing an identifier of a computer system as a communication partner and its MAC address; Second storage means for storing an identifier of the computer system, its MAC address, and communication status information indicating a communication status with its own computer system; and outputting and controlling input of the MAC address update information and corresponding information. See MAC address input means, first update means for updating the first storage means, second update means for updating the second storage means, first storage means and second storage means Communication status confirmation means for confirming the validity of the input MAC address update information and the communication status information of the computer system to be updated; When the result of the confirmation of the validity of the update information by the status confirmation means is invalid, the invalid information is displayed on the MAC address input means, and the result of the confirmation of the validity of the update information by the communication state confirmation means is valid and the confirmation of the communication state information is performed. When the result is no communication, the MAC stored in the first and second storage means is updated by the first and second update means.
A MAC address for updating the address, and when the result of the confirmation of the validity of the update information by the communication state confirming means is valid and the result of the confirmation of the communication state information is in communication, the MAC address input means displays that the MAC address cannot be updated; And a change control means.

【0010】第2の発明のMACアドレス変更装置は、
第1の発明のMACアドレス変更装置において、通信状
態確認手段は第2の記憶手段の通信状態情報が通信中で
あるときには一定周期で確認動作を繰り返し一定時間経
過後においてもなお通信中であるときには通信状態情報
の確認結果を通信中とすることを特徴としている。
[0010] A MAC address changing apparatus according to a second aspect of the present invention comprises:
In the MAC address changing device according to the first aspect of the invention, the communication state confirmation means repeats the confirmation operation at a fixed cycle when the communication state information of the second storage means is communicating, and is still communicating even after a lapse of a fixed time. It is characterized in that the confirmation result of the communication state information is in communication.

【0011】[0011]

【発明の実施の形態】次に、本発明の第1の実施の形態
について図面を参照して説明する。
Next, a first embodiment of the present invention will be described with reference to the drawings.

【0012】図1は本発明のMACアドレス変更装置の
第1の実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a MAC address changing device according to the present invention.

【0013】第1の実施の形態のMACアドレス変更装
置4は、図1に示すように、コンピュータシステム1内
に構成され、通信相手であるコンピュータシステムの識
別子とそのMACアドレスとを対にして記憶する不揮発
性メモリである通信環境情報フアイル16と、コンピュ
ータシステム1の運用時に通信相手であるコンピュータ
システムの識別子とそのMACアドレスと通信相手であ
るコンピュータと自コンピュータシステムとが通信中で
あるか否かを示す通信状態情報を記憶する管理テーブル
17と、MACアドレスの更新情報の入力とその対応を
表示装置3に出力表示制御するMACアドレス入力部1
1と、通信環境情報フアイル16の登録情報を更新する
登録情報更新部13と、管理テーブル17の情報を更新
する管理テーブル更新部14と、通信環境情報フアイル
16と管理テーブル17とを参照して更新対象とその通
信状態情報とを確認する通信状態確認部15と、MAC
アドレス変更装置4の構成各部を制御するMACアドレ
ス変更制御部12とから構成されている。
As shown in FIG. 1, a MAC address changing device 4 according to the first embodiment is configured in a computer system 1 and stores an identifier of a computer system as a communication partner and its MAC address as a pair. A communication environment information file 16 which is a non-volatile memory, an identifier of a computer system which is a communication partner during operation of the computer system 1, its MAC address, and whether or not the computer being a communication partner is communicating with its own computer system. And a MAC address input unit 1 for controlling the input and update of the MAC address update information to the display device 3 for output display control
1, a registration information updating unit 13 for updating registration information of the communication environment information file 16, a management table updating unit 14 for updating information of the management table 17, and the communication environment information file 16 and the management table 17. A communication status confirmation unit 15 for confirming an update target and its communication status information;
It comprises a MAC address change control unit 12 for controlling each component of the address change device 4.

【0014】なおコンピュータシステム1には、第1の
実施の形態のMACアドレス変更装置4の動作の説明に
直接関係のある機構として通信制御初期化部5と通信制
御部6と、さらに接続機器として入力装置2および表示
装置3のみ図示しているが、これに限定されるものでは
ない。
The computer system 1 has a communication control initialization unit 5 and a communication control unit 6 as mechanisms directly related to the description of the operation of the MAC address changing device 4 of the first embodiment, and further as connection devices. Although only the input device 2 and the display device 3 are shown, the invention is not limited to this.

【0015】図2は第1の実施の形態のMACアドレス
変更装置4の動作の一例を示す流れ図である。図1およ
び2を参照して第1の実施の形態のMACアドレス変更
装置4の動作を説明する。
FIG. 2 is a flowchart showing an example of the operation of the MAC address changing device 4 according to the first embodiment. The operation of the MAC address changing device 4 according to the first embodiment will be described with reference to FIGS.

【0016】コンピュータシステム1の起動時に通信制
御初期化部5は通信環境情報フアイル16から情報を読
み込み、管理テーブル17に展開する。通信制御部6は
展開された管理テーブル17の情報に従って相手コンピ
ュータシステムのMACアドレスを取得しこれにより通
信を制御する。通信に際しては、通信制御部6は管理テ
ーブル17の通信相手コンピュータシステムの通信状態
情報を「無通信」から「通信中」に更新する。
When the computer system 1 is started, the communication control initialization unit 5 reads information from the communication environment information file 16 and expands the information in the management table 17. The communication control unit 6 obtains the MAC address of the partner computer system according to the information in the developed management table 17, and controls communication by using the MAC address. At the time of communication, the communication control unit 6 updates the communication state information of the communication partner computer system in the management table 17 from “no communication” to “communicating”.

【0017】登録MACアドレス情報の変更の必要性が
生じた場合には、コンピュータシステム1の管理者は、
入力装置2によりMACアドレス変更装置4を起動す
る。MACアドレス変更制御部12はこれに応答してM
ACアドレス変更装置4の各部の制御を開始する。
When it becomes necessary to change the registered MAC address information, the administrator of the computer system 1
The input device 2 starts the MAC address changing device 4. The MAC address change control unit 12 responds
Control of each unit of the AC address changing device 4 is started.

【0018】まず、最初にMACアドレス入力部11が
起動され、変更する相手コンピュータシステムの旧のM
ACアドレスと新のMACアドレスとを入力する入力画
面を表示装置3に表示する(ステップ21)。
First, the MAC address input unit 11 is started up, and the old M of the partner computer system to be changed is changed.
An input screen for inputting the AC address and the new MAC address is displayed on the display device 3 (step 21).

【0019】次いで、コンピュータシステム1の管理者
は入力装置2から変更する相手コンピュータシステムの
旧のMACアドレスと新のMACアドレスとをマニュア
ルで入力し、画面に表示する(ステップ22)。
Next, the administrator of the computer system 1 manually inputs the old MAC address and the new MAC address of the partner computer system to be changed from the input device 2 and displays them on the screen (step 22).

【0020】次に、制御は通信状態確認部15に移り、
まず入力情報の正当性のチェックを行ない、ついで、相
手コンピュータシステムの特定と、その通信状態との確
認動作に移る(ステップ23)。
Next, the control shifts to the communication state confirming section 15, and
First, the validity of the input information is checked, and then the operation proceeds to the operation of specifying the partner computer system and confirming its communication state (step 23).

【0021】すなわち、通信状態確認部15は通信環境
情報フアイル16を参照して入力された新MACアドレ
スが通信環境情報フアイル16に存在しないことを確認
する(ステップ23−1)。入力された新MACアドレ
スが通信環境情報フアイル16に存在する、すなわち、
未登録でなければ(ステップ23−1のN枝)、入力さ
れた新MACアドレスは不正MACアドレスと判断され
ステップ27に移る。
That is, the communication state confirmation unit 15 confirms that the input new MAC address does not exist in the communication environment information file 16 with reference to the communication environment information file 16 (step 23-1). The input new MAC address exists in the communication environment information file 16, that is,
If not registered (N branch of step 23-1), the input new MAC address is determined to be an invalid MAC address, and the process proceeds to step 27.

【0022】入力された新MACアドレスが通信環境情
報フアイル16に存在しない、すなわち、未登録であれ
ば(ステップ23−1のY枝)、更に、入力された旧M
ACアドレスの存在を確認する(ステップ23−2)。
入力された旧MACアドレスが通信環境情報フアイル1
6に存在しない、すなわち既登録でなければ(ステップ
23−2のN枝)、入力された旧MACアドレスは不正
MACアドレスと判断されステップ27に移る。
If the input new MAC address does not exist in the communication environment information file 16, that is, if it has not been registered (Y branch in step 23-1), the input old M
The existence of the AC address is confirmed (step 23-2).
The input old MAC address is the communication environment information file 1
6, that is, if it is not registered (N branch of step 23-2), the input old MAC address is determined to be an invalid MAC address, and the process proceeds to step 27.

【0023】ステップ23で不正MACアドレスが入力
されたと判断された場合には(ステップ23−1のN枝
またばステップ23−2のN枝)、ステップ27で、M
ACアドレス入力部11により表示装置3に不正MAC
アドレスが入力された旨のメッセージを出力表示し、処
理を終了する。
If it is determined in step 23 that an invalid MAC address has been input (N branch in step 23-1 or N branch in step 23-2), in step 27, M
Incorrect MAC to display device 3 by AC address input unit 11
A message indicating that the address has been input is output and displayed, and the process ends.

【0024】ステップ23で、入力された旧MACアド
レスおよび新MACアドレスが共に不正なものでないと
きには(ステップ23−1のY枝かつステップ23−2
のY枝)、通信状態確認部15はさらに、通信環境情報
フアイル16により旧MACアドレスに対応する相手コ
ンピュータシステムの識別子を特定し(ステップ23−
3)、これにより相手コンピュータシステムの通信状態
情報を管理テーブル17により取得確認する(ステップ
23−4)。
In step 23, when both the old MAC address and the new MAC address are not invalid (Y branch of step 23-1 and step 23-2)
(Y branch), the communication state confirmation unit 15 further specifies the identifier of the partner computer system corresponding to the old MAC address using the communication environment information file 16 (step 23-).
3) With this, the communication status information of the partner computer system is obtained and confirmed by the management table 17 (step 23-4).

【0025】ステップ23−4で、相手コンピュータシ
ステムの通信状態情報の管理テーブル17による確認結
果が「通信中」であるときには(ステップ23−4のY
枝)、ステップ28に移り、MACアドレス入力部11
により表示装置3に、通信中につきMACアドレスの更
新ができない旨のメッセージを出力表示し、処理を終了
する。
In step 23-4, when the result of the check by the management table 17 of the communication status information of the partner computer system is "communicating" (Y in step 23-4).
Branch), proceeding to step 28, the MAC address input section 11
Displays a message to the effect that the MAC address cannot be updated during communication on the display device 3, and terminates the processing.

【0026】ステップ23−4で、相手コンピュータシ
ステムの通信状態情報の管理テーブル17による確認結
果が「無通信」であるときには(ステップ23−4のN
枝)、ステップ24に移る。
In step 23-4, when the result of the check in the management table 17 of the communication state information of the partner computer system is "no communication" (N in step 23-4).
Branch), and proceed to step 24.

【0027】ステップ24では、登録情報更新部13に
より通信環境情報フアイル16に登録されている相手コ
ンピュータシステムのMACアドレスを旧MACアドレ
スから新MACアドレスに更新し、次いで、ステップ2
5で、管理テーブル更新部14により管理テーブル17
にある相手コンピュータシステムのMACアドレスを旧
MACアドレスから新MACアドレスに更新し、さら
に、ステップ26で、更新が完了した旨のメッセージを
出力表示し、処理を終了する。
At step 24, the registration information updating unit 13 updates the MAC address of the partner computer system registered in the communication environment information file 16 from the old MAC address to the new MAC address.
At 5, the management table updating unit 14 uses the management table 17
Is updated from the old MAC address to the new MAC address, a message indicating that the update is completed is output and displayed in step 26, and the process is terminated.

【0028】このようにして、コンピュータシステム1
が動作中であっても、更新対象のコンピュータシステム
が通信中でなければ、通信環境情報フアイル16および
管理テーブル17のMACアドレスを更新することがで
きるので、通信制御部6は、以降、更新された管理テー
ブル17のMACアドレス情報を使用して相手コンピュ
ータシステムとの通信を行なうことができるようにな
る。
Thus, the computer system 1
Is operating, the MAC address of the communication environment information file 16 and the management table 17 can be updated unless the computer system to be updated is communicating, so that the communication control unit 6 is updated thereafter. The communication with the partner computer system can be performed using the MAC address information of the management table 17.

【0029】また、コンピュータシステム1が再起動の
ときには、通信制御初期化部5により通信環境情報フア
イル16から更新された登録情報を読み込み、管理テー
ブル17に展開されるので、通信制御部6は、以降、更
新された管理テーブル17のMACアドレス情報を使用
して相手コンピュータシステムとの通信を行なうことが
できるようになる。
When the computer system 1 is restarted, the updated registration information is read from the communication environment information file 16 by the communication control initialization unit 5 and loaded into the management table 17, so that the communication control unit 6 Thereafter, communication with the partner computer system can be performed using the updated MAC address information of the management table 17.

【0030】図3はLANの構成の一例が示してある。
すなわち、自コンピュータシステム32と、相手コンピ
ュータシステムA、B、CおよびDがLAN31に接続
されている。そして、相手コンピュータシステムA、
B、CおよびDにはそれぞれMACアドレス「1」、
「2」、「3」および「5」が付与されているものとす
る。
FIG. 3 shows an example of a LAN configuration.
That is, the own computer system 32 and the partner computer systems A, B, C and D are connected to the LAN 31. And the partner computer system A,
B, C and D each have a MAC address “1”,
It is assumed that “2”, “3” and “5” are given.

【0031】このような状態では、自コンピュータシス
テム32の通信環境情報フアイル16には図4(a)に
示すような相手コンピュータシステムの識別子とそのM
ACアドレスその他が登録されている。
In such a state, the communication environment information file 16 of the own computer system 32 stores the identifier of the partner computer system and its M as shown in FIG.
AC address and others are registered.

【0032】自コンピュータシステム32が起動される
と、通信制御初期化部5が通信環境情報フアイル16を
読み込み、管理テーブル17にその情報を展開する(図
5(a))。通信制御部6は管理テーブル17の情報に
基づき相手コンピュータシステムA、B、CおよびDと
の通信を制御する。
When the own computer system 32 is started, the communication control initialization unit 5 reads the communication environment information file 16 and expands the information in the management table 17 (FIG. 5A). The communication control unit 6 controls communication with the partner computer systems A, B, C and D based on the information in the management table 17.

【0033】ここで、相手コンピュータシステムCのM
ACアドレスが「3」から「7」に変更されたとする。
Here, M of the partner computer system C
It is assumed that the AC address has been changed from “3” to “7”.

【0034】この場合、自コンピュータシステム32の
システム管理者はMACアドレス変更装置4を起動す
る。すると、MACアドレス入力部11がまず、起動し
て表示装置3に旧MACアドレスと新MACアドレスと
を入力する画面を表示する。
In this case, the system administrator of the computer system 32 activates the MAC address changing device 4. Then, the MAC address input unit 11 starts up and displays a screen for inputting the old MAC address and the new MAC address on the display device 3.

【0035】自コンピュータシステム管理者は、入力装
置2から旧MACアドレスである「3」と新MACアド
レスである「7」とを入力する。入力が完了すると、通
信状態確認部15により、まず、入力データの正当性を
確認する。
The own computer system administrator inputs the old MAC address “3” and the new MAC address “7” from the input device 2. When the input is completed, the communication status check unit 15 first checks the validity of the input data.

【0036】すなわち、通信状態確認部15は通信環境
情報フアイル16(図4(a))を参照して新MACア
ドレスである「7」が未登録であり、旧MACアドレス
である「3」が既登録であることを確認して入力データ
の正当性が確認される。
That is, the communication status confirmation unit 15 refers to the communication environment information file 16 (FIG. 4A), and the new MAC address “7” has not been registered and the old MAC address “3” has not been registered. The validity of the input data is confirmed by confirming that the data is already registered.

【0037】そこで、次に入力された旧MACアドレス
「3」からMACアドレスを変更する相手コンピュータ
システムの識別子(システム名)がCであることを通信
環境情報フアイル16(図4(a))より特定する。
Therefore, the communication environment information file 16 (FIG. 4A) indicates that the identifier (system name) of the partner computer system whose MAC address is to be changed from the next input old MAC address "3" is C. Identify.

【0038】通信状態確認部15はその特定された識別
子「C」により管理テーブル17(図5(a))から相
手コンピュータシステムCの通信状態情報が「無通信」
であることを確認してMACアドレスの更新動作に移行
する。
The communication status confirmation unit 15 determines that the communication status information of the partner computer system C is "no communication" from the management table 17 (FIG. 5A) based on the specified identifier "C".
After confirming that the MAC address is updated, the flow shifts to a MAC address update operation.

【0039】通信環境情報フアイル16のMACアドレ
スの更新動作は登録情報更新部13により行なわれる。
入力された新MACアドレス「7」を通信環境情報フア
イル16の相手コンピュータシステムCのMACADD
Rパラメータに図4(b)のように登録する。
The updating operation of the MAC address of the communication environment information file 16 is performed by the registration information updating unit 13.
The input new MAC address “7” is converted to the MACADD of the partner computer system C of the communication environment information file 16.
The R parameter is registered as shown in FIG.

【0040】管理テーブル17のMACアドレスの更新
動作は管理テーブル更新部14により行なわれる。入力
された新MACアドレス「7」を通信環境情報フアイル
16の相手コンピュータシステムCのMACアドレス情
報欄に図5(b)のように書き込む。
The operation of updating the MAC address of the management table 17 is performed by the management table updating unit 14. The input new MAC address “7” is written in the MAC address information column of the partner computer system C in the communication environment information file 16 as shown in FIG.

【0041】以上の動作の完了後にMACアドレス入力
部11により表示装置3にMACアドレス情報の更新が
完了した旨のメッセージを出力表示して終了する。
After the above operation is completed, a message to the effect that the update of the MAC address information has been completed is output and displayed on the display device 3 by the MAC address input section 11, and the process ends.

【0042】以降、通信制御部6は、相手コンピュータ
システムCのMACアドレスが「7」であるものとして
通信の制御を行なう。
Thereafter, the communication control section 6 controls communication assuming that the MAC address of the partner computer system C is "7".

【0043】次に、相手コンピュータシステムAのMA
Cアドレスを「1」から「4」に更新しようとした場合
について説明する。
Next, the MA of the partner computer system A
A case in which the C address is updated from “1” to “4” will be described.

【0044】上述の相手コンピュータシステムCのMA
Cアドレスを更新する場合と同様に、自コンピュータシ
ステム32のシステム管理者は、旧MACアドレス
「1」と新MACアドレス「4」とを入力する。
The MA of the above-mentioned partner computer system C
As in the case of updating the C address, the system administrator of the own computer system 32 inputs the old MAC address “1” and the new MAC address “4”.

【0045】そして、旧および新のMACアドレスの正
当性を確認後、通信状態確認部15により通信環境情報
フアイル16(図4(b))から相手コンピュータシス
テムAを特定して、この情報により管理テーブル17
(図5(b))からその通信状態情報が「通信中」であ
ることを知り、MACアドレス入力部11により表示装
置3に更新不可である旨のメッセージを出力表示し処理
を終了する。
After confirming the validity of the old and new MAC addresses, the communication status confirmation unit 15 identifies the partner computer system A from the communication environment information file 16 (FIG. 4B), and manages the information using this information. Table 17
From FIG. 5 (b), it is known that the communication status information is "communicating", and a message to the effect that updating is not possible is output and displayed on the display device 3 by the MAC address input unit 11, and the process is terminated.

【0046】次に本発明のMACアドレス変更装置の第
2の実施の形態について説明する。第2の実施の形態の
MACアドレス変更装置の構成は、図1に示されている
第1の実施の形態のMACアドレス変更装置と同じであ
るが、第2の実施の形態のMACアドレス変更装置と上
述の第1の実施の形態のMACアドレス変更装置との相
違は通信状態確認部の構成とその動作に存する。
Next, a description will be given of a second embodiment of the MAC address changing device according to the present invention. The configuration of the MAC address changing device of the second embodiment is the same as that of the MAC address changing device of the first embodiment shown in FIG. 1, but is different from that of the second embodiment. The difference between the present embodiment and the MAC address changing device of the first embodiment described above lies in the configuration and operation of the communication state confirmation unit.

【0047】第2の実施の形態のMACアドレス変更装
置の通信状態確認部は第1の実施の形態のMACアドレ
ス変更装置の通信状態確認部に加えてタイマを有してお
り、MACアドレスの更新対象の相手コンピュータシス
テムの通信状態情報が「通信中」であったときの動作を
第1の実施の形態のMACアドレス変更装置の通信状態
確認部の動作と異にしている。
The communication status checking unit of the MAC address changing device of the second embodiment has a timer in addition to the communication status checking unit of the MAC address changing device of the first embodiment, and updates the MAC address. The operation when the communication status information of the target partner computer system is "communicating" is different from the operation of the communication status confirmation unit of the MAC address changing device of the first embodiment.

【0048】図6には第2の実施の形態のMACアドレ
ス変更装置の通信状態確認部の入力された新および旧の
MACアドレスの正当性が確認されて相手コンピュータ
システムの識別子の特定がなされた後、すなわち、図2
のステップ23−3より後の動作(それ以前の第2の実
施の形態のMACアドレス変更装置の通信状態確認部の
動作は第1の実施の形態のMACアドレス変更装置の通
信状態確認部の動作と同じ動作を行なう)を示す流れ図
が示してある。
FIG. 6 shows that the validity of the new and old MAC addresses input by the communication status confirmation unit of the MAC address changing device according to the second embodiment is confirmed, and the identifier of the partner computer system is specified. Later, that is, FIG.
(Operation of the communication status confirmation unit of the MAC address changing device according to the second embodiment before the operation of Step 23-3 is the operation of the communication status confirmation unit of the MAC address changing device of the first embodiment) (Performing the same operation as the above).

【0049】図6を参照して図2のステップ23−3よ
り後の第2の実施の形態のMACアドレス変更装置の通
信状態確認部の動作を説明する。
The operation of the communication state checking unit of the MAC address changing device according to the second embodiment after step 23-3 in FIG. 2 will be described with reference to FIG.

【0050】第2の実施の形態のMACアドレス変更装
置の通信状態確認部は入力された新および旧のMACア
ドレスの正当性が確認されて相手コンピュータシステム
の識別子の特定がなされた後、タイマを初期化して計時
動作を開始させる(ステップ61)。
The communication status checking unit of the MAC address changing device according to the second embodiment checks the validity of the input new and old MAC addresses and specifies the identifier of the partner computer system. Initialization is performed to start the timing operation (step 61).

【0051】次に、特定した相手コンピュータシステム
の識別子により相手コンピュータシステムの通信状態情
報を管理テーブル17により取得確認する(ステップ6
2)。
Next, the communication status information of the partner computer system is obtained and confirmed by the management table 17 using the specified identifier of the partner computer system (step 6).
2).

【0052】ステップ62で相手コンピュータシステム
の通信状態情報の管理テーブル17による確認結果が
「無通信」であるときには(ステップ62のN枝)、タ
イマの計時動作を停止し(ステップ63)、図2のステ
ップ24以降の動作、すなわち、MACアドレスの更新
動作に移る。
If the result of the check in the management table 17 of the communication status information of the partner computer system at step 62 is "no communication" (N branch of step 62), the timer stops the timer operation (step 63), and FIG. Step 24 and subsequent steps, that is, the MAC address updating operation.

【0053】ステップ62で相手コンピュータシステム
の通信状態情報の管理テーブル17による確認結果が
「通信中」であるときには(ステップ62のY枝)、タ
イマ値を参照して一定周期で相手コンピュータシステム
の通信状態情報の管理テーブル17による確認動作を繰
り返し(ステップ64のN枝、65および62のY枝の
ループ)、予め定められたTなる一定時間よりも短い時
間に相手コンピュータシステムの通信状態情報の管理テ
ーブル17による確認結果が「無通信」になったときに
は(ステップ62のN枝)、タイマの計時動作を停止し
(ステップ63)、図2のステップ24以降の動作、す
なわち、MACアドレスの更新動作に移る。
When the result of the check in the management table 17 of the communication status information of the other computer system is "communicating" in step 62 (Y branch of step 62), the communication of the other computer system is performed at regular intervals with reference to the timer value. The confirmation operation by the state information management table 17 is repeated (loop of N branch of step 64, Y branch of 65 and 62), and the management of the communication state information of the partner computer system is performed in a time shorter than a predetermined fixed time T. When the result of the check by the table 17 becomes "no communication" (N branch of step 62), the timer operation is stopped (step 63), and the operation after step 24 in FIG. 2, that is, the MAC address update operation Move on to

【0054】Tなる一定時間経過してもなお相手コンピ
ュータシステムの通信状態情報の管理テーブル17によ
る確認結果が「通信中」であるときには(ステップ64
のY枝)、タイマの計時動作を停止し(ステップ6
6)、図2のステップ28の動作、すなわち、更新不可
表示動作に移る。
If the result of the check by the management table 17 of the communication status information of the partner computer system after the lapse of the predetermined time T is "communicating" (step 64).
), And stops the timer operation (step 6).
6) The operation proceeds to the operation of step 28 in FIG. 2, that is, the update impossible display operation.

【0055】以上説明したように、第2の実施の形態の
MACアドレス変更装置は、相手コンピュータシステム
の通信状態情報の管理テーブル17による確認結果が
「通信中」であるときには、一定時間内であれば、通信
状態情報が「無通信」になることを待ってMACアドレ
スを更新することができるので、第1の実施の形態のM
ACアドレス変更装置に比し、更新工数を軽減すること
ができる。
As described above, the MAC address changing device according to the second embodiment can be used within a certain period of time when the result of the check in the management table 17 of the communication status information of the partner computer system is "communicating". For example, since the MAC address can be updated after the communication state information becomes “no communication”, the M address of the first embodiment can be updated.
The number of updating steps can be reduced as compared with the AC address changing device.

【0056】以上説明したように、本実施の形態のMA
Cアドレス変更装置は、コンピュータシステム1が動作
中であっても、MACアドレス更新対象のコンピュータ
システムが通信中でなければ、通信環境情報フアイル1
6および管理テーブル17のMACアドレスを更新する
ことにより、コンピュータシステム1を再起動すること
なく、通信制御部6は、以降、更新された管理テーブル
17のMACアドレス情報を使用して相手コンピュータ
システムとの通信を行なうことができるようになる。
As described above, the MA of the present embodiment
Even if the computer system 1 is operating, if the computer system for which the MAC address is to be updated is not communicating, the C address changing device can communicate with the communication environment information file 1.
By updating the MAC address of the management table 17 and the management table 17, the communication control unit 6 can use the updated MAC address information of the management table 17 to communicate with the partner computer system without restarting the computer system 1. Communication can be performed.

【0057】[0057]

【発明の効果】以上説明したように、本発明のMACア
ドレス変更装置は、コンピュータシステムが動作中であ
っても、MACアドレス更新対象のコンピュータシステ
ムが通信中でなければ、通信環境情報フアイルおよび管
理テーブルのMACアドレスを更新することにより、コ
ンピュータシステムを再起動することなく、通信制御部
は、以降、更新された管理テーブル17のMACアドレ
ス情報を使用して相手コンピュータシステムとの通信を
行なうことができ、コンピュータシステムの運用効率を
格段に向上できるという効果を有している。
As described above, according to the MAC address changing device of the present invention, even if the computer system is operating, if the computer system whose MAC address is to be updated is not communicating, the communication environment information file and the management By updating the MAC address in the table, the communication control unit can thereafter communicate with the partner computer system using the updated MAC address information in the management table 17 without restarting the computer system. As a result, the operation efficiency of the computer system can be significantly improved.

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

【図1】本発明のMACアドレス変更装置の第1の実施
の形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a MAC address changing device according to the present invention.

【図2】第1の実施の形態のMACアドレス変更装置に
おける動作の一例を示す流れ図である。
FIG. 2 is a flowchart illustrating an example of an operation of the MAC address changing device according to the first embodiment.

【図3】LAN環境を示すブロック図である。FIG. 3 is a block diagram illustrating a LAN environment.

【図4】通信環境情報フアイル16のデータ格納の一例
を示すデータ格納図であり、(a)は更新前、(b)は
更新後を示す。
4A and 4B are data storage diagrams showing an example of data storage in a communication environment information file 16, wherein FIG. 4A shows a state before updating and FIG. 4B shows a state after updating.

【図5】管理テーブル17のデータ格納の一例を示すデ
ータ格納図であり、(a)は更新前、(b)は更新後を
示す。
5A and 5B are data storage diagrams showing an example of data storage in a management table 17; FIG. 5A shows a state before updating, and FIG. 5B shows a state after updating.

【図6】第2の実施の形態のMACアドレス変更装置に
おける通信状態確認部の一部動作の一例を示す流れ図で
ある。
FIG. 6 is a flowchart illustrating an example of a partial operation of a communication status confirmation unit in the MAC address changing device according to the second embodiment.

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

1 コンピュータシステム 2 入力装置 3 表示装置 4 MACアドレス変更装置 5 通信制御初期化部 6 通信制御部 11 MACアドレス入力部 12 MACアドレス変更制御部 13 登録情報更新部 14 管理テーブル更新部 15 通信状態確認部 16 通信環境情報フアイル 17 管理テーブル 31 LAN 32 自コンピュータシステム DESCRIPTION OF SYMBOLS 1 Computer system 2 Input device 3 Display device 4 MAC address change device 5 Communication control initialization part 6 Communication control part 11 MAC address input part 12 MAC address change control part 13 Registration information update part 14 Management table update part 15 Communication state check part 16 Communication Environment Information File 17 Management Table 31 LAN 32 Own Computer System

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 G06F 13/00 JICSTファイル(JOIS)Continuation of the front page (58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/28 G06F 13/00 JICST file (JOIS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信相手であるコンピュータシステムの
識別子とそのMACアドレスとを記憶する不揮発性メモ
リである第1の記憶手段と、運用時に前記コンピュータ
システムの識別子とそのMACアドレスと自コンピュー
タシステムとの通信状態を示す通信状態情報とを記憶す
る第2の記憶手段と、前記MACアドレス更新情報の入
力とその対応情報とを出力表示制御するMACアドレス
入力手段と、第1の記憶手段を更新する第1の更新手段
と、第2の記憶手段を更新する第2の更新手段と、第1
の記憶手段と第2の記憶手段とを参照し入力された前記
MACアドレス更新情報の正当性と更新対象コンピュー
タシステムの通信状態情報とを確認する通信状態確認手
段と、前記通信状態確認手段による更新情報の正当性の
確認結果が不正のときには前記MACアドレス入力手段
に不正情報を表示させ前記通信状態確認手段による更新
情報の正当性の確認結果が正当でかつ通信状態情報の確
認結果が無通信のときには前記第1および第2の更新手
段により前記第1および第2の記憶手段にあるMACア
ドレスの更新を行なわせ前記通信状態確認手段による更
新情報の正当性の確認結果が正当でかつ通信状態情報の
確認結果が通信中のときには前記MACアドレス入力手
段にMACアドレス更新不可を表示させるMACアドレ
ス変更制御手段とを含むことを特徴とするMACアドレ
ス変更装置。
A first storage unit which is a non-volatile memory for storing an identifier of a computer system as a communication partner and a MAC address thereof, and stores, during operation, the identifier of the computer system, its MAC address and its own computer system; A second storage unit for storing communication state information indicating a communication state; a MAC address input unit for outputting and controlling the input of the MAC address update information and the corresponding information; and a second storage unit for updating the first storage unit. A first updating unit, a second updating unit for updating the second storage unit, and a first updating unit.
Communication state checking means for checking the validity of the input MAC address update information and the communication state information of the computer system to be updated, with reference to the storage means and the second storage means, and updating by the communication state checking means When the result of the information validity confirmation is invalid, the invalid information is displayed on the MAC address input means, and the confirmation result of the update information validity by the communication state confirmation means is valid and the confirmation result of the communication state information is no communication. In some cases, the first and second updating means update the MAC address in the first and second storage means, and the communication state confirming means confirms the validity of the update information and the communication state information MAC address change control means for displaying the MAC address update impossible on the MAC address input means when the confirmation result of MAC address changing device which comprises.
【請求項2】 通信状態確認手段は第2の記憶手段の通
信状態情報が通信中であるときには一定周期で確認動作
を繰り返し一定時間経過後においてもなお通信中である
ときには通信状態情報の確認結果を通信中とすることを
特徴とする請求項1記載のMACアドレス変更装置。
2. The communication state confirmation means repeats a confirmation operation at a fixed cycle when the communication state information of the second storage means is communicating, and confirms a result of the communication state information when communication is still performed after a lapse of a predetermined time. 2. The MAC address changing device according to claim 1, wherein the device is communicating.
JP9136829A 1997-05-27 1997-05-27 MAC address changing device Expired - Lifetime JP3033710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9136829A JP3033710B2 (en) 1997-05-27 1997-05-27 MAC address changing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9136829A JP3033710B2 (en) 1997-05-27 1997-05-27 MAC address changing device

Publications (2)

Publication Number Publication Date
JPH10327181A JPH10327181A (en) 1998-12-08
JP3033710B2 true JP3033710B2 (en) 2000-04-17

Family

ID=15184483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9136829A Expired - Lifetime JP3033710B2 (en) 1997-05-27 1997-05-27 MAC address changing device

Country Status (1)

Country Link
JP (1) JP3033710B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4298530B2 (en) 2004-01-30 2009-07-22 キヤノン株式会社 Communication device
JP2005217976A (en) 2004-01-30 2005-08-11 Canon Inc Electronic equipment and control method thereof
JP4432986B2 (en) * 2007-03-12 2010-03-17 ブラザー工業株式会社 Wireless station

Also Published As

Publication number Publication date
JPH10327181A (en) 1998-12-08

Similar Documents

Publication Publication Date Title
JP6940365B2 (en) Information updater
US7554931B2 (en) System and method for remote dynamic network configuration
US6772420B1 (en) System for obtaining appropriate device drivers by accessing table having list of manufacturers and link-layer addresses assigned to device drivers
JP2003046569A (en) Load test execution device and system, and method and program thereof
JPH10507019A (en) Integrated structure for microprocessor programming using state machine and method of assembling the circuit board
JP2005197826A (en) Central management apparatus for managing a plurality of nodes on network
US20040024878A1 (en) Network device and automatic program update technique
JP3033710B2 (en) MAC address changing device
JP5361564B2 (en) Flexible approach showing different bus protocols
JP2003309568A (en) Data upgrade method for switching device under double layer network environment
CN112506539A (en) Firmware updating method and device, electronic equipment and storage medium
CN111052009A (en) Control system, controller and control method
US20060047788A1 (en) Information processing device, information processing method, and program
JP2000181718A (en) Method and system for firmware upgrade
EP2649755A1 (en) Dynamic host profiles for option modules
JP2000023150A (en) Method for reproducing image data in projector and projector
JP2011158928A (en) Field apparatus
JP2007019947A (en) Communication system and filter setting method
JP2590734B2 (en) LAN connection device discovery device
JP2002063035A (en) Remote maintenance method for information processor
JP2004206223A (en) Initial setting system of consoleless apparatus, initial setting method, and program
JP6915583B2 (en) Safety control system and control method in safety control system
JP2002342041A (en) Printer, network i/f device, network setting method and program therefor
JP2005085047A (en) Network-setting device and computer program
JP2022142911A (en) Network configuration verification device and method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000118