< Home

(Optional) Configuring Automatic Reclaim of Conflicting IP Addresses in an Address Pool

Context

When a DHCP server allocates IP addresses to clients, IP address conflict may occur because IP addresses of some hosts have been manually configured. In this case, the DHCP server considers these IP addresses as conflicting IP addresses, and allocates available IP addresses from the conflicting IP addresses to clients only after available IP addresses in the address pool are used up. To reclaim conflicting IP addresses promptly, the administrator can enable automatic reclaim and specify the reclaim interval.

Procedure

  • Interface address pool:
    1. Run system-view

      The system view is displayed.

    2. Enter the interface or sub-interface view.

      interface interface-type interface-number[.subinterface-number ]

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, S6720-HI, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI support sub-interfaces.

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

      Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

    4. Run dhcp server conflict auto-recycle interval day day [ hour hour [ minute minute ] ]

      Automatic reclaim of conflicting IP addresses in the interface address pool is enabled and the interval for the automatic reclaim is configured.

      By default, automatic reclaim of conflicting IP addresses in the interface address pool is disabled.

  • Global address pool:
    1. Run system-view

      The system view is displayed.

    2. Run ip pool ip-pool-name

      The global address pool view is displayed.

    3. Run conflict auto-recycle interval day day [ hour hour [ minute minute ] ]

      Automatic reclaim of conflicting IP addresses in the global address pool is enabled and the interval for the automatic reclaim is configured.

      By default, automatic reclaim of conflicting IP addresses in the global address pool is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >