We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

IP ranges to IP address

VivekSattanatha
Mega Sage

Hi,

I need to get IP addresses from the given IP ranges. Is there a way to get it from OOB Script includes or from Javascript?

Regards,

Vivek

1 ACCEPTED SOLUTION

VivekSattanatha
Mega Sage

SncIPRangeV4 API helped me to validate IP address within the IP ranges.


View solution in original post

3 REPLIES 3

darius_koohmare
ServiceNow Employee

If the IP range is in CIDR notation, check out this tool: Convert CIDR notation to a list of IP addresses


I am unaware of a OOB script that will list the individual IP's in a given range.


More info on OOB ranges: Discovery IP address configuration


hvrdhn88
Giga Patron

Hi Vivek,



check this business rule "Validate Range". hope this will help you


find_real_file.png



Please check the link below.



IP Address Access Control


VivekSattanatha
Mega Sage

SncIPRangeV4 API helped me to validate IP address within the IP ranges.