Rangers to face Ian Murray's Dumbarton in Scottish Cup third round
Championship rivals will meet at the start of November.
Rangers have been drawn to face Dumbarton in the third round of the Scottish Cup.
The Championship pair will meet on the weekend of November 1 at the Bet Butler Stadium.
Billy Connolly and Campbell Ogilvie helped make the draw at Edinburgh University.
Hurlford United will host Stirling Albion while Edinburgh City will take on Brora Rangers.
Dunfermline will play League 2 side East Stirlingshire with Ayr United welcoming Alloa Athletic while Raith Rovers play Junior outfit Linlithgow Rose.
Barry Ferguson's Clyde will meet the winners of the second round tie between Spartans and East Kilbride FC.
East Fife vs Berwick Rangers
Forfar Athletic vs Cowdenbeath
Edinburgh City vs Brora Rangers
Stenhousemuir vs Brechin City
Hurlford United vs Stirling Albion
Arbroath/Montrose vs Nairn County
Elgin City/Forres Mechanics vs Bo'ness United
Ayr United vs Alloa Athletic
Spartans/East Kilbride vs Clyde
Peterhead vs Stranraer
Dumbarton vs Rangers
Queen's Park vs Albion Rovers
Greenock Morton vs Airdrieonians
Annan Athletic vs Livingston
East Stirlingshire vs Dunfermline Athletic
Linlithgow Rose vs Raith Rovers