Dundee United will host neighbours Dundee and Motherwell face a trip to local rivals Hamilton Academical in the third round of the Scottish League Cup.
Holders Aberdeen take on Livingston at Pittodrie while Celtic have been drawn at home to face Hearts.
Rangers, victors over Queen's Park in Tuesday's rearranged first-round tie, or Inverness face Falkirk.
Hibernian visit Ross County, Kilmarnock host St Johnstone and Partick Thistle entertain St Mirren.
Round three ties will be played on 23 and 24 September. Rangers' second-round tie with Inverness at Ibrox takes place on 16 September.
Aberdeen, Celtic, United, Motherwell and St Johnstone enter the competition at the third-round stage.
The Dons beat Inverness on penalties in last season's final.
Scottish League Cup third-round draw
Dundee United v Dundee
Falkirk v Rangers or Inverness Caledonian Thistle
Ross County v Hibernian
Kilmarnock v St Johnstone
Aberdeen v Livingston
Partick Thistle v St Mirren
Celtic v Hearts
Hamilton Academical v Motherwell
Ties to be played on 23 and 24 September.