Hi guys,
I'm trying to force our outgoing traffic to use one of our IP transit providers with higher priority (the one with gateway 192.168.yy.yy ), but I'm unable to do that and the router still select as active the other ISP (the one with gateway 186.148.xx.xx ):
[user@CCR X] > ip route print where dst-address in 198.38.124.0/24
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADb 198.38.124.0/24 186.148.xx.xx 20
1 Db 198.38.124.0/24 192.168.yy.yy 20
[mauro@CCR X] > tool traceroute 198.38.124.1
# ADDRESS LOSS SENT LAST AVG BEST WORST STD-DEV STATUS
1 186.148.xx.xx 0% 5 0.8ms 0.9 0.8 1.3 0.2
...
6 198.38.124.1 0% 4 125.1ms 125.1 124.9 125.2 0.1
Here are the filters I'm applying
This is the one I don't want to use as primary, as you can see I'm prepending it 5 times, set-bgp-local-pref to 1 and same thing with set-bgp-weight
47 chain=TIWS-Out prefix=190.zzz.zzz.zzz/24 invert-match=no action=accept set-bgp-weight=1 set-bgp-local-pref=1>
set-bgp-prepend=5 set-bgp-prepend-path=""
And the one I want to use I'm using a higher set-bgp-weight and a higher set-bgp-local-pref
18 chain=ISP2-Out prefix=190.zzz.zzz.zzz/24 invert-match=no action=accept set-bgp-weight=10
set-bgp-local-pref=100 set-bgp-prepend-path=""
I don't know what i'm doing wrong.
Please help!
Thanks,