The game will see 1,700 tickets handed over to Doncaster for the North Stand, with the game kicking off at 3pm on Saturday 2nd December.
Stags boss Peter Shirtliff said of the draw "The Cup draw is a good one, though we know how tough it will be.
"It's great to be at home and it should be packed here with it being local opposition."