CN1921496A - Method for DHCP client terminal to identifying DHCP server - Google Patents

Method for DHCP client terminal to identifying DHCP server Download PDF

Info

Publication number
CN1921496A
CN1921496A CN 200510041593 CN200510041593A CN1921496A CN 1921496 A CN1921496 A CN 1921496A CN 200510041593 CN200510041593 CN 200510041593 CN 200510041593 A CN200510041593 A CN 200510041593A CN 1921496 A CN1921496 A CN 1921496A
Authority
CN
China
Prior art keywords
dhcp
dynamic host
host configuration
configuration protocol
protocol 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.)
Granted
Application number
CN 200510041593
Other languages
Chinese (zh)
Other versions
CN1921496B (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.)
CHINA TECHNOLOGY EXCHANGE CO., LTD.
State Grid Beijing Electric Power Co Ltd
State Grid Economic and Technological Research Institute
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 CN2005100415937A priority Critical patent/CN1921496B/en
Publication of CN1921496A publication Critical patent/CN1921496A/en
Application granted granted Critical
Publication of CN1921496B publication Critical patent/CN1921496B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method for recognizing DHCP server via DHCP client. Wherein, it comprises: DHCP client sets the trusted DHCP server information; the DHCP client sends DHCP discover data pack; in network, DHCP server responses said request and sends DHCP provide data pack; the DHCP client, based on DHCP provide data pack, analyzes the information of DHCP server; if it meets the trusted information, going on the DHCP consultation; or else, throwing out said report. The invention can confirm the DHCP client to access into network normally.

Description

