Eurasia Sport Images/Getty Images
Barcelona will take on Ibiza in the third round of the Copa del Rey, while Real Madrid will face off against Unionistas Salamanca.
Atletico Madrid have been drawn against Cultural Leonesa, while holders Valencia will face Logrones.
The four Spanish Super Cup clubs were drawn against teams from Segunda Division B.
This season, only the semi-finals will be played over two legs, with the club in the lower tier of Spanish football at home in each tie. In games between clubs in the same division, the team drawn first are at home.