Forum Discussion

Stefan_Klotz_85's avatar
Oct 14, 2016

Verify which IPs from APM lease pool are currently in use/assigned

Is there any possibility (tmsh-command or APM-statistics/-reports) to verify currently assigned IP-addresses from a specific lease pool?

 

tmsh-commands seems to only show the lease pool configuration itself and the APM-report for the "Assigned IP" field just shows the type (IPv4), but not the address itself.

 

Thank you!

 

Ciao Stefan :)

 

3 Replies

  • PSilva's avatar
    PSilva
    Ret. Employee

    Hi Stefan~ This SOL might have your solution:

     

    SOL16667: BIG-IP APM lease pool statistics may be incorrect - https://support.f5.com/kb/en-us/solutions/public/16000/600/sol16667.html?sr=57955975

     

    I note might since the SOL addresses an issue but within the SOL it says, 'When viewing lease pool currently assigned addresses, the values returned are all zeros.' So, from that, I'm guessing that the commands included in the SOL should return your values.

     

    Hope that helps!

     

    ps

     

  • Hi Peter,

     

    thanks for sharing this solution and yes it indeed showed some values, but still only the amount of currently assigned IPs, but not which ones in detail.

     

    The reason for this question was, that if we have for example a /22 range defined as leasepool, but for some reason we want to split up a /24 for another purpose, I wanted to be sure that no IP-address is currently assigned from that /24 subnet within the /22 leasepool.

     

    I mean there must be at least some internal table for the LB itself, to know which IP from the leasepool is already in use when assigning a new one. But the question is, if it's possible to view this table.

     

    Thank you!

     

    Ciao Stefan :)

     

  • I'm trying to figure that out myself, wanting to split off a number of IPs from the lease pool for use by a few other VPN profiles. For now, my plan is to wait for any IPs still in use in the split-off pool to expire.