Holders Shamrock Rovers will host Cork City in the second round of the FAI Cup at the end of August.
The draw for the last 16 was made on Wednesday afternoon with the meeting of Rovers and Cork City the only all-Premier Division tie.
Dundalk, Cork City and Finn Harps were the three clubs to come through the first round, while the other 13 sides received a bye into the second round.
Last season's beaten finalists Dundalk will make the trip to First Division outfit Cobh Ramblers.
Bohemians will have home advantage against First Divison leaders Cabinteely.
Second Round draw
UCD v Sligo Rovers
Bray Wanderers v Finn Harps
Bohemians v Cabinteely
Shamrock Rovers v Cork City
Drogheda United v Derry City
Athlone Town v Wexford
Cobh Ramblers v Dundalk
Galway United v Shelbourne
The ties will take place the week ending August 30th.