ip-validation
Provides validation constraints that work on both CharSequence and IPAddress. These not only allow you to validate that a value is a valid IP address, but also that the IP address is contained in a specific IP range or subnet.
Bean Validation API support
This library has been written for Bean Validation 1.1. However, it has also been tested with Bean Validation 2.0. The javax.validation:validation-api dependency is a provided dependency, allowing you to provide your own version without any conflicts.