The draw sees Republic of Ireland face Bosnia- Herzegovina in the play-offs for a place at next summer’s European Championship in France, while Sweden will take on their Scandinavian neighbours Denmark.
Another Scandinavian country Norway are drawn with Hungary while Ukraine meet Slovenia.
The first leg will be away from home on 13 November, with the return leg taking place three days later on 16 November.
Republic of Ireland missed out on automatic qualification after losing to Poland in the final game of the group stages.
While, Bosnia-Herzegovinia finished third in their group behind Belgium and Wales.
Zlatan Ibrahimovic’s Sweden face Denmark, after missing out on one of the top two places in the group stage.
Ibrahimovic said the tournament without his representation is unimaginable.
“I don’t want to miss the European Championship, it’s unlikely and unthinkable for me to see this tournament ongoing without me,” he said.
“We didn’t go in the classical way, so we will find out another one to go. Whoever will be our opponent in the play-off, it will be tough.
“In these kinds of games, each team give its 200%. It’s an all-in. But I’m sure we will qualify.”
Sweden will host the first leg on 14 November, with Denmark then the venue for the determining leg on 17 November.
Norway, were paired with a Hungary side who came within minutes of qualifying automatically.
They were all set to go through as the best third-placed finishers, only to be usurped by a last-minute Turkey win.
Slovenia, who find themselves at this stage having finished behind England and Switzerland, will take on Ukraine for the final spot.
Ukraine v Slovenia
Sweden v Denmark
Bosnia-Herzegovina v Republic of Ireland
Norway v Hungary