KR20040020518A - Method for auto allocation and setting of MAC address in CDMA2000 system - Google Patents

Method for auto allocation and setting of MAC address in CDMA2000 system Download PDF

Info

Publication number
KR20040020518A
KR20040020518A KR1020020052126A KR20020052126A KR20040020518A KR 20040020518 A KR20040020518 A KR 20040020518A KR 1020020052126 A KR1020020052126 A KR 1020020052126A KR 20020052126 A KR20020052126 A KR 20020052126A KR 20040020518 A KR20040020518 A KR 20040020518A
Authority
KR
South Korea
Prior art keywords
delimiter
hardware
mac address
setting
shelf
Prior art date
Application number
KR1020020052126A
Other languages
Korean (ko)
Other versions
KR100513191B1 (en
Inventor
백현수
Original Assignee
주식회사 현대시스콤
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 주식회사 현대시스콤 filed Critical 주식회사 현대시스콤
Priority to KR10-2002-0052126A priority Critical patent/KR100513191B1/en
Publication of KR20040020518A publication Critical patent/KR20040020518A/en
Application granted granted Critical
Publication of KR100513191B1 publication Critical patent/KR100513191B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: A method for automatically allocating and setting a MAC(Medium Access Control) address in a CDMA2000 system is provided to prevent a failure in an IP packet communication in mounting a new hardware in a system or replacing hardware of a slot with a different hardware by applying setting a single MAC address for each project, system, shelf and slot by software. CONSTITUTION: When a hardware is mounted or replaced in a standby state(ST11,ST12), a CPU(Central Processor Unit) reads each identifier(a project identifier, a system identifier, a shelf identifier and a slot identifier) by software(ST13). The CPU stores the identifiers in a storing unit of the hardware(ST14). The hardware is set(ST15). Different MAC addresses are set and automatically allocated to each slot(ST16).

Description

시디엠에이2000 시스템에서 맥 어드레스 자동할당 및 설정 방법{Method for auto allocation and setting of MAC address in CDMA2000 system}Method for auto allocation and setting of MAC address in CDMA2000 system}

본 발명은 CDMA2000 시스템 또는 ATM 스위치에서와 같이 IP 통신을 수행할 수 있는 시스템에서 IP(Internet Protocol) 패킷을 송수신할 수 있는 하드웨어에 MAC 어드레스를 자동으로 할당해 줄 수 있는 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법에 관한 것으로, 보다 상세하게는 MAC 어드레스의 6바이트 중 3바이트에 제품 구분자(프로젝트, 시스템, 쉘프, 슬롯)를 체계적으로 세분화하여 나누고, 각 하드웨어가 실장되어 하드웨어의 초기화가 이루어질 경우 상기의 각 구분자를 읽어들여 프로젝트별, 시스템별, 쉘프별, 슬롯별로 각각 단일한 MAC 어드레스를 설정하도록 소프트웨어적으로 하드웨어에 적용할 수 있도록 한 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법에 관한 것이다.The present invention automatically assigns a MAC address in a CDMA2000 system that can automatically assign a MAC address to hardware capable of transmitting and receiving IP (Internet Protocol) packets in a system capable of performing IP communication, such as in a CDMA2000 system or an ATM switch. And a setting method, and more specifically, product identifiers (projects, systems, shelves, slots) are divided into three of six bytes of the MAC address in a systematic manner, and each hardware is mounted to initialize the hardware. The present invention relates to a method of automatically allocating and configuring MAC addresses in a CDMA2000 system that can be applied to hardware by software by reading each delimiter and setting a single MAC address for each project, system, shelf, and slot.

일반적으로, CDMA2000(Code Division Multiple Access 2000) 시스템을 비롯한 최근의 시스템에서는 IP(Internet Protocol) 통신이 가능하게 설계되는데, 상기와 같은 시스템에서는 다수의 하드웨어 종류가 설정되며, 또한 동일한 하드웨어일 경우에도 다수개가 시스템에 실장되게 된다.In general, in recent systems including the CDMA2000 (Code Division Multiple Access 2000) system, the Internet Protocol (IP) communication is designed to be possible. In such a system, a plurality of hardware types are set, and even in the case of the same hardware, The dog will be mounted on the system.

