CN101159758A - Classification associated dynamic host machine configuring protocol option distribution method and device - Google Patents

Classification associated dynamic host machine configuring protocol option distribution method and device Download PDF

Info

Publication number
CN101159758A
CN101159758A CNA2007101765458A CN200710176545A CN101159758A CN 101159758 A CN101159758 A CN 101159758A CN A2007101765458 A CNA2007101765458 A CN A2007101765458A CN 200710176545 A CN200710176545 A CN 200710176545A CN 101159758 A CN101159758 A CN 101159758A
Authority
CN
China
Prior art keywords
address
dynamic host
client
address pool
item
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.)
Granted
Application number
CNA2007101765458A
Other languages
Chinese (zh)
Other versions
CN101159758B (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.)
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 CN2007101765458A priority Critical patent/CN101159758B/en
Publication of CN101159758A publication Critical patent/CN101159758A/en
Application granted granted Critical
Publication of CN101159758B publication Critical patent/CN101159758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a class-associated dynamic host configuration protocol option distribution method. The method comprises dividing the sub-net and the address pool range according to the network resource, the networking manner and the network structure; configuring specific terms of a dynamic host configuration protocol server, associating each term with the address pool, and storing the configuration and association relationship between the address pool and the specific terminal in the database of the dynamic host configuration protocol; selecting one non-distributed address in the address pool and a specific term requested by a client according to the sub-net and specific term information in the request transmitted by the client, and transmitting to the client; and receiving the address by the client, and affirming the distribution address and the option configuration parameter with the dynamic host configuration protocol server. The invention also discloses a corresponding device, with has a pre-configured module and a distribution module. The invention can ensure the correct configuration of the client, improve the distribution efficiency of the DHCP server, and utilize the network resources more reasonably.

Description

