Re: [exim] interface option in remote_smtp doesn't work

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: Kjetil Torgrim Homme
CC: exim-users, manwe
Subject: Re: [exim] interface option in remote_smtp doesn't work
Quoting Kjetil Torgrim Homme:

>> # ip a show eth0
>> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc htb qlen 1000
>>     link/ether 00:b0:d0:73:d5:94 brd ff:ff:ff:ff:ff:ff
>>     inet 80.53.26.122/29 scope global eth0
>>     inet 80.53.26.124/29 scope global eth0
> this looks very fishy to me.  122/29 and 124/29 are overlapping.  you
> should set your extra IP to /32.


There's nothing fishy about that, just two addresses in the same subnet.
I've been using this myself since many years (though with the old eth0:x
alias method) to run multiple services on one server and leave me the
option to move some of them to another server without caring about DNS
caching. I call it the "1 address per service" model.
I didn't test it, but changing the netmask of the second IP address to
/32 could prevent it from reaching the default gateway. It's not
necessary anyway.