The only way I've been able to solve that problem is to specify my source ip address in my default route:


default via 192.168.4.1 dev eth2 src 192.168.4.68

Otherwise it'll use the primary IP address, 192.168.4.68 in this example:

eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:40:f4:38:12:40 brd ff:ff:ff:ff:ff:ff
    inet 192.168.4.68/25 brd 192.168.4.127 scope global eth2
    inet 192.168.4.67/25 brd 192.168.4.127 scope global secondary eth2
    inet 192.168.4.70/25 brd 192.168.4.127 scope global secondary eth2

(Linux, of course).

-- Bryan

> My mail server has several ip addresses. I want qpsmtpd to bind to a
> specific one. How do I do this?
> I changed the file /config/IP and it still other hosts see another ip
> address connecting to them.
> Any ideas?



Reply via email to