Dynamic IP address allocation method and device

A technology of IP address and allocation method, applied in the field of communication, can solve the problems of disorganized dynamic IP addresses and inability to allocate and manage terminal IP addresses in different locations.

Inactive Publication Date: 2018-05-22
RUIJIE NETWORKS CO LTD
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for assigning a dynamic IP address, which is used to solve the problem in the prior art that the dynamic IP addresses obtained by terminals under each Sub VLAN are chaotic and cannot be effectively allocated to terminals in different locations. Issues with IP address allocation management

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
  • Dynamic IP address allocation method and device
  • Dynamic IP address allocation method and device
  • Dynamic IP address allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049]Aiming at the problem in the prior art that the dynamic IP addresses obtained by terminals under each Sub VLAN are chaotic, and effective IP address allocation management cannot be performed on terminals in different locations, the embodiment of the present invention provides a dynamic IP address Allocation method.

[0050] The device information accessed by the terminal can be used to locate the terminal location. A large LAN is configured with a large Super VLAN, and many Sub VLANs are configured under the Super VLAN. As the core device of the network, the DHCP repeater usually has multiple downlink aggregation devices, and the same aggregation device usually downlinks multiple access devices, and different access devices have different access VLANs, thus forming a large three-layer architecture Network topology. Then, for a DHCP repeater, terminals in the network access from different aggregation device areas (different interface IDs), or access from different acces...

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 discloses a dynamic IP address allocation method and device; the method comprises the following steps that after a DHCP request message which carries an interface identifier and a VLAN identifier sent by a terminal is received, determining corresponding network segment information according to the interface identifier and the VLAN identifier; searching a gateway internet protocol IPaddress corresponding to the network segment information; if the gateway IP address is found, writing the gateway IP address into the DHCP request message and sending to a DHCP server, so that the DHCP server allocates a dynamic IP address according to the gateway IP address; and carrying the dynamic IP address in a DHCP response message and sending the IP address to a DHCP relay; and after the DHCP response message is received, sending the dynamic IP address carried in the DHCP response message to the terminal. According to the scheme, the dynamic IP addresses of different network segments are allocated to the terminals in different areas and in different locations, and the IP addresses of the whole local area network can be flexibly distributed and orderly managed.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a dynamic Internet Protocol (Internet Protocol, IP) address allocation method and device. Background technique [0002] A Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, DHCP) relay can process and forward DHCP messages between different subnets and physical network segments. If the terminal and the DHCP server are not on the same physical network segment, a DHCP repeater needs to be set between the two. The DHCP repeater forwards DHCP request messages and response messages between the DHCP server and the terminal, so that the terminal can Obtain the dynamic IP address assigned by the DHCP server, and its network architecture is as follows figure 1 shown. [0003] The DHCP repeater receives the DHCP request message, fills the gateway IP address of the layer-3 interface into the DHCP request message and then sends it to the DHCP server. The DHCP ...

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/12
CPCH04L61/5014
Inventor 余之道
Owner RUIJIE NETWORKS 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