Holders Chelsea will play French side Lille in the Champions League (CL) last 16 after the draw for the knockout stages took place for a second time.
A “technical problem” caused an error in the initial draw, which Uefa said had been “declared void”.
Premier League champions Manchester City face Portugal’s Sporting Lisbon while six-time winners Liverpool play three-time winners Inter Milan.
Manchester United face Spanish champions Atletico Madrid.
In the standout tie of the round, 13-time champions Real Madrid come up against French powerhouse Paris St-Germain.
Champions League last-16 draw:
Red Bull Salzburg vs Bayern Munich
Sporting Lisbon vs Manchester City
Benfica vs Ajax
Chelsea vs Lille
Atletico Madrid vs Manchester United
Villarreal vs Juventus
Inter Milan vs Liverpool
PSG vs Real Madrid