Applying an address pool to an interface
About applying an address pool to an interface
Perform this task to apply a DHCP address pool to an interface.
Upon receiving a DHCP request from the interface, the DHCP server performs address allocation in the following ways:
If a static binding is found for the client, the server assigns the static IP address and configuration parameters from the address pool that contains the static binding.
If no static binding is found for the client, the server uses the address pool applied to the interface for address and configuration parameter allocation.
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Apply an address pool to the interface.
dhcp server apply ip-pool pool-name
By default, no address pool is applied to an interface.
If the applied address pool does not exist, the DHCP server fails to perform dynamic address allocation.