Re: Two ISPs setup: sometimes wrong source IP on one Interface

Axel Zöllich
Wed, 13 Nov 2013 11:47:00 -0000

> It''s not. Why don''t you simply have this?
>
> ppp0	0.0.0.0/0	bbb.142.152.192
> eth4	0.0.0.0/0	aaaa.117.77.218
>
> That way, any packet leaving either interface will always have the
> proper source IP.

I changed my configuration to:

masq:
ppp0    0.0.0.0/0               bbb.152.162.192
eth4    0.0.0.0/0               aaa.117.77.218

providers:
tcom    1       0x100   -               ppp0            -
balance=2       -
netco   2       0x200   -               eth4            aaa.117.77.217
balance=1       -

tcrules:
0x100:P 0.0.0.0/0
0x100   $FW
0x200:P -               aaa.117.77.202
0x200   $FW             aaa.117.77.202


but there are packets with source IP bbb.152.162.192 and destination
aaa.117.77.202 leaving eth4.

(by the way: is it packet or package?)