Details on casualties were not readily available, said military spokesman Col. Sani Kukasheka Usman yesterday.
No group has claimed responsibility for the attack, but the initial suspicion has fallen on the Islamic extremist group Boko Haram, which has resorted to hit-and-run tactics after the Nigerian military recaptured territory once held by the militants.
Usman said the attacks signify the increasing desperation of Boko Haram. At least 20,000 people have been killed in Boko Haram's six-year-old uprising which has displaced 2.1 million people across three countries.
Earlier this year, troops from Chad and Nigeria drove the extremists out of some 25 towns held for months in what had been declared an Islamic caliphate. The insurgents in March pledged allegiance to the Islamic State group.