protected function convertIPv4Address($ipv4Address) {
        $longIP = ip2long($ipv4Address);

        if (!is_int($longIP)) {
            throw new RuntimeException(sprintf(
                'Unable to convert IP address "%s"',
                $ipv4Address
            ));
        }

        return $longIP;
    }