public boolean isInRange(String ipAddress) throws UnknownHostException {
        InetAddress address = InetAddress.getByName(ipAddress);
        BigInteger start = new BigInteger(1, this.startAddress.getAddress());
        BigInteger end = new BigInteger(1, this.endAddress.getAddress());
        BigInteger target = new BigInteger(1, address.getAddress());

        int st = start.compareTo(target);
        int te = target.compareTo(end);

        return (st == -1 || st == 0) && (te == -1 || te == 0);
    }
@Test
    void testIpv4() throws UnknownHostException {
        CIDRUtils cidrUtils = new CIDRUtils("192.168.1.0/26");
        Assertions.assertTrue(cidrUtils.isInRange("192.168.1.63"));
        Assertions.assertFalse(cidrUtils.isInRange("192.168.1.65"));

        cidrUtils = new CIDRUtils("192.168.1.192/26");
        Assertions.assertTrue(cidrUtils.isInRange("192.168.1.199"));
        Assertions.assertFalse(cidrUtils.isInRange("192.168.1.190"));
    }