1, two bgp peers, both are default route, isp1 gateway 192.168.0.1, isp2 gateway 192.168.1.1
2, advertise 2 range ip 10.10.0.0/24 ,10.10.1.0/24
3, Load sharing setup http://wiki.mikrotik.com/wiki/Manual:Simple_BGP_Multihoming , 10.10.0.0/24 via isp1
10.10.1.0/24 via isp2
4, mange route force outgoing packets over the same link as incoming
the problem is traceroute 10.10.0.0/24 ,10.10.1.0/24 from internet , The penultimate route alway is 192.168.0.2,
and the same quality when ping 10.10.0.1,10.10.1.1 , because they route out via the same default gateway for the router itself
is there any solution about polity route for the router itself?
Probably need to do some BGP local preference on the outgoing advertisements. Also, ensure you are NAT’ing to the correct subnet to the correct peer so that return traffic is always destined back through that peer.
Would need to see the mangle rules that are marking your traffic for the policy routing.
thanks for your response ,mangle polity route is working well for forward traffic, but traffic to router itself is out thru the default route without route-mange,such as traceroute ,the router need to responce the traceroute request use it’s default route,
the following are mange config
0 chain=prerouting action=accept dst-address-list=bgp