Re: [exim] Outgoing IP address

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jim Cheetham
Datum:  
To: exim-users
Betreff: Re: [exim] Outgoing IP address
On 05/11/10 05:44, Peter Thomassen wrote:
> Do you know the mechanism that decides which IP address to use, if the
> interface option is not given to the smtp transport? Of course, Linux
> decides that question, but do you know how this is done?


Sadly, not in detail .. generally it is the route table that determines
the outgoing interface, so you could start by looking at that. You will
probably find the 'ip route' command to be more flexible than the more
traditional 'route' one.

I'd hazard a guess that your two interfaces are both in the same
network, and that your route table defines a gateway host, but not a
specific interface. However, further investigation isn't really in scope
for this list, as you say. :-)

http://pontus.ullgren.com/view/Multiple_interfaces_on_the_same_subnet
might get you started.

-jim