I have 2 ISP on my network, let’s say A and B both have public ip address.
Now my config is the default route for all client goes to A (0.0.0.0/0 → gateway A) and using policy routing to make some client goes to B. It works perfectly.
The problem i am facing is my B public ip address couldn’t be ping from outside (internet), when i trace to my B public ip address, it stops on router before my router (my B gateway). But if i use a laptop directly plug into B gateway and set the gateway to B, it works perfectly (others could ping me from internet).
If i add a gateway on default route (0.0.0.0/0 → gateway of A and B), i could ping both my public IP address from both ISP. But it becomes ECMP (which i don’t want). I need policy routing to control my clients.
Seems like my problem is i could route the packet that comes from my client to any ISP (using policy routing) using my router, but i couldn’t control the packet that was generated by my router itself. Is there anyway that i could control packet that was generated by my router?
Regards,
Lim