A kind of method of dhcp client identification Dynamic Host Configuration Protocol server
Technical field
The present invention relates to data communication field, relate in particular to DHCP (Dynamic HostConfiguration Protocol, DHCP) technology.
Background technology
The full name of DHCP is DHCP (Dynamic Host ConfigurationProtocol), and by IETF (Internet network engineers group of task) design, detailed protocol contents has been stipulated at RFC document RFC2131.DHCP is the expansion of BOOTP (BootstrapProtocol sees RFC951), is based on C/S model, and it provides the mechanism of a kind of dynamic assigned ip address and configuration parameter, is mainly used in the relatively place of difficulty of large network environment and human configuration.The network manager concentrates on the parameter that is provided with of TCP/IP network on the server that moves DHCP, by Dynamic Host Configuration Protocol server automatically is main frame in the network, configurations such as client computer assigned ip address and route just, Dynamic Host Configuration Protocol server can appointment configuration parameter some and IP agreement and uncorrelated, but this can't influence the communication between the computer, and its configuration parameter makes the compunication on the network become convenient and realized easily.And DHCP makes can renting of IP address, this is with respect to one of BOOTP comparatively outstanding function, especially for the catenet that has many computers, such as the campus network in the university, it sometimes may be unnecessary that every computer static state has an IP address, and Dynamic Host Configuration Protocol server is that a rental period is specified in each IP address, and the rental period can be 1 minute, also can be indefinite duration, client computer also can continue to use the IP resource by re-renting.When the rental period to the time, Dynamic Host Configuration Protocol server can reclaim this IP address, distributes to other machine and uses.In addition, DHCP can also satisfy the service of moving well, because DHCP provides booking-mechanism, though change has taken place in the client computer physical location, but the essential information of client computer still exists in the server, when client computer is reissued request,, this IP address still can not use previous used address if just being assigned with away as yet.
Existing DHCP technology can be used well in the local area network (LAN) of enterprises, greatly alleviates the planning of TCP/IP network, the burden that administers and maintains, and carries out the distribution and the recovery of IP address automatically, does not need human intervention basically.But existing DHCP networking mode does not limit Dynamic Host Configuration Protocol server, if there are many Dynamic Host Configuration Protocol server in the network, be assigned to inappropriate IP address thereby then might cause dhcp client can't discern the Dynamic Host Configuration Protocol server of being trusted, so that can not normally carry out corresponding network function.
Summary of the invention
The technical problem to be solved in the present invention is to overcome the shortcoming of the dhcp client shortage of prior art existence to the Dynamic Host Configuration Protocol server recognition mechanism, and then provide a kind of dhcp client to discern the method for Dynamic Host Configuration Protocol server, make full use of the characteristic that DHCP makes things convenient for network management, and cooperation realizes that to the recognition function of Dynamic Host Configuration Protocol server user's dhcp client inserts.
The invention provides a kind of method of dhcp client identification Dynamic Host Configuration Protocol server, technical scheme may further comprise the steps:
Step 1: dhcp client is provided with the Dynamic Host Configuration Protocol server information of being trusted;
Step 2: dhcp client sends DHCP and finds packet, this request of dhcp server response and send DHCP packet is provided in the network;
Step 3: dhcp client provides packet at the DHCP of dhcp server response, resolves the information of this Dynamic Host Configuration Protocol server, if meet the trust information of setting, then continues DHCP negotiations process and execution in step four, otherwise direct dropping packets;
Step 4: dhcp client is judged to be the Dynamic Host Configuration Protocol server of being trusted, and dhcp client is accepted the content of this Dynamic Host Configuration Protocol server distributing IP address and relevant configuration information, is linked in the network of specified request.
Compare and prior art, the present invention specifies the information of the Dynamic Host Configuration Protocol server trusted to realize the suitable lattice identification of Dynamic Host Configuration Protocol server by dhcp client, has solved the normally problem of access network of dhcp client that the uncertainty of distributing IP address when having a plurality of Dynamic Host Configuration Protocol server in the existing network causes.
Description of drawings
Fig. 1 is the inventive method flow chart;
Fig. 2 is the system model figure that the inventive method is used.
Embodiment
Below pass through accompanying drawing, and further specify the specific implementation of the present invention in conjunction with the embodiments at the dhcp client access service.
Fig. 2 is the system model that the inventive method is used: in local area network, have under the situation of many Dynamic Host Configuration Protocol server, can make dhcp client identify the Dynamic Host Configuration Protocol server of being trusted by the inventive method, accept the function of its distributing IP address and relevant configuration information.
In conjunction with Fig. 1, the present invention proposes two embodiment.
First embodiment may further comprise the steps:
The first step, client is specified the Dynamic Host Configuration Protocol server mac address information of being trusted;
In second step, dhcp client sends DHCP and finds (DHCP DISCOVER) packet, and receiving the dhcp server response request of DHCP DISCOVER packet and sending DHCP provides (DHCP OFFER) packet;
In the 3rd step, dhcp client is resolved the MAC Address of this Dynamic Host Configuration Protocol server at the DHCP OFFER packet of dhcp server response;
In the 4th step, judge whether the MAC Address that parses meets the Dynamic Host Configuration Protocol server MAC Address of being trusted of client setting.If meet then carry out follow-up DHCP negotiations process; If do not meet then direct dropping packets.
Dhcp client is judged to be the Dynamic Host Configuration Protocol server of being trusted, and dhcp client is accepted the content of this Dynamic Host Configuration Protocol server distributing IP address and relevant configuration information, is linked in the network of specified request.
Second embodiment may further comprise the steps:
The first step, client is specified the IP address of the Dynamic Host Configuration Protocol server of being trusted;
In second step, dhcp client sends DHCP DISCOVER packet, receives this request of dhcp server response of DHCP DISCOVER packet and sends the DHCPOFFER packet;
In the 3rd step, dhcp client is resolved the IP address of Dynamic Host Configuration Protocol server at the DHCP OFFER packet of dhcp server response;
In the 4th step, judge whether the IP address that parses meets the dhcp server ip address of being trusted of client setting.If meet then carry out follow-up DHCP negotiations process; If do not meet then direct dropping packets.
Dhcp client is judged to be the Dynamic Host Configuration Protocol server of being trusted, and dhcp client is accepted the content of this Dynamic Host Configuration Protocol server distributing IP address and relevant configuration information, is linked in the network of specified request.
In sum, method of the present invention has merged the characteristic that DHCP is convenient to network management well, has satisfied the requirement of dhcp client to the Dynamic Host Configuration Protocol server authentication of being asked simultaneously again, creatively the mode of dhcp client accessing to wide band network is expanded.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (3)

1. the method for dhcp client identification Dynamic Host Configuration Protocol server may further comprise the steps:
Step 1: dhcp client is provided with the Dynamic Host Configuration Protocol server information of being trusted;
Step 2: dhcp client sends DHCP and finds packet, this request of dhcp server response and send DHCP packet is provided in the network;
Step 3: dhcp client provides packet at the DHCP of dhcp server response, resolves the information of this Dynamic Host Configuration Protocol server, if meet the trust information of setting, then continues DHCP negotiations process and execution in step four, otherwise direct dropping packets;
Step 4: dhcp client is judged to be the Dynamic Host Configuration Protocol server of being trusted, and dhcp client is accepted the content of this Dynamic Host Configuration Protocol server distributing IP address and relevant configuration information, is linked in the network of specified request.
2. method according to claim 1 is characterized in that, it is the mac address information of specifying Dynamic Host Configuration Protocol server that dhcp client is provided with the Dynamic Host Configuration Protocol server information of being trusted.
3. method according to claim 1 is characterized in that, it is the IP address of specifying Dynamic Host Configuration Protocol server that dhcp client is provided with the Dynamic Host Configuration Protocol server information of being trusted.
CN2005100415937A 2005-08-24 2005-08-24 Method for DHCP client terminal to identifying DHCP server Expired - Fee Related CN1921496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2005100415937A CN1921496B (en) 2005-08-24 2005-08-24 Method for DHCP client terminal to identifying DHCP server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005100415937A CN1921496B (en) 2005-08-24 2005-08-24 Method for DHCP client terminal to identifying DHCP server

Publications (2)

Publication Number Publication Date
CN1921496A true CN1921496A (en) 2007-02-28
CN1921496B CN1921496B (en) 2010-04-14

Family

ID=37779065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005100415937A Expired - Fee Related CN1921496B (en) 2005-08-24 2005-08-24 Method for DHCP client terminal to identifying DHCP server

Country Status (1)

Country Link
CN (1) CN1921496B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677279A (en) * 2008-09-16 2010-03-24 深圳华为通信技术有限公司 LAN device, gateway and association method thereof
CN102299932A (en) * 2011-09-22 2011-12-28 杭州华三通信技术有限公司 Backup method for DHCP (Dynamic Host Configuration Protocol) server and DHCP server
CN102647486A (en) * 2012-04-28 2012-08-22 华为技术有限公司 Address distributing method, address distributing equipment and address distributing system
CN102970383A (en) * 2012-11-13 2013-03-13 中兴通讯股份有限公司 Method and device for allocating internet protocol (IP) addresses and method and device for processing information
CN103812722A (en) * 2012-11-14 2014-05-21 纬创资通股份有限公司 Detection method for network system and network system
CN106790701A (en) * 2017-02-23 2017-05-31 郑州云海信息技术有限公司 It is a kind of to orient the method and device that Dynamic Host Configuration Protocol server is specified in request
CN111464523A (en) * 2020-03-27 2020-07-28 深圳融安网络科技有限公司 Network monitoring method, terminal device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100417127C (en) * 2002-04-10 2008-09-03 中兴通讯股份有限公司 User management method based on dynamic mainframe configuration procotol
CN1248447C (en) * 2002-05-15 2006-03-29 华为技术有限公司 Broadband network access method
JP4002844B2 (en) * 2003-01-21 2007-11-07 株式会社エヌ・ティ・ティ・ドコモ Gateway device and network connection method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677279A (en) * 2008-09-16 2010-03-24 深圳华为通信技术有限公司 LAN device, gateway and association method thereof
CN102299932A (en) * 2011-09-22 2011-12-28 杭州华三通信技术有限公司 Backup method for DHCP (Dynamic Host Configuration Protocol) server and DHCP server
CN102647486A (en) * 2012-04-28 2012-08-22 华为技术有限公司 Address distributing method, address distributing equipment and address distributing system
CN102647486B (en) * 2012-04-28 2015-11-25 华为技术有限公司 Address distribution method, equipment and system
CN105245638B (en) * 2012-04-28 2019-06-21 华为技术有限公司 Address distribution method, equipment and system
CN102970383A (en) * 2012-11-13 2013-03-13 中兴通讯股份有限公司 Method and device for allocating internet protocol (IP) addresses and method and device for processing information
CN102970383B (en) * 2012-11-13 2018-07-06 中兴通讯股份有限公司 A kind of method and device, method and device of information processing for distributing IP address
CN103812722A (en) * 2012-11-14 2014-05-21 纬创资通股份有限公司 Detection method for network system and network system
US9674319B2 (en) 2012-11-14 2017-06-06 Wistron Corporation Detection method in network system and related apparatus
CN103812722B (en) * 2012-11-14 2017-10-24 纬创资通股份有限公司 Detection method for network system and network system
CN106790701A (en) * 2017-02-23 2017-05-31 郑州云海信息技术有限公司 It is a kind of to orient the method and device that Dynamic Host Configuration Protocol server is specified in request
CN111464523A (en) * 2020-03-27 2020-07-28 深圳融安网络科技有限公司 Network monitoring method, terminal device and computer readable storage medium

