[go: up one dir, main page]

CN102333133A - Medium access control (MAC) address distribution method, device and system - Google Patents

Medium access control (MAC) address distribution method, device and system Download PDF

Info

Publication number
CN102333133A
CN102333133A CN201110306727A CN201110306727A CN102333133A CN 102333133 A CN102333133 A CN 102333133A CN 201110306727 A CN201110306727 A CN 201110306727A CN 201110306727 A CN201110306727 A CN 201110306727A CN 102333133 A CN102333133 A CN 102333133A
Authority
CN
China
Prior art keywords
mac address
component
server
mac
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110306727A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110306727A priority Critical patent/CN102333133A/en
Publication of CN102333133A publication Critical patent/CN102333133A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a medium access control (MAC) address distribution method. The method comprises the following steps that: a client-end component sends a request message for acquiring an MAC address to a server-end component; the server-end component sends an application of distributing the MAC address to an MAC resource management component according to the received request message; the MAC resource management component distributes the MAC address according to the received application, and sends the MAC address to the server-end component; the server-end component sends the received MAC address to the client-end component; and the client-end component receives the MAC address. The invention further provides an MAC address distribution device and system which can be used for realizing the automatic distribution of the MAC address according to the request of terminal equipment accessed into a network, thereby avoiding the emergence of MAC address conflict.

Description

