Steve McClaren's Nottingham Forest and Notts County will go head-to-head at the City Ground, while Leeds and Bradford will meet at Elland Road.
Clash of the rivals: Steve McClaren has been handed a derby draw
West Ham, relegated from the Barclays Premier League, will take on League Two side Aldershot.
Crystal Palace will host near-neighbours Crawley or Wimbledon in the winner of their play-off tie. They must meet as holders Birmingham City play in the Europa League.
Blackpool, the other relegated Premier League side in the draw, face a trip to face Sheffield Wednesday.
Rochdale v ChesterfieldPort Vale v Huddersfield TownRotherham United v Leicester CityHull City v Macclesfield TownHartlepool United v Sheffield UnitedLeeds United v Bradford CityDoncaster Rovers v Tranmere RoversWalsall v MiddlesbroughBarnsley v MorecambeAccrington Stanley v Scunthorpe UnitedDerby County v Shrewsbury TownOldham Athletic v Carlisle UnitedBury v Coventry CitySheffield Wednesday v BlackpoolBurnley v Burton AlbionPreston North End v Crewe AlexandraNottingham Forest v Notts CountyBrighton v GillinghamBournemouth v Dagenham & RedbridgeIpswich Town v Northampton TownCheltenham Town v MK DonsBristol Rovers v WatfordPlymouth Argyle v MillwallOxford United v Cardiff CityWest Ham United v Aldershot TownSouthampton v Torquay UnitedCharlton Athletic v ReadingPortsmouth v BarnetStevenage v Peterborough UnitedSouthend United v Leyton OrientWycombe Wanderers v Colchester UnitedHereford United v BrentfordExeter City v Yeovil TownBristol City v Swindon TownCrystal Palace v Crawley Town/AFC WimbledonTies will be played during the week commencing August 8.
Club-by-club guide to all the Barclays Premier League summer transfersPREMIER LEAGUE NEW KIT SPECIAL: Strips your team will wear in 2011-12
Explore more:People: Steve McClaren Places: Leeds, Nottingham