Sheffield United will travel to Championship side Fulham in the second round of the Capital One Cup, while Sheffield Wednesday host Oxford at Hillsborough.
United, who progressed thanks to a 1-0 victory at Morecambe on Tuesday night, beat Fulham on their march to the semi-finals of the FA Cup in 2013/14.
Wednesday, who beat Mansfield 4-1 in the first round, face Oxford for the first time since 1996, also a League Cup tie.
Elsewhere, Doncaster Rovers’ reward for beating Leeds United on penalties last night is a home tie against Ipswich Town, while Barnsley could be reunited early with former player Mason Holgate when they host Premier League side Everton at Oakwell.
Rotherham welcome another Premier League side, Norwich City, to the AESSEAL New York Stadium. All ties will be played in the week commencing Monday, August 24.
Draw in full: Aston Villa v Notts County, Walsall v Brighton, Crystal Palace v Shrewsbury, Sheffield Wednesday v Oxford, Portsmouth v Reading, Hartlepool v Bournemouth, Fulham v Sheff Utd, MK Dons v Cardiff, Hull v Rochdale, Sunderland v Exeter, Bury v Leicester, Doncaster v Ipswich, Rotherham v Norwich, Swansea v York, QPR v Carlisle, Barnsley v Everton, Peterborough v Charlton, Birmingham v Gillingham, Newcastle v Northampton, West Brom v Port Vale, Wolves v Barnet, Burton v Middlesbrough, Luton v Stoke, Preston v Watford.