IP address automatic distribution method, client and server

A technology for assigning servers and IP addresses, which is applied in the network field and can solve problems such as difficult automatic IP address configuration, and achieve the effect of saving configuration costs and simplifying network configuration

Active Publication Date: 2010-02-24
HUAWEI TECH CO LTD
View PDF0 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] But the inventor finds in the process of realizing the present invention that the defective of the prior art that obtains IP address automatically is: when DHCP server and client are not in same network segment, need to configure a DHCP relay in client same network segment ( Relay) host
Since bearer network operators do not provide the DHCP Relay function, it is difficult to implement automatic IP address configuration under standard IP network services

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
  • IP address automatic distribution method, client and server
  • IP address automatic distribution method, client and server
  • IP address automatic distribution method, client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a flowchart of a method for automatically assigning an IP address provided by an embodiment of the present invention, such as figure 1 As shown, the methods described include:

[0033] S101. The client obtains an IP packet including an unassigned IP address.

[0034] In the embodiment of the present invention, the client that has not assigned an IP address obtains an IP packet, which includes an unassigned IP address (one or more), and the IP packet may be an ARP ( Address Resolution Protocol (Address Resolution Protocol) request packet, the ARP request packet can be sent by the IACP server or the access router of this network segment, when the client and the IACP server are not in the same network segment, the client receives the connection of the network segment Incoming ARP request packet sent by the router; when the client and the IACP server are on the same network segment, the client receives the ARP request packet sent by the IACP server. The IA...

Embodiment 2

[0044] figure 2 It is a flow chart of a method for automatically assigning an IP address provided by an embodiment of the present invention, such as figure 2 As shown, the methods described include:

[0045] S201. The IACP server generates an IP packet according to the unallocated IP address, and the IP packet carries the unallocated IP address.

[0046] In the embodiment of the present invention, the IACP server generates an IP message according to the unallocated IP address (which may be embodied in the form of an IP address list), and the IP message includes the unallocated IP address (one or more).

[0047] It can be understood that, according to different application scenarios, IP packets can be used in different ways:

[0048] If the IACP server and the client are not in the same network segment, the IP message can be a detection IP packet, which includes the mask of the network segment where the unassigned IP address is located, the gateway IP address, and the IP ad...

Embodiment 3

[0061] image 3 It is a signaling diagram of an IP address automatic allocation method provided by an embodiment of the present invention, in image 3 , the client needs to assign an IP address, and the IACP server provides IP address assignment services. In this embodiment, it is assumed that the IACP server and the client are not in the same network segment, such as image 3 As shown, the methods described include:

[0062] S301. The IACP server generates a detection IP packet according to the unallocated IP address, and the detection IP packet carries the unallocated IP address and routing information.

[0063] In the embodiment of the present invention, when the IACP server finds that the planned IP address has not been allocated, assuming that the IP address is IP1, the IACP server uses IP1 as the destination IP address, and uses the IACP server IP address as the source IP address to generate a probe IP packets. The IP packet may carry the mask length of the network se...

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 invention relates to an IP address automatic distribution method, a client and a server. The method comprises that a client obtains IP packet comprising undistributed IP address; the client detects whether the undistributed IP address is occupied in the obtained IP packet; if the undistributed IP address is not occupied, the client is determined whether to obtain the undistributed IP address,if yes, the undistributed IP address is obtained. The invention uses the technical means that an IACP server sends actively the undistributed IP address, the client obtains actively the undistributedIP address, overcomes problems of distributing IP address for the clients only by adding externally a DHCP Relay host when the DHCP server and the client are not in identical network segment in the prior art, thereby saving the configuration cost and simplifying the network configuration.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method for automatically assigning an IP address, a client and a server. Background technique [0002] An Internet Protocol (IP) address is an identifier for identifying user equipment and network equipment in an IP network, and is also an identifier for forwarding IP packets in the IP network. Therefore, the allocation of IP addresses is the core of the entire IP network. [0003] Currently, IP address allocation methods include: automatic IP address acquisition. The method of automatically obtaining an IP address means that the client can automatically obtain the host IP address, gateway IP address and network segment mask of the client without manual intervention. At present, the main technology for automatically obtaining an IP address is the Dynamic Host Configuration Protocol (DHCP: Dynamic Host Configuration Protocol). In this technology, the DHCP server centrally man...

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 Applications(China)
IPC IPC(8): H04L29/12H04L12/56
Inventor 蓝海青
Owner HUAWEI TECH CO LTD
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