Quantcast
Channel: All Routing posts
Viewing all articles
Browse latest Browse all 8688

Filter Based Forwading / Policy Based Routing on Locally Originated Traffic

$
0
0

Hello,

 

I have question regarding FBF/PBR. Is it possible to apply it to locally originated traffic, that is, traffic generated on the local device, or is it only applicable to transit traffic ?

 

Assuming the topology below. All routers are Junos 12.1 Olives. Not the best choice for features,  but it's the only option considering my resources. 

 

I have already managed to make FBF work in the typical case. I can make echo requests from J5's lo0 address 5.1.1.1/32 destined to J1 lo0 address 1.1.1.1/32 to go through J5 -> J3 -> J2 -> J1 path instead of the optimal J5 -> J3 -> J1 path, by applying a rib-groups/forwarding instance and inbound filters on J3. 

 

My question is, can I make the echo replies from J1 towards J5 take the same path through J2 instead of the shorter path through directly through J3 by tinkering with rib-groups, filters and instances on J1 ? 

 

So far I have not been able to do this despite trying different options. Looking up the FBF documentation on the Juniper website, I have not found any example on doing it on locally originated traffic. 

Filter Based Forwarding.JPG

About the topolgy above. J1/J2/J3 run OSPF advertising their locally connected routes, including loopbacks. J3 has static routes towards the loopbacks on J5, which it advertises into OSPF together with the direct link between J3 and J5. J5 has static routes towards J1,J2,J3.  So I have any-to-any connectivity in the topology. 


Viewing all articles
Browse latest Browse all 8688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>