Part of divying up the land includes where the Levites will live, since they don’t get their own land like the other tribes. They will be spread out through the land in 48 cities, 6 of which will be cities of refuge for the ‘manslayer’ to flee to from revenge killing (though he may not get off Scot-free). Relevant to this whole passage is Joshua 20 and 21.
The last chapter of Numbers revisits the earlier issue in chapter 27 of daughters who have no brothers–it is decided that one should only marry within one’s own tribe, so that land will not pass between tribes. Despite all the rebellion mentioned in Numbers, it ends on a happy note–Zelophehad’s daughters comply. (But…they marry their cousins…eweth.)