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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 