hello,
as you suggested the policy works but i have a strange routing. le me explain. what i expect is that when the source in the policy present itself on the egress interface it take only the next interface specified, but not always in this way.
for example
traceroute from the source ip:
1 172.26.3.9 0% 712 14.3ms 2.4 0.2 58.5 7.2
2 correct public ip 0% 712 0.3ms 0.5 0.2 24.7 1.8
3 x.x.x.x 0% 712 4.2ms 2.5 0.4 5.1 1.2
4 x.x.x.x 0% 712 24.8ms 23.5 21.3 76.7 22.8
5 x.x.x.x 84.. 712 timeout 23.6 23.1 34.8 1.5
6 x.x.x.x 0% 712 22.5ms 23 22.4 79.3 22.8
7 x.x.x.x 0% 712 22.6ms 24.7 22.5 124.8 25.9
8 x.x.x.x 0% 712 31.5ms 32 31.3 77.5 32.1
x.x.x.x
9 x.x.x.x 0% 712 45.3ms 43.1 34.5 104.2 42.5
x.x.x.x
10 x.x.x.x 0% 712 39.3ms 39.8 38.9 83.1 39.2
x.x.x.x
11 x.x.x.x 0% 712 38.6ms 40 38.5 139.3 39.5
x.x.x.x
12 100% 712 timeout
13 8.8.4.4 0% 711 38.9ms 39 38.6 107.1 38.1
this happens only if i have a route for the gateway i choose on the next-interface. if i don't have a specific route but only a default but with major cost(example)
0.0.0.0/0 *[Static/5] 4w1d 12:52:07
> to x.x.x.x via ae0.11
[BGP/170] 7w1d 19:49:46, localpref 100, from x.x.x.x
AS path: I, validation-state: unverified
> to x.x.x.x via ge-1/2/0.0
[BGP/170] 1d 00:32:50, MED 136, localpref 100, from x.x.x.x
AS path: xxxxI, validation-state: unverified
> to x.x.x.x via ge-1/1/0.0
the policy redirect me on the static default route instead of the 3rd(chosen on the filter).
what i need to achieve is that all traffic from source that i specified go only on ge-1/1/0.0 even if the route is not preferred.
let me know if something is not clear.
Thanks