The attack took place north of the city, where suspected militants have repeatedly targeted security forces in recent weeks, the officials said.
This came three days after masked gunmen killed two soldiers on a desert road between Ismailiya and Cairo.
The Suez Canal city and the areas around it have seen regular attacks on police and military personnel, especially since the military toppled Islamist president Mohamed Morsi on July 3.
More than 100 policemen have been killed across Egypt in attacks and clashes since Morsi's ouster.