Donegal will play Cavan in the preliminary round of the 2018 Ulster Senior Football Championship.
Declan Bonner's side will have home advantage in Ballybofey in the Ulster opener with the first weekend in May to be confirmed as the date in due course.
The sides last met in Ulster in the preliminary round in 2012.
Whoever wins will meet Derry in the last quarter final with the winners of that tie to meet Down or Antrim in the semi final.
The stand out tie of the quarters is the meeting of defending champions Tyrone and Monaghan.
Tyrone are going for three in a row while the Farney men haven't lifted the cup since 2015.
Former Donegal boss Rory Gallagher has returned to his native Fermanagh and will play in the quarter finals against Armagh.
The winner to meet Tyrone or Monaghan in the semi final.