The M8 motorway links Cork with Dublin.