Hi
I am usually quite sharp at solving these problems, but I simply cannot get around this one.
We have one RB2011
I have 13 Interfaces setup. 10 Physical LAN1-10, 1 Bridge (LAN 6 & 7) and 2 PPPoE.
LAN1 is connected to a 100/50 GPoN Fibre CPE that authenticates via PPPoE
PPPoE_1 uses a dynamic IP address, but we can turn on a static x.x.x.99 when we need it.
PPPoE_2 uses a static IP x.x.x.49 address.
PPPoE_1 is an uncapped account, but due to issues with Netflix and Playstore, we only use the Static IP when we need to complete a specific task. Then we go back to dynamic.
PPPoE_2 is a 20GB capped account that we use for a PBX only.
LAN2-5 and 8-10 are used for various segments on our network, and are required to use PPPoE_1.
LAN6-7 are for our PBX and Voip Phones and are on a Bridge brPBX. The IP Address range assigned to the bridge is 192.168.26.0/24.
I have Masquerading setup on both PPPoE and the Metric for PPPoE_1 is 1 and PPPoE_2 is 2. So all traffic defaults to PPPoE_1.
What I also did was setup NAT so that traffic coming in through x.x.x.49 points to the PBX. I can connect remote phones and also to the PBX GUI via this static IP, and we can make calls, but we have a small issue. The inbound packets are coming in through PPPoE_2 but then return to the client via PPPoE_1 which is causing hectic Jitter and Packet Loss of about 40-70% which makes call in audible on the client device.
So what I want to do is setup that any packets that come from brPBX need to go out PPPoE_2 and then everything else goes out PPPoE_1.
I have tried using routing tables, mangle, and NAT rules, but nothing seems to work in any way, or if it does have an effect it results in me driving out to the office to undo what I did as it kills all traffic.
Any ideas would welcome and appreciated.