PSPHPIPAM icon indicating copy to clipboard operation
PSPHPIPAM copied to clipboard

How to handle IP addresses entered as RANGE

Open chr1sn3al opened this issue 1 year ago • 3 comments

image

So issue is.. When using Get-PHPIpamAddress there is no attribute to tell me that it's a range? so I that if I want via API to now break that down into individual addresses I need to remove the entry not just update..

Any thoughts?

chr1sn3al avatar Apr 12 '23 14:04 chr1sn3al

So appears to be somehow creating some of these as DHCP (Range) in the UI.. I can see from the API that there are different IpAddress records in the DB.. But the UI is showing as RANGE.. Very odd.. Not sure how the UI determines when they need to be a RANGE.

chr1sn3al avatar Apr 12 '23 21:04 chr1sn3al

These are from my Updates.. using the Update-PHPIpamAddress

chr1sn3al avatar Apr 12 '23 21:04 chr1sn3al

Found it.. (Wasn't API issue.. )_ It was the TAG "DHCP" was set to "compress range"
No idea why some records were compressed others were not.. But now it's fixed.

chr1sn3al avatar Apr 13 '23 10:04 chr1sn3al