Quantcast
Channel: SRX Services Gateway topics
Viewing all articles
Browse latest Browse all 3959

SRX PBR into a routing-instance

$
0
0

Hi All,

i have a routing-instance type virtual-router with 6 interfaces:

 

reth0.10

reth0.20

reth0.30

reth0.40

reth0.50

reth0.60

 

I have a lot of static routes using the reth0.60 as egress interface, but the ip next-hop is different.

 

I need that all traffic from 172.16.16.0/24 with destination 10.0.0.0/8 be routed to 10.43.7.4, instead use the next-hop 10.43.7.3. But only when the source address be 172.16.16.0/24 and destination traffic be 10.0.0.0/8.

 

The traffic shouldn´t be routed to the default-route table (inet.0).

 

Someone, know how i can deploy a FBF into a routing-instance (not the default inet.0)?

 

Follow the configuration that i tried, but didn´t worked:

 

edit policy-options policy-statement source-based-forwarding

set term 1 from source-address-filter 172.16.16.0/24 exact

set term 1 then next-hop 10.43.7.4

set term 1 then accept

 

set routing-instances MY-INSTANCE routing-options instance-import source-based-forwarding.

 

Tks,

João victor

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 3959


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