try {
InetAddress networkAddress = InetAddress.getByName(args[0]);
InetAddress subnetMask = InetAddress.getByName(args[1]);
Machine machine = new Machine(args[2]);
InetAddressUtil util = new InetAddressUtil(new ConsoleLogger());
if (util.contains(networkAddress, subnetMask, machine.getAddress())) {
System.out.println("true");
} else {
System.out.println("false");
}
} catch (final UnknownHostException e) {