UPDATE: I have resolved my issue and have successfully configured my routing with failover.
UPDATE 2: As it turns out, PBR does require more than what the Brocade and other examples were showing. It was in the EdgeMax config file (not in their guide) that I found the missing piece. NAT rules for each ethX is needed! Here is the EdgeMax guide for anyone interested: https://community.ubnt.com/t5/EdgeMAX-Configuration-Examples/EdgeMAX-Policy-based-routing-source-address-based/ta-p/521923#Other_PBR_Examples
I have been trying to setup PBR in my test environment, I have done it with a few examples, one provided in another thread, and other examples by Brocade and other internet sites (one specifically done with the EdgeMax), but I can’t seem to get even a basic test to work. I can’t route anything from an internal network. I don’t know what is missing, because not one of the examples tells me what is a prerequisite for these configs to work.
My steps are as follows:
- set static route tables
- set interfaces
- set firewall object (one of the examples)
- set policy route
- apply policy to interface
Is there anything that I am missing? Do I need to do something else, to make PBR properly route my traffic?
I know for a fact that my internal interface is able to communicate with my test client, because I have gone back and tested with load-balancing and nat routing, and both work fine. But when I try PBR, it does not route the traffic. I even considered that maybe I needed a firewall setup on each interfaces, so I setup a firewall to allow all traffic, but this did not do anything either. So I am really lost here, I don’t know what is missing.
Anyone got some info on this?