Method, device and system for allocating medium access control address
Technical Field
The present invention relates to an ethernet access technology, and in particular, to a method, an apparatus, and a system for allocating Medium/Media Access Control (MAC) addresses.
Background
At present, the Internet is an Internet Protocol Version 6 (IPv 6) network, and with the development of network technologies such as smart cities, electronic earth, and the Internet of things, the demand of people for accessing the IPv6 network at any time and any place is continuously expanding, and various wired and wireless terminal devices are continuously accessing the IPv6 network. Moreover, with the development of virtualization technology, virtual terminal devices are also continuously added to the IPv6 network. However, the MAC address of the conventional terminal device is a 48-bit address generated by random solidification at the time of shipment, and thus is not changeable. As the number of terminal devices accessing the two-layer switching network increases, the probability that different terminal devices have the same MAC address increases, which may result in MAC address collision.
Because the packet forwarding of the layer two switch is realized based on the MAC address, when the MAC address conflicts exist in the layer two switch network, the MAC forwarding table may oscillate, which may cause the layer two switch to mistakenly send the service response interaction message, the service access message, and other messages, which may further cause the terminal device with the MAC address conflicts to fail to normally access the network, and may not provide the network service for the user.
In addition, since the message of network interaction is guided to another device with conflicting MAC by the layer two switch, not only the risk of leakage of network secret information is caused, but also the risk of network attack is caused to be guided to an undesired terminal device or a virtual device, thereby bringing about the risk of network attack.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a method, an apparatus, and a system for allocating an MAC address, which can automatically allocate an MAC address according to a request of a terminal device accessing a network, thereby avoiding a situation of MAC address collision, further ensuring normal access of the terminal device to the network, providing a normal network service for a user, and reducing a risk of network attack.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention discloses a Media Access Control (MAC) address allocation method, which comprises the following steps:
a client end component sends a request message for acquiring an MAC address to a server end component;
the server end component sends an application for distributing the MAC address to the MAC resource management component according to the received request message;
the MAC resource management component distributes an MAC address according to the received application and sends the MAC address to a server end component;
the server-side component sends the received MAC address to the client-side component, which receives the MAC address.
Preferably, the sending, by the client component, a request message for acquiring the MAC address to the server component is:
the client end component sends a request message SOLICIT for acquiring the MAC address to the server end component through a DHCPv6 protocol;
the server end component sends an application for distributing the MAC address to the MAC resource management component according to the received request message, and the application comprises the following steps:
the server-side component sends a request for distributing the MAC address to the MAC resource management component according to the received SOLICIT;
the MAC resource management component distributes an MAC address according to the received application and sends the MAC address to a server-side component, and the method comprises the following steps:
the MAC resource management component distributes an MAC address according to the received application, places the MAC address in a notification response ADVERTISE and sends the MAC address to a server end component through a DHCPv6 protocol;
the server side component sends the received MAC address to the client side component, and the client side component receives the MAC address:
the server-side component sends the received MAC address to the client-side component through a DHCPv6 protocol; the client component receives the ADVERTISE and extracts the MAC address therefrom.
Preferably, after the client component receives the ADVERTISE and extracts the MAC address therefrom, the method further comprises:
the client side component selects an ADVERTISE with an MAC address and meeting the set requirement; sending a REQUEST to a server-side component that sends the ADVERTISE;
the server side component places the received MAC address in a REPLY response REPLY according to the received REQUEST and sends the MAC address to the client side component through a DHCPv6 protocol;
the client component receives the REPLY and extracts the MAC address therefrom.
Preferably, the MAC resource management component allocates a MAC address according to the received application, and sends the MAC address to the server side component:
and the MAC resource management component allocates an MAC address according to the received application, determines the validity period of the MAC address and sends the MAC address and the validity period of the MAC address to a server end component.
Accordingly, the server-side component sending the received MAC address to the client-side component is:
the server-side component sends the received MAC address and the validity period of the MAC address to the client-side component.
Preferably, after the client component receives the MAC address, the method further comprises:
before the validity period expires, the client component sends a validity period continuation request RENEW/REBIND to the server component, wherein the request carries the MAC address;
and the server-side component sends the validity period of the MAC address to the client-side component according to the received RENEW/REBIND.
Preferably, after the client component receives the MAC address, the method further comprises:
when a client end component is offline, the client end component sends a request RELEASE for releasing the MAC address to a server end component, wherein the request carries the MAC address;
the server-side component marks the MAC address as available according to the received Release, and informs the client-side component that the MAC address is invalid.
Preferably, the sending, by the server-side component, the received MAC address to the client-side component is:
the server-side component sends the received MAC address to the client-side component via an Anycast or Multicast address.
The invention discloses a client side assembly, which comprises: a request message transmitting unit and an MAC address receiving unit; wherein,
the request message sending unit is used for sending a request message for acquiring the MAC address to the server-side component;
the MAC address receiving unit is used for receiving the MAC address sent by the server-side component.
Preferably, the request message sending unit is specifically configured to send a request message SOLICIT for acquiring a MAC address to a server end component through a DHCPv6 protocol;
the MAC address receiving unit is specifically configured to receive the ADVERTISE sent by the server-side component, and extract the MAC address from the ADVERTISE.
The invention discloses a server side assembly, which comprises: an MAC address allocation request sending unit and an MAC address forwarding unit; wherein,
the request sending unit for distributing the MAC address is used for sending a request for distributing the MAC address to the MAC resource management component according to the request message sent by the client component;
the MAC address forwarding unit is used for sending the MAC address sent by the MAC resource management component to the client component.
Preferably, the MAC address allocation request sending unit is specifically configured to send a request for allocating a MAC address to the MAC resource management component according to SOLICIT sent by the client component;
the MAC address forwarding unit is specifically configured to send the MAC address sent by the MAC resource management component to the client component through the DHCPv6 protocol.
The invention discloses an MAC resource management assembly, which comprises an MAC address allocation unit and an MAC address sending unit:
the MAC address allocation unit is used for allocating MAC addresses according to the application sent by the server-side component;
the MAC address sending unit is used for sending the MAC address distributed by the MAC address distribution unit to the server-side component.
Preferably, the MAC address sending unit is specifically configured to place the MAC address in a notification response ADVERTISE and send the notification response ADVERTISE to the server-side component through a DHCPv6 protocol.
The invention discloses a MAC address distribution system, which comprises: a client component, a server component and an MAC resource management component; wherein,
the client end component is used for sending a request message for acquiring the MAC address to the server end component; receiving a MAC address sent by a server-side component;
the server side component is used for sending a request for distributing the MAC address to the MAC resource management component according to the request message sent by the client side component; sending the MAC address sent by the MAC resource management component to the client component;
the MAC resource management component is used for allocating MAC addresses according to the application sent by the server-side component and sending the MAC addresses to the server-side component.
Preferably, the client component comprises a request message sending unit and a MAC address receiving unit; the server end component comprises an allocation MAC address request sending unit and an MAC address forwarding unit; the MAC resource management component comprises an MAC address allocation unit and an MAC address sending unit; wherein,
the request message sending unit is used for sending a request message for acquiring the MAC address to the request sending unit for allocating the MAC address;
the MAC address receiving unit is used for receiving the MAC address sent by the MAC address forwarding unit;
the request sending unit for distributing the MAC address is used for sending a request for distributing the MAC address to the MAC address distributing unit according to the received request message;
the MAC address allocation unit is used for allocating MAC addresses according to the received application;
the MAC address sending unit is used for sending the MAC address distributed by the MAC address distribution unit to the MAC address forwarding unit;
the MAC address forwarding unit is configured to send the received MAC address to the MAC address receiving unit.
Preferably, the MAC resource management component is further configured to allocate a MAC address according to the received application, determine a validity period of the MAC address, and send the MAC address and the validity period of the MAC address to a server end component;
the server-side component is further configured to send the received MAC address and the validity period of the MAC address to a client-side component.
Preferably, the client component is further configured to send a RELEASE MAC address request to the server component when the client component is offline, where the request carries the MAC address;
the server-side component is further configured to mark the MAC address as available according to the received RELEASE, and notify the client-side component that the MAC address is invalid.
In view of the above, according to the MAC address allocation method, apparatus and system provided by the present invention, the client component sends a request message for acquiring the MAC address to the server component; the server end component sends an application for distributing the MAC address to the MAC resource management component according to the received request message; the MAC resource management component allocates the MAC address according to the received application, and sends the allocated MAC address to the client component through the server component. By adopting the technical scheme, the MAC address can be automatically allocated according to the request of the terminal equipment accessed into the network, the condition of MAC address conflict is avoided, the normal access of the terminal equipment to the network is further ensured, the normal network service is provided for users, and the risk of network attack is reduced.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a MAC address allocation method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a MAC address allocation method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of the structure of the MAC address allocation system according to the present invention;
fig. 4 is a schematic structural diagram of an application scenario of a private line access IPv6 network;
fig. 5 is a schematic application scenario structure diagram of a broadband access IPv6 network.
Detailed Description
The present invention provides a client component comprising: a request message transmitting unit and an MAC address receiving unit; wherein,
the request message sending unit is used for sending a request message for acquiring the MAC address to the server-side component;
the MAC address receiving unit is used for receiving the MAC address sent by the server-side component.
Preferably, the request message sending unit is specifically configured to send a request message SOLICIT for acquiring a MAC address to a server end component through a DHCPv6 protocol;
the MAC address receiving unit is specifically configured to receive the ADVERTISE sent by the server-side component, and extract the MAC address from the ADVERTISE.
The invention provides a server side component, comprising: an MAC address allocation request sending unit and an MAC address forwarding unit; wherein,
the request sending unit for distributing the MAC address is used for sending a request for distributing the MAC address to the MAC resource management component according to the request message sent by the client component;
the MAC address forwarding unit is used for sending the MAC address sent by the MAC resource management component to the client component.
Preferably, the MAC address allocation request sending unit is specifically configured to send a request for allocating a MAC address to the MAC resource management component according to SOLICIT sent by the client component;
the MAC address forwarding unit is specifically configured to send the MAC address sent by the MAC resource management component to the client component through the DHCPv6 protocol.
The invention provides a MAC resource management assembly, comprising: an MAC address allocation unit and an MAC address transmission unit; wherein,
the MAC address allocation unit is used for allocating MAC addresses according to the application sent by the server-side component,
the MAC address sending unit is used for sending the MAC address to a server-side component.
Preferably, the MAC address sending unit is specifically configured to place the MAC address in a notification response ADVERTISE and send the notification response ADVERTISE to the server-side component through a DHCPv6 protocol.
The present invention provides a MAC address allocation system, as shown in fig. 3, the system includes: the client component, the server component, and the MAC resource management component; wherein,
the client end component is used for sending a request message for acquiring the MAC address to the server end component; receiving a MAC address sent by a server-side component;
the server side component is used for sending a request for distributing the MAC address to the MAC resource management component according to the request message sent by the client side component; sending the MAC address sent by the MAC resource management component to the client component;
the MAC resource management component is used for allocating MAC addresses according to the application sent by the server-side component and sending the MAC addresses to the server-side component.
Further, the client component comprises a request message sending unit and a MAC address receiving unit; the server end assembly comprises an MAC address allocation request sending unit and an MAC address forwarding unit; the MAC resource management component comprises an MAC address allocation unit and an MAC address sending unit;
the request message sending unit of the client end component is used for sending a request message for acquiring an MAC address to the request sending unit for allocating the MAC address of the server end component;
the request sending unit for distributing the MAC address is used for sending a request for distributing the MAC address to the MAC address distributing unit of the MAC resource management component according to the received request message;
the MAC address allocation unit is used for allocating MAC addresses according to the received application;
the MAC address sending unit is used for sending the MAC address distributed by the MAC address distribution unit to an MAC address forwarding unit of a server end component;
the MAC address forwarding unit is used for sending the received MAC address to an MAC address receiving unit of a client component;
the MAC address receiving unit is configured to receive the MAC address.
Based on the above devices and systems, the following describes a first embodiment of the MAC address assignment method of the present invention, and as shown in fig. 1, the method of this embodiment includes:
step 101, a client end component sends a request message for acquiring an MAC address to a server end component;
specifically, a function that allows to use a Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol for IPv6, DHCPv6) of IPv6 to acquire a MAC address and trigger a network device to initiate DHCPv6 Protocol interaction is configured in advance at a client component; the client component may be configured on a terminal device that is ready to access a network.
The client component sends a request message SOLICIT for acquiring the MAC address to the server component via the DHCPv6 protocol.
102, the server end component sends an application for distributing the MAC address to the MAC resource management component according to the received request message;
specifically, the server-side component is configured with a function allowing the MAC to be issued through the extended DHCPv6 protocol option in advance, and the server-side component sends a request for allocating a MAC address to the MAC resource management component according to the received SOLICIT.
And 103, the MAC resource management component allocates an MAC address according to the received application and sends the MAC address to the server side component.
Specifically, the MAC resource management component is configured with a MAC address resource allowed to be allocated in advance, and allocates a MAC address according to the received application, and places the MAC address in a notification response ADVERTISE and sends the MAC address to the server side component through the DHCPv6 protocol.
Step 104, the server-side component sends the received MAC address to the client-side component.
In particular, the server-side component sends the received MAC address to the client-side component via the DHCPv6 protocol.
Optionally, the server-side component sends the received MAC address to the client-side component through an Anycast or Multicast address, so as to ensure that the access device with the MAC address conflict can correctly receive the data sent through the DHCPv6 protocol.
Step 105, the client component receives the MAC address.
Specifically, the client component receives the ADVERTISE and extracts the MAC address therefrom.
Therefore, by adopting the technical scheme, the MAC address can be automatically allocated according to the request of the terminal equipment accessing the IPv6 network, so that the condition of MAC address conflict is avoided.
Referring to fig. 2, in the second embodiment of the MAC address allocation method of the present invention, in this embodiment, a MAC address resource allowed to be allocated is configured on a MAC resource management component in advance, a function allowing the MAC to be issued through an extended DHCPv6 protocol option is configured on a server-side component, and a function allowing the MAC address to be acquired by using a DHCPv6 protocol and triggering a network device to initiate a DHCPv6 protocol interaction is configured on a client-side component. In this embodiment, the client component extracts the MAC address once from each of the ADVERTISE and REPLY.
As shown in fig. 2, the method of the present embodiment includes the following steps:
in step 201, the client component sends a request message SOLICIT for acquiring the MAC address to the server component through the DHCPv6 protocol.
Step 202, the server end component sends a request for allocating the MAC address to the MAC resource management component according to the received SOLICIT.
Step 203, the MAC resource management component allocates a MAC address according to the received application, and places the MAC address in a notification response ADVERTISE, and sends the MAC address to the server-side component through the DHCPv6 protocol.
Step 204, the server-side component sends the received MAC address to the client-side component via the DHCPv6 protocol.
The client component receives the ADVERTISE and extracts the MAC address therefrom, step 205.
Step 206-207, the client component selects the ADVERTISE with the MAC address and meeting the set requirement, and sends a REQUEST to the server component sending the ADVERTISE;
here, since multicast transmission is performed, a plurality of server side components return ADVERTISE, and a client side component selects ADVERTISE having a MAC address and meeting the setting requirement.
In step 208, the server-side component sends the received MAC address to the client-side component according to the received REQUEST in a REPLY response REPLY via the DHCPv6 protocol.
Step 209, the client component receives the REPLY and extracts the MAC address therefrom.
Therefore, by adopting the technical scheme, the MAC address can be automatically allocated according to the request of the terminal equipment accessing the IPv6 network, and the condition of MAC address conflict is avoided. And the client component extracts the MAC address once from the ADVERTISE and the REPLY respectively, so that the terminal equipment can compare and check the MAC address extracted by the client component according to actual needs to ensure the accuracy of the acquired MAC address.
In the third embodiment of the MAC address allocation method of the present invention, the MAC address resource allowed to be allocated is configured in advance on the MAC resource management component, the function allowing the MAC to be issued through the extended DHCPv6 protocol option is configured on the server-side component, and the function allowing the MAC address to be acquired using the DHCPv6 protocol and triggering the network device to initiate the DHCPv6 protocol interaction is configured on the client-side component. In this embodiment, the MAC resource management component allocates a MAC address according to the received application, and determines the validity period of the MAC address.
The method of the embodiment comprises the following steps:
in step 301, the client component sends a request message SOLICIT for acquiring the MAC address to the server component via the DHCPv6 protocol.
Step 302, the server end component sends a request for allocating the MAC address to the MAC resource management component according to the received SOLICIT.
Step 303, the MAC resource management component allocates a MAC address according to the received application, determines the validity period of the MAC address, and sends the MAC address and the validity period of the MAC address to the server end component through the DHCPv6 protocol.
Step 304, the server-side component sends the received MAC address and the validity period of said MAC address to the client-side component via the DHCPv6 protocol.
Step 305, the client component receives the ADVERTISE, and extracts the MAC address and the validity period of the MAC address from the ADVERTISE;
wherein if the usage time of the MAC address exceeds the validity period, the MAC address is invalid.
Therefore, by adopting the technical scheme, the MAC address can be automatically allocated according to the request of the terminal equipment accessing the IPv6 network, and the condition of MAC address conflict is avoided. Moreover, the MAC address extracted by the client component has a validity period, and if the use time of the MAC address exceeds the validity period, the MAC address is invalid, so that the cyclic utilization efficiency of the MAC address can be improved.
If the MAC address needs to be continuously used after the validity period of the MAC address is reached, the client component sends a validity period continuation request RENEW/REBIND to the server component through a DHCPv6 protocol before the validity period expires, wherein the request carries the MAC address. The server-side component sends the validity period of the MAC address to the client-side component via the DHCPv6 protocol according to the received RENEW/RENEW.
By adopting the technical scheme, the terminal equipment can be ensured to be prevented from being invalid in the process of accessing the IPv6 network, so that the terminal equipment can be normally connected with the network.
Further, when the client component goes offline, the client component sends a request RELEASE for releasing the MAC address to the server component through the DHCPv6 protocol, wherein the request carries the MAC address; the server-side component marks the MAC address as available based on the received RELEASE and notifies the client-side component that the MAC address is invalid.
Therefore, by adopting the technical scheme, the MAC address can be prevented from being occupied when the terminal equipment disconnects the IPv6 network, and the cyclic utilization efficiency of the MAC address can be further improved.
The invention can be applied to the scene of private line access IPv6 network, as shown in FIG. 4, subnet 1 in FIG. 4 is directly connected with router through two-layer switch 1; the subnet 2 and the subnet 3 are connected with a two-layer switch 2, the two-layer switch 2 is connected with a three-layer switch as DHCPv6RELAY, and the three-layer switch is connected with a router. The MAC resource management component and the server side component are positioned on the router and cooperate with each other to finish the centralized management, distribution and issuing of the MAC address; the client component is located on a workstation device of the access network.
The present invention can be applied to the scenario of broadband access to IPv6 network, as shown in fig. 5, subnet 1 in fig. 5 is directly connected to the broadband access server through two-layer switch 1; the subnet 2 and the subnet 3 are connected with a two-layer switch 2, the two-layer switch 2 is connected with a convergence switch, and the convergence switch is connected with a broadband access server. Under the scene, the MAC resource management component and the server-side component can be positioned on the broadband access server together, and the MAC resource management component can also be arranged on the RADIUS server according to the requirement; if the MAC resource management component is located on the RADIUS server, the allocation of the MAC address requires that the RADIUS protocol be used to send the MAC address to the server-side component first, and then the server-side component sends the MAC address to the client-side component. In an actual facility scheme, an MAC resource management component may reside on a broadband access server and a RADIUS server at the same time, and the MAC resource management component on which device is specifically selected to complete the allocation of an MAC address according to a preset strategy; the client component is located on a device, i.e., a workstation, that accesses the network.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (17)

