Unlock instant, AI-driven research and patent intelligence for your innovation.

IP address assignment method and system

A technology of IP address and distribution method, applied in the field of communication, can solve problems such as no management relationship, inconvenient identification of subnet subvlan, unfavorable refinement of terminal IP address management, etc., and achieve the effect of increasing refinement

Inactive Publication Date: 2012-05-02
HUAWEI TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since the IP address is assigned to each terminal according to the IP address network segment where the IP gateway address of the supervlan of the supernet is located, the IP address of each terminal in each subvlan subvlan is arbitrarily assigned, that is, the IP address of the terminal and the network to which it belongs There is no good management relationship between the subnet subvlans, and it is not convenient to identify the subnet subvlan to which the terminal belongs through the IP address of the terminal, which is not conducive to the refinement of terminal IP address 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
  • IP address assignment method and system
  • IP address assignment method and system
  • IP address assignment method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] see figure 2 As shown, in the VLAN Aggregtion networking, the DHCP Dynamic Host Configuration Protocol (DHCP) is used to assign IP addresses to terminals according to the principle of network segments, and an IP address assignment method is provided. The following combines the execution subject to assign an IP address to each subnet subvlan. Address subnet segment, the DHCP relay device sends the identifier of the subnet segment to the DHCP server through the DHCP user group information option option77 of the DHCP IP address request message as an example to illustrate the IP address allocation method:

[0089] You can know that you need to build a virtual local area network on the DHCP relay device, configure the supernetwork supervlan and each subnet subvlan, and then add the subnet subvlan to the supernetwork supervlan, and configure the virtual local area network interface for the supernetwork supervlan, such as vlanif interface, the following example Taking the vla...

Embodiment 2

[0096] see image 3 , 4 As shown in the figure, corresponding to the IP address allocation method of the first embodiment, the embodiment of the present invention provides a DHCP relay device. Next, each subnet subvlan is allocated an IP address subnet segment, and the DHCP relay device reports the DHCP IP address request through the DHCP IP address request. The link selection sub-item link selection sub-option 5 in option 82 of the DHCP relay agent information option in this document carries any IP address in the IP address subnet segment and sends it to the DHCP server as an example to illustrate the DHCP relay device and build a virtual The steps of the local area network will not be repeated here:

[0097] 11. The IP address subnet segment allocation unit 30 allocates an IP address subnet segment for each subnet subvlan in the IP address segment of the supervlan;

[0098] 12. The binding table storage unit 50 stores a binding table based on the IP address subnet segment,...

Embodiment 3

[0104] Referring to the implementation of a provided IP address allocation method with a DHCP relay device as the execution subject, an embodiment of the present invention further provides an IP address allocation method, see Figure 5 In the following, the IP address allocation method is described in detail by taking the DHCP server receiving the DHCP IP address request message and obtaining the subnet segment identifier in Option 77 of the DHCP user group information option as an example:

[0105] 15. The DHCP server receives the DHCP IP address request message DHCP user grouping information option Option77;

[0106] 16. The DHCP server confirms the corresponding IP address subnet segment according to the DHCP user group information option Option 77, and allocates an IP address to the terminal in the IP address pool of the IP address subnet segment.

[0107] The IP address pool needs to be allocated to the IP address subnet segment first, and the IP address subnet segment is...

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 IP address assignment method, DHCP truck equipment, a DHCP server and an IP address assignment system; wherein, an IP address assignment method comprises: receiving an IP address request message from the dynamic host configuration protocol (DHCP) of the terminal, and obtaining the subvlan to which the terminal belongs and the IP address subnet section corresponding to the subvlan; according to the IP address subnet section, determining the subnet section mark corresponding to the same, transmitting the subnet section mark to the DHCP server so that the DHCP server can assign the IP addresses in the IP address subnet section for the terminal. The IP address of the terminal and the subvlan to which the terminal belongs have good management relation which facilitates the identification of the subvlan to which the terminal belongs by the IP address of the terminal, thus improving the elaboration of the IP address management.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular, to a method and system for assigning IP addresses. Background technique [0002] VLAN Aggregtion (Virtual Local Area Network Aggregtion, virtual local area network aggregation) is a management technology for optimizing IP addresses, which includes subvlan (subnet) and supervlan (supernet). like figure 1 As shown, VLAN3 is a supervlan, VLAN1 and VLAN2 are subnet subvlans, and VLAN1 and VLAN2 include terminals, such as PCs. All subnet subvlans in the supervlan share one IP gateway address and one IP address network segment. The use of VLAN Aggregtion technology networking for IP address allocation can effectively save the number of IP addresses. [0003] Currently, in the networking of VLAN Aggregtion technology, a DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) mode is usually used to assign IP addresses to terminals according ...

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 HUAWEI TECH CO LTD