Corporal Nathan Cirillo, 24, was one of two soldiers killed in a pair of attacks last week that police said were carried out independently by radical recent converts to Islam. The assaults took place as Canada's military was stepping up its involvement in air strikes against Islamic State militants in Iraq.
Dressed in ceremonial kilts, white boots and garters, members of Cirillo's Argyll and Sutherland Highlanders unit marched slowly alongside his casket, which was draped with a Canadian flag, his belt, bayonet and badge. Cirillo's five-year-old son followed the procession on foot, waving a Canadian flag.
Canadian Prime Minister Stephen Harper and hundreds of mourners are expected to pack into the 138-year-old gothic Christ's Church Anglican Cathedral in Hamilton, Cirillo's home town west of Toronto, for the funeral, which will be held under heavy security.
"It's very sad, it really hit close to home to have this happen to someone from Hamilton," said Kim Sass, a 49-year-old medical assistant, who had stopped to write a message on a Canadian flag hung in tribute on the side of a building near the cathedral.
The killings have shaken Canadians and prompted a debate on how the nation's open culture, and particularly the low-key security in its capital city of Ottawa, may need to change. Security services have warned that citizens who adopt extremist views and take up arms against the state pose a "serious" threat.
Cirillo was standing an unarmed, ceremonial watch at the nation's war memorial in Ottawa on Oct 22 when he was shot dead by a man described as troubled and drug addicted. His attacker then charged into the Parliament building and exchanged fire with security officers not far from a room where Harper was meeting with fellow Conservative lawmakers.
Cirillo's will be the first of two funerals for soldiers slain on Canadian soil, to be followed by a service on Saturday in Longueuil, Quebec, for Patrice Vincent, a 53-year-old warrant officer who was killed on Oct 20 near Montreal, when a man ran over him and a fellow soldier with his car.
Nadia Grandoni, a 35-year-old administrative assistant and native of Hamilton, stood awaiting Cirillo's funeral procession with a red poppy, the symbol of veterans' remembrance, pinned to her vest.
"I was born here and even though I didn't know Nathan, I feel like he was my brother," Grandoni said. "He has done us proud. We love him, as a community and as a country. Both him and Patrice Vincent. Canada loves them both."
Public mourning for Cirillo began on Friday when thousands of Canadians lined roadways, including the "Highway of Heroes," to view the motorcade that carried his body on the 500-kilometer (310-mile) journey from Ottawa along Lake Ontario to Hamilton.
The funeral procession began at 11 am ET (1500 GMT) on Tuesday at the military unit's base, with the funeral service to take place an hour later, officials said.
Harper is scheduled to speak, as are Cirillo's cousin, Jenny Holland, and Lieutenant-Colonel Lawrence Hatfield, who had been his commanding officer.