A kind of classification associated dynamic host machine configuring protocol option distribution method and device
Technical field
The present invention relates to DHCP (DHCP, Dynamic Host ConfigurationProtocol) field, be meant a kind of classification associated DHCP option distribution method and device especially.
Background technology
DHCP is a kind of transmission control/Internet protocol (TCP/IP, Transmission Control Protocol/Internet Protocol) standard of simplifying the host IP address configuration management.This standard provides a kind of effective method for the use of Dynamic Host Configuration Protocol server: i.e. the dynamic assignment of client computer IP address and the relevant configuration information of enabling DHCP client computer on the network in the supervising the network.In the DHCP system, parameter options all is associated with address pool, has selected just to distribute the corresponding option parameter after certain address pool.But, the parameter of address pool association can not change, and the parameter of various equipment types is mixed the bind address pond, causes address pool too in disorder, like this, some dissimilar equipment are assigned to and own unallied parameter, even the parameter that needs omitted, in the time of the client-requested address, various parameters in this address pool are distributed to client together in company with institute's addresses distributed, and the parameter that its request is arranged that client obtains also has unnecessary parameter, causes waste of network resources; Simultaneously, each client that is in the consolidated network may be asked different service options, if with the only related service option of each address pool, so, in consolidated network, divide a plurality of subnets according to the service option needs, it is very complicated that network configuration becomes.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of succinct, efficient, related DHCP option distribution method of accurate classification.
Another purpose of the present invention is to provide a kind of classification associated efficiently DHCP option distributor.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of classification associated dynamic host machine configuring protocol option distribution method, this method may further comprise the steps:
A, according to Internet resources, networking mode and network configuration, divide subnet, address pool range;
The particular item of B, configuration Dynamic Host Configuration Protocol server, each particular item is related with address pool, and in the DHCP database, preserve the configuration and the incidence relation of address pool and particular item;
C, send subnet, particular item information in the request, select a unallocated address in the corresponding address pond according to client, and the particular item of client-requested, send to client;
D, client receive and confirm to distribute address and particular item configuration with Dynamic Host Configuration Protocol server.
Described particular item is the service option that provides according to operator, includes but not limited to Web TV, video request program, video conference.
Also comprise the basic parameter in the configuration Dynamic Host Configuration Protocol server among the step B, each basic parameter option is formed an elementary item, elementary item with the address pond association of described address among the step C together sends client, and client receives and confirms elementary item with Dynamic Host Configuration Protocol server among the step D.
Described basic parameter includes but not limited to: address realm, address rental period, mask address, excluded address, gateway address, DNS domain name addresses, tftp server, sip server, www server.
The related at least address pool of each elementary item; The related at the most elementary item of each address pool; The related at least address pool of each particular item.
A kind of classification associated dynamic host machine configuring protocol option assigned unit, this device is arranged in Dynamic Host Configuration Protocol server, comprising: pre-configured module and distribution module:
Pre-configured module is used to dispose the particular item of Dynamic Host Configuration Protocol server, with each particular item related address pool respectively, and will all dispose and incidence relation stores in the DHCP database;
Distribution module according to the subnet in the client-requested, specific service option information, is sought corresponding address pool in the DHCP database, therefrom choose a unappropriated address, sends to client.
Pre-configured module also is used for the configuration to elementary item, and elementary item is related with address pool.
The present invention classifies parameter options according to elementary item, address pool, particular item etc., related with address pool respectively, when making the client address acquisition, can obtain the option information of accurate and address correlation fast, guarantee that client can correctly dispose, optimize network configuration, improve the allocative efficiency of Dynamic Host Configuration Protocol server, more the reasonable use Internet resources.
Description of drawings
Fig. 1 is the structural representation of application system of the present invention;
Fig. 2 is the method for the invention flow chart;
Fig. 3 is each option incidence relation schematic diagram of the present invention;
Fig. 4 is the schematic diagram of apparatus of the present invention.
Embodiment
Main thought of the present invention is: when Dynamic Host Configuration Protocol server is pre-configured, the service that operator provides is related with address pool respectively as particular item, the elementary item that client configuration needs is also related with address pool, when client-requested, according to user's requested service, Dynamic Host Configuration Protocol server can be fast, accurately respond, and improves network efficiency, avoids the transmission of nuisance parameter.
As shown in Figure 1, the present invention is based on the DHCP system, this system comprises DHCP configuration platform, Dynamic Host Configuration Protocol server, DHCP database, DHCP relay and plurality of client end.Carry out pre-configured by DHCP configuration platform to Dynamic Host Configuration Protocol server, each option parameter of DHCP is related with address pool, and deposit configuration data in the DHCP database, when each client through DHCP relay when Dynamic Host Configuration Protocol server sends request, DHCP returns the configuration information of request to client.Concrete steps are as shown in Figure 2:
Step 1:, divide the address pool range of subnet, Dynamic Host Configuration Protocol server according to the structure of Internet resources, networking mode and network.
Structure according to Internet resources, networking mode and network, need to determine the subnet number of dividing, the scope of address pool, after determining the subnet number, the quantity of address pool is generally equal to or greater than the subnet number, in the network as shown in Figure 1, subnet has 3, be respectively Dynamic Host Configuration Protocol server place subnet, DHCP relay 1 place subnet and DHCP relay 2 place subnets, address pool at least also has 3 so, and address pool is divided into 3, i.e. address pool 1, address pool 2 and address pool 3.The scope of each address pool is as shown in table 1:
Address pool Scope Subnet mask
1 10.40.35.1-10.40.35.100 255.255.255.0
2 10.40.30.1-10.40.30.100 255.255.255.0
3 10.40.25.1-10.40.25.100 255.255.255.0
Table 1
Wherein, the IP address of Dynamic Host Configuration Protocol server is 10.40.35.254, corresponding address pond 1; The IP address of DHCP relay 1 is 10.40.30.200, corresponding address pond 2; The IP address of DHCP relay 2 is 10.40.25.120, corresponding address pond 3.
Step 2: the elementary item of configuration DHCP server, with the related address pool of each elementary item.
The parameter options of general character in the dynamically allocate address process is extracted as elementary item, as parameters such as address realm, address rental period, mask address, excluded address, gateway address, DNS domain name addresses, tftp server, sip server, www servers, these parameters are formed one group, be called elementary item, according to Internet resources, networking mode and network configuration, be divided into some elementary items, these parameter values are incomplete same in each elementary item, form the elementary item that satisfies different configuration requirements: elementary item 1, elementary item 2, elementary item 3.
As shown in Figure 3, the related at least address pool of each elementary item, but an address pool can only related elementary item.
Step 3: the particular item of configuration Dynamic Host Configuration Protocol server, with the related address pool of each particular item, and with whole configuration store in the DHCP database.
Service entrys such as the Web TV that provides according to operator in the network, video request program, video conference, terminal provisioning merchant type, terminal applies type, various information on services are set to particular item, according to the distribution situation of user in each subnet, that particular item is related with address pool.As shown in Figure 3, each address pool can related a plurality of particular item, and each particular item also can be related with a plurality of address pool, guarantee when a certain user in the subnet asks a certain special services, can satisfy this user's requirement, the particular item of each address pool association is as shown in table 2:
Address pool Related particular item
The supplier of Web TV The supplier of video request program The supplier of video conference
1 A1、A2 B1、B2 Do not have
2 A2、A3、A4 Do not have C1、C2
3 A3、A4 B3 C2
Table 2
The particular item configuration is finished, and the result to 3 configurations stores in the DHCP database with step 1.
Step 4: according to subnet, the particular item information in the client transmission request, select a unallocated address in the corresponding address pond,, send client together with the elementary item of this address pool association, the particular item of client-requested.
Client sends the discover message to Dynamic Host Configuration Protocol server, and Dynamic Host Configuration Protocol server carries out dissection process to this message, obtains the information of the special services of the place subnet of client and request.If client carries DHCP relay information, illustrate this client with Dynamic Host Configuration Protocol server not in same subnet, need to seek and the related address pool of this DHCP relay place subnet; Otherwise, directly use and the related address pool of Dynamic Host Configuration Protocol server place subnet.And then, according to the service-specific information in the client-requested, select an address pool, therefrom select a unappropriated ground, together with the elementary item of this address pool association, the particular item of client-requested, form the offer bag that the address is provided, if existence conflicts before in the numbering of particular item and the message, then replace the information that existed in the past, send to the client of request with this option information.When selecting address pool, if has all joined the address pool address that satisfies condition, just select the next address pool that satisfies condition, if there are a plurality of address pool that satisfy condition simultaneously, then select one at random.
In the previous example, with client 1 is example: client 1 is in the same subnet with DHCP relay 1, then when client 1 request, Dynamic Host Configuration Protocol server is according to the IP address of its DHCP relay that carries 1, judge that client 1 and DHCP relay 1 are in the same subnet, then select the address pool 2 of DHCP relay 1 association, and then the special services of viewing client-side 1 request, as client 1 request Web TV service, supplier is A2, see again and seek Web TV supplier A2 in the particular item of address pool 2 associations, if can find, then satisfy the request of client 1, then from address pool 2, select a unappropriated address 10.40.30.36, together with elementary item, particular item is formed the offer bag together, send client 1, for other particular item of address pool 2 associations, as Web TV supplier A3, parameters such as video conference supplier C1 do not send to client 1, thereby avoid client 1 to accept self unwanted nuisance parameter.The request process of the request process of client 2, client 3 and client 1 is similar.
Step 5: the address that is provided is provided client, confirms to distribute address and option configuration parameter with Dynamic Host Configuration Protocol server.
After client is received the offer bag, send the request bag to Dynamic Host Configuration Protocol server, represent to receive Dynamic Host Configuration Protocol server institute addresses distributed, DHCP responds the ACK bag, and elementary item, particular item that client provides according to the offer bag dispose, and finish the process of an Address requests.
Based on above method, the present invention also provides corresponding device thereof, and as shown in Figure 4, this device is arranged in Dynamic Host Configuration Protocol server, comprising: pre-configured module and distribution module:
Pre-configured module is used for elementary item, the particular item of configuration DHCP server, with each elementary item, particular item related address pool respectively, and will all dispose and incidence relation stores in the DHCP database;
Distribution module according to the subnet in the client-requested, specific service option information, is sought corresponding address pool in the DHCP database, therefrom choose a unappropriated address, sends to client.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (7)

