KR20110036393A - Mac address allocation method - Google Patents
Mac address allocation method Download PDFInfo
- Publication number
- KR20110036393A KR20110036393A KR1020090094034A KR20090094034A KR20110036393A KR 20110036393 A KR20110036393 A KR 20110036393A KR 1020090094034 A KR1020090094034 A KR 1020090094034A KR 20090094034 A KR20090094034 A KR 20090094034A KR 20110036393 A KR20110036393 A KR 20110036393A
- Authority
- KR
- South Korea
- Prior art keywords
- mac address
- network
- representative
- network equipment
- processing unit
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Abstract
Description
The present invention relates to a method for allocating a MAC address in a network combo device, which allows a network combo device to assign a MAC address to any one network device and to automatically assign an increased MAC address to subsequent devices.
In general, a network device including a portable terminal is designed to be capable of IP (Internet Protocol) communication, and such a device includes a plurality of network devices such as Bluetooth, WLAN, WiMAX, and the like. -Is mounted, and even if the same network equipment, many will be mounted on the device.
Meanwhile, conventionally, after arbitrarily setting a media access control layer (hereinafter referred to as 'MAC') address and an IP address in each of a plurality of network devices, a storage space of a network device requiring IP communication, that is, a flash memory (Flash) The above-mentioned address is stored in a nonvolatile memory, such as a memory) or an EEPROM. In this case, when there are a plurality of different network equipment types or the same network equipment, the operator manually inputs and uses them manually to have different MAC addresses and IP addresses corresponding to each network equipment.
Therefore, it is very difficult to manage the operation of the MAC address and the IP address smoothly. As a result, the same MAC address and IP address may be added due to the operator's mistake. In addition, in the above case, the same MAC address and IP address may overlap.
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 many operators must manually enter each type of network equipment, it is not only cumbersome, but also causes various problems.
In addition, the same type of network equipment may be mounted in different shelves or different slots of the same system, or may be replaced by the same network equipment of different goods due to the failure of the network equipment.
At this time, since each network device is applied with a different single MAC address, the other party that communicates with the network device when the IP device communicates with another system or other network device in the network device applied to the system at the initial setting. The network equipment of the network performs the mutual IPC communication by storing the MAC address and the IP address of the communicating party.
Therefore, when the corresponding network equipment is changed to another network equipment having a different MAC address during communication, the corresponding network equipment does not receive the IP packet transmitted from the other party, thereby causing a break in communication.
At this time, if the corresponding network device transmits an IP packet with the corresponding MAC address and IP address, the IP packet communication with the other side is possible at that time, which is used to determine the MAC address in the Ethernet frame of the IP packet received from the other side. Because it is stored in the storage space.
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, in order to solve the above problem, the present invention provides a network combo device for assigning a MAC address to any one network device and automatically assigning an increased MAC address to subsequent devices. Provides a method for assigning MAC addresses.
The present invention for achieving the above object, (A) the central processing unit of the network combo device, if the network equipment is mounted, the step of identifying the representative Mac address of the representative network equipment; (B) the CPU processing the type and the number of the remaining network equipment, and adding the addition value for each device to the representative Mac address to generate a device-specific mac address; And (C) the central processing unit is characterized in that it comprises a step of storing the generated device-specific mac address.
In addition, the present invention, (D) the central processing unit is connected when the representative network equipment is replaced by recognizing the representative Mac address; And (E) the central processing unit is characterized in that comprises the step of reconstructing and storing the device-specific Mac address by adding the addition value for each device to the re-recognized representative network to determine the type and number of the remaining network equipment.
In addition, the present invention, (F) the central processing unit to determine the type and number of replacement network equipment when the network equipment is replaced, not the representative network equipment; And (G) the CPU comprises regenerating and storing the MAC address for each device by adding the addition value for each device to the representative network.
In addition, the step (A) of the present invention, (A-1) the central processing unit to determine whether the network equipment is mounted in the air; (A-2) the central processing unit accessing the representative network equipment when the network equipment is mounted; And (A-3) the central processing unit comprises the step of recognizing the representative MAC address of the connected representative network equipment.
In addition, the step (B) of the present invention, (B-1) the central processing unit to determine the type and number of the remaining network equipment to be mounted; And (B-2) if the type and number of the remaining network equipment mounted are determined, adding the addition value corresponding to the identified network equipment to the representative mac address to generate the mac address for each equipment. It is characterized by.
According to the prior art, there was an inconvenience in operating the MAC address of the network device separately for each network device, but according to the present invention, the representative MAC address is assigned to one representative network device and the MAC is automatically applied to the other network devices. By assigning an address, troublesome input of a Mac address was eliminated.
In addition, according to the prior art, since the MAC address of the network equipment has to be input separately for each network device, the same MAC address may be overlapped due to a mistake of an operator, but according to the present invention, the representative MAC device is represented in one representative network device. By assigning MAC addresses and automatically assigning them to other network devices, it is possible to prevent overlapping assignment of MAC addresses due to operator error.
In addition, according to the related art, when the network equipment is replaced, the MAC address has to be allocated to the replaced network equipment one by one. According to the present invention, when the network equipment is replaced, additional MAC addresses are not required to be easily managed. It works.
In addition, according to the prior art, a separate memory for storing the MAC address is required for the network equipment, but according to the present invention, since the representative MAC address is stored and used in one representative network equipment, the memory may be provided when the representative network equipment is not. There is no need to save money.
The features and advantages of the present invention will become apparent from the following drawings and detailed description of the invention.
1 is a diagram illustrating a MAC address system to which the present invention is applied, and the MAC address according to the present invention is composed of 6 bytes, wherein the upper 3 bytes of the first area 100 are inputted by a manufacturer's unique number. In the second region 200, which is the remaining 3 bytes, a product identifier of a manufacturer is input.
2 is a flowchart of a MAC address allocation method in a network combo device according to the present invention.
Referring to the figure, the central processing unit of the network combo device determines whether the network equipment is mounted (step S112) in the standby state (step S110).
As a result of the determination, when a plurality of network devices, for example, Bluetooth, WLAN, WiMAX, etc. are mounted, they are connected to a representative network device that is already designated among the network devices to be mounted (step S114).
Here, the representative network device refers to one device among various network devices such as Bluetooth, WLAN, WiMAX, etc. In the present invention, a Bluetooth product is selected and used as the representative network device.
The reason why the Bluetooth device is selected as the representative network device is that the Bluetooth device is almost essential and can be representative in the network device that implements the complex function.
If a representative network device is selected from among several network devices as described above, the representative MAC device is assigned to the selected representative network device, and the assigned representative Mac address is assigned to a nonvolatile memory including flash memory or EEPROM in the manufacturing process of the device. The set address is stored.
Therefore, when the network equipment is mounted in the standby state, the central processing apparatus accesses the representative network equipment and reads the representative MAC address to recognize the representative mac address (S116).
Subsequently, the central processing unit connects to the representative network equipment to determine the type and number of remaining network equipment to be mounted when the representative mac address is recognized (step S118).
As described above, when the type and number of the remaining network equipment mounted are determined, the central processing unit adds the added value corresponding to the identified network equipment to each network equipment to generate a mac address for each equipment (S120).
For example, when the remaining network is a wireless LAN, as shown in the table below, an additional value of 1 is assigned to add a 1 to the representative MAC address of the representative network equipment to generate a MAC address of the wireless LAN, and the remaining network is WiMAX. In this case, as shown in the table below, 2 is assigned as an addition value, and 2 is added to the representative MAC address of the representative network device to generate the MAC address of WiMAX.
(Table 1)
1st product
2 times
The generated MAC addresses correspond to network devices and stored in the memory (S122).
3 is a flowchart of a MAC address allocation method when network equipment is replaced in a network combo device according to the present invention.
Referring to the figure, the central processing unit determines whether the network equipment is replaced (S210) in the standby state (S210).
As a result of the determination, when the network equipment is replaced, the central processing unit identifies the network equipment to be replaced (S214).
Here, when the central processing unit detects the replaced network device, it determines whether the identified network device is a representative network device (S216).
As a result of the determination, if the identified network device is the representative network device, the MAC address is re-recognized by accessing the representative network device (S218).
When the MAC address of the representative network device is re-recognized, the CPU recognizes the mounted remaining network device (S220), and adds the added value corresponding to the recognized network device to the re-recognized mac address to regenerate the MAC address for each device. (S222).
Thereafter, the reconstructed Mac addresses are stored in the identified network equipment so as to correspond to the respective networks (S224).
On the other hand, if the determined network device is not the representative network device as a result of the determination and adds an additional value corresponding to the network device identified based on the representative network device to regenerate the Mac address (S226). For example, if the WLAN equipment is replaced, add 1 as an addition value, and if WiMAX equipment is replaced, add 2 as an addition value.
In addition, the central processing unit stores the recreated MAC address corresponding to the replaced network equipment in the replaced network equipment (S228).
1 is a diagram illustrating a MAC address system to which the present invention is applied;
2 is a flowchart of a method for allocating a MAC address in a network combo device according to the present invention;
3 is a flowchart of a MAC address allocation method when network equipment is replaced in a network combo device according to the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090094034A KR20110036393A (en) | 2009-10-01 | 2009-10-01 | Mac address allocation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090094034A KR20110036393A (en) | 2009-10-01 | 2009-10-01 | Mac address allocation method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20110036393A true KR20110036393A (en) | 2011-04-07 |
Family
ID=44044351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090094034A KR20110036393A (en) | 2009-10-01 | 2009-10-01 | Mac address allocation method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20110036393A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112839390A (en) * | 2019-11-22 | 2021-05-25 | 阿里巴巴集团控股有限公司 | Data processing method, networking method, testing method, system, device and equipment |
-
2009
- 2009-10-01 KR KR1020090094034A patent/KR20110036393A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112839390A (en) * | 2019-11-22 | 2021-05-25 | 阿里巴巴集团控股有限公司 | Data processing method, networking method, testing method, system, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4948839B2 (en) | Method and apparatus for allocating network subscriber device addresses in a ProfitetIO network | |
CN100527752C (en) | DHCP address allocation method | |
US10204072B2 (en) | Method for automatically allocating addresses to similar bus users | |
CN107249048B (en) | Air conditioning system and address allocation method and device thereof | |
CN104104744A (en) | IP address assignment method and device | |
CN101951417A (en) | Method, system and trunk equipment for assigning multiple server addresses | |
CN104639913A (en) | Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof | |
CN102833363A (en) | IP (Internet Protocol) address allocation method, device and system | |
US20150239406A1 (en) | Method for configuring a control unit, control unit and vehicle | |
CN101771732A (en) | Message processing method, device and network equipment | |
CN111885214A (en) | Industrial heterogeneous network equipment-oriented address uniform distribution method and device | |
KR20110036393A (en) | Mac address allocation method | |
WO2024078634A1 (en) | Service management method, system and apparatus, and electronic device and storage medium | |
CN111200519B (en) | Data processing method and device, BBU, access network equipment and storage medium | |
CN111669309B (en) | VxLAN establishing method, wireless controller and switch | |
CN105763663A (en) | Private network address management method, control device and network device | |
CN108023972A (en) | Distribute the method, apparatus and system of MAC Address | |
CN105657080A (en) | IP address configuration method and system | |
CN110460683B (en) | Method and switching equipment for processing data message through gateway | |
KR20140015615A (en) | Network switch with address configuration function of terminals | |
CN115174528A (en) | Equipment address control method, device and system | |
CN109561170B (en) | Address pool creating method and device, address pool management system and storage medium | |
CN113596188A (en) | Multi-device management method and device | |
CN105848185A (en) | Wireless network node radio frequency deviation online adaptive correction device | |
CN106982169B (en) | Message forwarding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |