VMware NSX

 View Only
  • 1.  Cannot delete IP pool

    Posted Aug 27, 2020 03:53 PM

    I am unable to delete an IP pool because it says there's an IP address in use. Well, there are no VMs using this IP address, so not sure how I can remove it.

    Tried restarting the manager and all my controllers.


  • 2.  RE: Cannot delete IP pool
    Best Answer

    Posted Aug 27, 2020 04:47 PM

    If you go to the IP Pools list what do you see under the user/total tab?

    This happens a lot, maybe you can go stright forward and delete the asigments using an API call:

    Use the NSX API documenation for reference:

    STEPS: (Maybe something changed with newest versions but should be easy to adapt)

    1- Configure Postman to use basic authentication when accessing the NSX REST API.
    2- Configure Postman to accept XML in return by adding a request header: Content-Type: application/xml
    3- Get the list of IP pools to find the appropriate IP pool ID


    Output will be similar to:


    The objectId parameter is what is needed to delete a specific reserved IP from the IP pool.

    4. Delete the IP reservation from the pool. In my case this was


    Output will be similar to:


    The IP address reservation has now been removed from the IP pool.

    EDIT= This guide may help


  • 3.  RE: Cannot delete IP pool

    Posted Aug 27, 2020 10:57 PM

    is it possible that the ESXi host vTEPs are using IP's from that pool?
    You can check on the esxi host vmkernels