Also Published As

Publication number Publication date
CN1921496B (en) 2010-04-14

Similar Documents

Publication Publication Date Title
CN110113345B (en) Automatic asset discovery method based on flow of Internet of things
US9237147B2 (en) Remote access manager for virtual computing services
CN1921496A (en) Method for DHCP client terminal to identifying DHCP server
EP2472824B1 (en) A method and a device in an IP network
US7945646B2 (en) Distinguishable display of searched network devices with a physical address or a network address
US7519598B2 (en) Prioritizing network management traffic
CN1682516A (en) Method and apparatus for preventing spoofing of network addresses
CN1487696A (en) Intelligent terminal managing method
CN110336896B (en) Local area network equipment type identification method
CN1918868A (en) Automation of ip phone provisioning with self-service voice application
CN1248447C (en) Broadband network access method
CN1859440A (en) Method for distributing service based on terminal mark
US7958220B2 (en) Apparatus, method and system for acquiring IPV6 address
CN106790734B (en) Network address allocation method and device
CN104468619A (en) Method and gateway for achieving dual-stack web authentication
CN102752275B (en) Matching route generation method and related device for signature library
CN106470203A (en) Information getting method and device
CN111683162A (en) IP address management method and device based on flow identification
CN101572718B (en) IP QoS unified strategic system based on oriented application and method thereof
CN1578243A (en) Method and arrangement for configuration of a device in a data network
CN115396401B (en) Method, system and medium for constructing flexible extension network based on IPv6 characteristic
JP2005505975A (en) Subnet pooling
US8019856B1 (en) Automatic mapping and location discovery of computers in computer networks
JP2003303174A (en) Method and device for authenticating terminal
CN111447293B (en) User statistical method, device, equipment and machine readable storage medium

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
ASS Succession or assignment of patent right

Owner name: BEIJING POWER ECONOMIC RESEARCH INSTITUTE

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20140129

Owner name: STATE GRID BEIJING ELECTRIC POWER COMPANY CHINA TE

Effective date: 20140129

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 100055 XICHENG, BEIJING

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20140129

Address after: 100055 No. 15 West Street, Guanganmen station, Beijing, Xicheng District

Patentee after: State Power Economic Research Institute

Patentee after: State Grid Beijing Electric Power Company

Patentee after: CHINA TECHNOLOGY EXCHANGE CO., LTD.

Address before: 518057 law department, Zhongxing building, South hi tech Industrial Park, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100414

Termination date: 20150824

EXPY Termination of patent right or utility model