Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
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


Harsh Vardhan
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.