JP4872107B2 - MAC address writing system, writing control terminal, set device, MAC address assignment method and program - Google Patents
MAC address writing system, writing control terminal, set device, MAC address assignment method and program Download PDFInfo
- Publication number
- JP4872107B2 JP4872107B2 JP2008167974A JP2008167974A JP4872107B2 JP 4872107 B2 JP4872107 B2 JP 4872107B2 JP 2008167974 A JP2008167974 A JP 2008167974A JP 2008167974 A JP2008167974 A JP 2008167974A JP 4872107 B2 JP4872107 B2 JP 4872107B2
- Authority
- JP
- Japan
- Prior art keywords
- mac address
- control terminal
- broadcast frame
- network
- write control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、ネットワーク機器のMACアドレスに関し、特にネットワーク機器の製造時における各機器へのMACアドレスの書き込みに関する。 The present invention relates to a MAC address of a network device, and more particularly to writing a MAC address to each device at the time of manufacturing the network device.
MACアドレスは、イーサネット(登録商標)に接続する全てのネットワーク機器に割り当てられる固有の番号である。これを元にカード間のデータの送受信が行われる。MACアドレスは、IEEEが管理および割り当てをしているメーカーごとに固有な番号と、メーカーが独自に各カードに割り当てる番号の組み合わせによって表される。 The MAC address is a unique number assigned to all network devices connected to Ethernet (registered trademark). Based on this, data is transmitted and received between cards. The MAC address is represented by a combination of a number unique to each manufacturer managed and assigned by IEEE and a number uniquely assigned to each card by the manufacturer.
図8は通常のMACアドレス401の構成を示す概念図である。IEEEがこのメーカーに固有のベンダーID402として「00−1B−8B」を割り当てた場合、このメーカーは下位24ビット403を自らが製造するネットワーク機器に対して任意に割り当てることができる。例えば、本願の出願人であるNECアクセステクニカ(株)には「00−0D−02」「00−1B−8B」というベンダーIDがIEEEから割り当てられている。
FIG. 8 is a conceptual diagram showing the configuration of a
すなわち、このメーカーは「00−1B−8B−00−00−00」〜「00−1B−8B−FF−FF−FF」の範囲のMACアドレスをIEEEから割り当てられたということであり、この範囲の中から任意のMACアドレスを自らが製造するネットワーク機器に対して割り当てることができる。通常は、下位24ビット403のうち、先頭の8ビットが機種ID404、残る16ビットが通し番号であるシリアルID405とされることが多い。
That is, this manufacturer has been assigned a MAC address in the range of “00-1B-8B-00-00-00” to “00-1B-8B-FF-FF-FF” by the IEEE. An arbitrary MAC address can be assigned to a network device manufactured by itself. Usually, among the lower 24
ネットワーク機器のアドレスの自動設定については、次のような文献が公知となっている。特許文献1には、設定対象の機器に仮MACアドレスを配布して設定させ、その上で各機器を順次仮MACアドレスでネットワークに接続させ、固有MACアドレスを配布するというMACアドレスの設定方法が記載されている。
The following documents are known for automatic setting of addresses of network devices.
特許文献2には、設定用PCから設定したいネットワークアドレスをネットワーク機器に対してブロードキャストで送信し、該ネットワーク機器は自らの物理アドレスに基づいてネットワークアドレスを設定する。ただし、この動作は各々のネットワーク機器に既に物理アドレス(=MACアドレス)が設定されていることが前提である。 In Patent Document 2, a network address to be set is transmitted from a setting PC by broadcast to a network device, and the network device sets a network address based on its own physical address. However, this operation is based on the assumption that a physical address (= MAC address) has already been set for each network device.
特許文献3には、リアルタイムデータの送信において衝突の発生を抑制する方法が記載されている。 Patent Document 3 describes a method for suppressing the occurrence of collision in the transmission of real-time data.
ネットワーク機器の製造工程において、製造された各々の機器に対して1台ずつ固有のMACアドレスを書き込む作業が存在する。MACアドレスの性質上、複数の機器に対して共通の値を書込むことができないため、従来はこの書込み工程には人的作業が必須であり、この工程を自動化することは困難であった。 In the manufacturing process of network devices, there is an operation of writing a unique MAC address for each manufactured device. Due to the nature of the MAC address, it is impossible to write a common value for a plurality of devices. Conventionally, this writing process requires manual work, and it has been difficult to automate this process.
さらに割り当てられたMACアドレスの範囲内で、未使用のMACアドレスと割当て済みのMACアドレスとを管理していくことが必要であるため、人的作業によって重複したMACアドレスをネットワーク機器に書き込まれる可能性を否定できない。重複したMACアドレスを書き込まれたネットワーク機器は、イーサネット(登録商標)に接続して正常に機能することができない。そればかりか、接続したネットワーク全体に機器の破損、通信の障害などのような悪影響を与える。このため、人的作業によってMACアドレスを再割当てする改修作業と、これに伴うコストが発生する。 Furthermore, since it is necessary to manage unused MAC addresses and assigned MAC addresses within the range of assigned MAC addresses, duplicate MAC addresses can be written to network devices by human work. I cannot deny sex. A network device in which a duplicate MAC address is written cannot connect to Ethernet (registered trademark) and function normally. Not only that, the entire connected network will be adversely affected, such as equipment damage and communication failures. For this reason, the repair work which reassigns a MAC address by human work, and the cost accompanying this occur.
特許文献1の設定方法では、仮MACアドレスを配布された各機器を順次仮MACアドレスでネットワークに接続させる手段が必要であり、またその接続および設定を管理するための複数のサーバ、たとえばDHCPサーバや接続管理サーバなどが必要となる。従って、実施にかかるコストが大きい。特許文献2および3は、MACアドレスの設定を目的とするものではないので、特許文献1と組み合わせても上記の問題を解決するものではない。
The setting method of
本発明の目的は、ネットワーク機器の製造工程において、製造された各々の機器に対して一意のMACアドレスを割り当てて書き込むことのできるMACアドレス書込みシステム、書込み制御端末、書込み対象装置、MACアドレス割当て方法とプログラムを提供することにある。 An object of the present invention is to provide a MAC address writing system, a write control terminal, a write target device, and a MAC address assignment method capable of assigning and writing a unique MAC address to each manufactured device in the manufacturing process of the network device. And to provide a program.
上記目的を達成するため、本発明に係るMACアドレス書込みシステムは、書込み制御端末と、MACアドレス設定の対象となるn台の被設定装置とが、ネットワークによって相互に接続されて構成されるMACアドレス書込みシステムであって、書込み制御端末が、ネットワークに対して第1のMACアドレスを含む第1のブロードキャストフレームを送信し、被設定装置が、第1のMACアドレスを設定しようとしている他の被設定装置が存在しないことを確認してから自らに第1のMACアドレスを設定することを特徴とする。 In order to achieve the above object, a MAC address writing system according to the present invention includes a MAC address configured by connecting a write control terminal and n set devices to be MAC address setting targets to each other via a network. The write control terminal transmits a first broadcast frame including a first MAC address to the network, and the other device to be set is about to set the first MAC address. It is characterized by setting the first MAC address to itself after confirming that the device does not exist.
上記目的を達成するため、本発明に係る書込み制御端末は、MACアドレス設定の対象となるn台の被設定装置とネットワークによって相互に接続される書込み制御端末であって、被設定装置に書き込もうとするMACアドレスの初期値である第1のMACアドレスの入力を受け付けるユーザインターフェイス部と、第1のMACアドレスを含む第1のブロードキャストフレームを生成するフレーム生成部と、第1のブロードキャストフレームをネットワークに対して送信するフレーム送信部とを有することを特徴とする。 In order to achieve the above object, a write control terminal according to the present invention is a write control terminal connected to n set devices to be MAC address set by a network and attempts to write to the set device. A user interface unit that receives an input of a first MAC address that is an initial value of a MAC address to be transmitted, a frame generation unit that generates a first broadcast frame including the first MAC address, and a first broadcast frame to the network And a frame transmission unit that transmits the frame.
上記目的を達成するため、本発明に係る被設定装置は、書込み制御端末および他の被設定装置とネットワークによって相互に接続される、MACアドレス設定の対象となる被設定装置であって、MACアドレスを記憶するEEPROMと、書込み制御端末から第1のMACアドレスを含む第1のブロードキャストフレームを受信したことを検出するフレーム判定部と、被設定装置が、第1のMACアドレスを設定しようとしている被設定装置が他に存在しないことを確認する制御部と、第1のMACアドレスを設定しようとしている他の被設定装置が存在しないことが確認された場合に、第1のMACアドレスをEEPROMに書き込むMACアドレス書き込み部とを有することを特徴とする。 In order to achieve the above object, a device to be set according to the present invention is a device to be set for MAC address setting, which is connected to a write control terminal and another device to be set by a network, and has a MAC address. , A frame determination unit that detects that the first broadcast frame including the first MAC address has been received from the write control terminal, and a device to be set that is to be set with the first MAC address. When it is confirmed that there is no control unit for confirming that there is no other setting device and another device to be set for setting the first MAC address, the first MAC address is written to the EEPROM. And a MAC address writing unit.
上記目的を達成するため、本発明に係るMACアドレス割当方法は、書込み制御端末と、n台の被設定装置とが、ネットワークによって相互に接続されて構成されるMACアドレス書込みシステムにあって、各々の被設定装置にMACアドレスを割り当てる方法であって、書込み制御端末が、ネットワークに対して第1のMACアドレスを含む第1のブロードキャストフレームを送信し、被設定装置が、第1のMACアドレスを設定しようとしている他の被設定装置が存在しないことを確認し、被設定装置が、第1のMACアドレスを設定しようとしている他の被設定装置が存在しないことを確認した場合に、自らに第1のMACアドレスを設定することを特徴とする。 In order to achieve the above object, a MAC address assignment method according to the present invention is a MAC address writing system configured such that a write control terminal and n set devices are connected to each other via a network. The write control terminal transmits a first broadcast frame including the first MAC address to the network, and the set device assigns the first MAC address to the set device. When it is confirmed that there is no other device to be set to be set, and the device to be set confirms that there is no other device to be set to set the first MAC address, 1 MAC address is set.
上記目的を達成するため、本発明に係るMACアドレス割当プログラムは、MACアドレス設定の対象となるn台の被設定装置とネットワークによって相互に接続される書込み制御端末を構成するコンピュータに、被設定装置に書き込もうとするMACアドレスの初期値である第1のMACアドレスの入力を受け付ける処理と、第1のMACアドレスを含む第1のブロードキャストフレームを生成する処理と、第1のブロードキャストフレームをネットワークに対して送信する処理とを実行させることを特徴とする。 In order to achieve the above object, a MAC address assignment program according to the present invention provides a set device to a computer constituting a write control terminal connected to n set devices to be MAC address set and a network. Processing for accepting an input of a first MAC address that is an initial value of the MAC address to be written to, processing for generating a first broadcast frame including the first MAC address, and sending the first broadcast frame to the network And the process of transmitting.
上記目的を達成するため、本発明に係る別のMACアドレス割当プログラムは書込み制御端末および他の被設定装置とネットワークによって相互に接続される、MACアドレスを記憶するEEPROMを有する被設定装置を制御するコンピュータに、書込み制御端末から第1のMACアドレスを含む第1のブロードキャストフレームを受信したことを検出する処理と、被設定装置が、第1のMACアドレスを設定しようとしている他の被設定装置が存在しないことを確認する処理と、第1のMACアドレスを設定しようとしている他の被設定装置が存在しないことが確認された場合に、第1のMACアドレスをEEPROMに書き込む処理とを実行させることを特徴とする。 In order to achieve the above object, another MAC address assignment program according to the present invention controls a set device having an EEPROM for storing a MAC address, which is mutually connected by a network with a write control terminal and another set device. A process for detecting that the computer has received the first broadcast frame including the first MAC address from the write control terminal, and the other set device to which the set device is trying to set the first MAC address A process for confirming that the first MAC address does not exist, and a process for writing the first MAC address to the EEPROM when it is confirmed that there is no other device to be configured to set the first MAC address. It is characterized by .
本発明は、被設定装置が自らと同じMACアドレスを設定しようとしている被設定装置が他に存在しないことを確認してから、該MACアドレスを設定するように構成したので、重複しないMACアドレスを、複数台の被設定装置に対して一括して設定できる。これによって、ネットワーク機器の製造工程において、製造された各々の機器に対して一意のMACアドレスを割り当てて書き込むことのできるという、従来にない優れたMACアドレス書込みシステム、書込み制御端末、書込み対象装置、MACアドレス割当て方法とプログラムを提供することができる。 The present invention is configured to set the MAC address after confirming that there is no other configured device that the configured device intends to set the same MAC address as itself. , It can be set collectively for a plurality of set devices. Thereby, in the manufacturing process of the network device, a unique MAC address writing system, a writing control terminal, a writing target device, which can assign and write a unique MAC address to each manufactured device, A MAC address assignment method and program can be provided.
[第1の実施の形態]
図1は、本発明の第1の実施の形態に係るMACアドレス書込みシステム1の構成を示す概念図である。MACアドレス書込みシステム1は、書込み制御端末10と、MACアドレス設定の対象となるネットワーク機器であるn台の被設定装置11とが、イーサネット(登録商標)13によって相互に接続されて構成される。nは2以上の整数である。
[First Embodiment]
FIG. 1 is a conceptual diagram showing a configuration of a MAC
書込み制御端末10から、イーサネット(登録商標)13に対して第1のMACアドレスを含む第1のブロードキャストフレーム12aが送信され、これを受けた第1の被設定装置11aが第1のMACアドレスを自らに設定し、第2のMACアドレスを含む第2のブロードキャストフレーム12bをイーサネット(登録商標)13に対して送信する。これを受けた第2の被設定装置11bが第2のMACアドレスを自らに設定し、第2のMACアドレスを含む第3のブロードキャストフレーム12cをイーサネット(登録商標)13に対して送信する。以後同様の動作を全ての被設定装置11に対して繰り返す。この動作の詳細については後述する。
The first broadcast frame 12a including the first MAC address is transmitted from the
図2は、図1で示した書込み制御端末10内部の構成を示す機能ブロック図である。書込み制御端末10は、一般的なコンピュータ装置である。以後で説明する動作は、このコンピュータ装置で動作するプログラムとして提供されることができる。
FIG. 2 is a functional block diagram showing an internal configuration of the
書込み制御端末10は、イーサネット(登録商標)13からのフレームを受信するフレーム受信部21と、受信したフレームの内容が何であるかを判断するフレーム判定部22と、ユーザに処理の結果を表示し、またユーザからの操作を受け付けるユーザインターフェイス部24と、受信したフレームの内容およびユーザからの操作に基づいて新たなフレームの生成などの処理を行う制御部23と、制御部からの指示に基づいてフレームを生成するフレーム生成部25と、生成されたフレームをイーサネット(登録商標)13に送出するフレーム送信部26とからなる。
The
図3は、図1で示した被設定装置11内部の構成を示す機能ブロック図である。被設定装置11は、内蔵されたマイクロコンピュータ(図示せず)によって制御されるネットワーク機器である。以後で説明する動作は、このマイクロコンピュータ装置で動作するプログラムとして提供することができる。
FIG. 3 is a functional block diagram showing an internal configuration of the
被設定装置11は、イーサネット(登録商標)13からのフレームを受信するフレーム受信部31と、受信したフレームの内容が何であるかを判断するフレーム判定部32と、受信したフレームの内容に基づいてMACアドレスの設定および新たなフレームの生成などの処理を行う制御部33と、制御部からの指示に基づいてMACアドレスの設定の設定を行うMACアドレス書き込み部34と、制御部からの指示に基づいてフレームを生成するフレーム生成部35と、生成されたフレームをイーサネット(登録商標)13に送出するフレーム送信部36と、MACアドレス書き込み部34によってMACアドレスを書き込まれるEEPROM37とからなる。
The
図4は、本実施の形態において書込み制御端末10および被設定装置11がイーサネット(登録商標)13に送信する、図1で示したブロードキャストフレーム12のデータ構成を示す概念図である。ブロードキャストフレーム12は、公知のイーサネット(登録商標)・バージョン2(IEEE 802.3)の仕様に基づく。
FIG. 4 is a conceptual diagram showing a data configuration of the
宛先MACアドレス51は、ブロードキャストフレームを表す「FF−FF−FF−FF−FF−FF」である。送信元MACアドレス52は、任意の値を取ることができる。本実施の形態では、自らのMACアドレスが設定されていない被設定装置11がブロードキャストフレーム12を送信することがあるので、その場合には送信元MACアドレス52は任意の値としてよい。
The destination MAC address 51 is “FF-FF-FF-FF-FF-FF” representing a broadcast frame. The source MAC address 52 can take an arbitrary value. In the present embodiment, the device to be set 11 in which its own MAC address is not set may transmit the
データタイプ53は、本実施の形態に特有の識別符号、たとえば「FF−FF」を使用する。データタイプ53が本実施の形態に特有の符号でないフレームは、本実施の形態の動作においては無視される。データ54は、設定すべきMACアドレス56を含む。CRC55は、公知のエラーチェック用データである。
The data type 53 uses an identification code unique to the present embodiment, for example, “FF-FF”. A frame whose data type 53 is not a code specific to the present embodiment is ignored in the operation of the present embodiment. The
MACアドレス56は前述のように、上位24ビットがベンダーID41、続く8ビットが機種ID42であり、下位16ビットが通し番号であるシリアルID43である。ここでは、ベンダーID41を「00−1B−8B」、機種ID42を「01」とし、シリアルID43「00−00」から始まる連番をn台の被設定装置11に割り当てるものとする。
As described above, in the
第1の被設定装置11aには、第1のMACアドレス56a「00−1B−8B−01−00−00」が割り当てられる。第2の被設定装置11bには、第2のMACアドレス56b「00−1B−8B−01−00−01」が割り当てられる。以後同様に、第nの被設定装置11nには、第nのMACアドレス56n「00−1B−8B−01−00−0n*」が割り当てられる。ここでn*=n−1である。
The first MAC address 56a “00-1B-8B-01-00-00” is assigned to the first device to be set 11a. The second MAC address 56b “00-1B-8B-01-00-01” is assigned to the second device to be set 11b. Thereafter, similarly, the n-th MAC address 56n “00-1B-8B-01-00-0n * ” is assigned to the n-
以後の説明で、第nの被設定装置11nに割り当てられるべきMACアドレスを第nのMACアドレス56nといい、また第nのMACアドレス56nを含むブロードキャストフレームを第nのブロードキャストフレーム12nという。
In the following description, a MAC address to be assigned to the nth device to be set 11n is referred to as an nth MAC address 56n, and a broadcast frame including the nth MAC address 56n is referred to as an
図5は、図2で示した書込み制御端末10が実行する処理を表すフローチャートである。制御部23は、ユーザインターフェイス部24からのユーザの操作に基づき、n台の被設定装置11にMACアドレスを割り当てる範囲を設定し、このアドレス範囲の先頭である第1のMACアドレス56aを設定する(ステップS101)。続いて、この第1のMACアドレス56aを含む第1のブロードキャストフレーム12aをフレーム生成部25に送信させる(ステップS102)。
FIG. 5 is a flowchart showing processing executed by the
その後は一定時間を待ちながら、各々の被設定装置11がイーサネット(登録商標)13に対して送出するブロードキャストフレーム12が、第n+1のMACアドレス56n+1を含む第n+1のブロードキャストフレーム12n+1であるか否かを判断する(ステップS103)。待ち時間内に第n+1のブロードキャストフレーム12n+1が検出されれば、n台の被設定装置11全てに対してMACアドレスの設定が完了したことになる。この際、第1のMACアドレス56a〜第nのMACアドレス56nの範囲が、割当済みのMACアドレスとなる。
After that, while waiting for a certain time, whether or not the
図6は、図3で示した各々の被設定装置11が実行する処理を表すフローチャートである。フレーム判定部32が、第iのMACアドレス56iを含む第iのブロードキャストフレーム12iを受信したことを検出する(ステップS201)と、制御部33はフレーム生成部35に第i+1のMACアドレス56i+1を含む第i+1のブロードキャストフレーム12i+1を送信させる(ステップS202)。なお、iは自然数であり、かつi≦nである。
FIG. 6 is a flowchart showing processing executed by each of the
ここで、同じイーサネット(登録商標)13に接続された被設定装置11の中にブロードキャストフレーム12i+1を送信する(第iのMACアドレス56iを設定しようとしている)物があると、コリジョンが発生する。コリジョンの有無を確認し、コリジョンが無ければ(ステップS203:NO)、第iのMACアドレス56iを設定しようとしている被設定装置11が他に存在しないということを意味するので、制御部33はMACアドレス書き込み部34に第iのMACアドレス56iの書き込みを指示し、MACアドレス書き込み部34はそれに従ってEEPROM37に第iのMACアドレス56iを書き込む(ステップS204)。以後、この被設定装置11に送られた全てのブロードキャストフレーム12は無視される。
Here, if there is an object that transmits the broadcast frame 12i + 1 (to set the i-th MAC address 56i) in the
ステップS203でコリジョンが検出されると、イーサネット(登録商標)・バージョン2の仕様に基づく再送タイムアウトの処理に移行する。再送タイムアウトが発生すれば(ステップS205:YES)、ステップS202に戻って第i+1のブロードキャストフレーム12i+1を再送させる。再送タイムアウトが発生せず、かつ他の被設定装置11から第i+1のブロードキャストフレーム12i+1を受信すれば(ステップS206:YES)、第i+1のブロードキャストフレーム12i+1の再送を停止して(ステップS207)、ステップS201に戻って他の被設定装置11からの、よりiの値の大きくなったブロードキャストフレームの受信を待ち受ける状態となる。
If a collision is detected in step S203, the process proceeds to a retransmission timeout process based on the Ethernet (registered trademark) version 2 specification. If a retransmission timeout occurs (step S205: YES), the process returns to step S202 to retransmit the i + 1-th broadcast
この動作により、被設定装置11は第iのMACアドレス56iを設定しようとしている被設定装置11が他に存在しないことを確認してから第iのMACアドレス56iを設定することができるので、被設定装置11間で重複しないMACアドレスを書き込むことが可能となる。
By this operation, the
しかも、この処理は書込み制御端末10と被設定装置11とをイーサネット(登録商標)13に接続すれば、複数台の被設定装置11に対して一括して行うことができる。従って、この書き込み作業にかかる人的作業を大幅に削減することが可能となる。かつ、この書込み制御端末10は、特許文献1記載の技術と違って、イーサネット(登録商標)13に接続可能な通常のパーソナルコンピュータ1台で簡単に実現することができる。従って、実施にかかるコストも小さく済む。
In addition, this process can be collectively performed for a plurality of
[第2の実施の形態]
本発明の第2の実施の形態に係るMACアドレス書込みシステム1の構成、および書込み制御端末10、被設定装置11の構成は第1の実施の形態と同一であるので説明を省略する。
[Second Embodiment]
The configuration of the MAC
図7は、本実施の形態において書込み制御端末10および被設定装置11がイーサネット(登録商標)13に送信する、ブロードキャストフレーム12のデータ構成を示す概念図である。本実施の形態で、ブロードキャストフレーム12のデータ324は、設定すべきMACアドレス326と、オフセット値327とを含む。
FIG. 7 is a conceptual diagram showing a data configuration of the
たとえばオフセット値327=「2」である場合、第1のMACアドレス326aは「00−1B−8B−01−00−00」であるが、第2のMACアドレス326bは第1のMACアドレス326aからオフセット値327として指定された値(ここでは「2」)だけシフトされた「00−1B−8B−01−00−02」となる。以後同様に、第nのMACアドレス326nは「00−1B−8B−01−00−0N」となる。ここでN=2×(n−1)である。 For example, when the offset value 327 = “2”, the first MAC address 326a is “00-1B-8B-01-00-00”, but the second MAC address 326b is from the first MAC address 326a. It becomes “00-1B-8B-01-00-02” shifted by a value designated as the offset value 327 (here, “2”). Thereafter, similarly, the n-th MAC address 326n becomes “00-1B-8B-01-00-0N”. Here, N = 2 × (n−1).
これ以外のブロードキャストフレーム12のデータ構成は、図4で示した構成と同一であるので、同一種類のデータは同一の参照番号と名称で呼ぶこととして、説明を省略する。また、書込み制御端末10および被設定装置11の動作は、このMACアドレスの決定方法を除いては第1の実施の形態と同一であるので説明を省略する。
Since the other data structure of the
これまで本発明について図面に示した特定の実施の形態をもって説明してきたが、本発明は図面に示した実施の形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができることは言うまでもないことである。 Although the present invention has been described with the specific embodiments shown in the drawings, the present invention is not limited to the embodiments shown in the drawings, and is known so far as long as the effects of the present invention are achieved. It goes without saying that any configuration can be adopted.
ネットワーク機器、特にイーサネット(登録商標)に接続するネットワーク機器の製造において使用可能である。 It can be used in the manufacture of network devices, particularly network devices connected to Ethernet (registered trademark).
1 MACアドレス書込みシステム
10 書込み制御端末
11、11a、11b、11c、11n 被設定装置
12、12a、12b、12c、12i、12i+1、12n、12n+1 ブロードキャストフレーム
13 イーサネット(登録商標)
21 フレーム受信部
22 フレーム判定部
23 制御部
24 ユーザインターフェイス部
25 フレーム生成部
26 フレーム送信部
31 フレーム受信部
32 フレーム判定部
33 制御部
34 MACアドレス書き込み部
35 フレーム生成部
36 フレーム送信部
37 EEPROM
41 ベンダーID
42 機種ID
43 シリアルID
51 宛先MACアドレス
52 送信元MACアドレス
53 データタイプ
54 データ
55 CRC
56、56a、56b、56c、56i、56i+1、56n MACアドレス
324 データ
325 CRC
326、326a、326b MACアドレス
327 オフセット値
DESCRIPTION OF
21
41 Vendor ID
42 Model ID
43 Serial ID
51 Destination MAC address 52 Source MAC address 53
56, 56a, 56b, 56c, 56i, 56i + 1, 56n MAC address 324 Data 325 CRC
326, 326a, 326b MAC address 327 Offset value
Claims (13)
前記書込み制御端末が、前記ネットワークに対して第1のMACアドレスを含む第1のブロードキャストフレームを送信し、
前記被設定装置は、前記第1のMACアドレスを設定しようとしている他の前記被設定装置が存在しないことを確認してから自らに前記第1のMACアドレスを設定することを特徴とするMACアドレス書込みシステム。 A MAC address writing system in which a write control terminal and n set devices to be MAC address setting targets are connected to each other via a network,
The write control terminal transmits a first broadcast frame including a first MAC address to the network;
The set device sets the first MAC address to itself after confirming that there is no other set device to which the first MAC address is to be set. Writing system.
前記被設定装置に書き込もうとするMACアドレスの初期値である第1のMACアドレスの入力を受け付けるユーザインターフェイス部と、
前記第1のMACアドレスを含む第1のブロードキャストフレームを生成するフレーム生成部と、
前記第1のブロードキャストフレームを前記ネットワークに対して送信するフレーム送信部とを有することを特徴とする書込み制御端末。 A write control terminal that is connected to each other by a network with n devices to be set for MAC address setting,
A user interface unit that receives an input of a first MAC address that is an initial value of a MAC address to be written to the set device;
A frame generation unit for generating a first broadcast frame including the first MAC address;
A write control terminal comprising: a frame transmission unit configured to transmit the first broadcast frame to the network.
前記MACアドレスを記憶するEEPROMと、
前記書込み制御端末から第1のMACアドレスを含む第1のブロードキャストフレームを受信したことを検出するフレーム判定部と、
前記被設定装置が、前記第1のMACアドレスを設定しようとしている前記被設定装置が他に存在しないことを確認する制御部と、
前記第1のMACアドレスを設定しようとしている他の前記被設定装置が存在しないことが確認された場合に、前記第1のMACアドレスを前記EEPROMに書き込むMACアドレス書き込み部とを有することを特徴とする被設定装置。 A device to be set that is a target of MAC address setting, mutually connected by a network with a write control terminal and another device to be set,
An EEPROM for storing the MAC address;
A frame determination unit for detecting that a first broadcast frame including a first MAC address is received from the write control terminal;
A control unit for confirming that there is no other device to be set in which the device to be set is going to set the first MAC address;
A MAC address writing unit that writes the first MAC address to the EEPROM when it is confirmed that there is no other device to be set for setting the first MAC address. Device to be set.
前記書込み制御端末が、前記ネットワークに対して第1のMACアドレスを含む第1のブロードキャストフレームを送信し、
前記被設定装置が、前記第1のMACアドレスを設定しようとしている他の前記被設定装置が存在しないことを確認し、
前記被設定装置が、前記第1のMACアドレスを設定しようとしている他の前記被設定装置が存在しないことを確認した場合に、自らに前記第1のMACアドレスを設定することを特徴とするMACアドレス割当方法。 A MAC address writing system configured by connecting a write control terminal and n set devices to each other via a network, and assigning a MAC address to each of the set devices,
The write control terminal transmits a first broadcast frame including a first MAC address to the network;
The set device confirms that there is no other set device for which the first MAC address is to be set,
The MAC is configured to set the first MAC address to itself when the set device confirms that there is no other set device to which the first MAC address is to be set. Address assignment method.
前記被設定装置に書き込もうとするMACアドレスの初期値である第1のMACアドレスの入力を受け付ける処理と、
前記第1のMACアドレスを含む第1のブロードキャストフレームを生成する処理と、
前記第1のブロードキャストフレームを前記ネットワークに対して送信する処理とを実行させることを特徴とするプログラム。 To a computer that constitutes a write control terminal that is interconnected by a network with n devices to be set for MAC address setting,
A process of receiving an input of a first MAC address that is an initial value of a MAC address to be written to the set device;
Generating a first broadcast frame including the first MAC address;
A program for executing a process of transmitting the first broadcast frame to the network.
前記書込み制御端末から第1のMACアドレスを含む第1のブロードキャストフレームを受信したことを検出する処理と、
前記被設定装置が、前記第1のMACアドレスを設定しようとしている他の前記被設定装置が存在しないことを確認する処理と、
前記第1のMACアドレスを設定しようとしている他の前記被設定装置が他に存在しないことが確認された場合に、前記第1のMACアドレスを前記EEPROMに書き込む処理とを実行させることを特徴とするプログラム。 To a computer that controls a set device having an EEPROM that stores a MAC address that is interconnected by a network with a write control terminal and other set devices,
A process of detecting the reception of a first broadcast frame including a first MAC address from the write control terminal;
A process for confirming that the other device to be set for which the device to be set is trying to set the first MAC address does not exist;
A process of writing the first MAC address to the EEPROM when it is confirmed that there is no other device to be set to set the first MAC address. Program to do.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008167974A JP4872107B2 (en) | 2008-06-26 | 2008-06-26 | MAC address writing system, writing control terminal, set device, MAC address assignment method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008167974A JP4872107B2 (en) | 2008-06-26 | 2008-06-26 | MAC address writing system, writing control terminal, set device, MAC address assignment method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010011082A JP2010011082A (en) | 2010-01-14 |
| JP4872107B2 true JP4872107B2 (en) | 2012-02-08 |
Family
ID=41591034
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008167974A Expired - Fee Related JP4872107B2 (en) | 2008-06-26 | 2008-06-26 | MAC address writing system, writing control terminal, set device, MAC address assignment method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4872107B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003134115A (en) * | 2001-10-30 | 2003-05-09 | Yamatake Building Systems Co Ltd | Communication device and address setting method |
| JP4645236B2 (en) * | 2005-03-04 | 2011-03-09 | 日本電気株式会社 | Network device address automatic setting method and system |
| JP2007251637A (en) * | 2006-03-16 | 2007-09-27 | Freescale Semiconductor Inc | Wireless communication device, individual information writing device, and individual information setting method |
-
2008
- 2008-06-26 JP JP2008167974A patent/JP4872107B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010011082A (en) | 2010-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101778378B (en) | Firmware node updating method, device and system | |
| TWI353750B (en) | Wireless communication system, wireless lan access | |
| US20150248298A1 (en) | Rebooting infiniband clusters | |
| US8510384B2 (en) | Multicast distribution system and method | |
| US20060069836A1 (en) | Communication system and method for upgrade of user terminal software and user terminal upgraded by the same | |
| JP2015532053A (en) | Layer-2 address management at an access point that can accommodate only three addresses in a network having a relay device | |
| CN102833363A (en) | IP (Internet Protocol) address allocation method, device and system | |
| CN104144096A (en) | Virtual network layer construction method, device and system | |
| USRE46770E1 (en) | Computer managing method | |
| JP4411222B2 (en) | Network, network terminal device, IP address management method used therefor, and program thereof | |
| CN104484205B (en) | A kind of update device and method of I/O device firmware | |
| US20150134804A1 (en) | Communication device and communication system | |
| US8478869B2 (en) | Information processing device and program | |
| CN105812413A (en) | Communication method and device | |
| US20060259624A1 (en) | Network address transition methods and systems | |
| JP4872107B2 (en) | MAC address writing system, writing control terminal, set device, MAC address assignment method and program | |
| US20100103457A1 (en) | Image forming apparatus and print system | |
| CN105281944A (en) | Method for setting network protocol address and service management system | |
| CN102420731A (en) | Network access control method and system | |
| KR20090126355A (en) | Apparatus and method for setting network address in packet communication system | |
| US10732591B2 (en) | Apparatus and method for establishing communication between an operation terminal and a controller when only one controller is connected | |
| US8065412B2 (en) | Information processing apparatus for obtaining address information by a server apparatus of devices in a client apparatus | |
| JP2019020851A (en) | Device control apparatus and device control method and program | |
| CN104038449B (en) | A kind of method, service board and the communication equipment of service board communication | |
| CN111726427B (en) | An information processing method, device, and computer-readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110728 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110817 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110930 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111025 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111102 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141202 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4872107 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |