Why Does an IP address in an Address Pool Fail to Be Statically Bound?
When configuring static binding, verify the status of the IP address to be statically bound.
You can run the display ip pool name ip-pool-name ip-address command to check the IP address status in a global address pool, and run the display ip pool interface interface-name ip-address command to check the IP address status in an interface address pool.
When the interface address pool is queried, no space can exist between the interface type and interface ID, for example, vlanif10 (with no space between vlanif and 10).
When configuring static binding for IP addresses in different status, note the following points:
- An IP address in idle or expired status can be statically bound.
- To statically bind an IP address in conflict status, run the reset ip pool command in the user view to reclaim the IP address first.
- For an IP address in used status:
- In versions earlier than V200R010C00, run the reset ip pool command in the user view to reclaim the IP address before static binding.
Before reclaiming the IP address, you are advised to disable NICs of the PC connected to the device. After static binding is configured, enable the NICs again.
- In V200R010C00 and later versions, static binding can be directly configured for IP addresses in used status. However, during static binding configuration, you must ensure that the MAC address to be bound is the same as that of the user who actually uses the IP address.
- In versions earlier than V200R010C00, run the reset ip pool command in the user view to reclaim the IP address before static binding.
- Before configuring static binding for IP addresses in Disable status, namely, IP addresses that have been excluded using the excluded-ip-address command in the global address pool or the dhcp server excluded-ip-address command in the interface view, you need to cancel IP address exclusion using the excluded-ip-address command in the global address pool or the dhcp server excluded-ip-address command in the interface view.
- If a statically bound user is online when static binding is canceled, namely, the IP address is in Static-bind used status:
- In versions earlier than V200R010C00, run the reset ip pool command in the user view to reclaim the IP address before canceling the static binding. After this command is run, the IP address is in idle status.
- In V200R010C00 and later versions, you can directly cancel the static binding and the IP address becomes the used status.
If the client cannot detect that the reset ip pool command has been run on the DHCP server, the client continues using the IP address.