No reason to suspect that they are not new drives, though most ship with a jumper already installed.
Drives should have their own jumpers. If putting both on the same ide channel, jumper the dvd as master (jumper placed vertically, on the far right set of pins - as seen from the rear of the drive) and the cd drive as slave (jumper vertical, middle set of pins). Generally, mount the dvd drive on top in the bays and use the end connector on the ribbon cable on it, the cd drive below it and the center connector on the ribbon cable for it. Both need a power connector and it is OK to use 2 from the same string from the psu.
Get the mb manual out if you need to, but replace the mb jumper where it came from.