Four other people were injured in the pre-dawn attack on the base in Mir Ali, a town in North Waziristan, an intelligence official in the area said on condition of anonymity, citing the secretive nature of his job.
About 20 rockets were fired in the attack, some hitting the living quarters of soldiers and other government employees.
Those attacked were sleeping in the barracks at the time, the intelligence official said.
Five other rockets landed in two villages nearby, damaging some homes, he said.
No one claimed responsibility, but officials have blamed previous rocket attacks and roadside bombings on suspected fighters.
In recent days, soldiers have battled armed fighters in another area of North Waziristan.
Eleven people, including four soldiers, have been killed in clashes in the past two days. No fresh fighting was
reported on Sunday.