A suicide bomber near Kandahar has attacked four Canadian soldiers, hours after a ramp ceremony honoured six men who died in another explosion last week.

"The injuries sustained by the soldiers are not serious. The soldiers notified their next of kin themselves," said Maj. Dale MacEachern, spokesperson for Task Force Afghanistan.

The four soldiers were transported by helicopter to hospital, where two were treated and released.

The attack happened about eight kilometers west of Kandahar city, when a suicide bomber struck their vehicle with an improvised explosive device.

Last Wednesday, six soldiers were killed when their vehicle hit a massive bomb.

Military investigators at the scene said the explosion left a huge crater measuring three metres wide by one-and-a-half metres deep.

The blast ripped through the group's heavily armoured RG-31 Nyala, killing everyone inside.

The slain soldiers have been identified as Cpl. Jordan Anderson, Capt. Jefferson Francis, Capt. Matthew Johnathan Dawe, Cpl. Cole Bartsch, Pte. Lane Watkins and Master Cpl. Colin Bason.

An Afghan interpreter also died in the attack.