1. a classification associated dynamic host machine configuring protocol option distribution method is characterized in that, this method may further comprise the steps:
A, according to Internet resources, networking mode and network configuration, divide subnet, address pool range;
The particular item of B, configuration Dynamic Host Configuration Protocol server, each particular item is related with address pool, and in the DHCP database, preserve the configuration and the incidence relation of address pool and particular item;
C, send subnet, particular item information in the request, select a unallocated address in the corresponding address pond according to client, and the particular item of client-requested, send to client;
D, client receive and confirm to distribute address and particular item configuration with Dynamic Host Configuration Protocol server.
2. classification associated dynamic host machine configuring protocol option distribution method according to claim 1 is characterized in that described particular item is the service option that provides according to operator, includes but not limited to Web TV, video request program, video conference.
3. classification associated dynamic host machine configuring protocol option distribution method according to claim 1, it is characterized in that, also comprise the basic parameter in the configuration Dynamic Host Configuration Protocol server among the step B, each basic parameter option is formed an elementary item, elementary item with the address pond association of described address among the step C together sends client, and client receives and confirms elementary item with Dynamic Host Configuration Protocol server among the step D.
4. classification associated dynamic host machine configuring protocol option distribution method according to claim 3, it is characterized in that, described basic parameter includes but not limited to: address realm, address rental period, mask address, excluded address, gateway address, DNS domain name addresses, tftp server, sip server, www server.
5. according to the arbitrary described classification associated dynamic host machine configuring protocol option distribution method of claim 1 to 4, it is characterized in that:
The related at least address pool of each elementary item; The related at the most elementary item of each address pool; The related at least address pool of each particular item.
6. classification associated dynamic host machine configuring protocol option assigned unit is characterized in that this device is arranged in Dynamic Host Configuration Protocol server, comprising: pre-configured module and distribution module:
Pre-configured module is used to dispose the particular item of Dynamic Host Configuration Protocol server, with each particular item related address pool respectively, and will all dispose and incidence relation stores in the DHCP database;
Distribution module according to the subnet in the client-requested, specific service option information, is sought corresponding address pool in the DHCP database, therefrom choose a unappropriated address, sends to client.
7. classification associated dynamic host machine configuring protocol option assigned unit according to claim 6 is characterized in that pre-configured module also is used for the configuration to elementary item, and elementary item is related with address pool.
CN2007101765458A 2007-10-30 2007-10-30 Classification associated dynamic host machine configuring protocol option distribution method and device Active CN101159758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101765458A CN101159758B (en) 2007-10-30 2007-10-30 Classification associated dynamic host machine configuring protocol option distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101765458A CN101159758B (en) 2007-10-30 2007-10-30 Classification associated dynamic host machine configuring protocol option distribution method and device

