Method and device for dhcp client to update ip

A client, IP address technology, applied in the field of communications, can solve problems such as failure to surf the Internet normally, and DHCP clients unable to obtain configuration information.

Active Publication Date: 2019-09-06
HANGZHOU DPTECH TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present application provides a method and device for updating the IP of a DHCP client to solve the problem in the prior art that when the configuration information of the DHCP address pool is modified, before the DHCP client obtains a new IP address. For a period of time, due to the failure of the DHCP client to obtain the correct configuration information, the problem of being unable to access the Internet normally

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for dhcp client to update ip
  • Method and device for dhcp client to update ip
  • Method and device for dhcp client to update ip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the existing technical solutions and the present invention in conjunction with the accompanying drawings. The technical solutions in the embodiments of the invention are described in further detail.

[0049] In the prior art, during the DHCP interaction process, DHCP is always in a passive state. When the configuration information of the DHCP address pool is modified, the DHCP client usually only sends a message to the DHCP client when the lease is renewed. server to request a new IP address. Before the lease expires, the DHCP client may not be able to access the Internet normally because the local configuration information has not been updated.

[0050] For example, suppos...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present application provides a method and device for a DHCP client to update IP, the method comprising: when the configuration information of the DHCP address pool is modified, sending a DHCP ACK message carrying a preset session ID to the DHCP client; receiving the The DHCP Release message returned by the DHCP client after receiving the DHCP ACK message releases the IP address allocated for the DHCP client; after receiving the DHCP Discover message sent by the DHCP client, the The DHCP client sends a DHCP Offer message to issue a new IP address and configuration information of the modified DHCP address pool to the DHCP client. In this application, when the configuration information of the DHCP address pool is modified, the DHCP client can immediately update the local IP address and configuration information, so as to access the Internet normally.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a method and a device for updating IP by a DHCP client. Background technique [0002] When the host in the network communicates with the outside world, it is necessary to configure network configuration parameters such as the local IP address, gateway address, and DNS server. If you choose to manually configure network configuration parameters on hosts, when the number of hosts is large, the maintenance cost is high, errors are prone to occur, and it is not conducive to unified maintenance by administrators. Therefore, a DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) server is usually set up in the network. The IP address can be reused through the DHCP protocol, and the DHCP server can dynamically assign network configuration parameters such as IP addresses to hosts. [0003] In the prior art, during the DHCP interaction proce...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/12
CPCH04L61/5061H04L61/5053H04L61/5076
Inventor 吴贵虎王琳
Owner HANGZHOU DPTECH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products