CN102752413B - Dynamic Host Configuration Protocol server system of selection and the network equipment - Google Patents

Dynamic Host Configuration Protocol server system of selection and the network equipment Download PDF

Info

Publication number
CN102752413B
CN102752413B CN201210229885.3A CN201210229885A CN102752413B CN 102752413 B CN102752413 B CN 102752413B CN 201210229885 A CN201210229885 A CN 201210229885A CN 102752413 B CN102752413 B CN 102752413B
Authority
CN
China
Prior art keywords
dhcp
address
manufacturer
dhcp client
server
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.)
Active
Application number
CN201210229885.3A
Other languages
Chinese (zh)
Other versions
CN102752413A (en
Inventor
田源
于洪强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210229885.3A priority Critical patent/CN102752413B/en
Publication of CN102752413A publication Critical patent/CN102752413A/en
Application granted granted Critical
Publication of CN102752413B publication Critical patent/CN102752413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

This application provides Dynamic Host Configuration Protocol server system of selection and the network equipment.Wherein, the method is applied to the network equipment with DHCP relay relay function, comprising: the network equipment sets up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client; The network equipment receives the DHCP request message of dhcp client broadcast transmission in application IP address process, the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.

Description

Dynamic Host Configuration Protocol server system of selection and the network equipment
Technical field
The application relates to the network communications technology, particularly the method for DHCP (DHCP:DynamicHost Configuration Protocol) server and the network equipment.
Background technology
DHCP, for being the network configuration parameters such as network equipment dynamic IP address allocation, it adopts client/server communication pattern, namely to Dynamic Host Configuration Protocol server (Server), configuring request is proposed by dhcp client (Client), Dynamic Host Configuration Protocol server returns to the configuration information such as IP address etc. of dhcp client request, to realize the dynamic-configuration of configuration information.
Dynamically apply for that IP address is to describe the flow process of dhcp client Dynamic Acquisition configuration for dhcp client below, other situation principles are similar,
The schematic flow sheet that dhcp client dynamically applies for IP address is shown see Fig. 1, Fig. 1.This flow process realizes mainly through four-stage:
Discovery phase (DHCP-DISCOVER): dhcp client finds the stage of Dynamic Host Configuration Protocol server.Client sends DHCP-DISCOVER message with broadcast mode and finds Dynamic Host Configuration Protocol server.
There is provided the stage (DHCP-OFFER), Dynamic Host Configuration Protocol server provides the stage of IP address.After Dynamic Host Configuration Protocol server receives the DHCP-DISCOVER message of client, select an IP address according to the order of priority of IP address assignment, send to dhcp client by DHCP-OFFER message together with other parameters.
Choice phase (DHCP-REQUEST), dhcp client selects the stage of IP address.If there is multiple stage Dynamic Host Configuration Protocol server to send DHCP-OFFER message to dhcp client, specify that dhcp client is only selected to accept one of them such as first DHCP-OFFER message received according to agreement, then send DHCP-REQUEST message with broadcast mode, in this message, comprise the IP address in its DHCP-OFFER message selected.
The stage of recognition (DHCP-ACK), Dynamic Host Configuration Protocol server confirms the stage of IP address.After Dynamic Host Configuration Protocol server receives the DHCP-REQUEST message that dhcp client sends, the Dynamic Host Configuration Protocol server only having dhcp client to select can proceed as follows: if to confirm address assignment to this client, then to return DHCP-ACK message; Otherwise return DHCP-NAK message, show that this client can not be distributed in address.
So far, achieve by above-mentioned four-stage the flow process that dhcp client dynamically applies for IP address.
Can be found out by the flow process shown in Fig. 1, dynamically to apply in IP address process that dhcp client adopts broadcast mode to send message at dhcp client, which has limited flow process shown in Fig. 1 and be only applicable to dhcp client and Dynamic Host Configuration Protocol server and be in situation in same subnet.So, for carrying out DynamicHost configuration, need on all network segments, all arrange a Dynamic Host Configuration Protocol server, this is obviously very uneconomic.In order to solve this problem, introduce dhcp relay feature.
So-called dhcp relay feature, its essence is that the network equipment (DHCP relay agent) that dhcp client passes through to have dhcp relay feature communicates with the Dynamic Host Configuration Protocol server of other network segments, finally realizes dynamic-configuration.Like this, the dhcp client on multiple network can use same Dynamic Host Configuration Protocol server, as shown in Figure 2, both provides cost savings, and is convenient to again manage concentratedly.The dynamic-configuration being completed dhcp client by DHCP relay agent is such as dynamically applied in the process of IP address, and dhcp client is substantially identical with processing mode when not passing through DHCP relay with the processing mode of Dynamic Host Configuration Protocol server.Only describe for dhcp client dynamic obtaining IP address below, other situation principles are similar.
It is the dynamic application flow chart in IP address adopting DHCP relay see Fig. 3, Fig. 3.As shown in Figure 3, this flow process can comprise: the user side interface and all Dynamic Host Configuration Protocol server that DHCP relay agent connect dhcp client are set up vertical attaching relation, when DHCP relay agent receives by user side interface the DHCP-DISCOVER that dhcp client sends with broadcast mode, giaddr field in the message received is filled to the IP address of DHCP relay agent, and is transmitted to all Dynamic Host Configuration Protocol server groups with this user side interface with attaching relation.After the Dynamic Host Configuration Protocol server in each Dynamic Host Configuration Protocol server group receives the message of DHCP relay agent forwarding, be client distributing IP address according to giaddr field, and by DHCP relay agent, the IP address of distribution be transmitted to dhcp client.The IP address that dhcp client selects one of them IP address of reception such as to receive first, and send DHCP-REQUEST message with broadcast mode, this DHCP-REQUEST message comprises the IP address of selection.When DHCP relay agent receives by user side interface the DHCP-REQUEST that dhcp client sends with broadcast mode, giaddr field in the message received is filled to the IP address of DHCP relay equipment, and be transmitted to all Dynamic Host Configuration Protocol server groups with this user side interface with attaching relation, to perform above-mentioned the stage of recognition.So far, the dynamic-configuration to client is completed.
Can be found out by the flow process shown in Fig. 3, after in the user side interface of connection dhcp client on DHCP relay agent and networking, all Dynamic Host Configuration Protocol server set up vertical attaching relation, when DHCP relayagent receives by user side interface the DHCP-DISCOVER message that dhcp client sends with broadcast mode by this DHCP-DISCOVER message repeating to each Dynamic Host Configuration Protocol server had with this user side interface in all Dynamic Host Configuration Protocol server groups of attaching relation, each Dynamic Host Configuration Protocol server is replied for DHCP-DISCOVER message, and in fact, dhcp client is only selected to receive one of them response, such as first response received, this IP address on the one hand most Dynamic Host Configuration Protocol server being distributed for dhcp client is useless, waste server resource, on the other hand, cannot ensure that dhcp client is at every turn fixing to configure with same Dynamic Host Configuration Protocol server Dynamic Acquisition, cause configuring frequent variations, affect network service
Summary of the invention
This application provides Dynamic Host Configuration Protocol server system of selection and the network equipment, select Dynamic Host Configuration Protocol server to be embodied as dhcp client, avoid all Dynamic Host Configuration Protocol server in networking to participate in the IP application IP addresses process of dhcp client, save server resource.
The technical scheme that the application provides comprises:
A kind of Dynamic Host Configuration Protocol server system of selection, the method is applied to the network equipment with DHCP relay relay function, and the method comprises:
The network equipment sets up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
The network equipment receives the DHCP request message of dhcp client broadcast transmission in application IP address process, the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
A kind of Dynamic Host Configuration Protocol server system of selection, the method is applied to the network equipment with DHCP relay relay function, comprising:
The network equipment sets up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
The network equipment receives dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, and triggering authentication server carries out certification to the user of this dhcp client;
The network equipment receives described certificate server at the identification of the manufacturer of described dhcp client of dhcp client user by returning during certification, the dhcp server ip address be associated with this dhcp client identification of the manufacturer is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
Be applied to the network equipment with DHCP relay relay function that Dynamic Host Configuration Protocol server is selected, this network equipment comprises:
First associative cell, for setting up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
First receiving element, for receiving the DHCP request message of dhcp client broadcast transmission in application IP address process;
First retransmission unit, for searching the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
Be applied to the network equipment with DHCP relay relay function that Dynamic Host Configuration Protocol server is selected, this network equipment comprises:
Second associative cell, for setting up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
Trigger element, for receiving dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, triggering authentication server carries out certification to the user of this dhcp client;
Second receiving element, for receiving described certificate server at the identification of the manufacturer of described dhcp client of dhcp client user by returning during certification;
Second retransmission unit, for searching the dhcp server ip address that the dhcp client identification of the manufacturer that receives with described second receiving element is associated from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
As can be seen from the above technical solutions, in the present invention, the network equipment sets up the incidence relation between dhcp client identification of the manufacturer and dhcp server ip address in advance, receiving dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated is found from the incidence relation set up, described DHCP request message is forwarded using the dhcp server ip address found as destination address, namely achieve as dhcp client selects Dynamic Host Configuration Protocol server, all Dynamic Host Configuration Protocol server in networking are avoided to participate in the IP application IP addresses process of dhcp client, save server resource.
Accompanying drawing explanation
Fig. 1 shows the schematic flow sheet that dhcp client dynamically applies for IP address;
Fig. 2 shows DHCP relay device network application schematic diagram;
Fig. 3 is the dynamic application flow chart in IP address adopting DHCP relay;
The method flow diagram that Fig. 4 provides for the embodiment of the present invention 1;
The method flow diagram that Fig. 5 provides for the embodiment of the present invention 2;
Fig. 6 shows option 221 and encapsulates dhcp client identification of the manufacturer schematic diagram;
The network equipment infrastructure figure that Fig. 7 provides for the embodiment of the present invention;
Another structure chart of the network equipment that Fig. 8 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
Method provided by the invention is applied to the network equipment with DHCP relay relay function, and wherein, this network equipment can be gateway device or other network equipments, and the present invention does not limit.Dynamic Host Configuration Protocol server corresponding to dhcp client Dynamic Selection can be embodied as, to ensure that same dhcp client uses fixing, legal Dynamic Host Configuration Protocol server by method provided by the invention.Below by two embodiments, method provided by the invention is described:
Embodiment 1:
The method that the present embodiment 1 provides is applied to dhcp client and is applying for that the DHCP request message of broadcast transmission in IP address process all carries the scene of option (OPTION) 60.Here, OPTION 60 is for encapsulating the identification of the manufacturer (Vendor class identifier) of dhcp client.Below by Fig. 4, the embodiment of the present invention 1 is described:
See the method flow diagram that Fig. 4, Fig. 4 provide for the embodiment of the present invention 1.As shown in Figure 4, this flow process can comprise the following steps:
Step 401, the network equipment sets up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client.
Wherein, identification of the manufacturer can be manufacturer belonging to dhcp client such as Nokia, magnificent third-class mark.And dhcp server ip address can be the IP address of Dynamic Host Configuration Protocol server, certainly, also can be the IP address that in networking, a Dynamic Host Configuration Protocol server group is assigned with, the present invention does not specifically limit.
Preferably, in the present embodiment 1, the specific implementation of step 401 is: network equipment this locality configuration identification of the manufacturer group, and sets up the incidence relation between identification of the manufacturer group and dhcp server ip address, wherein, the identification of the manufacturer of at least one dhcp client of identification of the manufacturer group binding.Like this, can ensure that the identification of the manufacturer associating same Dynamic Host Configuration Protocol server is recorded in together with the form of group, directly perceived, clear.Belong to which identification of the manufacturer group as how realizing which identification of the manufacturer, and associate which dhcp server ip address, the present embodiment can configure according to local area network (LAN) actual demand, no longer limits at this.
Step 402, the network equipment receives the DHCP request message of dhcp client broadcast transmission in application IP address process, the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
In the present embodiment 1, the DHCP request message of dhcp client broadcast transmission in application IP address process specifically can be: DHCP-DISCOVER message, DHCP-REQUEST message etc., the present invention does not specifically limit.
Further, in the present embodiment 1, dhcp client identification of the manufacturer can be encapsulated in the OPTION60 of described DHCP request message.
In addition, based on the detailed description of step 401, if the specific implementation of step 401 is: the network equipment sets up the incidence relation between identification of the manufacturer group and dhcp server ip address, then in this step 402, from described incidence relation, search the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated be specially:
From all identification of the manufacturer groups that this locality has configured, match the identification of the manufacturer group of dhcp client identification of the manufacturer binding in described DHCP request message, from described incidence relation, find the dhcp server ip address that the identification of the manufacturer group matched with this has incidence relation.
So far, the description of embodiment 1 is completed.
It should be noted that, in the present embodiment 1, if step 402 does not find the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated from described incidence relation, the DHCP request message repeating being then conventionally about to receive is to the Servers-all in all Dynamic Host Configuration Protocol server groups, or, according to the mode in embodiment 2.Below embodiment 2 is described:
Embodiment 2:
The present embodiment 1 is different from embodiment 2, and its DHCP request message being applied to dhcp client broadcast transmission in application IP address process does not carry the scene of OPTION60.Below by Fig. 5, embodiment 2 is described:
See the method flow diagram that Fig. 5, Fig. 5 provide for the embodiment of the present invention 2.In the same manner as in Example 1, the method that the embodiment of the present invention 2 provides is applied to the network equipment with DHCP relay relay function.As shown in Figure 5, this flow process can comprise the following steps:
Step 501 is similar with step 401, repeats no more.
Step 502, the network equipment receives dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, and triggering authentication server carries out certification to the user of this dhcp client.
In the present embodiment 2, certificate server can be the server supporting remote authentication dial-in user service (RADIUS), is called for short radius server.Based on this, the certificate server in this step 502 carries out certification to the user of this dhcp client and can realize based on existing RADIUS authentication.
Step 503, the network equipment receives described certificate server at the identification of the manufacturer of described dhcp client of dhcp client user by returning during certification, the dhcp server ip address be associated with this dhcp client identification of the manufacturer is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
The certificate server described based on step 502 is the description of radius server, then in this step 503, certificate server by relate to RADIUS RFC in do not encapsulated the identification of the manufacturer of dhcp client by the OPTION used.Wherein, relate in the RFC of RADIUS and do not can be OPTION221 by the OPTION used, Fig. 6 shows the schematic diagram being encapsulated dhcp client identification of the manufacturer by OPTION221.
In addition, in the present embodiment 2, how certificate server knows the identification of the manufacturer of dhcp client, it is by pre-configured realization, such as, the corresponding relation between the identification information of each dhcp client in networking and identification of the manufacturer is configured in advance at certificate server, so, certificate server is when dhcp client user is by certification, from pre-configured corresponding relation, search the identification of the manufacturer corresponding with the identification information of dhcp client, the identification of the manufacturer this found is defined as the identification of the manufacturer of dhcp client.
So far, flow process shown in Fig. 5 is completed.
It should be noted that, DHCP request message in above-mentioned steps 502 can be dhcp client in application IP address process first to the message that Dynamic Host Configuration Protocol server sends, certainly, as the expansion of the embodiment of the present invention, this DHCP message also can be all messages that dhcp client sends to Dynamic Host Configuration Protocol server in application IP address process, and the present invention does not specifically limit.
Preferably, the DHCP request message at every turn receiving dhcp client broadcast transmission in application IP address process for avoiding the network equipment all triggering authentication server carries out certification to the user of this dhcp client, save the resource of certificate server, in the present embodiment 2, can limit the network equipment and receive dhcp client first when applying for the DHCP message of broadcast transmission in IP address process, triggering authentication server carries out certification to this dhcp client user.For this situation, just need in step 503, the network equipment comprises further when receiving the dhcp client identification of the manufacturer that certificate server returns: set up the list item comprising following content: the list item of the attribute information of dhcp client and this dhcp client identification of the manufacturer; The attribute information of described dhcp client at least comprises: the MAC Address of dhcp client, the described network equipment connect the interface of dhcp client.
So, the network equipment receives dhcp client when applying for the message of follow-up transmission in IP address process, from the list item set up, just match the list item of the attribute information comprising this dhcp client, the dhcp server ip address that the dhcp client identification of the manufacturer in the list item matched with this is associated is searched in described incidence relation, if found, then forward described message using the dhcp server ip address found as destination address.
So far, the description of embodiment 2 is completed.
Above method provided by the invention is described, below the network equipment that the embodiment of the present invention provides is described:
The network equipment that the embodiment of the present invention provides mainly comprises following two kinds of structures:
Structure 1:
See the network equipment infrastructure figure that Fig. 7, Fig. 7 provide for the embodiment of the present invention.The structure of this network equipment is corresponding with embodiment 1, and it specifically comprises:
First associative cell, for setting up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
First receiving element, for receiving the DHCP request message of dhcp client broadcast transmission in application IP address process;
First retransmission unit, for searching the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
Wherein, described dhcp client identification of the manufacturer is encapsulated in the option OPTION60 of described DHCP request message.
So far, the description of structure 1 is completed.
Structure 2:
See another structure chart of the network equipment that Fig. 8, Fig. 8 provide for the embodiment of the present invention.The structure of this network equipment is corresponding with embodiment 2, and it specifically comprises:
Second associative cell, for setting up the incidence relation between identification of the manufacturer and dhcp server ip address, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
Trigger element, for receiving dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, triggering authentication server carries out certification to the user of this dhcp client;
Second receiving element, for receiving described certificate server at the identification of the manufacturer of described dhcp client of dhcp client user by returning during certification;
Second retransmission unit, for searching the dhcp server ip address that the dhcp client identification of the manufacturer that receives with described second receiving element is associated from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
Wherein, described DHCP request message is that dhcp client is being applied in IP address process first to the message that Dynamic Host Configuration Protocol server sends.
Based on this, described second receiving element sets up when receiving the dhcp client identification of the manufacturer that certificate server returns the list item comprising following content further: the list item of the attribute information of dhcp client and this dhcp client identification of the manufacturer; The attribute information of described dhcp client at least comprises: the MAC Address of dhcp client, the described network equipment connect the interface of dhcp client;
Further, described second receiving element is also for receiving the message of dhcp client follow-up transmission in application IP address process;
Described second retransmission unit is also for receiving dhcp client when applying for the message of follow-up transmission in IP address process at described second receiving element, the list item of the attribute information comprising this dhcp client is matched from the list item set up, the dhcp server ip address that the dhcp client identification of the manufacturer in the list item matched with this is associated is searched in described incidence relation, if found, then forward described message using the dhcp server ip address found as destination address.
In the present invention, described certificate server is not sent to the described network equipment by the option OPTION that uses dhcp client user by be encapsulated in by the identification of the manufacturer of described dhcp client during certification in RFC.
So far, the description of structure 2 is completed.
So far, the structure completing the network equipment that the embodiment of the present invention provides describes.
As can be seen from the above technical solutions, in the present invention, the network equipment sets up the incidence relation between dhcp client identification of the manufacturer and dhcp server ip address in advance, receiving dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated is found from the incidence relation set up, described DHCP request message is forwarded using the dhcp server ip address found as destination address, namely achieve as dhcp client selects Dynamic Host Configuration Protocol server, all Dynamic Host Configuration Protocol server in networking are avoided to participate in the IP application IP addresses process of dhcp client, save server resource.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (12)

1. a Dynamic Host Configuration Protocol server system of selection, the method is applied to the network equipment with DHCP relay relay function, it is characterized in that, the method comprises:
The network equipment sets up the incidence relation between identification of the manufacturer and dhcp server ip address in advance, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
The network equipment receives the DHCP request message of dhcp client broadcast transmission in application IP address process, the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
2. method according to claim 1, is characterized in that, described dhcp client identification of the manufacturer is encapsulated in the option OPTION60 of described DHCP request message.
3. a Dynamic Host Configuration Protocol server system of selection, the method is applied to the network equipment with DHCP relay relay function, it is characterized in that, the method comprises:
The network equipment sets up the incidence relation between identification of the manufacturer and dhcp server ip address in advance, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
The network equipment receives dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, and triggering authentication server carries out certification to the user of this dhcp client;
The network equipment receives described certificate server at the identification of the manufacturer of described dhcp client of dhcp client user by returning during certification, the dhcp server ip address be associated with this dhcp client identification of the manufacturer is searched from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
4. method according to claim 3, is characterized in that, described DHCP request message is that dhcp client is being applied in IP address process first to the message that Dynamic Host Configuration Protocol server sends.
5. method according to claim 4, it is characterized in that, the described network equipment comprises further when receiving the dhcp client identification of the manufacturer that certificate server returns: set up the list item comprising following content: the list item of the attribute information of dhcp client and this dhcp client identification of the manufacturer; The attribute information of described dhcp client at least comprises: the MAC Address of dhcp client, the described network equipment connect the interface of dhcp client;
The method comprises further: the described network equipment receives dhcp client when applying for the message of follow-up transmission in IP address process, the list item of the attribute information comprising this dhcp client is matched from the list item set up, the dhcp server ip address that the dhcp client identification of the manufacturer in the list item matched with this is associated is searched in described incidence relation, if found, then forward described message using the dhcp server ip address found as destination address.
6. method according to claim 3, is characterized in that, described certificate server is not sent to the described network equipment by the option OPTION that uses dhcp client user by be encapsulated in by the identification of the manufacturer of described dhcp client during certification in RFC.
7. be applied to the network equipment with DHCP relay relay function that Dynamic Host Configuration Protocol server is selected, it is characterized in that, this network equipment comprises:
First associative cell, for setting up the incidence relation between identification of the manufacturer and dhcp server ip address in advance, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
First receiving element, for receiving the DHCP request message of dhcp client broadcast transmission in application IP address process;
First retransmission unit, for searching the dhcp server ip address that the dhcp client identification of the manufacturer that carries with this DHCP request message is associated from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
8. the network equipment according to claim 7, is characterized in that, described dhcp client identification of the manufacturer is encapsulated in the option OPTION60 of described DHCP request message.
9. be applied to the network equipment with DHCP relay relay function that Dynamic Host Configuration Protocol server is selected, it is characterized in that, this network equipment comprises:
Second associative cell, for setting up the incidence relation between identification of the manufacturer and dhcp server ip address in advance, the mark of described identification of the manufacturer manufacturer belonging to dhcp client;
Trigger element, for receiving dhcp client when applying for the DHCP request message of broadcast transmission in IP address process, triggering authentication server carries out certification to the user of this dhcp client;
Second receiving element, for receiving described certificate server at the identification of the manufacturer of described dhcp client of dhcp client user by returning during certification;
Second retransmission unit, for searching the dhcp server ip address that the dhcp client identification of the manufacturer that receives with described second receiving element is associated from described incidence relation, if found, then forward described DHCP request message using the dhcp server ip address found as destination address.
10. the network equipment according to claim 9, is characterized in that, described DHCP request message is that dhcp client is being applied in IP address process first to the message that Dynamic Host Configuration Protocol server sends.
11. network equipments according to claim 10, it is characterized in that, described second receiving element sets up when receiving the dhcp client identification of the manufacturer that certificate server returns the list item comprising following content further: the list item of the attribute information of dhcp client and this dhcp client identification of the manufacturer; The attribute information of described dhcp client at least comprises: the MAC Address of dhcp client, the described network equipment connect the interface of dhcp client;
Described second receiving element is also for receiving the message of dhcp client follow-up transmission in application IP address process;
Described second retransmission unit is also for receiving dhcp client when applying for the message of follow-up transmission in IP address process at described second receiving element, the list item of the attribute information comprising this dhcp client is matched from the list item set up, the dhcp server ip address that the dhcp client identification of the manufacturer in the list item matched with this is associated is searched in described incidence relation, if found, then forward described message using the dhcp server ip address found as destination address.
12. network equipments according to claim 9, it is characterized in that, described certificate server is not sent to the described network equipment by the option OPTION that uses dhcp client user by be encapsulated in by the identification of the manufacturer of described dhcp client during certification in RFC.
CN201210229885.3A 2012-07-02 2012-07-02 Dynamic Host Configuration Protocol server system of selection and the network equipment Active CN102752413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210229885.3A CN102752413B (en) 2012-07-02 2012-07-02 Dynamic Host Configuration Protocol server system of selection and the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210229885.3A CN102752413B (en) 2012-07-02 2012-07-02 Dynamic Host Configuration Protocol server system of selection and the network equipment

Publications (2)

Publication Number Publication Date
CN102752413A CN102752413A (en) 2012-10-24
CN102752413B true CN102752413B (en) 2015-08-12

Family

ID=47032310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210229885.3A Active CN102752413B (en) 2012-07-02 2012-07-02 Dynamic Host Configuration Protocol server system of selection and the network equipment

Country Status (1)

Country Link
CN (1) CN102752413B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219657A (en) * 2013-05-30 2014-12-17 上海斐讯数据通信技术有限公司 A method for identifying and responding to APs of different manufacturers by a DHCP Server
CN107809498B (en) * 2017-10-26 2021-02-02 迈普通信技术股份有限公司 Communication method and communication device
CN108769075B (en) * 2018-07-06 2021-05-18 广东微云科技股份有限公司 Method and system for addressing login server
CN111988349A (en) * 2019-05-22 2020-11-24 西安诺瓦星云科技股份有限公司 Network connection establishing method, device and system and display system
CN110809033B (en) * 2019-10-23 2022-07-12 新华三信息安全技术有限公司 Message forwarding method and device and switching server
CN113329105B (en) * 2021-06-10 2022-09-06 深圳市炬力北方微电子有限公司 Redundancy method of distributed self-adaptive DHCP service and related equipment
CN113890867A (en) * 2021-10-15 2022-01-04 济南浪潮数据技术有限公司 Communication address allocation method and device, electronic equipment and storage medium
CN113973102A (en) * 2021-11-01 2022-01-25 新华三大数据技术有限公司 Network address acquisition method, system and network equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075962A (en) * 2007-06-26 2007-11-21 中兴通讯股份有限公司 Method and apparatus for realizing DHCP repeater in two-layer network exchanger
US7403997B2 (en) * 2003-06-06 2008-07-22 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Method for dynamically allocating IP addresses for hosts on a network
CN101562613A (en) * 2009-05-26 2009-10-21 杭州华三通信技术有限公司 Method for controlling multicast source and network access server
CN102281189A (en) * 2011-06-28 2011-12-14 杭州华三通信技术有限公司 Service implementation method and device based on private attribute of third-party equipment
CN102394948A (en) * 2011-11-04 2012-03-28 杭州华三通信技术有限公司 DHCP (dynamic host configuration protocol) address distribution method and DHCP server
CN102497378A (en) * 2011-12-15 2012-06-13 杭州华三通信技术有限公司 Method and device for dynamically choosing DHCP server for client terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7403997B2 (en) * 2003-06-06 2008-07-22 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Method for dynamically allocating IP addresses for hosts on a network
CN101075962A (en) * 2007-06-26 2007-11-21 中兴通讯股份有限公司 Method and apparatus for realizing DHCP repeater in two-layer network exchanger
CN101562613A (en) * 2009-05-26 2009-10-21 杭州华三通信技术有限公司 Method for controlling multicast source and network access server
CN102281189A (en) * 2011-06-28 2011-12-14 杭州华三通信技术有限公司 Service implementation method and device based on private attribute of third-party equipment
CN102394948A (en) * 2011-11-04 2012-03-28 杭州华三通信技术有限公司 DHCP (dynamic host configuration protocol) address distribution method and DHCP server
CN102497378A (en) * 2011-12-15 2012-06-13 杭州华三通信技术有限公司 Method and device for dynamically choosing DHCP server for client terminal

Also Published As

Publication number Publication date
CN102752413A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102752413B (en) Dynamic Host Configuration Protocol server system of selection and the network equipment
CN102497378B (en) Method and device for dynamically choosing DHCP server for client terminal
EP2124404B1 (en) Device and method for automatically configuring application terminals in a home network
CN102882699B (en) The distribution method of fringe node and device and fringe node controller
CN101478576B (en) Method, apparatus and system for selecting service network
US9967738B2 (en) Methods and arrangements for enabling data transmission between a mobile device and a static destination address
US20070091908A1 (en) Communication device and communication control method using efficient echonet address determination scheme
CN102833732A (en) IPv6 (Internet Protocol Version 6) address stateless autoconfiguration system, data card and implementation method thereof
KR101319418B1 (en) Information providing method, home gateway and home network system
CN102761499B (en) Gateway and method for preventing same from being attacked
CN102984295B (en) A kind of mobile terminal and address distribution method thereof
EP3108643B1 (en) Ipoe dual-stack subscriber for routed residential gateway configuration
CN101600001B (en) Method and device for acquiring configuration information based on dynamic host configuration protocol
CN101873320B (en) Client information verification method based on DHCPv6 relay and device thereof
CN101188514A (en) Method, device and system for automatically discovering network element device
WO2014056441A1 (en) Method and device for configuring ipv6 transition technique on cpe
CN105245629A (en) DHCP-based host communication method and device
CN102170395A (en) Data transmission method and network equipment
CN102769678B (en) A kind of dhcp address distribution method and device
EP2677689A2 (en) Method, apparatus and system for network device configuration
CN101867625A (en) Method for allocating IPv6 address and home gateway
CN103384282A (en) Method for obtaining IPV6ND address and broadband remote access server (BARS)
CN1960380B (en) Method for obtaining service IP address and base station
CN101120580A (en) Method for establishing a communication link in at least one communications network
CN106131177B (en) Message processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address