Hi Dan,
We booked flights with Qatar - Perth, Madrid, San Sebastián and return Santiago,Madrid,Perth on the one ticket. The internal flights in Spain are with Iberia.
It worked well and we caught a taxi from San Sebastián airport to Irun . Only a short walk but after such a long flight the taxi...