There could be an all-Donegal tie as the winners of the first round tie between Shelbourne and Fanad United will host Letterkenny Rovers.
Holders Cork City have also been drawn away and will travel to Dublin to take on Shamrock Rovers.
Second round ties, to take place on the weekend of 17 November, are:
Shamrock Rovers v Cork City
Wexford Youths v Bray Wanderers
Longford Town or Athlone Town v Sligo Rovers
Salthill Devon v Derry City
Shelbourne v Fanad United or Letterkenny Rovers
Mervue United v Dundalk or Drogheda United
Cobh Ramblers v UCD
Waterford United v St Patrick’s Athletic.