Address allocation method and device

A distribution method and a technology of a distribution device, which are applied in the field of communication, can solve problems such as waste of resources and inability to allocate private network addresses, and achieve the effect of reducing waste

Active Publication Date: 2021-01-15
NEW H3C TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on the above situation, it can be seen that when the aggregation system allocates addresses, only one device in the aggregation system is responsible for allocating private network addresses, while other devices in the aggregation system cannot allocate private network addresses, which will cause a waste of resources

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
  • Address allocation method and device
  • Address allocation method and device
  • Address allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0027] When the DHCP function is implemented in the aggregation system of cross-device aggregation, the message sent by the client will be distributed to multiple devices, and one device cannot know the private network address assigned to the client by other devices. If only one device implements the DHCP function, resources will be wasted. In order to reduce waste of resources, embodiments of the present application provide an address allocation method and device.

[0028] The agg...

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 embodiment of the invention provides an address allocation method and device. The method and the device are applied to a first device in an aggregation system. DHCP (Dynamic Host Configuration Protocol) functions of devices in the aggregation system are enabled. Address pools are configured to the devices. The method comprises the steps of receiving a request message sent by a first client; selecting a first private network address from the address pool configured to the first device according to the request message and allocating the first private network address to the first client; andsending a first decline message to other device in the aggregation system, wherein the first decline message comprises the first private network address and the identity of the first device, and whenthe other device determines that the first device belongs to the aggregation system according to the identity of the first device, the other device sets the first private network address contained inthe locally configured address pool to be unavailable. Through application of the embodiment of the invention, the resource waste is reduced.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to an address allocation method and device. Background technique [0002] In order to improve link reliability, ports of multiple devices are often aggregated together to form an aggregation system. [0003] When address allocation is based on the aggregation system, that is, when the aggregation system enables the DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) function, the request packets sent by each client requesting addresses will be load-shared to different devices in the aggregation system. However, after receiving the address request message, different devices will forward the address request message to the same device, and the device will uniformly allocate private network addresses for each client, so as to avoid repeated allocation of private network addresses and allocate private network addresses. The situation wher...

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
Inventor 杨英杰
Owner NEW H3C 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