Posh to host Doncaster Rovers or Accrington Stanley should they overcome Salford City in the first round replay.
Peterborough United will welcome either Doncaster Rovers or Accrington Stanley to the Weston Homes Stadium in the second round of the Emirates FA Cup should they overcome Salford City in the first round replay at the Peninsula Stadium.
The draw was made on Sunday afternoon and could pit Darren Ferguson against Grant McCann if both sides win their replays.
Full details of the tie will be made when the replay is concluded.