The Indomitable Lions and the Super Eagles booked their places at South Africa 2010, while Egypt and Algeria face play-off on Wednesday.
The Indomitable Lions held firm to top Group A, joining fellow Africans South Africa, Ghana and Côte d'Ivoire at the 2010 FIFA World Cup.
Brazil took seven points from a possible nine to win Group G, while Portugal went through as their runners-up, one point clear of Côte d’Ivoire.