@Override
	public boolean equals(Object ip)
	{
		if (ip==null || !(getClass().getName()).equals(
				ip.getClass().getName()))
			return false;
		IP trueIP = (IP) ip;
		boolean result = true;
		for (int i = 0; i<4; i++)
			result &= bytes[i] == trueIP.bytes[i];
		return result;
	}