[go: up one dir, main page]

CN1949784A - IP address requesting method for DHCP client by DHCP repeater - Google Patents

IP address requesting method for DHCP client by DHCP repeater Download PDF

Info

Publication number
CN1949784A
CN1949784A CN 200510112774 CN200510112774A CN1949784A CN 1949784 A CN1949784 A CN 1949784A CN 200510112774 CN200510112774 CN 200510112774 CN 200510112774 A CN200510112774 A CN 200510112774A CN 1949784 A CN1949784 A CN 1949784A
Authority
CN
China
Prior art keywords
address
dhcp
gateway
request message
network segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510112774
Other languages
Chinese (zh)
Other versions
CN100502413C (en
Inventor
子康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101127744A priority Critical patent/CN100502413C/en
Publication of CN1949784A publication Critical patent/CN1949784A/en
Application granted granted Critical
Publication of CN100502413C publication Critical patent/CN100502413C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种动态主机配置协议DHCP中继为DHCP客户端请求IP地址的方法,该方法还包括:A、DHCP中继通过广播接收到DHCP客户端发送的配置请求报文,在该配置请求报文中填充所设置的一个以上的网关IP地址或一个以上的网段地址后,发送给DHCP服务器;B、DHCP服务器从该配置请求报文中填充的网关IP地址或网段地址中确定该DHCP客户端所属子网络的网关IP地址或网段地址,给DHCP客户端分配所确定网关IP地址或网段地址对应的地址池中的IP地址,将所分配的IP地址通过DHCP中继发送给DHCP客户端。该方法在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,只需要DHCP中继和DHCP服务器进行一次通信交互,节省了时间,提高了效率。

Figure 200510112774

The invention discloses a method for a DHCP relay agent of a dynamic host configuration protocol to request an IP address for a DHCP client. Fill in the request message with more than one gateway IP address or more than one network segment address set, and then send it to the DHCP server; B, DHCP server determines from the gateway IP address or network segment address filled in the configuration request message The gateway IP address or network segment address of the subnet to which the DHCP client belongs, assigns the IP address in the address pool corresponding to the determined gateway IP address or network segment address to the DHCP client, and sends the assigned IP address through the DHCP relay to the DHCP client. In the method, the DHCP client only needs one communication interaction with the DHCP server in the process of obtaining the dynamically allocated IP address through the DHCP relay, which saves time and improves efficiency.

Figure 200510112774

Description

DHCP中继为DHCP客户端请求IP地址的方法Method for DHCP Relay to Request IP Address for DHCP Client

技术领域technical field

本发明涉及动态主机配置协议(DHCP)服务器为DHCP客户端分配IP地址的技术,特别涉及一种DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法。The invention relates to a technology for a Dynamic Host Configuration Protocol (DHCP) server to assign an IP address to a DHCP client, in particular to a method for a DHCP relay to request an IP address from a DHCP server for a DHCP client.

背景技术Background technique

随着网络规模的扩大和网络复杂度的提高,网络的配置越来越复杂,经常会出现客户端位置变化和客户端数量超过可分配网际协议(IP)地址的问题。为了能够解决上述问题,出现了DHCP技术,采用DHCP技术的服务器(以下简称DHCP服务器)能够对当前接入网络的DHCP客户端进行IP地址动态分配,使当前接入网络的DHCP客户端通过所分配的IP地址接受网络的服务。With the expansion of network scale and the improvement of network complexity, the configuration of the network becomes more and more complicated, and the problems that the location of the client changes and the number of clients exceeds the assignable Internet Protocol (IP) addresses often occur. In order to solve the above problems, DHCP technology has emerged. A server using DHCP technology (hereinafter referred to as the DHCP server) can dynamically allocate IP addresses to DHCP clients currently connected to the network, so that the DHCP clients currently connected to the network can pass the assigned The IP address receives the service of the network.

早期的DHCP协议只适用于DHCP客户端和DHCP服务器处于同一个子网络的情况,不能跨越子网络。也就是说,DHCP服务器只能为属于同一子网络的DHCP客户端动态分配该子网络所具有网段地址中的IP地址。因此,为了对网络中属于不同子网络的DHCP客户端都能进行IP地址的动态分配,就需要在网络的所有子网络中分别配置DHCP服务器,这会增加网络的建设成本。The early DHCP protocol is only applicable to the situation where the DHCP client and the DHCP server are in the same subnet, and cannot cross subnets. That is to say, the DHCP server can only dynamically assign IP addresses in the network segment addresses of the subnet to the DHCP clients belonging to the same subnet. Therefore, in order to dynamically allocate IP addresses to DHCP clients belonging to different subnets in the network, it is necessary to configure DHCP servers in all subnets of the network, which will increase the construction cost of the network.

DHCP中继的引入解决了这个问题:网络的不同子网络中的DHCP客户端可以通过管辖子网络的DHCP中继与网络的DHCP服务器进行通信,从而取得DHCP服务器给网络的不同子网络中的DHCP客户端动态分配的IP地址。同样地,给子网络中的DHCP客户端动态分配的IP地址仍为该子网络所具有网段地址中的IP地址。网络的多个不同子网络中的DHCP客户端可以通过DHCP中继从同一DHCP服务器获取到动态所分配的IP地址,这样,既节省了成本,又便于对DHCP服务器的集中管理。The introduction of DHCP relay solves this problem: DHCP clients in different subnets of the network can communicate with the DHCP server of the network through the DHCP relay of the subnet, so as to obtain the DHCP server in different subnets of the network. The IP address dynamically assigned by the client. Similarly, the IP address dynamically assigned to the DHCP client in the subnet is still the IP address in the network segment addresses of the subnet. DHCP clients in different subnets of the network can obtain dynamically allocated IP addresses from the same DHCP server through DHCP relay, which not only saves costs, but also facilitates centralized management of the DHCP server.

一般地说,DHCP中继可以是计算机,也可以是路由器,只要在DHCP中继中装载DHCP中继代理的服务程序并且启动即可。DHCP中继可以配置多个网关IP地址,其中一个是主网关IP地址,其他的为从网关IP地址,这些网关IP地址是不同子网络中网关的IP地址,用于标识不同子网络具有的不同网段地址。这样,一个DHCP中继就可以管理多个子网络,从而可以满足DHCP中继接口少、所管理的网段地址分散以及动态分配地址的需要。Generally speaking, the DHCP relay can be a computer or a router, as long as the service program of the DHCP relay agent is loaded in the DHCP relay and started. DHCP relay can be configured with multiple gateway IP addresses, one of which is the master gateway IP address, and the others are slave gateway IP addresses. These gateway IP addresses are the IP addresses of gateways in different subnets, and are used to identify the different Network segment address. In this way, a DHCP relay can manage multiple sub-networks, thereby satisfying the needs of fewer DHCP relay interfaces, distributed addresses of managed network segments, and dynamic address allocation.

为了给DHCP客户端动态分配IP地址,在DHCP服务器中设置有网关IP地址与地址池的对应关系或/和设置有网段地址与地址池的对应关系,其中,地址池中存储了在网关IP地址或/和网段地址下可以动态分配的多个IP地址。这也就是说,存储多个IP地址的地址池可以用网关IP地址或/和网段地址标识。In order to dynamically assign an IP address to the DHCP client, the corresponding relationship between the gateway IP address and the address pool or/and the corresponding relationship between the network segment address and the address pool are set in the DHCP server, wherein the gateway IP address is stored in the address pool. Multiple IP addresses that can be dynamically assigned under the address or/and network segment address. That is to say, the address pool storing multiple IP addresses can be identified by the gateway IP address or/and network segment address.

图1为现有技术中DHCP中继在网络中的应用示意图,如图所示:DHCP中继通过英特网(Internet)与DHCP服务器进行通信,四个DHCP客户端接入DHCP中继。FIG. 1 is a schematic diagram of the application of the DHCP relay in the network in the prior art, as shown in the figure: the DHCP relay communicates with the DHCP server through the Internet (Internet), and four DHCP clients access the DHCP relay.

图2为现有技术DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法流程图,其具体步骤为:Fig. 2 is the flow chart of the method for the DHCP client to request the IP address from the DHCP server for the DHCP relay agent in the prior art, and its specific steps are:

步骤200、DHCP客户端接入子网络并进行DHCP初始化,向自身所属的子网络广播配置请求报文,该配置请求报文携带DHCP客户端的信息,用于请求动态分配IP地址。Step 200, the DHCP client accesses the subnet and performs DHCP initialization, and broadcasts a configuration request message to the subnet to which it belongs. The configuration request message carries the information of the DHCP client and is used for requesting dynamic allocation of an IP address.

DHCP客户端接入子网络的过程为:连接在子网络的DHCP客户端启动,或者DHCP客户端当前连接子网络后再启动。The process for the DHCP client to access the subnet is as follows: the DHCP client connected to the subnet is started, or the DHCP client is currently connected to the subnet and then restarted.

步骤201、管理DHCP客户端所属子网络的DHCP中继通过广播接收到配置请求报文,将在DHCP中继上配置的主网关IP地址填充到配置请求报文中的网关字段后,将该配置请求报文发送给DHCP服务器。Step 201, the DHCP relay that manages the subnet to which the DHCP client belongs receives the configuration request message through broadcast, fills the gateway field in the configuration request message with the primary gateway IP address configured on the DHCP relay, and configures the The request message is sent to the DHCP server.

步骤202、DHCP服务器接收到该配置请求报文后,根据该配置请求报文携带的DHCP客户端的信息和主网关IP地址,确定是否可以从主网关IP地址对应的地址池中给DHCP客户端分配IP地址,如果是,则转入步骤203;否则,则转入步骤204。Step 202, after the DHCP server receives the configuration request message, determines whether it can be assigned to the DHCP client from the address pool corresponding to the main gateway IP address according to the information of the DHCP client carried in the configuration request message and the main gateway IP address. IP address, if yes, then go to step 203; otherwise, go to step 204.

由于在配置请求报文中携带了DHCP客户端的信息,该信息可以包括路由信息和介质访问控制(MAC)地址等,所以DHCP服务器就可以根据所携带的信息判断DHCP客户端是否属于具有主网关IP地址的子网络,从而可以确定是否可以从主网关IP地址对应的地址池中给DHCP客户端分配IP地址。Since the information of the DHCP client is carried in the configuration request message, the information may include routing information and Media Access Control (MAC) address, etc., so the DHCP server can judge whether the DHCP client belongs to the network with the master gateway IP address based on the information carried. address subnet, so as to determine whether the IP address can be allocated to the DHCP client from the address pool corresponding to the main gateway IP address.

步骤203、DHCP服务器从主网关IP地址对应的地址池中获取IP地址,通过DHCP中继将所获取的IP地址返回给DHCP客户端,DHCP客户端通过所分配的IP地址接受网络的服务,结束。Step 203, the DHCP server obtains an IP address from the address pool corresponding to the main gateway IP address, and returns the obtained IP address to the DHCP client through the DHCP relay, and the DHCP client receives the service of the network through the assigned IP address, and ends .

步骤204、在设定的时间范围内,DHCP服务器没有返回所分配的IP地址,则按照步骤201~204再次请求分配IP地址,直到多次请求分配IP地址(一般为三次)仍然没有返回所分配的IP地址,转入步骤205。Step 204, within the set time frame, if the DHCP server does not return the assigned IP address, then request the assignment of the IP address again according to steps 201 to 204 until multiple requests for the assignment of the IP address (generally three times) still do not return the assigned IP address IP address, go to step 205.

步骤205、DHCP中继将配置的一个从网关IP地址填充到配置请求报文中的网关字段后,将该配置请求报文发送给DHCP服务器。In step 205, the DHCP relay agent fills a configured secondary gateway IP address into the gateway field in the configuration request message, and then sends the configuration request message to the DHCP server.

步骤206、DHCP服务器接收到该配置请求报文后,根据该配置请求报文携带的DHCP客户端的信息和从网关IP地址,确定是否可以到从网关IP地址对应的地址池中给DHCP客户端分配IP地址,如果是,则转入步骤207;否则,则转入步骤208。Step 206, after the DHCP server receives the configuration request message, determine whether it can be assigned to the DHCP client in the address pool corresponding to the gateway IP address according to the information of the DHCP client carried in the configuration request message and the slave gateway IP address. IP address, if yes, then go to step 207; otherwise, go to step 208.

步骤207、DHCP服务器到从网关IP地址对应的地址池中获取IP地址,通过DHCP中继将所获取的IP地址返回给DHCP客户端,DHCP客户端通过所分配的IP地址接受网络的服务,结束。Step 207, the DHCP server obtains an IP address from the address pool corresponding to the gateway IP address, returns the obtained IP address to the DHCP client through the DHCP relay, and the DHCP client receives the service of the network through the assigned IP address, and ends .

步骤208、在设定的时间范围内,DHCP服务器没有返回所分配的IP地址,则按照步骤205~208将其他从网关IP地址依次填充到配置请求报文中,向DHCP服务器请求IP地址,直到DHCP服务器通过DHCP中继将所分配的IP地址返回给DHCP客户端或所有从IP地址都尝试过为止。Step 208, within the set time range, if the DHCP server does not return the assigned IP address, then follow steps 205-208 to fill in the configuration request message with other slave gateway IP addresses in turn, and request an IP address from the DHCP server until The DHCP server returns the assigned IP address to the DHCP client through the DHCP relay or until all slave IP addresses have been tried.

从上述方案可以看出,DHCP客户端为了通过DHCP中继从DHCP服务器获得动态分配的IP地址,需要DHCP中继和DHCP服务器进行多次通信交互,导致了DHCP客户端通过DHCP中继从DHCP服务器获得动态分配的IP地址的时间过长,效率低下。As can be seen from the above scheme, in order for the DHCP client to obtain a dynamically allocated IP address from the DHCP server through the DHCP relay, the DHCP relay and the DHCP server need to perform multiple communication interactions, resulting in the DHCP client receiving the IP address from the DHCP server through the DHCP relay. Obtaining a dynamically assigned IP address takes too long and is inefficient.

发明内容Contents of the invention

有鉴于此,本发明的主要目的在于提供一种DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法,该方法在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,只需要DHCP中继和DHCP服务器进行一次通信交互,能够节省时间,提高效率。In view of this, the main purpose of the present invention is to provide a kind of DHCP relay to the method that DHCP client requests IP address to DHCP server, this method is in the process that DHCP client obtains the IP address of dynamic distribution by DHCP relay, only A communication interaction between the DHCP relay agent and the DHCP server is required, which can save time and improve efficiency.

根据上述目的,本发明的技术方案是这样实现的:According to above-mentioned purpose, technical scheme of the present invention is achieved like this:

一种动态主机配置协议DHCP中继为DHCP客户端请求IP地址的方法,在DHCP服务器中设置网关网际协议IP地址或/和网段地址与存储一个以上IP地址的地址池的对应关系,在DHCP中继设置一个以上的网关IP地址或一个以上的网段地址,该方法还包括:A kind of method that DHCP relay agent of dynamic host configuration protocol requests IP address for DHCP client, the correspondence relation of IP address of Gateway Internet Protocol or/and network segment address and the address pool storing more than one IP address is set in DHCP server, in DHCP The relay sets more than one gateway IP address or more than one network segment address, and the method also includes:

A、DHCP中继通过广播接收到DHCP客户端发送的配置请求报文,在该配置请求报文中填充所设置的一个以上的网关IP地址或一个以上的网段地址后,发送给DHCP服务器;A, the DHCP relay receives the configuration request message sent by the DHCP client through broadcasting, fills in the configuration request message with more than one gateway IP address or more than one network segment address, and then sends it to the DHCP server;

B、DHCP服务器从该配置请求报文中填充的网关IP地址或网段地址中确定该DHCP客户端所属子网络的网关IP地址或网段地址,给DHCP客户端分配所确定网关IP地址或网段地址对应的地址池中的IP地址,将所分配的IP地址通过DHCP中继发送给DHCP客户端。B. The DHCP server determines the gateway IP address or network segment address of the subnet to which the DHCP client belongs from the gateway IP address or network segment address filled in the configuration request message, and assigns the determined gateway IP address or network segment address to the DHCP client. The IP address in the address pool corresponding to the segment address, and the assigned IP address is sent to the DHCP client through the DHCP relay agent.

所述的在DHCP中继设置一个以上的网关IP地址包括一个主网关IP地址和一个以上的从网关IP地址。The setting of more than one gateway IP address in the DHCP relay includes one master gateway IP address and more than one slave gateway IP address.

所述的配置请求报文还携带DHCP客户端的信息,步骤B所述确定该DHCP客户端所属子网络的网关IP地址或网段地址的过程为:Described configuration request message also carries the information of DHCP client, and the process of determining the gateway IP address or network segment address of this DHCP client subnetwork described in step B is:

DHCP服务器根据该配置请求报文携带的DHCP客户端的信息按照设定的规则从该配置请求报文中填充的网关IP地址或网段地址中确定该DHCP客户端所属子网络的网关IP地址或网段地址。According to the DHCP client information carried in the configuration request message, the DHCP server determines the gateway IP address or network address of the subnet to which the DHCP client belongs from the gateway IP address or network segment address filled in the configuration request message according to the set rules. segment address.

步骤A所述填充的所设置的一个以上的网关IP地址或一个以上的网段地址为所设置的所有网关IP地址或所有网段地址。The set one or more gateway IP addresses or one or more network segment addresses filled in step A are all the set gateway IP addresses or all network segment addresses.

步骤B所述所分配的IP地址携带在配置消息中发送。The assigned IP address in step B is sent in the configuration message.

当在所述配置请求报文中填充一个以上的网关IP地址时,在步骤B所述将所分配的IP地址通过DHCP中继发送给DHCP客户端之前,该方法还包括:When more than one gateway IP address is filled in the configuration request message, before the assigned IP address is sent to the DHCP client through the DHCP relay described in step B, the method also includes:

DHCP服务器将确定的网关IP地址通过DHCP中继发送给DHCP客户端。The DHCP server sends the determined IP address of the gateway to the DHCP client through the DHCP relay agent.

所述的确定的网关IP地址携带在配置消息中发送。The determined IP address of the gateway is sent in the configuration message.

当在所述配置请求报文中填充一个以上的网段地址时,在步骤B所述将所分配的IP地址通过DHCP中继发送给DHCP客户端之前,该方法还包括:When more than one network segment address is filled in the configuration request message, before the IP address assigned in step B is sent to the DHCP client through the DHCP relay, the method also includes:

DHCP服务器获取对应地址池的网关IP地址,将对应地址池的网关IP地址通过DHCP中继发送给DHCP客户端。The DHCP server obtains the gateway IP address of the corresponding address pool, and sends the gateway IP address of the corresponding address pool to the DHCP client through the DHCP relay agent.

所述对应地址池的网关IP地址携带在配置消息中发送。The gateway IP address of the corresponding address pool is sent in the configuration message.

步骤A所述所设置的一个以上的网关IP地址填充到配置请求报文的中继代理信息Relay Agent Information选项中设置的子选项;More than one gateway IP address set as described in step A is filled into the sub-options set in the relay agent information Relay Agent Information option of the configuration request message;

或者步骤A所述所设置的一个以上的网段地址填充到配置请求报文中设置的子网选择Subnet Selection选项。Or more than one network segment addresses set as described in step A are filled into the subnets set in the configuration request message to select the Subnet Selection option.

从上述方案可以看出,本发明在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,采用将DHCP中继配置的多个网关IP地址或者多个网段地址都填充到DHCP客户端的配置请求报文中,发送给DHCP服务器,再由DHCP服务器根据接收到的配置请求报文中携带的DHCP客户端的信息确定给DHCP客户端分配哪一个网关IP地址或者网段地址对应的地址池中的IP地址,将所分配的IP地址携带在配置消息中通过DHCP中继发送给DHCP客户端。因此,本发明在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,DHCP中继和DHCP服务器只进行一次通信交互,节省了时间,提高了效率。As can be seen from the above scheme, the present invention uses a plurality of gateway IP addresses or a plurality of network segment addresses configured by the DHCP relay to be filled in the DHCP client during the process in which the DHCP client obtains a dynamically allocated IP address through the DHCP relay. In the configuration request message of the client, send it to the DHCP server, and then the DHCP server determines which gateway IP address or address pool corresponding to the network segment address to assign to the DHCP client according to the information of the DHCP client carried in the received configuration request message The assigned IP address is carried in the configuration message and sent to the DHCP client through the DHCP relay agent. Therefore, in the present invention, in the process of obtaining the dynamically allocated IP address by the DHCP client through the DHCP relay, the DHCP relay and the DHCP server only perform one communication interaction, which saves time and improves efficiency.

附图说明Description of drawings

图1为现有技术中DHCP中继在网络中的典型应用示意图。FIG. 1 is a schematic diagram of a typical application of a DHCP relay in a network in the prior art.

图2为现有技术DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法流程图。FIG. 2 is a flow chart of a method in which a DHCP relay agent requests an IP address from a DHCP server for a DHCP client in the prior art.

图3为本发明DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法实施例一的流程图。FIG. 3 is a flow chart of Embodiment 1 of a method in which a DHCP relay agent requests an IP address from a DHCP server for a DHCP client according to the present invention.

图4为本发明DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法实施例二的流程图。FIG. 4 is a flow chart of Embodiment 2 of a method in which a DHCP relay agent requests an IP address from a DHCP server for a DHCP client according to the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚明白,以下举具体实施例并参照附图,对本发明进行进一步详细的说明。In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail by giving specific embodiments and referring to the accompanying drawings.

本发明为了在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,DHCP中继和DHCP服务器只进行一次通信交互,采用将DHCP中继配置的一个以上的网关IP地址填充到DHCP客户端的配置请求报文中,发送给DHCP服务器。DHCP服务器接收到该配置请求报文后,根据配置请求报文携带的DHCP客户端的信息,确定DHCP客户端所属子网络的网关IP地址是配置请求报文填充的哪一个网关IP地址,从而从所确定的网关IP地址对应的地址池中给DHCP客户端分配IP地址。In the present invention, in order for the DHCP client to obtain the dynamically assigned IP address through the DHCP relay, the DHCP relay and the DHCP server only perform one communication interaction, and the DHCP client is filled with more than one gateway IP address configured by the DHCP relay. In the configuration request message of the client, send it to the DHCP server. After receiving the configuration request message, the DHCP server determines which gateway IP address the gateway IP address of the subnet to which the DHCP client belongs to is the gateway IP address filled in the configuration request message according to the information of the DHCP client carried in the configuration request message. The DHCP client is allocated an IP address in the address pool corresponding to the determined gateway IP address.

同样地,为了给DHCP客户端动态分配IP地址,按照现有技术在DHCP服务器中设置有网关IP地址与地址池的对应关系或/和设置有网段地址与地址池的对应关系,其中,地址池中存储了在网关IP地址或/和网段地址下可以动态分配的多个IP地址。这也就是说,存储多个IP地址的地址池可以用网关IP地址或/和网段地址标识。Similarly, in order to dynamically assign IP addresses to DHCP clients, the corresponding relationship between the gateway IP address and the address pool or/and the corresponding relationship between the network segment address and the address pool are set in the DHCP server according to the prior art, wherein the address Multiple IP addresses that can be dynamically allocated under the gateway IP address or/and network segment address are stored in the pool. That is to say, the address pool storing multiple IP addresses can be identified by the gateway IP address or/and network segment address.

图3为本发明DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法实施例一的流程图,其具体步骤为:Fig. 3 is the flow chart of the method embodiment one of the method embodiment one that DHCP relay agent of the present invention requests IP address to DHCP server for DHCP client, and its specific steps are:

步骤300、DHCP客户端接入子网络并进行DHCP初始化,向自身所属的子网络广播配置请求报文,该配置请求报文携带DHCP客户端的信息,用于请求动态分配IP地址。Step 300 , the DHCP client accesses the subnet and performs DHCP initialization, and broadcasts a configuration request message to the subnet to which it belongs. The configuration request message carries information of the DHCP client and is used for requesting dynamic allocation of an IP address.

步骤301、管理DHCP客户端所属子网络的DHCP中继通过广播接收到配置请求报文,将在DHCP中继上配置的所有网关IP地址(包括主网关IP地址和所有从网关IP地址)填充到配置请求报文中的网关字段后,将该配置请求报文发送给DHCP服务器。Step 301, the DHCP relay that manages the subnetwork to which the DHCP client belongs receives the configuration request message by broadcasting, and fills in all gateway IP addresses (comprising master gateway IP addresses and all slave gateway IP addresses) configured on the DHCP relay into After configuring the gateway field in the request packet, send the configuration request packet to the DHCP server.

步骤302、DHCP服务器接收到该配置请求报文后,根据该配置请求报文携带的DHCP客户端的信息和所有网关IP地址,按照分配规则确定DHCP客户端所属子网络的网关IP地址是配置请求报文中填充的主网关IP网关地址或者哪一个从网关IP地址,从所确定的网关IP地址对应的地址池中给DHCP客户端分配IP地址。Step 302, after the DHCP server receives the configuration request message, according to the information of the DHCP client carried by the configuration request message and all gateway IP addresses, it is determined that the gateway IP address of the subnetwork to which the DHCP client belongs is the configuration request message according to the allocation rule. The master gateway IP gateway address or which slave gateway IP address filled in the text allocates an IP address to the DHCP client from the address pool corresponding to the determined gateway IP address.

本发明所述的分配规则为现有技术已有的,例如可以按照配置请求报文携带的DHCP客户端的信息中的MAC地址或者不对称用户线(ADSL)帐户信息等来确定网关IP地址。The allocation rule of the present invention is existing in the prior art, for example, the gateway IP address can be determined according to the MAC address or the asymmetric subscriber line (ADSL) account information in the DHCP client information carried in the configuration request message.

步骤303、DHCP服务器向发送配置请求报文的DHCP中继返回配置消息,该配置消息中携带有所确定的网关IP地址以及给DHCP客户端分配的IP地址。Step 303 , the DHCP server returns a configuration message to the DHCP relay that sent the configuration request message, and the configuration message carries the determined IP address of the gateway and the IP address allocated to the DHCP client.

步骤304、DHCP中继向发送配置请求报文的DHCP客户端转发配置消息,DHCP客户端使用所分配的IP地址通过网关接受网络的服务,该网关就是具有所确定的网关IP地址的设备。Step 304 , the DHCP relay forwards the configuration message to the DHCP client that sent the configuration request message, and the DHCP client uses the assigned IP address to receive network services through the gateway, which is the device with the determined gateway IP address.

在步骤301中,填充到配置请求报文中的网关字段的网关IP地址也可以为DHCP中继配置的多个网关IP地址,而不是配置的所有网关IP地址,如主网关IP地址和多个从网关IP地址或者多个从网关IP地址,只要填充的网关IP地址中存在DHCP客户端所属子网络的网关IP地址即可采用本发的技术。In step 301, the gateway IP address filled in the gateway field in the configuration request message can also be multiple gateway IP addresses configured by DHCP relay, rather than all configured gateway IP addresses, such as the main gateway IP address and multiple gateway IP addresses. The technology of the present invention can be adopted as long as the gateway IP address of the subnet to which the DHCP client belongs exists in the gateway IP address of the slave gateway IP address or multiple slave gateway IP addresses.

这时,在步骤301中,在DHCP中继上配置的多个网关IP地址填充到配置请求报文中的网关字段的过程为:在现有技术的配置请求报文中的中继代理信息(Relay Agent Information)选项中增加一个子选项,在这个子选项中填充在DHCP中继上配置的多个网关IP地址,这个子选项的格式如表1所示:   子选项标识(1个字节)  长度(1个字节)   网关IP地址((地址数×4)个字节)   需要IANA分配  地址数×4   多个网关地址的列表,IPv4地址 At this time, in step 301, the process of filling the gateway field in the configuration request message with a plurality of gateway IP addresses configured on the DHCP relay agent is: the relay agent information in the configuration request message of the prior art ( Add a sub-option in the Relay Agent Information) option, and fill in the multiple gateway IP addresses configured on the DHCP relay in this sub-option. The format of this sub-option is shown in Table 1: Suboption ID (1 byte) length (1 byte) Gateway IP address ((number of addresses × 4) bytes) IANA assignment required Number of addresses × 4 List of multiple gateway addresses, IPv4 addresses

                              表1 Table 1

本发明在DHCP中继中还可以设置其所管辖子网络所具有的网段地址,在DHCP中继为DHCP客户端向DHCP服务器请求IP地址时,也可以将所有设置的网段地址附加到配置请求报文中,发送给DHCP服务器进行处理。具体过程如图4所述,图4为本发明DHCP中继为DHCP客户端向DHCP服务器请求IP地址的方法实施例二的流程图,其具体步骤为:The present invention can also set the network segment addresses of the subnets under its jurisdiction in the DHCP relay, and when the DHCP relay requests an IP address from the DHCP server for the DHCP client, it can also add all the set network segment addresses to the configuration In the request message, it is sent to the DHCP server for processing. Concrete process is as described in Fig. 4, and Fig. 4 is the flow chart of the method embodiment two that DHCP client requests IP address to DHCP server for DHCP relay agent of the present invention, and its concrete steps are:

步骤400、DHCP客户端接入子网络并进行DHCP初始化,向自身所属的子网络广播配置请求报文,该配置请求报文携带DHCP客户端的信息,用于请求动态分配IP地址。Step 400 , the DHCP client accesses the subnet and performs DHCP initialization, and broadcasts a configuration request message to the subnet to which it belongs. The configuration request message carries the information of the DHCP client and is used for requesting dynamic allocation of an IP address.

步骤401、管理DHCP客户端所属子网络的DHCP中继通过广播接收到配置请求报文,将在DHCP中继上配置的所有网段地址填充到配置请求报文后,将该配置请求报文发送给DHCP服务器。Step 401, the DHCP relay that manages the subnet to which the DHCP client belongs receives the configuration request message through broadcasting, fills the configuration request message with addresses of all network segments configured on the DHCP relay, and sends the configuration request message to the DHCP server.

步骤402、DHCP服务器接收到该配置请求报文后,根据该配置请求报文携带的DHCP客户端的信息以及所有网段地址,按照分配规则确定DHCP客户端所属子网络具有的网段地址是配置请求报文中填充的哪一个网段地址,从所确定的网段地址对应的地址池中给DHCP客户端分配IP地址,并且获取所确定的网段地址的地址池对应的网关IP地址。Step 402, after the DHCP server receives the configuration request message, according to the information of the DHCP client carried by the configuration request message and all network segment addresses, determine that the network segment address that the subnetwork to which the DHCP client belongs has is a configuration request according to the allocation rule Which network segment address is filled in the message, assign an IP address to the DHCP client from the address pool corresponding to the determined network segment address, and obtain the gateway IP address corresponding to the address pool of the determined network segment address.

本发明所述的分配规则为现有技术已有的,例如可以按照配置请求报文携带的DHCP客户端的信息中的MAC地址或者ADSL帐户信息等来确定网段地址。The allocation rule described in the present invention is existing in the prior art, for example, the network segment address can be determined according to the MAC address or ADSL account information in the DHCP client information carried in the configuration request message.

步骤403、DHCP服务器向发送配置请求报文的DHCP中继返回配置消息,该配置消息中携带有获取到的网关IP地址以及给DHCP客户端分配的IP地址。Step 403 , the DHCP server returns a configuration message to the DHCP relay that sends the configuration request message, and the configuration message carries the obtained gateway IP address and the IP address allocated to the DHCP client.

步骤404、DHCP中继向发送配置请求报文的DHCP客户端转发配置消息,DHCP客户端使用所分配的IP地址通过网关接受网络的服务,该网关就是具有所获取到的网关IP地址的设备。Step 404 , the DHCP relay forwards the configuration message to the DHCP client that sent the configuration request message, and the DHCP client uses the assigned IP address to receive network services through the gateway, which is the device with the obtained gateway IP address.

在步骤401中,填充到配置请求报文中的网段地址也可以为DHCP中继配置的多个网段地址,而不是配置的所有网段地址,只要填充的网段地址中存在DHCP客户端所属子网络的网段地址即可采用本发明的技术。In step 401, the network segment addresses filled in the configuration request message may also be multiple network segment addresses configured by the DHCP relay agent, rather than all configured network segment addresses, as long as there are DHCP clients in the filled network segment addresses The network segment address of the subnet to which it belongs can adopt the technology of the present invention.

这时,在步骤401中,将在DHCP中继上配置的多个网段地址填充到配置请求报文的过程为:修改在配置请求报文中的现有的子网选择(SubnetSelection)选项,即采用增加多个子网络的方式,表2为现有的在DHCP标准中定义的Subnet Selection选项的格式:  类型值(1个字节)  子网地址长度(1个字节)   4个字节  118   4   子网地址 At this time, in step 401, the process of filling the configuration request message with a plurality of network segment addresses configured on the DHCP relay agent is: revise the existing subnet selection (SubnetSelection) option in the configuration request message, That is, by adding multiple subnets, Table 2 shows the format of the existing Subnet Selection option defined in the DHCP standard: type value (1 byte) Subnet address length (1 byte) 4 bytes 118 4 subnet address

                         表2 Table 2

表3为本发明修的Subnet Selection选项的格式:  类型值(1个字节)  1个字节  不定长(子网数量×4)  118  子网数量×4  多个子网地址的列表,每个4字节 Table 3 is the format of the Subnet Selection option that the present invention repairs: type value (1 byte) 1 byte Variable length (number of subnets x 4) 118 Number of subnets × 4 List of multiple subnet addresses, 4 bytes each

                         表3 table 3

从图3和图4所述的方案可以看出,本发明在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,采用将DHCP中继配置的多个网关IP地址或者多个网段地址都填充到DHCP客户端的配置请求报文中,发送给DHCP服务器,由DHCP服务器根据接收到的配置请求报文中携带的DHCP客户端的信息确定给DHCP客户端分配哪一个网关IP地址或者网段地址对应的地址池中的IP地址,将所分配的IP地址携带在配置消息中通过DHCP中继发送给DHCP客户端。因此,本发明在DHCP客户端通过DHCP中继获得动态分配的IP地址的过程中,DHCP中继和DHCP服务器只进行一次通信交互,节省了时间并且提高了效率。From the scheme described in Fig. 3 and Fig. 4, it can be seen that the present invention adopts a plurality of gateway IP addresses or a plurality of network IP addresses configured by the DHCP relay agent in the process of the DHCP client obtaining a dynamically allocated IP address through the DHCP relay agent. The segment address is filled into the configuration request message of the DHCP client and sent to the DHCP server. The DHCP server determines which gateway IP address or network address to assign to the DHCP client according to the information of the DHCP client carried in the received configuration request message. The IP address in the address pool corresponding to the segment address, carries the assigned IP address in the configuration message and sends it to the DHCP client through the DHCP relay agent. Therefore, in the present invention, during the process of obtaining the dynamically allocated IP address by the DHCP client through the DHCP relay, the DHCP relay and the DHCP server only perform one communication interaction, which saves time and improves efficiency.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所做的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention. within the scope of protection.

Claims (10)

1, a kind of dynamic host configuration protocol DHCP relaying is the method for dhcp client request IP address, it is characterized in that, gateway Internet protocol IP address is set or/and the corresponding relation of the address pool of network segment address and an above IP of storage address in Dynamic Host Configuration Protocol server, at DHCP relay more than one gateway ip address or more than one network segment address are set, this method also comprises:
The configuring request message that A, DHCP relay send to dhcp client by broadcast reception, in this configuring request message, fill set more than one gateway ip address or more than one network segment address after, send to Dynamic Host Configuration Protocol server;
Determine the gateway ip address or the network segment address of sub-network under this dhcp client in gateway ip address that B, Dynamic Host Configuration Protocol server are filled or the network segment address from this configuring request message, to dhcp client distribute the IP address in definite gateway ip address or the network segment address corresponding address pond, institute's IP address allocated is sent to dhcp client by DHCP relay.
2, the method for claim 1 is characterized in that, describedly at DHCP relay more than one gateway ip address is set and comprises a primary gateway IP address and more than one from gateway ip address.
3, the method for claim 1 is characterized in that, described configuring request message also carries the information of dhcp client, and step B is described to determine that the gateway ip address of the affiliated sub-network of this dhcp client or the process of network segment address are:
Determine the gateway ip address or the network segment address of sub-network under this dhcp client in gateway ip address that the information of the dhcp client that Dynamic Host Configuration Protocol server carries according to this configuring request message is filled according to the rule of setting or the network segment address from this configuring request message.
4, the method for claim 1 is characterized in that, the set more than one gateway ip address of the described filling of steps A or more than one network segment address are set all gateway ip address or all network segment addresses.
5, the method for claim 1 is characterized in that, the described institute of step B IP address allocated is carried in the configuration messages and sends.
6, the method for claim 1 is characterized in that, when in described configuring request message, filling more than one gateway ip address, step B is described institute's IP address allocated is sent to dhcp client by DHCP relay before, this method also comprises:
Dynamic Host Configuration Protocol server sends to dhcp client with the gateway ip address of determining by DHCP relay.
7, method as claimed in claim 6 is characterized in that, described definite gateway ip address is carried in the configuration messages and sends.
8, the method for claim 1 is characterized in that, when in described configuring request message, filling more than one network segment address, step B is described institute's IP address allocated is sent to dhcp client by DHCP relay before, this method also comprises:
Dynamic Host Configuration Protocol server obtains the gateway ip address in corresponding address pond, and the gateway ip address in corresponding address pond is sent to dhcp client by DHCP relay.
9, method as claimed in claim 8 is characterized in that, the gateway ip address in described corresponding address pond is carried in the configuration messages and sends.
10, the method for claim 1 is characterized in that, the described set more than one gateway ip address of steps A is filled into the sub-option that is provided with in the relay agent information Relay AgentInformation option of configuring request message;
Perhaps the described set more than one network segment address of steps A is filled into the subnet that is provided with in the configuring request message and selects Subnet Selection option.
CNB2005101127744A 2005-10-12 2005-10-12 IP address requesting method for DHCP client by DHCP repeater Expired - Fee Related CN100502413C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101127744A CN100502413C (en) 2005-10-12 2005-10-12 IP address requesting method for DHCP client by DHCP repeater

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101127744A CN100502413C (en) 2005-10-12 2005-10-12 IP address requesting method for DHCP client by DHCP repeater

Publications (2)

Publication Number Publication Date
CN1949784A true CN1949784A (en) 2007-04-18
CN100502413C CN100502413C (en) 2009-06-17

Family

ID=38019160

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101127744A Expired - Fee Related CN100502413C (en) 2005-10-12 2005-10-12 IP address requesting method for DHCP client by DHCP repeater

Country Status (1)

Country Link
CN (1) CN100502413C (en)

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068208B (en) * 2007-06-05 2010-06-02 华为技术有限公司 A method, system and proxy device for dynamically allocating network addresses
CN101159758B (en) * 2007-10-30 2010-06-23 中兴通讯股份有限公司 Method and device for classifying and associating dynamic host configuration protocol option allocation
WO2011011933A1 (en) * 2009-07-28 2011-02-03 中兴通讯股份有限公司 Method and system for realizing network topology discovery
WO2011023136A1 (en) * 2009-08-28 2011-03-03 华为技术有限公司 Method, device thereof and system thereof for automatically configuring internet protocol (ip) addresses
CN101997931A (en) * 2009-08-28 2011-03-30 中国移动通信集团公司 Position information acquiring method and equipment
CN102118453A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Method, service device, client and communication system for automatic configuration of IP address
CN102143247A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method for allocating and configuring address, address allocation server and host machine
CN101388882B (en) * 2007-09-13 2011-09-14 英业达股份有限公司 Network protocol address configuration system and method
CN102291628A (en) * 2011-08-11 2011-12-21 华为技术有限公司 Method for obtaining information of network business server, client and DHCP (dynamic host configuration protocol) device
CN102340421A (en) * 2007-11-22 2012-02-01 华为技术有限公司 Gateway management method, address allocation method, device and system
CN102355404A (en) * 2011-08-09 2012-02-15 北京星网锐捷网络技术有限公司 Method of dynamic multiple network segment address distribution supported by dynamic host configuration protocol (DHCP) repeater and apparatus thereof
CN102377830A (en) * 2010-08-13 2012-03-14 Tcl集团股份有限公司 IP (Internet Protocol) address configuration method
CN102404418A (en) * 2011-11-18 2012-04-04 华为数字技术有限公司 Method, device and system for allocating IP address to user terminal
CN101534329B (en) * 2009-04-16 2012-05-02 华为技术有限公司 Method and system for allocating IP addresses
CN102638396A (en) * 2012-03-21 2012-08-15 华为技术有限公司 Load balancing method and device
CN101494669B (en) * 2009-03-10 2012-11-21 华为技术有限公司 Method and apparatus for distributing IP address for user terminal
CN101600001B (en) * 2009-06-29 2013-01-16 中兴通讯股份有限公司 Method and device for acquiring configuration information based on dynamic host configuration protocol
WO2013020267A1 (en) * 2011-08-08 2013-02-14 华为数字技术有限公司 Ip address allocation method, system and device
WO2013026306A1 (en) * 2011-08-19 2013-02-28 中兴通讯股份有限公司 Method and system for allocating identifier and gateway address
CN103037026A (en) * 2012-12-10 2013-04-10 上海斐讯数据通信技术有限公司 Dynamic host configuration protocol (DHCP) server address pool automatic configuration method and device and central processing element (CPE) equipment
WO2013078814A1 (en) * 2011-12-01 2013-06-06 中兴通讯股份有限公司 Ip address allocation method and device
CN103442045A (en) * 2013-08-19 2013-12-11 深圳市华讯方舟科技有限公司 Method for enabling intelligent device to get access to wireless router
CN103888551A (en) * 2012-12-19 2014-06-25 华为技术有限公司 Internet protocol address obtaining method in network, relay device and system
CN104378222A (en) * 2013-08-15 2015-02-25 海尔集团公司 Communication parameter configuration method, server and intelligent network system
WO2015035921A1 (en) * 2013-09-13 2015-03-19 Hangzhou H3C Technologies Co., Ltd. Forwarding a dhcp packet
CN105245629A (en) * 2015-09-25 2016-01-13 互联网域名系统北京市工程研究中心有限公司 DHCP-based host communication method and device
CN101572876B (en) * 2008-04-28 2016-01-20 华为技术有限公司 Identification information distribution, acquisition method and device
CN105959282A (en) * 2016-04-28 2016-09-21 杭州迪普科技有限公司 Protection method and device for DHCP attack
CN106953942A (en) * 2017-04-24 2017-07-14 张良级 A kind of method of DHCP dynamically distributes gateway
US9900183B2 (en) 2009-09-11 2018-02-20 Huawei Technologies Co., Ltd. IP address automatic assignment method, device, and system
CN108259639A (en) * 2017-12-25 2018-07-06 锐捷网络股份有限公司 IP address distribution method and device
CN108600407A (en) * 2018-03-28 2018-09-28 新华三技术有限公司 A kind of IP address distribution method, device, equipment and machine readable storage medium
CN108600408A (en) * 2018-03-30 2018-09-28 新华三技术有限公司 The method and device of request address
CN108632399A (en) * 2017-08-24 2018-10-09 新华三技术有限公司 A kind of address distribution method and device
CN111683159A (en) * 2019-03-11 2020-09-18 阿里巴巴集团控股有限公司 IP address allocation method, device, system and storage medium
CN111866208A (en) * 2020-06-30 2020-10-30 新华三信息安全技术有限公司 Network address acquisition method and equipment
CN114244699A (en) * 2021-12-16 2022-03-25 中国电信股份有限公司 User plane function access method, server, system and network device
CN114520965A (en) * 2020-11-19 2022-05-20 瑞昱半导体股份有限公司 Wireless relay device and configuration method therefor
CN116346780A (en) * 2023-03-29 2023-06-27 杭州云合智网技术有限公司 Method and device for automatic configuration of node IP addresses in network
CN116527635A (en) * 2023-04-24 2023-08-01 苏州浪潮智能科技有限公司 Method for relaying DHCP (dynamic host configuration protocol) strategy under network equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI748747B (en) * 2020-11-13 2021-12-01 瑞昱半導體股份有限公司 Wireless repeater device and configuration method thereof

Cited By (61)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068208B (en) * 2007-06-05 2010-06-02 华为技术有限公司 A method, system and proxy device for dynamically allocating network addresses
CN101388882B (en) * 2007-09-13 2011-09-14 英业达股份有限公司 Network protocol address configuration system and method
CN101159758B (en) * 2007-10-30 2010-06-23 中兴通讯股份有限公司 Method and device for classifying and associating dynamic host configuration protocol option allocation
CN102340421B (en) * 2007-11-22 2015-01-21 华为技术有限公司 Gateway management method, address allocation method, device and system
CN102340421A (en) * 2007-11-22 2012-02-01 华为技术有限公司 Gateway management method, address allocation method, device and system
CN101572876B (en) * 2008-04-28 2016-01-20 华为技术有限公司 Identification information distribution, acquisition method and device
CN101494669B (en) * 2009-03-10 2012-11-21 华为技术有限公司 Method and apparatus for distributing IP address for user terminal
CN101534329B (en) * 2009-04-16 2012-05-02 华为技术有限公司 Method and system for allocating IP addresses
CN101600001B (en) * 2009-06-29 2013-01-16 中兴通讯股份有限公司 Method and device for acquiring configuration information based on dynamic host configuration protocol
WO2011011933A1 (en) * 2009-07-28 2011-02-03 中兴通讯股份有限公司 Method and system for realizing network topology discovery
CN101997931A (en) * 2009-08-28 2011-03-30 中国移动通信集团公司 Position information acquiring method and equipment
WO2011023136A1 (en) * 2009-08-28 2011-03-03 华为技术有限公司 Method, device thereof and system thereof for automatically configuring internet protocol (ip) addresses
US9900183B2 (en) 2009-09-11 2018-02-20 Huawei Technologies Co., Ltd. IP address automatic assignment method, device, and system
CN102118453A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Method, service device, client and communication system for automatic configuration of IP address
CN102118453B (en) * 2009-12-31 2014-01-22 华为技术有限公司 Method, service device, client and communication system for automatic configuration of IP address
CN102377830A (en) * 2010-08-13 2012-03-14 Tcl集团股份有限公司 IP (Internet Protocol) address configuration method
CN102143247B (en) * 2010-12-31 2014-07-30 华为技术有限公司 Method for allocating and configuring address, address allocation server and host machine
CN102143247A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method for allocating and configuring address, address allocation server and host machine
WO2013020267A1 (en) * 2011-08-08 2013-02-14 华为数字技术有限公司 Ip address allocation method, system and device
CN102355404B (en) * 2011-08-09 2014-06-04 北京星网锐捷网络技术有限公司 Method of dynamic multiple network segment address distribution supported by dynamic host configuration protocol (DHCP) repeater and apparatus thereof
CN102355404A (en) * 2011-08-09 2012-02-15 北京星网锐捷网络技术有限公司 Method of dynamic multiple network segment address distribution supported by dynamic host configuration protocol (DHCP) repeater and apparatus thereof
CN102291628B (en) * 2011-08-11 2014-07-09 华为技术有限公司 Method for obtaining information of network business server, client and DHCP (dynamic host configuration protocol) device
CN102291628A (en) * 2011-08-11 2011-12-21 华为技术有限公司 Method for obtaining information of network business server, client and DHCP (dynamic host configuration protocol) device
WO2013026306A1 (en) * 2011-08-19 2013-02-28 中兴通讯股份有限公司 Method and system for allocating identifier and gateway address
CN102957752A (en) * 2011-08-19 2013-03-06 中兴通讯股份有限公司 System and method for identification and gateway address distribution
WO2013071765A1 (en) * 2011-11-18 2013-05-23 华为技术有限公司 Method, device and system for distributing ip address for user terminal
CN102404418B (en) * 2011-11-18 2015-01-28 北京华为数字技术有限公司 Method, device and system for distributing IP (internet protocol) address for user terminal
CN102404418A (en) * 2011-11-18 2012-04-04 华为数字技术有限公司 Method, device and system for allocating IP address to user terminal
WO2013078814A1 (en) * 2011-12-01 2013-06-06 中兴通讯股份有限公司 Ip address allocation method and device
CN102638396B (en) * 2012-03-21 2014-12-24 华为技术有限公司 Load balancing method and device
CN102638396A (en) * 2012-03-21 2012-08-15 华为技术有限公司 Load balancing method and device
CN103037026B (en) * 2012-12-10 2015-07-22 上海斐讯数据通信技术有限公司 Dynamic host configuration protocol (DHCP) server address pool automatic configuration method and device and central processing element (CPE) equipment
CN103037026A (en) * 2012-12-10 2013-04-10 上海斐讯数据通信技术有限公司 Dynamic host configuration protocol (DHCP) server address pool automatic configuration method and device and central processing element (CPE) equipment
WO2014094633A1 (en) * 2012-12-19 2014-06-26 华为技术有限公司 Method, relay device, and system for acquiring internet protocol address in network
CN103888551A (en) * 2012-12-19 2014-06-25 华为技术有限公司 Internet protocol address obtaining method in network, relay device and system
US10122679B2 (en) 2012-12-19 2018-11-06 Huawei Technologies Co., Ltd. Method, relay agent, and system for acquiring internet protocol address in network
EP3264731A1 (en) * 2012-12-19 2018-01-03 Huawei Technologies Co., Ltd. Method, relay agent, and system for acquiring internet protocol address in network
CN103888551B (en) * 2012-12-19 2017-09-12 华为技术有限公司 Internet Protocol address acquisition methods, trunking and system in a kind of network
CN104378222A (en) * 2013-08-15 2015-02-25 海尔集团公司 Communication parameter configuration method, server and intelligent network system
CN103442045B (en) * 2013-08-19 2016-11-23 华讯方舟科技有限公司 A kind of smart machine accesses the method for wireless router
CN103442045A (en) * 2013-08-19 2013-12-11 深圳市华讯方舟科技有限公司 Method for enabling intelligent device to get access to wireless router
WO2015035921A1 (en) * 2013-09-13 2015-03-19 Hangzhou H3C Technologies Co., Ltd. Forwarding a dhcp packet
CN105245629A (en) * 2015-09-25 2016-01-13 互联网域名系统北京市工程研究中心有限公司 DHCP-based host communication method and device
CN105245629B (en) * 2015-09-25 2018-10-16 互联网域名系统北京市工程研究中心有限公司 Host communication method based on DHCP and device
CN105959282A (en) * 2016-04-28 2016-09-21 杭州迪普科技有限公司 Protection method and device for DHCP attack
US10148676B2 (en) 2016-04-28 2018-12-04 Hangzhou Dptech Technologies Co., Ltd. Method and device for defending DHCP attack
CN106953942A (en) * 2017-04-24 2017-07-14 张良级 A kind of method of DHCP dynamically distributes gateway
CN106953942B (en) * 2017-04-24 2024-07-02 张良级 Dynamic gateway allocation method for DHCP
WO2019037664A1 (en) * 2017-08-24 2019-02-28 新华三技术有限公司 Address allocation
CN108632399A (en) * 2017-08-24 2018-10-09 新华三技术有限公司 A kind of address distribution method and device
CN108259639A (en) * 2017-12-25 2018-07-06 锐捷网络股份有限公司 IP address distribution method and device
CN108600407A (en) * 2018-03-28 2018-09-28 新华三技术有限公司 A kind of IP address distribution method, device, equipment and machine readable storage medium
CN108600407B (en) * 2018-03-28 2022-03-01 新华三技术有限公司 IP address allocation method, device, equipment and machine readable storage medium
CN108600408A (en) * 2018-03-30 2018-09-28 新华三技术有限公司 The method and device of request address
CN111683159A (en) * 2019-03-11 2020-09-18 阿里巴巴集团控股有限公司 IP address allocation method, device, system and storage medium
CN111866208A (en) * 2020-06-30 2020-10-30 新华三信息安全技术有限公司 Network address acquisition method and equipment
CN114520965A (en) * 2020-11-19 2022-05-20 瑞昱半导体股份有限公司 Wireless relay device and configuration method therefor
CN114520965B (en) * 2020-11-19 2024-03-01 瑞昱半导体股份有限公司 Wireless relay device and configuration method for wireless relay device
CN114244699A (en) * 2021-12-16 2022-03-25 中国电信股份有限公司 User plane function access method, server, system and network device
CN116346780A (en) * 2023-03-29 2023-06-27 杭州云合智网技术有限公司 Method and device for automatic configuration of node IP addresses in network
CN116527635A (en) * 2023-04-24 2023-08-01 苏州浪潮智能科技有限公司 Method for relaying DHCP (dynamic host configuration protocol) strategy under network equipment

Also Published As

Publication number Publication date
CN100502413C (en) 2009-06-17

Similar Documents

Publication Publication Date Title
CN1949784A (en) IP address requesting method for DHCP client by DHCP repeater
JP5663549B2 (en) Method, apparatus and system for assigning public IP addresses
CN1170401C (en) Apparatus and method for assigning internet protocol address to network interface card
CN101068208A (en) Method, system and proxy equipment for dynamic distributing network address
CN1199422C (en) Allocating addresses to mobile stations
CN1123154C (en) System, device and method for routine selection dhcp configuration agreement packets
CN1744612A (en) DHCP address allocation method
CN1762126A (en) Mobile IP communication system and method using dual-stack transition mechanism
CN1435974A (en) Domain name management method and apparatus
CN105245638A (en) Address distribution method, equipment and system
CN102148878A (en) IP (internet protocol) address allocation method, system and device
CN101159758B (en) Method and device for classifying and associating dynamic host configuration protocol option allocation
CN1845554A (en) Control method for dynamically distributing IP address in 3G network
CN101188514A (en) Method, device and system for automatically discovering network element equipment
CN102143242B (en) IP (internet protocol) network address allocation method, IP network address allocation equipment and IP network address allocation system
CN105472048A (en) Address allocating method, information aggregation method and related equipment
CN1691665A (en) A method for implementing communication between IPv4 network and IPv6 network
JP2010524305A (en) Improved method and apparatus for reducing congestion in a DHCP network system
CN104378222A (en) Communication parameter configuration method, server and intelligent network system
CN1744597A (en) Method for host use obtaining IP address parameters in IPV6 network
CN102611623A (en) Port configuration processing method, port configuration processing device and port configuration processing system on basis of network access
CN103327130A (en) Method, terminal and system for reusing MAC address
CN103141072B (en) IP address acquiring method and network access equipment
CN1753411A (en) An Improved Method of Assigning Network Identifiers Through Interface Identifiers
CN1812398A (en) Method for realizing DHCP server loading sharing based on DHCP relay

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090617

Termination date: 20191012