Publications (2)

Publication Number Publication Date
CN101159758A true CN101159758A (en) 2008-04-09
CN101159758B CN101159758B (en) 2010-06-23

Family

ID=39307676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101765458A Active CN101159758B (en) 2007-10-30 2007-10-30 Classification associated dynamic host machine configuring protocol option distribution method and device

Country Status (1)

Country Link
CN (1) CN101159758B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969477A (en) * 2010-10-12 2011-02-09 深圳市共进电子有限公司 Interactive system and method for simultaneously acquiring IP addresses and information provided by manufacturers
WO2011095079A1 (en) * 2010-02-08 2011-08-11 深圳市同洲电子股份有限公司 Method, device and system for allocating ip address
CN102256362A (en) * 2011-08-22 2011-11-23 东南大学 Link allocation method for multi-channel wireless network
CN102404419A (en) * 2011-11-23 2012-04-04 华为技术有限公司 IP (internet protocol) address distribution method and router
CN101534329B (en) * 2009-04-16 2012-05-02 华为技术有限公司 IP address assignment method and system
CN102694873A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 Address pool distribution system and method
CN105007233A (en) * 2015-07-13 2015-10-28 互联网域名系统北京市工程研究中心有限公司 Method for distributing address based on DHCP (dynamic host configuration protocol) server cluster load
CN105323120A (en) * 2015-11-26 2016-02-10 上海斐讯数据通信技术有限公司 Test method, test device and test terminal for DHCP service side
CN105472048A (en) * 2014-07-14 2016-04-06 华为技术有限公司 Address allocating method, information aggregation method and related equipment
CN106357621A (en) * 2016-08-29 2017-01-25 桂林浩新科技服务有限公司 User access control method and system
CN108156275A (en) * 2017-12-20 2018-06-12 北京金山云网络技术有限公司 IP address distribution method, device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6212563B1 (en) * 1998-10-01 2001-04-03 3Com Corporation Method and system for setting and managing externally provided internet protocol addresses using the dynamic host configuration protocol
DE10329858A1 (en) * 2003-07-02 2005-01-27 Siemens Ag Method for configuring a device in a data network
US7907615B2 (en) * 2004-03-12 2011-03-15 At&T Intellectual Property Ii, L.P. Method and apparatus to manage network addresses for private voice communications
CN100527752C (en) * 2005-08-19 2009-08-12 杭州华三通信技术有限公司 DHCP address allocation method
CN100502413C (en) * 2005-10-12 2009-06-17 华为技术有限公司 IP address requesting method for DHCP client by DHCP repeater

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534329B (en) * 2009-04-16 2012-05-02 华为技术有限公司 IP address assignment method and system
WO2011095079A1 (en) * 2010-02-08 2011-08-11 深圳市同洲电子股份有限公司 Method, device and system for allocating ip address
CN101969477A (en) * 2010-10-12 2011-02-09 深圳市共进电子有限公司 Interactive system and method for simultaneously acquiring IP addresses and information provided by manufacturers
CN102694873B (en) * 2011-03-22 2016-02-10 中兴通讯股份有限公司 A kind of address pool distribution system and method
CN102694873A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 Address pool distribution system and method
WO2012126243A1 (en) * 2011-03-22 2012-09-27 中兴通讯股份有限公司 Address pool allocation system and method
CN102256362A (en) * 2011-08-22 2011-11-23 东南大学 Link allocation method for multi-channel wireless network
CN102404419A (en) * 2011-11-23 2012-04-04 华为技术有限公司 IP (internet protocol) address distribution method and router
CN105472048A (en) * 2014-07-14 2016-04-06 华为技术有限公司 Address allocating method, information aggregation method and related equipment
CN105472048B (en) * 2014-07-14 2019-05-10 华为技术有限公司 A kind of address distribution method, information aggregation method and relevant device
CN105007233A (en) * 2015-07-13 2015-10-28 互联网域名系统北京市工程研究中心有限公司 Method for distributing address based on DHCP (dynamic host configuration protocol) server cluster load
CN105007233B (en) * 2015-07-13 2018-02-27 互联网域名系统北京市工程研究中心有限公司 A kind of method that distribution address is loaded based on Dynamic Host Configuration Protocol server cluster
CN105323120A (en) * 2015-11-26 2016-02-10 上海斐讯数据通信技术有限公司 Test method, test device and test terminal for DHCP service side
CN106357621A (en) * 2016-08-29 2017-01-25 桂林浩新科技服务有限公司 User access control method and system
CN108156275A (en) * 2017-12-20 2018-06-12 北京金山云网络技术有限公司 IP address distribution method, device, electronic equipment and storage medium
CN108156275B (en) * 2017-12-20 2021-03-09 北京金山云网络技术有限公司 IP address allocation method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN101159758B (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN101159758B (en) Classification associated dynamic host machine configuring protocol option distribution method and device
CN100527752C (en) DHCP address allocation method
CN100502413C (en) IP address requesting method for DHCP client by DHCP repeater
CN100407625C (en) Method for providing business according to its type
CN103281203B (en) A kind of dhcp address allocation management method based on ecos systems
CN102148879A (en) Port mapping method and device and communication system
US20100198989A1 (en) Assigning priority to network traffic at customer premises
CN102710811B (en) Realize method and the switch of dhcp address safety distribution
CN102387222B (en) Address distribution method, apparatus and system thereof
CN103888551A (en) Internet protocol address obtaining method in network, relay device and system
CN101188514A (en) Method, device and system for automatically discovering network element device
CN101626406B (en) DHCP address pool configuration method, DHCP address assignment method, DHCP address assignment system and DHCP server
CN101867625B (en) Method for allocating IPv6 address and home gateway
CN102957754A (en) Operating-level network address conversion method, operating-level network address conversion equipment and network system
CN102394948B (en) DHCP (dynamic host configuration protocol) address distribution method and DHCP server
CN101184099B (en) Second IP address assignment method based on dynamic host machine configuration protocol access authentication
US8195775B2 (en) Enhanced method and apparatus for reducing congestion in DHCP network system
CN101227356A (en) Equipment, system and method for network access based on dynamic state host computer collocation protocol
CN103561122B (en) IPv6 address collocation method, IPv6 client and server
CN102780790A (en) Method and system for dynamically allocating IP (Internet Protocol) address
CN102891901A (en) Dynamic domain name resolution method, server and domain name service system
CN102594839B (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN106878481B (en) Method, device and system for acquiring Internet Protocol (IP) address
CN102025797A (en) Address prefix processing method, device, system and network equipment
CN105338131A (en) Testing method and system for address pool capacity of DHCP server

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