Liverpool will face Everton in the FA Cup third round, while holders Arsenal will travel to Nottingham Forest.
The third-round draw in full
Ipswich Town v Sheffield United
Birmingham City v Burton Albion
Brighton & Hove Albion v Crystal Palace
Aston Villa v Woking or Peterborough United
Bournemouth v AFC Fylde or Wigan
Newport County v Leeds United
Bolton Wanderers v Huddersfield Town
Queens Park Rangers v MK Dons
Manchester United v Derby County
Forest Green Rovers or Exeter City v West Bromwich Albion
Doncaster Rovers v Slough Town or Rochdale
Tottenham Hotspur v AFC Wimbledon
Fleetwood or Hereford v Leicester City
Blackburn Rovers or Crewe Alexandra v Hull City
Cardiff City v Mansfield Town
Shrewsbury Town v West Ham United
Wolverhampton Wanderers v Swansea City
Wycombe Wanderers v Preston North End
Gillingham or Carlisle United v Sheffield Wednesday