Most countries consider the settlements illegal and an obstacle to peace as they reduce and fragment the territory Palestinians want for a viable state in the West Bank, East Jerusalem and the Gaza Strip.