Both Terminals 1 and 2 have the same network of access roads, so driving here from Dublin city centre is essentially the same process.

M1 – Those driving on the M1 motorway should leave the highway at exit number 2 and follow the signs for Dublin Airport
Swords – Driving on the Dublin Road, come to the M1 roundabout and follow signs to the airport.
M50 – Take the M50 to the M1, then continue on to exit 2, following the signs for Dublin Airport.