All IP-Address calculations should be in an own class and marked that they only work with IPv4.