Recently relegated Huddersfield Town will take on Lincoln in the first round of the Carabao Cup.
The draw, which took place on Thursday, was split into two regions - north and south.
Cardiff and Fulham - who finished 18th and 19th in the Premier League last season, will enter the competition in round two, alongside Premier League clubs not involved in European competitions.
Full draw for Carabao Cup First Round
Grimsby Town v Doncaster Rovers
Mansfield Town v Morecambe
Huddersfield Town v Lincoln City
Salford City v Leeds United
AFC Wimbledon v MK Dons
Charlton Athletic v Forest Green Rovers
Gillingham v Newport County
Bristol Rovers v Cheltenham Town
Brentford v Cambridge United
Swansea City v Northampton Town