Hi
I have a problem on my edge router. The scenario is I have 2 internet provider and I have BGP protocol with both of them.
Sometimes I want to advertise one /24 network from ISP1 to ISP2, for this issue, I should be able to move TX traffic from ISP1 to ISP2
I do this with mangle. here is the configuration of my mangle:
chain=prerouting action=mark-routing new-routing-mark=ISP2 passthrough=yes src-address=109.201.10.0/24
And here is the configuration of route:
ip route add dst-address=0.0.0.0/0 gateway=172.29.4.254 routing-mark=ISP2
My router also has a default route and here is the configuration:
ip route add dst-address=0.0.0.0/0 gateway=172.16.0.105 (this ip address belongs to ISP1)
The problem when I try to move TX traffic to ISP2, it doesn’t work and TX traffic is still on ISP1
It seems that the router could not understand the mangle and related ip route.
By the way I do this configuration on RB1100 AHx2
Does anyone have any idea about this problem?!
Regards