So above is my network layout, currently my setup is
lanA
uses wanA
for internet access under ISP 1
lanB
uses wanB
for internet access under ISP 2
wanA
and wanB
both have public wan IPs.
dual wan setup, lanA
using wanA
and lanB
using wanB
for internet access is achieved currently by mwan3, which is perfectly working, now my issue is the following...
When I have traffic going from lanA
-> wanB
IP (85.98.70.56) it doesn't route or masquerade the traffic using wanA
ip (85.98.69.55), when using traceroute
or mtr
, it seems like it's a direct connection instead of routing the packets through wanA's internet
$ mtr 85.98.70.56 -r -n
Start: 2024-12-29T02:45:34+0800
HOST: xxx-MS-7681 Loss% Snt Last Avg Best Wrst StDev
1.|-- 85.98.70.56 0.0% 10 0.1 0.2 0.1 0.2 0.0
my expectation is, it would produce the following route like as if it was masquerading and accessing wanB
through wanA
internet
$ mtr 85.98.70.56 -r -n
Start: 2024-12-29T02:45:34+0800
HOST: xxx-MS-7681 Loss% Snt Last Avg Best Wrst StDev
1.|-- 172.18.0.1 0.0% 10 0.1 0.2 0.1 0.2 0.0
... ISP routes and hops here inserted ...
xx.|-- 85.98.70.56 0.0% 10 0.1 0.2 0.1 0.2 0.0
note the "ISP routes" meaning it goes out of wanA internet to access wanB. Hope I can have guidance on this matter. Thank you!