한편, 종래에는 다수개의 하드웨어 각각에 매체접근 제어계층(이하 "MAC"이라 칭함) 어드레스(Address)와 IP 어드레스를 임의로 설정한 후, IP 통신이 필요한 하드웨어의 저장 공간, 즉 플래시 메모리(Flash Memory)나 EEPROM 등을 비롯한 비휘발성 메모리에 상기 설정된 어드레스를 저장한다. 이때, 다른 하드웨어 종류 또는 동일한 하드웨어가 다수개일 경우에는 각각의 하드웨어에 대응되는 다른 MAC 어드레스와 IP 어드레스를 갖게 하기 위해 운용자가 일일이 수작업으로 직접 입력하여 사용하였다.Meanwhile, conventionally, after arbitrarily setting a medium access control layer (hereinafter referred to as "MAC") address and an IP address in each of a plurality of pieces of hardware, a storage space of hardware requiring IP communication, that is, a flash memory. And the above-mentioned address is stored in a nonvolatile memory including an EEPROM and the like. In this case, when there are a plurality of different hardware types or the same hardware, the operator manually inputs and uses them manually to have different MAC addresses and IP addresses corresponding to the respective hardware.

따라서, MAC 어드레스 및 IP 어드레스에 대한 운용관리가 원활히 이루어지기가 매우 어려우며, 이로 인해 각각의 하드웨어에 설정되는 MAC 어드레스와 IP 어드레스가 운용자의 실수 등으로 인하여 동일한 MAC 어드레스와 IP 어드레스가 부가될 수 있으며, 또한, 상기한 경우 동일한 MAC 어드레스와 IP 어드레스가 중첩되는 일이 발생할 수 있다.Therefore, it is very difficult to manage the operation of the MAC address and the IP address smoothly. As a result, the MAC address and the IP address set in each hardware may be added with the same MAC address and IP address due to an operator's mistake. In addition, in the above case, the same MAC address and IP address may overlap.

상기한 바와 같이, MAC 어드레스 및 IP 어드레스가 중첩되는 경우, 서로의 어드레스에서 충돌 현상이 발생되며, 이때에는 상기 어드레스중 하나만이 통신이 가능하게 되고, 나머지는 IP 통신 자체가 수행되지 않는 문제점이 발생하였다. 또한 수많은 각 하드웨어 종류를 운용자가 일일이 수작업으로 입력해야 하므로, 번거러울 뿐만 아니라, 그에 따른 여러 문제점이 발생하였다.As described above, when the MAC address and the IP address overlap, a collision occurs at each other's address. At this time, only one of the addresses can communicate, and the rest does not perform the IP communication itself. It was. In addition, since each operator has to manually enter a number of each type of hardware, it is not only cumbersome, but also caused various problems.

뿐만 아니라, 각 하드웨어는 CDMA2000 시스템의 파생 제품들에서도 사용될 수 있는데, 동일한 하드웨어 종류라도 동일 시스템의 다른 쉘프 또는 다른 슬롯에 실장 될 수도 있고, 하드웨어의 고장으로 다른 양품의 동일한 하드웨어로도 교체될 수 있다.In addition, each piece of hardware can be used in derivatives of the CDMA2000 system. The same type of hardware can be mounted on different shelves or in different slots of the same system, or a hardware failure can be replaced by the same piece of hardware. .

이때, 각 하드웨어에는 서로 다른 단일한 MAC 어드레스가 적용되기 때문에 최초 세팅시 시스템에 적용된 하드웨어에서 IP 통신을 다른 시스템 또는 다른 하드웨어와 통신을 수행하고 있을 때, 해당 하드웨어와 통신을 하는 상대편의 하드웨어에서는 통신을 수행하고 있는 쪽의 MAC 어드레스와 IP 어드레스를 저장하여 상호 IPC 통신을 수행하게 된다.At this time, because each hardware is applied with a different single MAC address, when the IP communication is performed on the hardware applied to the system at the time of initial setting with another system or other hardware, the other hardware communicating with the corresponding hardware communicates. IPC communication is performed by storing MAC address and IP address of the performing party.

따라서, 해당 하드웨어가 통신 도중 다른 MAC 어드레스를 갖는 다른 하드웨어로 변경되었을 경우가 발생하면 해당 하드웨어에서는 상대편이 송신한 IP 패킷을 수신하지 못하게 되고 이로 인하여, 통신의 단절이 일어난다.Therefore, when the hardware is changed to other hardware having a different MAC address during communication, the hardware cannot receive the IP packet transmitted by the other party, which causes a disconnection of the communication.

이때, 해당 하드웨어에서 해당 MAC 어드레스와 IP 어드레스로 IP 패킷을 상대측으로 송신하면 그때서야 상대측과 IP 패킷 통신이 가능하게 되는데, 이는 상대측에서 수신된 IP 패킷의 이더넷 프레임(Ethernet Frame)에서 MAC 어드레스를 저장 공간에 기억되기 때문이다.At this time, if the hardware sends an IP packet with the corresponding MAC address and IP address to the other side, IP packet communication with the other side becomes possible, which stores the MAC address in the Ethernet frame of the IP packet received from the other side. Because it is remembered in space.

