摘要 |
<p>Provided is a public network address allocation method, including: a CGN operator level network address conversion device receiving a user online message, and judging whether there is an idle public network address in a public network address pool; when there is no idle public network address in the public network address pool or the number of idle public network addresses is lower than a preset threshold of the number of idle public network addresses, the CGN device constructing and sending a DHCP Request to a DHCP Server to request to obtain a public network address set; and the CGN device allocating a first public network address in the public network address set to the user. Also provided are a public network address allocation device and system. The method, device and system provided by the embodiments of the present invention can realize uniform management and allocation of the public network addresses of the CGN device and can effectively improve the utilization rate of the public network addresses of the CGN device and avoid waste of public network addresses. DRAWING: FIG. 1: 102 A CGN operator level network address conversion device receiving a user online message, and judging whether there is an idle public network address in a public network address pool 104 When there is no idle public network address in the public network address pool or the number of idle public network addresses is lower than a preset threshold of the number of idle public network addresses, the CGN device constructing and sending a DHCP Request to a DHCP Server to request to obtain a public network address set and storing each pulic network address in the public network address set in the public network address pool 106 The CGN device allocating a first public network address in the public network address set to the user</p> |