A ceasefire brokered by Egypt and the United Nations took hold on the Israel-Gaza border on Tuesday after two days of fighting between Israel and the Palestinian Islamic Jihad group.