이와 같이, 상기에서 MAC 어드레스가, 상호간에 IP 통신을 수행하는 한 측과 다른 한 측에서 변경이 이루어질 경우에, 변경된 측에서 새로이 변경된 IP 패킷을 송신하지 않을 경우에는 심각한 IP 패킷의 유실이 일어나게 되는 문제점이 발생하였다.As described above, when the MAC address is changed on one side and the other side performing IP communication with each other, serious IP packet loss occurs when the changed side does not transmit the newly changed IP packet. A problem occurred.

이에 본 발명은 상기와 같은 종래 기술의 제반 문제점을 해결하기 위해서 제안된 것으로서,Accordingly, the present invention is proposed to solve the above problems of the prior art,

본 발명의 목적은 MAC 어드레스의 6바이트 중 3바이트에 제품 구분자(프로젝트, 시스템, 쉘프, 슬롯)를 체계적으로 세분화하여 나누고, 각 하드웨어가 실장되어 하드웨어의 초기화가 이루어질 경우 상기의 구분자를 읽어들여 각 프로젝트별,시스템별, 쉘프별, 슬롯별로 각각 단일한 MAC 어드레스를 설정하도록 소프트웨어적으로 하드웨어에 적용함으로써, 새로운 하드웨어가 시스템에 실장되거나, 해당 슬롯의 하드웨어가 다른 하드웨어로 교체될 경우에도 IP 패킷 통신상의 장애가 발생되는 것을 미연에 방지할 수 있도록 한 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법을 제공하는 데 있다.An object of the present invention is to divide the product identifiers (projects, systems, shelves, slots) into three of the six bytes of the MAC address systematically divided, and to read each of the above separators when the hardware is mounted to initialize the hardware By applying software to hardware to set a single MAC address for each project, system, shelf, and slot, IP packet communication is possible even when new hardware is mounted on the system or the hardware of the corresponding slot is replaced with other hardware. The present invention provides a method for automatically allocating and configuring MAC addresses in a CDMA2000 system that can prevent a failure in a network.

상기와 같은 목적을 달성하기 위한 본 발명은,The present invention for achieving the above object,

MAC 어드레스의 6바이트(Byte)중 상위 3바이트는 제조사의 고유 번호를 입력하고, 나머지 3바이트에는 제조사의 제품 번호를 할당하며, 상기 제품 번호는 제조사의 제품 구분자를 각 비트 필드별(프로젝트 구분자, 시스템 구분자, 쉘프 구분자, 슬롯 구분자)로 세분화하여 MAC 어드레스 체계를 구성하는 것을 특징으로 한다.The upper 3 bytes of the 6 bytes of the MAC address input the manufacturer's unique number, and the remaining 3 bytes allocate the manufacturer's product number, and the product number indicates the manufacturer's product identifier for each bit field (project identifier, MAC address system is configured by subdividing into system separator, shelf separator, slot separator).

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 소프트웨어적인 MAC 어드레스 설정 방법은,In addition, the software MAC address setting method of the present invention for achieving the above object,

대기 상태에서 하드웨어의 실장 또는 교체 될 경우, 중앙처리장치에서 각 구분자(프로젝트 구분자, 시스템 구분자, 쉘프 구분자, 슬롯 구분자)를 소프트웨어적으로 읽어들이는 단계와,When the hardware is mounted or replaced in the standby state, reading each delimiter (project delimiter, system delimiter, shelf delimiter, slot delimiter) in software from the central processing unit,

상기 읽어들인 각 구분자를 하드웨어의 저장장치에 기억시키는 단계와,Storing each read separator in hardware storage;

상기 기억시킨 후, 하드웨어를 설정하는 단계와,Setting the hardware after the storing;

상기 하드웨어 설정 후, 각각의 슬롯에 각기 다른 MAC 어드레스를 설정 및 자동할당 하는 단계로 구성됨을 그 방법적 구성상의 특징으로 한다.After the hardware configuration, each method is characterized in that the configuration of the method consists of setting and automatically assigning a different MAC address to each slot.

도 1은 본 발명에 의한 CDMA2000 시스템에서 MAC 어드레스 체계를 나타낸 도면이고,1 is a diagram illustrating a MAC address system in a CDMA2000 system according to the present invention;

도 2는 본 발명에 의한 CDMA2000 시스템에서 소프트웨어적인 MAC 어드레스 설정 과정을 나타낸 흐름도이고,2 is a flowchart illustrating a software MAC address setting process in a CDMA2000 system according to the present invention;