1. A method for media access control, MAC, address assignment, the method comprising:
a client end component sends a request message for acquiring an MAC address to a server end component;
the server end component sends an application for distributing the MAC address to the MAC resource management component according to the received request message;
the MAC resource management component distributes an MAC address according to the received application and sends the MAC address to a server end component;
the server-side component sends the received MAC address to the client-side component, which receives the MAC address.
2. The method of claim 1, wherein the client component sending a request message to the server-component to obtain the MAC address is:
the client end component sends a request message SOLICIT for acquiring the MAC address to the server end component through a DHCPv6 protocol;
the server end component sends an application for distributing the MAC address to the MAC resource management component according to the received request message, and the application comprises the following steps:
the server-side component sends a request for distributing the MAC address to the MAC resource management component according to the received SOLICIT;
the MAC resource management component distributes an MAC address according to the received application and sends the MAC address to a server-side component, and the method comprises the following steps:
the MAC resource management component distributes an MAC address according to the received application, places the MAC address in a notification response ADVERTISE and sends the MAC address to a server end component through a DHCPv6 protocol;
the server side component sends the received MAC address to the client side component, and the client side component receives the MAC address:
the server-side component sends the received MAC address to the client-side component through a DHCPv6 protocol; the client component receives the ADVERTISE and extracts the MAC address therefrom.
3. The method of claim 2, wherein after the client component receives the ADVERTISE and extracts the MAC address therefrom, the method further comprises:
the client side component selects an ADVERTISE with an MAC address and meeting the set requirement; sending a REQUEST to a server-side component that sends the ADVERTISE;
the server side component places the received MAC address in a REPLY response REPLY according to the received REQUEST and sends the MAC address to the client side component through a DHCPv6 protocol;
the client component receives the REPLY and extracts the MAC address therefrom.
4. The method of claim 1, wherein the MAC resource management component assigns a MAC address according to the received application and sends the MAC address to a server-side component is:
the MAC resource management component allocates an MAC address according to the received application, determines the validity period of the MAC address and sends the MAC address and the validity period of the MAC address to a server end component;
accordingly, the server-side component sending the received MAC address to the client-side component is:
the server-side component sends the received MAC address and the validity period of the MAC address to the client-side component.
5. The method of claim 4, wherein after the client component receives the MAC address, the method further comprises:
before the validity period expires, the client component sends a validity period continuation request RENEW/REBIND to the server component, wherein the request carries the MAC address;
and the server-side component sends the validity period of the MAC address to the client-side component according to the received RENEW/REBIND.
6. The method of claim 1, wherein after the client component receives the MAC address, the method further comprises:
when a client end component is offline, the client end component sends a request RELEASE for releasing the MAC address to a server end component, wherein the request carries the MAC address;
the server-side component marks the MAC address as available according to the received Release, and informs the client-side component that the MAC address is invalid.
7. The method of claim 1, wherein the server-side component sending the received MAC address to the client-side component is:
the server-side component sends the received MAC address to the client-side component via an Anycast or Multicast address.
8. A client component, the client component comprising: a request message transmitting unit and an MAC address receiving unit; wherein,
the request message sending unit is used for sending a request message for acquiring the MAC address to the server-side component;
the MAC address receiving unit is used for receiving the MAC address sent by the server-side component.
9. The client component of claim 8,
the request message sending unit is specifically configured to send a request message SOLICIT for acquiring the MAC address to the server end component through the DHCPv6 protocol;
the MAC address receiving unit is specifically configured to receive the ADVERTISE sent by the server-side component, and extract the MAC address from the ADVERTISE.
10. A server end component, wherein the server end component comprises: an MAC address allocation request sending unit and an MAC address forwarding unit; wherein,
the request sending unit for distributing the MAC address is used for sending a request for distributing the MAC address to the MAC resource management component according to the request message sent by the client component;
the MAC address forwarding unit is used for sending the MAC address sent by the MAC resource management component to the client component.
11. The server-side component of claim 10,
the request sending unit for distributing the MAC address is specifically used for sending a request for distributing the MAC address to the MAC resource management component according to SOLICIT sent by the client component;
the MAC address forwarding unit is specifically configured to send the MAC address sent by the MAC resource management component to the client component through the DHCPv6 protocol.
12. A MAC resource management component, wherein the MAC resource management component comprises a MAC address allocation unit and a MAC address transmission unit:
the MAC address allocation unit is used for allocating MAC addresses according to the application sent by the server-side component;
the MAC address sending unit is used for sending the MAC address distributed by the MAC address distribution unit to the server-side component.
13. The MAC resource management component of claim 12,
the MAC address sending unit is specifically configured to place the MAC address in a notification response ADVERTISE and send the notification response ADVERTISE to a server-side component through a DHCPv6 protocol.
14. A MAC address assignment system, the system comprising: a client component, a server component and an MAC resource management component; wherein,
the client end component is used for sending a request message for acquiring the MAC address to the server end component; receiving a MAC address sent by a server-side component;
the server side component is used for sending a request for distributing the MAC address to the MAC resource management component according to the request message sent by the client side component; sending the MAC address sent by the MAC resource management component to the client component;
the MAC resource management component is used for allocating MAC addresses according to the application sent by the server-side component and sending the MAC addresses to the server-side component.
15. The system of claim 14, wherein the client component comprises a request message sending unit and a MAC address receiving unit; the server end component comprises an allocation MAC address request sending unit and an MAC address forwarding unit; the MAC resource management component comprises an MAC address allocation unit and an MAC address sending unit; wherein,
the request message sending unit is used for sending a request message for acquiring the MAC address to the request sending unit for allocating the MAC address;
the MAC address receiving unit is used for receiving the MAC address sent by the MAC address forwarding unit;
the request sending unit for distributing the MAC address is used for sending a request for distributing the MAC address to the MAC address distributing unit according to the received request message;
the MAC address allocation unit is used for allocating MAC addresses according to the received application;
the MAC address sending unit is used for sending the MAC address distributed by the MAC address distribution unit to the MAC address forwarding unit;
the MAC address forwarding unit is configured to send the received MAC address to the MAC address receiving unit.
16. The system of claim 14, wherein the MAC resource management component is further configured to assign a MAC address according to the received application, determine a validity period of the MAC address, and send the MAC address and the validity period of the MAC address to a server-side component;
the server-side component is further configured to send the received MAC address and the validity period of the MAC address to a client-side component.
17. The system according to claim 14, wherein the client component is further configured to send a RELEASE MAC address request RELEASE to the server-side component when it is offline, the request carrying the MAC address;
the server-side component is further configured to mark the MAC address as available according to the received RELEASE, and notify the client-side component that the MAC address is invalid.
CN201110306727A 2011-10-11 2011-10-11 Medium access control (MAC) address distribution method, device and system Pending CN102333133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110306727A CN102333133A (en) 2011-10-11 2011-10-11 Medium access control (MAC) address distribution method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110306727A CN102333133A (en) 2011-10-11 2011-10-11 Medium access control (MAC) address distribution method, device and system

