IP validation divided into separate ipv4 and ipv6 validation. Itself IP validation validating both types of IP's