2 ILL link and 1 IX LINk is configured in the BGP .from IX i am receiving 50k routes and from 2 ILL upstream i am receiving default route only .
according to me ,I want to manage the outbound traffic through the PBR but when i am configuring the PBR its working but in that case the outbound traffic is not going through the IX link which prefixes are already present in the routing table .But to avoid this problem i am using IP routing rules but in that case the traffic is going through the IX link but the traffic is not going through the iLL link which i have configured in PBR ,instead its going over another ILL link which is not configured in PBR.
+ in Routing FIlters, mark IX BGP routes with routing-mark=IX;
+ use Route Rules to lookup IX routes first; for example, if your routing marks for ILL are ISP1 and ISP2, do something like this:
Код: Выделить всё
/ip route rule add routing-mark=ISP1 action=lookup table=IX add routing-mark=ISP2 action=lookup table=IX