Publications (1)

Publication Number Publication Date
CN102333133A true CN102333133A (en) 2012-01-25

Family

ID=45484734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110306727A Pending CN102333133A (en) 2011-10-11 2011-10-11 Medium access control (MAC) address distribution method, device and system

Country Status (1)

Country Link
CN (1) CN102333133A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945268A (en) * 2014-03-17 2014-07-23 深圳创维-Rgb电子有限公司 Control processing method and system based on multiple accounts and multiple target devices
CN107613035A (en) * 2014-07-17 2018-01-19 福州瑞芯微电子股份有限公司 The distribution method and MAC distributing equipments of terminal device MAC Address
CN107888713A (en) * 2016-09-30 2018-04-06 中兴通讯股份有限公司 A kind of method, apparatus and access device of dynamically distributes MAC Address
CN108574743A (en) * 2017-03-10 2018-09-25 中兴通讯股份有限公司 A kind of distribution method, equipment and the system of local media accessing to control address
CN116723175A (en) * 2023-08-04 2023-09-08 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707637A (en) * 2009-11-27 2010-05-12 中兴通讯股份有限公司 Method and system for allocating IP address
CN102209123A (en) * 2011-05-30 2011-10-05 中国电信股份有限公司 MAC (media access control) address management method and system, MAC address server and client

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707637A (en) * 2009-11-27 2010-05-12 中兴通讯股份有限公司 Method and system for allocating IP address
CN102209123A (en) * 2011-05-30 2011-10-05 中国电信股份有限公司 MAC (media access control) address management method and system, MAC address server and client

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945268A (en) * 2014-03-17 2014-07-23 深圳创维-Rgb电子有限公司 Control processing method and system based on multiple accounts and multiple target devices
CN103945268B (en) * 2014-03-17 2017-10-27 深圳创维-Rgb电子有限公司 A kind of control process method and system based on many account numbers Yu multiple target equipment
CN107613035A (en) * 2014-07-17 2018-01-19 福州瑞芯微电子股份有限公司 The distribution method and MAC distributing equipments of terminal device MAC Address
CN107888713A (en) * 2016-09-30 2018-04-06 中兴通讯股份有限公司 A kind of method, apparatus and access device of dynamically distributes MAC Address
CN107888713B (en) * 2016-09-30 2021-10-01 中兴通讯股份有限公司 Method and device for dynamically allocating MAC address and access equipment
CN108574743A (en) * 2017-03-10 2018-09-25 中兴通讯股份有限公司 A kind of distribution method, equipment and the system of local media accessing to control address
CN116723175A (en) * 2023-08-04 2023-09-08 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium
CN116723175B (en) * 2023-08-04 2023-11-21 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5663549B2 (en) Method, apparatus and system for assigning public IP addresses
EP2843910A1 (en) Address allocation method, device, and system
CN102355510B (en) Medium/media access control (MAC) address allocation method, device and system
US10218671B2 (en) Dynamic media access control address allocation and leasing for wireless network
CN101534329A (en) IP address assignment method and system
CN102118453B (en) Method, service device, client and communication system for automatic configuration of IP address
CN102685264A (en) Dynamic host configuration protocol address allocation method, relay equipment and server
US8195775B2 (en) Enhanced method and apparatus for reducing congestion in DHCP network system
CN101873320B (en) Client information verification method based on DHCPv6 relay and device thereof
CN102333133A (en) Medium access control (MAC) address distribution method, device and system
CN102752413B (en) Dynamic Host Configuration Protocol server system of selection and the network equipment
CN102340555B (en) Medium/media access control address allocation method, device and system
US20120008627A1 (en) Method and apparatus for assigning device identifier with collision avoidance
CN106878481B (en) Method, device and system for acquiring Internet Protocol (IP) address
CN101179515A (en) Method and device for inhibiting black hole routing
KR100689734B1 (en) Address allocation method and device thereof in wireless network environment
JP4662477B2 (en) Address management method, DHCP server and program in a plurality of DHCP servers
KR100595524B1 (en) Device discovery system and method
JP2001308909A (en) Method for assigning logical network address and terminal
CN102835094A (en) Method and appratus for address allocation
CN103312828A (en) Method, device and system of MAC and IP address couple configuration of virtual machine
CN106302854B (en) A method of it controlling more DHCP Server and dynamically distributes host address
CN103297562A (en) Method, equipment and system for realizing Option82 processing based on kernel
CN103442098A (en) Method, system and server for allocating virtual IP addresses
CN107770070B (en) Information transmission method, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120125