I have the following topology
What I need is when the traffic sourcing from 172.16.2.X, the next hop is 10.50.1.25, otherwise, the next hop is via the default route,
set firewall family inet filter NAT-PBR term 1 from source-prefix-list net-172.16.2.0/24
set firewall family inet filter NAT-PBR term 1 then count nat-Traffic
set firewall family inet filter NAT-PBR term 1 then next-ip 10.50.1.25/32
set firewall family inet filter NAT-PBR term 1 then accept
set firewall family inet filter NAT-PBR term 2 then accept
set interfaces ge-0/0/6 family inet filter input NAT-PBR
When the traffic sources from 172.16.2.X, I can see the count increasing, but traffic still goes to the default.
Any ideas ?
thanks !!