Liverpool were drawn away to League One side Exeter in the second round of the Carling Cup, while city rivals Everton will host Sheffield United.
Meanwhile, Doncaster host Leeds in a Yorkshire derby, while Sunderland face a long trip south to Brighton.
Macclesfield will travel to Premier League side Bolton, while fellow giant-killers Northampton will host Wolves.
Five first-round ties are yet to be played after they were postponed following rioting across the country.
The eight clubs involved in European competition will enter at the third-round stage.
The second-round ties will be played in the week beginning 22 August.
|Carling Cup second round draw:|
|Millwall v Morecambe|
|Blackburn v Sheffield Wednesday|
|Bury v Leicester|
|West Ham/Aldershot v Carlisle|
|Bournemouth v West Bromwich Albion|
|Crystal Palace/Crawley v Wigan|
|Peterborough v Middlesbrough|
|Aston Villa v Hereford|
|Bristol City/Swindon v Southampton|
|Exeter v Liverpool|
|Everton v Sheffield United|
|Brighton v Sunderland|
|Shrewsbury v Swansea|
|Reading/Charlton v Preston|
|Norwich v Milton Keynes Dons|
|Northampton v Wolves|
|Wycombe v Nottingham Forest|
|Bolton v Macclesfield|
|Burnley v Barnet|
|Scunthorpe v Newcastle|
|Leyton Orient v Watford/Bristol Rovers|
|Doncaster v Leeds|
|Cardiff v Huddersfield|
|QPR v Rochdale|
Ties to be played in the week commencing 22 August