도 3은 본 발명에 의한 MAC 어드레스를 산출하는 과정을 나타낸 흐름도이다.3 is a flowchart illustrating a process of calculating a MAC address according to the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100 ..... 제1 영역(제조사 고유 번호)100 ..... First area (manufacturer's unique number)

200 ..... 제2 영역(제품 번호)200 ..... Second area (product number)

220 ..... 8비트 프로젝트 구분자220 ..... 8-bit project separator

230 ..... 4비트 시스템 구분자230 ..... 4-bit system identifier

240 ..... 3비트 쉘프 구분자240 ..... 3-bit shelf delimiter

250 ..... 5비트 슬롯 구분자250 ..... 5-bit slot delimiter

이하, 상기와 같은 기술적 사상에 따른 본 발명의 「CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법」의 바람직한 실시 예를 첨부된 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, a preferred embodiment of the "MAC address automatic allocation and setting method in the CDMA2000 system" according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 의한 CDMA2000 시스템에서 MAC 어드레스 체계를 나타낸 도면이다.1 is a diagram illustrating a MAC address system in a CDMA2000 system according to the present invention.

통상적으로, CDMA2000 시스템에는 프로젝트 구분자를 비롯하여 시스템 구분자, 쉘프 구분자 및 슬롯 구분자를 가지고 있다.Typically, CDMA2000 systems have a project separator, a system separator, a shelf separator, and a slot separator.

본 발명에서는 상기한 각 구분자를 MAC 어드레스로 활용하여 MAC 어드레스의 체계를 구성하였으며, 그 구성은 다음과 같다.In the present invention, the MAC address system is configured by using each of the above separators as MAC addresses, and the configuration is as follows.

즉, 도 1에 도시된 바와 같이, 본 발명에 의한 MAC 어드레스는 6바이트(Byte)로 구성되며, 여기서 제1 영역(100)인 상위 3바이트는 제조사 고유 번호가 입력되고, 나머지 3바이트인 제2 영역(200)에는 제조사의 제품 구분자로 사용한다.That is, as shown in Figure 1, the MAC address according to the present invention is composed of 6 bytes (Byte), where the upper 3 bytes of the first area 100 is the manufacturer unique number is input, the remaining 3 bytes The second region 200 is used as a product separator of the manufacturer.

여기서, 상기 제1 영역(100)에 할당되는 제조사 고유 번호는 국제기구로부터 고유한 제조사 번호를 부여 받는 것이고, 상기 제2 영역(200)에 할당되는 제품 번호는 도 1에 도시된 바와 같이 각 비트 필드별로 구분한다.Here, the manufacturer unique number assigned to the first region 100 is assigned a unique manufacturer number from an international organization, and the product number assigned to the second region 200 is represented by each bit as shown in FIG. 1. Separate by field.

다시 말하면, 첨부된 도면 도 1에 도시된 바와 같이, 예약된 4비트(210)와, 8비트 프로젝트 구분자(220)와, 4비트 시스템 구분자(230)와, 3비트 쉘프구분자(240)와, 5비트 슬롯 구분자(250)로 각각 세분화된다.In other words, as shown in FIG. 1, a reserved 4-bit 210, an 8-bit project delimiter 220, a 4-bit system delimiter 230, a 3-bit shelf delimiter 240, Each is divided into 5-bit slot separators 250.

여기서, 상기 예약된 4비트(210)는 추후에 발생될 수 있는 예측하지 못한 것에 대해 대비하기 위해 할당된다.Here, the reserved 4 bits 210 are allocated to prepare for the unexpected that may occur later.

상기 8비트 프로젝트 구분자(220)는 제조사가 계속 상품을 개발하여 각기 다른 프로젝트가 생성되는 것을 위한 구분자이고, 상기 4비트 시스템 구분자(230)는 CDMA2000 시스템의 구성 요소들 즉, 기지국, 제어국, 교환국, PDSN 등 여러 구성 요소에 대한 구분자이며, 상기 3비트 쉘프 구분자(240)는 각 시스템 구성 요소마다의 최대 가능한 쉘프 수에 대한 구분자이고, 마지막으로 상기 5비트 슬롯 구분자(250)는 상기 각 쉘프 내에서 하드웨어가 실장될 수 있는 최대의 수에 대한 구분자로서, 상기 각 쉘프 내에서 하드웨어가 실장될 수 있는 최대의 수를 비트 필드로 배정한다.The 8-bit project delimiter 220 is a delimiter for different projects to be created by the manufacturer continues to develop the product, the 4-bit system delimiter 230 is a component of the CDMA2000 system, that is, the base station, the control station, the switching station And a 3-bit shelf delimiter 240 is a delimiter for the maximum possible number of shelves for each system component. Finally, the 5-bit slot delimiter 250 is used in each shelf. As a delimiter for the maximum number of hardware that can be mounted in, a bit field is assigned to the maximum number of hardware that can be mounted in each shelf.

또한, IP 패킷 통신을 수행하기 위한 모든 하드웨어에는 중앙처리장치가 필수적으로 포함되어야 하기 때문에 어떤 종류의 하드웨어가 특정 프로젝트, 시스템, 쉘프 및 슬롯에 실장될 때 중앙처리장치에서 상기의 구분자를 소프트웨어적으로 읽어들인다.In addition, since all hardware for performing IP packet communication must include a central processing unit, when the hardware of any kind is mounted in a specific project, system, shelf, and slot, the delimiter in the central processing unit is software-based. Read.

물론 제조사 번호는 고유한 번호이기 때문에 중앙처리장치는 이미 정의된 값을 갖게된다. 중앙처리장치가 각 구분자를 읽어서 하드웨어의 저장장치에 기억하도록하고, 하드웨어에 설정을 하게되면 각각의 슬롯에는 각기 다른 MAC 어드레스가 설정되기 때문에 기존 방법시에 발생하는 문제점을 해결할 수 있다.Of course, the manufacturer number is a unique number, so the central processing unit has a value already defined. The central processing unit reads each delimiter and stores it in the storage device of the hardware, and if the hardware is set, each slot has a different MAC address, which can solve the problem of the conventional method.

상기한 과정을 첨부한 도면 도 2를 참조하여 그 흐름을 살펴보면 다음과 같다.Looking at the flow with reference to Figure 2 attached to the above process as follows.

도 2는 본 발명에 의한 CDMA2000 시스템에서 소프트웨어적인 MAC 어드레스 설정 과정을 나타낸 흐름도이다.2 is a flowchart illustrating a software MAC address setting process in the CDMA2000 system according to the present invention.

이에 도시된 바와 같이, 대기 상태(ST11)에서 하드웨어의 실장 또는 교체(ST12)가 될 경우, 중앙처리장치에서 각 구분자(프로젝트 구분자, 시스템 구분자, 쉘프 구분자, 슬롯 구분자)를 소프트웨어적으로 읽어들이는 단계(ST13)와, 상기 읽어들인 각 구분자를 하드웨어의 저장장치에 기억시키는 단계(ST14)와, 상기 기억시킨 후, 하드웨어를 설정하는 단계(ST15)와, 상기 하드웨어 설정 후, 각각의 슬롯에 각기 다른 MAC 어드레스를 설정 및 자동할당 하는 단계(ST16)로 이루어진다.As shown in the figure, when the hardware is mounted or replaced in the standby state (ST11) (ST12), the central processing unit reads each separator (project separator, system separator, shelf separator, slot separator) in software. Step ST13, storing the read separators in a storage device of hardware (ST14), setting the hardware after the storing, and setting the hardware (ST15), and after setting the hardware, respectively in each slot A step of setting and automatically allocating another MAC address is made (ST16).

여기서, 상기한 프로젝트 구분자 및 시스템 구분자는 소프트웨어적으로 정의되고, 쉘프 및 슬롯 구분자는 하드웨어적으로 지원하여야 한다.Here, the project separator and system separator are defined in software, and the shelf and slot separators must be supported in hardware.

따라서, IP 패킷 통신을 하는 하드웨어의 중앙처리장치가 쉘프에 실장되어 전원이 인가되어 하드웨어를 초기화하는 과정에서 상기한 프로젝트 구분자(220)와 시스템 구분자(230)를 더한 다음 쉘프 구분자(240) 및 슬롯 구분자(250)를 하드웨어에서 지원하는 레지스터를 중앙처리장치가 읽은 값과 그 이전에 소프트웨어적으로 정의된 값, 즉 프로젝트 및 시스템 구분자를 더한 값을 다시 더하게 되고, 여기에 제조사의 고유 번호를 더하게 되면 단일한 MAC 어드레스를 구할 수 있게된다.Therefore, in the process of initializing the hardware by mounting the central processing unit of the hardware for IP packet communication in the shelf, the project delimiter 220 and the system delimiter 230 are added to the shelf delimiter 240 and the slot. The registers supported by the delimiter 250 in hardware are added back together with the values read by the central processing unit and the values previously defined in software, i.e., the project and system delimiters, plus the manufacturer's unique number. The result is a single MAC address.

이때, 상기에서 구해진 값 즉, MAC 어드레스를 이더넷 포트의 MAC 어드레스 레지스터에 쓰면 되는 것이다.In this case, the value obtained above, that is, the MAC address may be written in the MAC address register of the Ethernet port.

상기한 MAC 어드레스를 구하는 과정을 첨부한 도면 도 3을 참조하여 살펴보면 다음과 같다.The process of obtaining the MAC address will now be described with reference to FIG. 3.

도 3은 본 발명에 의한 MAC 어드레스를 산출하는 과정을 나타낸 흐름도이다.3 is a flowchart illustrating a process of calculating a MAC address according to the present invention.

이에 도시된 바와 같이, 하드웨어 초기화 과정(ST101)에서 프로젝트 구분자와 시스템 구분자를 가산하는 단계(ST102)와, 상기 가산 후, 이에 산출된 값에 중앙처리장치가 쉘프 구분자 및 슬롯 구분자를 하드웨어에서 지원하는 레지스터를 읽은 값과 가산하는 단계(ST103)와, 상기 가산하여 산출된 값에 제조사의 고유 번호를 가산하는 단계(ST104)와, 상기 가산 후, 산출된 값을 이용하여 단일한 MAC 어드레스를 구하는 단계(ST105)와, 상기에서 구해진 MAC 어드레스를 이용하여 이더넷 포트의 MAC 어드레스 레지스터에 적용하는 단계(ST106)로 이루어진다.As shown therein, in the hardware initialization process (ST101), adding a project separator and a system separator (ST102), and after the addition, the central processing unit supports the shelf separator and the slot separator in the calculated value in hardware. Adding the read value to the register (ST103), adding the manufacturer's unique number to the calculated value (ST104), and after the addition, obtaining a single MAC address using the calculated value. (ST105) and applying to the MAC address register of the Ethernet port using the obtained MAC address (ST106).

한편, CDMA2000 시스템 및 ATM 스위치와 그 파생 제품은 물리적으로 이더넷으로 연결되어 IP 통신을 할 수 있게 되는데, CDMA2000 시스템에서는 다수의 하드웨어 종류와 다수의 동일한 하드웨어들로 구성된다.On the other hand, CDMA2000 systems and ATM switches and their derivatives are physically connected via Ethernet to enable IP communication. In the CDMA2000 system, a plurality of hardware types and a plurality of identical hardware are provided.

본 발명에서는 상기한 각 하드웨어에는 단일한 하드웨어 주소를 갖게 되는데, 각 하드웨어에 대한 MAC 어드레스를 시스템의 쉘프에 실장될 때 자동으로 MAC 어드레스를 할당하게 하고, 실장 슬롯에 고정된 MAC 어드레스를 갖게 하여 다른 쉘프나 다른 슬롯에 실장되게 될 경우, MAC 어드레스가 변경되어 IP 패킷 통신이 두절되는 문제점을 보완할 수 있도록 한 것이다.In the present invention, each hardware has a single hardware address. When the MAC address for each hardware is mounted on the shelf of the system, the MAC address is automatically assigned and the fixed MAC address is assigned to the mounting slot. When mounted in a shelf or another slot, the MAC address is changed to compensate for the problem of dropping IP packet communication.

즉, MAC 어드레스는 6바이트로 구성되는데 상위 3바이트는 제조사 번호가 입력되고, 나머지 3바이트는 제조사의 제품 구분자로 사용하고, 상기 제품 구분자를체계적으로 세분화한다.That is, the MAC address consists of 6 bytes, the upper 3 bytes of the manufacturer number are input, the remaining 3 bytes are used as the product identifier of the manufacturer, and the product identifier is systematically subdivided.

예를 들면, 3바이트를 프로젝트 구분자, 시스템 구분자, 쉘프 구분자, 슬롯 구분자로 나누고 각 하드웨어가 실장되어서 하드웨어 초기화가 이루어질 경우 상기의 구분자를 읽어서 각 프로젝트별, 시스템별, 쉘프별, 슬롯별로 각 단일한 MAC 어드레스를 설정하도록 소프트웨어적으로 하드웨어에 적용함으로써, 어떠한 하드웨어가 시스템에 실장되더라도 해당 슬롯에는 동일한 MAC 어드레스가 설정되도록 하고, 이를 통해 해당 슬롯의 하드웨어가 다른 하드웨어로 교체되더라도 동일한 MAC 어드레스가 적용될 수 있도록 함으로써, IP 패킷 통신상의 장애가 발생하는 것을 방지할 수 있는 것이다.For example, three bytes are divided into a project separator, a system separator, a shelf separator, and a slot separator. When each hardware is mounted and hardware initialization is performed, the above separator is read and each single project, system, shelf, slot, etc. By applying the software to hardware to set the MAC address, the same MAC address is set to the slot even if any hardware is mounted in the system, so that the same MAC address can be applied even if the hardware of the slot is replaced with other hardware. By doing so, it is possible to prevent a failure in IP packet communication.

상기한 바와 같은 본 발명은 IP 패킷을 송수신할 수 있는 하드웨어에 MAC 어드레스를 자동으로 할당해 주는 방법으로 IP 통신을 할 수 있는 시스템에는 모두 적용이 가능하다.As described above, the present invention can be applied to any system capable of IP communication by automatically assigning MAC addresses to hardware capable of transmitting and receiving IP packets.

이상에서 상술한 본 발명 "CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법"에 따르면, CDMA2000 시스템 또는 ATM 스위치에서와 같이 IP 통신을 수행할 수 있는 시스템에서 IP(Internet Protocol) 패킷을 송수신할 수 있는 하드웨어에 MAC 어드레스를 자동으로 할당해 줌으로써, 종래 기술에 따른 MAC 어드레스를 하드웨어적으로 고정하여 사용하였으나, 시스템과 같이 수많은 이더넷 포트를 가져야 하는 특성 때문에 하드웨어적으로 MAC 어드레스를 고정함으로써 발생되는 여러문제점을 해결할 수 있으며, 또한 상기에서와 같이 소프트웨어적으로 설정할 수 있게 하면 MAC 어드레스를 각 하드웨어마다 서로 다르게 설정해야 하는 번거로움을 해소할 수 있으며, 이를 통해 각 설정을 효율적으로 수행할 수 있는 이점을 가진다.According to the above-described "method for automatically allocating and setting the MAC address in the CDMA2000 system", hardware capable of transmitting and receiving IP (Internet Protocol) packets in a system capable of performing IP communication, such as in a CDMA2000 system or an ATM switch. By assigning MAC address automatically, the MAC address according to the prior art is fixed in hardware, but due to the characteristic that it has many Ethernet ports like the system, it solves various problems caused by fixing MAC address in hardware. In addition, by enabling the software to be set as described above, it is possible to solve the trouble of having to set the MAC address differently for each hardware, thereby having the advantage of performing each setting efficiently.

Claims (4)

CDMA2000 시스템에서 MAC 어드레스 설정 방법에 있어서,In the method of setting the MAC address in the CDMA2000 system, MAC 어드레스의 6바이트(Byte)중 상위 3바이트는 제조사의 고유 번호를 입력하고, 나머지 3바이트에는 제조사의 제품 번호를 할당하며, 상기 제품 번호는 제조사의 제품 구분자를 각 비트 필드별(프로젝트 구분자, 시스템 구분자, 쉘프 구분자, 슬롯 구분자)로 세분화하여 MAC 어드레스 체계를 구성하는 것을 특징으로 하는 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법.The upper 3 bytes of the 6 bytes of the MAC address input the manufacturer's unique number, and the remaining 3 bytes allocate the manufacturer's product number, and the product number indicates the manufacturer's product identifier for each bit field (project identifier, MAC address auto-assignment and setting method in CDMA2000 system, characterized by subdividing into system separator, shelf separator, slot separator). 제 1 항에 있어서,The method of claim 1, 상기 프로젝트 구분자는 제조사가 계속 상품을 개발하여 각기 다른 프로젝트가 생성되는 것을 위한 구분자이고, 상기 시스템 구분자는 CDMA2000 시스템의 구성요소(기지국, 제어국, 교환국, PDSN)에 대한 구분자이며, 상기 쉘프 구분자는 각 시스템 구성요소마다의 최대 가능한 쉘프 수에 대한 구분자이고, 상기 슬롯 구분자는 상기 각 쉘프 내에서 하드웨어가 실장될 수 있는 최대의 수에 대한 구분자로서, 상기 각 쉘프 내에서 하드웨어가 실장될 수 있는 최대의 수를 비트 필드로 배정하는 것을 특징으로 하는 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법.The project delimiter is a delimiter for different projects generated by the manufacturer continuously developing the product, the system delimiter is a delimiter for components (base station, control station, switching station, PDSN) of the CDMA2000 system, and the shelf delimiter A delimiter for the maximum possible number of shelves for each system component, wherein the slot delimiter is a delimiter for the maximum number of hardware that can be mounted within each shelf, the maximum of which hardware can be mounted within each shelf. The method of automatically allocating and setting a MAC address in a CDMA2000 system, wherein the number of bits is assigned to a bit field. CDMA2000 시스템에서 소프트웨어적인 MAC 어드레스 설정 방법에 있어서,A software MAC address setting method in a CDMA2000 system, 대기 상태에서 하드웨어의 실장 또는 교체 될 경우, 중앙처리장치에서 각 구분자(프로젝트 구분자, 시스템 구분자, 쉘프 구분자, 슬롯 구분자)를 소프트웨어적으로 읽어들이는 단계와;Software-reading each delimiter (project delimiter, system delimiter, shelf delimiter, slot delimiter) in the central processing unit when the hardware is mounted or replaced in the standby state; 상기 읽어들인 각 구분자를 하드웨어의 저장장치에 기억시키는 단계와;Storing each read separator in a storage device of hardware; 상기 기억시킨 후, 하드웨어를 설정한 후, 각각의 슬롯에 각기 다른 MAC 어드레스를 설정 및 자동할당 하는 단계를 포함하여 이루어진 것을 특징으로 하는 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법.And after setting the hardware, setting and automatically assigning different MAC addresses to respective slots, and automatically assigning and setting MAC addresses in the CDMA2000 system. 제 3 항에 있어서, 상기 MAC 어드레스는,The method of claim 3, wherein the MAC address, 하드웨어 초기화 과정에서 프로젝트 구분자와 시스템 구분자를 가산하는 단계와;Adding a project delimiter and a system delimiter in a hardware initialization process; 상기 가산 후, 이에 산출된 값에 중앙처리장치가 쉘프 구분자 및 슬롯 구분자를 하드웨어에서 지원하는 레지스터를 읽은 값과 가산하는 단계와;And after the addition, the CPU adds the shelf delimiter and the slot delimiter to the values read from the registers supported by the hardware. 상기 가산하여 산출된 값에 제조사의 고유 번호를 가산하여 산출된 값을 통해 단일한 MAC 어드레스를 구하는 단계와;Obtaining a single MAC address from the calculated value by adding the manufacturer's unique number to the calculated value; 상기에서 구해진 MAC 어드레스를 이용하여 이더넷 포트의 MAC 어드레스 레지스터에 적용하는 단계를 포함하여 이루어진 것을 특징으로 하는 CDMA2000 시스템에서 MAC 어드레스 자동할당 및 설정 방법.And assigning the MAC address to the Ethernet address MAC address register using the obtained MAC address.
KR10-2002-0052126A 2002-08-30 2002-08-30 Method for auto allocation and setting of MAC address in CDMA2000 system KR100513191B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0052126A KR100513191B1 (en) 2002-08-30 2002-08-30 Method for auto allocation and setting of MAC address in CDMA2000 system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0052126A KR100513191B1 (en) 2002-08-30 2002-08-30 Method for auto allocation and setting of MAC address in CDMA2000 system

Publications (2)

Publication Number Publication Date
KR20040020518A true KR20040020518A (en) 2004-03-09
KR100513191B1 KR100513191B1 (en) 2005-09-08

Family

ID=37324977

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0052126A KR100513191B1 (en) 2002-08-30 2002-08-30 Method for auto allocation and setting of MAC address in CDMA2000 system

Country Status (1)

Country Link
KR (1) KR100513191B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7319681B2 (en) 2004-11-12 2008-01-15 Samsung Electronics Co., Ltd. Method and apparatus for securing media access control (MAC) addresses

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10247927A (en) * 1997-03-03 1998-09-14 Oki Electric Ind Co Ltd Mac address assignment method
JP2000151670A (en) * 1998-11-05 2000-05-30 Meidensha Corp Switching hub
JP2000209216A (en) * 1999-01-12 2000-07-28 Shimada Phys & Chem Ind Co Ltd Address management method and device, and recording medium thereof
KR20040017566A (en) * 2002-08-22 2004-02-27 삼성전자주식회사 Method for assigning media access control address for network device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7319681B2 (en) 2004-11-12 2008-01-15 Samsung Electronics Co., Ltd. Method and apparatus for securing media access control (MAC) addresses

Also Published As

Publication number Publication date
KR100513191B1 (en) 2005-09-08

Similar Documents

Publication Publication Date Title
US7848327B2 (en) Methods and apparatus for creating addresses
US7340538B2 (en) Method for dynamic assignment of slot-dependent static port addresses
US8214528B2 (en) Address identifier scaling in converged networks
US6014715A (en) Method and apparatus for assigning port addresses
US6658474B2 (en) Home network system and method of allocating node identification
JP4948839B2 (en) Method and apparatus for allocating network subscriber device addresses in a ProfitetIO network
CN114070723B (en) Virtual network configuration method and system of bare metal server and intelligent network card
US20060291462A1 (en) Method and apparatus using multiple application cards to comprise multiple logical network entities
JP3838437B2 (en) Network switch, operation method thereof, and blade server
KR102569484B1 (en) Systems and methods for supporting inter-chassis manageability of nvme over fabrics based systems
KR20050033522A (en) Central directory server
CN106453681B (en) IP address allocation method and device
JP2010504680A (en) Fault tolerant medium access control (MAC) address assignment in network elements
US20030115303A1 (en) Method and system for automatic address allocation in a network and network protocol therefor
KR100513191B1 (en) Method for auto allocation and setting of MAC address in CDMA2000 system
CN107547247B (en) IP address allocation method and device for three-layer management network in intelligent elastic architecture
JP2004252977A (en) System and method for mounting hidden address in communication module
RU2670378C2 (en) Ip unnumbered technology-based data transmission method and device
MXPA01008828A (en) Network addressing based on the port of a network switch.
CN106453680B (en) IP address allocation method and device
JPH05300152A (en) Address setter
JP2002524889A5 (en)
KR100323054B1 (en) Inter-Processor Communication Method In ATM Switching System
CN115134256B (en) Method, system, terminal and storage medium for constructing switch management network
EP1577764B1 (en) Method for identifying a control element

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee