Manchester United, Arsenal and Liverpool were also in the draw
Premier League champions Leicester have been drawn against Chelsea in the pick of the EFL Cup third round.
Accrington Stanley, who knocked local rivals Burnley out of the League Cup tonight have been rewarded with a trip to face West Ham at the Olympic Stadium.
Manchester United will make the trip to Northampton Town and Arsenal go to Nottingham Forest.
Liverpool are also on their travels, as they take on Derby County.
Swansea host reigning League Cup champions Manchester City.
In tonight's action, Middlesbrough were the other Premier League team - other than Burnley - to exit the tournament, losing after extra-time at Fulham.
Nottingham Forest v Arsenal
Leeds United v Blackburn Rovers
QPR v Sunderland
West Ham v Accrington Stanley
Southampton v Crystal Palace
Swansea City v Manchester City
Fulham v Bristol City
Bournemouth v Preston North End
Tottenham v Gillingham
Everton v Norwich City
Derby County v Liverpool
Northampton v Manchester United
Brighton v Reading
Newcastle United v Wolves
Stoke City v Hull City
Leicester City v Chelsea