Function to efficiently tell if an IPV6 address is in an IPV6 network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2023 10:40 AM - edited ‎12-22-2023 10:44 AM
I currently have a script that changes an IPV4 address to an integer can then compares that integer to a "hi" and "low" integer on the IP network record to tell if the address is within the network. Does anyone know how to do this with IPV6 addresses? There are some javascript examples online, but they use BigInt() which is not available in ServiceNow.
How are you solving this? Do you have a different method?
Thanks,
Jeff Wheeler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2024 04:12 AM
Did you happen to get any solution for this? since i am also facing the same issue for BigInt not supported in the servci enow. Ig supported in Xanadu but not below it .