Você pode usar a chave --interface
para cURL para direcionar qual interface ela usa, mas você precisará descobrir qual interface usar e passá-la como um parâmetro do seu script
--interface Perform an operation using a specified interface. You can enter interface name, IP address or host name. An example could look like:
curl --interface eth0:1 http://www.netscape.com/ If this option is used several times, the last one will be used.