Forum Discussion
Joel_42834
Nimbostratus
Oct 19, 2012IP Address Validation with CIDR
How can a validate an IP address that is stored in a string data group that uses CIDR notation?
For dotted netmasks I use: [IP::addr $address mask $netmask]
where $address is say "...
Joel_42834
Nimbostratus
Oct 19, 2012This works great.
I think in the long run the IP::addr command should support direct checking: [IP::addr "1.2.3.4/24"]
But for now, this will work well.
Thanks - It's a big help
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
