Hi,
it is 1am and I just wasted 2hr of my life figuring out mangle/route setup after I migrated config between two routers. It worked on old router, it did not work on new router. After a while I figured that while I copied the config, somehow, I ended up with duplicate routing tables (not rules, just tables) After I realised what is going on, I deleted duplicates and corrected mangle rules and everything worked out.
Imagine it this way:
Mangle rule matches some traffic and sends it to table “haproxy”. The “haproxy” table should contain a route with a specific interface. It is in fact there, but in a different “haproxy” table. There are two of them. with exactly same name. Mangle references the first one, Route references the second one.
Finally, my question: Is there ANY reason to ever allow two routing tables of the same name? IMHO no. In CLI it is impossible to distinct between them when writing commands. In GUI it is also impossible, but at least admin can see there is something wrong.
I am asking to see if I should report it to support, or if I should return to school because I am missing something totally obvious.