Military history of the Three Kingdoms
By the time of the Three Kingdoms period the Xiongnu had already ceased to be a major power. Their last stand as a steppe empire was in 89 when Dou Xian led an army of 45,000 and decisively defeated them at the Battle of the Altai Mountains. The Xiongnu Empire was replaced by a loose confederation of disorganized Xianbei tribes, who were nonetheless highly aggressive and proved problematic to their southern neighbors. A southern branch of the Xiongnu split off from their northern neighbors in 50 AD and continued to exist as a Han puppet state in Bing Province. However, in 188 the Xiuchuge clan rebelled against their Chanyu, Qiangqu, for sending troops to aid the Han against the rebels Zhang Ju and Zhang Chun. They replaced Qiangqu with his son Yufuluo, who's hold on power was tenuous, and he was ousted over a marquis of the Xubu clan. When the marquis of Xubu died the next year an elderly king became the nominal head of state without the title of Chanyu and the Southern Xiongnu ceased to exist as a coherent entity. In 216 the Xiongnu of the Ordos were settled but the region remained outside the jurisdiction of Cao Wei's administration.
Donghu people
The (ca. 109–91 BCE) "Shiji" section on Xiongnu history first records the Donghu during the era of Duke Wen of Jin (r. 697–628 BCE) and Duke Mu of Qin (r. ca. 659–621 BCE).At this time Qin and Jin were the most powerful states in China. Duke Wen of Jin expelled the Di barbarians and drove them into the region west of the Yellow River between the Yun and Luo rivers; there they were known as the Red Di and the White Di. Shortly afterwards, Duke Mu of Qin, having obtained the services of You Yu, succeeded in getting the eight barbarian tribes of the west to submit to his authority.
Thus at this time there lived in the region west of Long the Mianzhu, the Hunrong, and the Diyuan tribes. North of Mts. Qi and Liang and the Jing and Qi rivers lived the Yiqu, Dali, Wuzhi, and Quyuan tribes. North of Jin were the Linhu (Forest Barbarians) and the Loufan, while north of Yan lived the Donghu (Eastern Barbarians) and Shanrong (Mountain Barbarians), each of them with their own chieftains. From time to time they would have gatherings of a hundred or so men, but no one tribe was capable of unifying the others under a single rule.