Real IP addresses removed.
viewtopic.php?p=773760&hilit=bgp+load+b ... rs#p773760 did not help since Mikrotik does not use two default routes.
viewtopic.php?p=503195&hilit=bgp+load+b ... rs#p503195 did not help since Mikrotik does not use two default routes.
viewtopic.php?p=614446&hilit=bgp+load+b ... rs#p614446 din not help.
viewtopic.php?p=852467&hilit=bgp+load+b ... rs#p852467 did not help.
Attached Network Diagrams:
1) DIAGRAM OF CURRENT PROBLEM
2)DIAGRAM OF REQUIRED SOLUTION.
I have two edge routers each with a BGP session to a different upstream provider, see diagram 1.
Upstream1 sends 0.0.0.0/0 to my IPE1.
I gave the route a local pref of 110.
IPE1 advertises the following to Upstream1:
10.10.0.0/22
10.10.1.0/24
10.10.2.0/24 Prepend 2
10.10.3.0/24 Prepend 2
Upstream2 sends 0.0.0.0/0 to my IPE2.
I gave the route a local pref of 100.
IPE2 advertises the following to Upstream2:
10.10.0.0/22
10.10.1.0/24 Prepend 2
10.10.2.0/24
10.10.3.0/24
Upstream1 is used for all outgoing traffick. (Higher Local Pref)
Upstream1 is used for incoming traffic for 10.10.1.0/24.
Upstream2 is used for incoming traffic for 10.10.2.0/24 and 10.10.3.0/24.
I am seeing two problems with incoming taffic for 10.10.2.0/24 and 10.10.3.0/24.
1) Traffic for 10.10.2.0/24 and 10.10.3.0/24. is coming in via upstream1/IPE1 and upstream2/IPE2 instead of upstream2/IPE2 only.
2) The bulk (say 80%) of the incoming traffic for 10.10.2.0/24 and 10.10.3.0/24 comes in via upstream1/IPE1.
10.10.1.0/24 Traffic is doing exactly what I want it to do, it uses upstream1/IPE1 for both outbound and inbound; and does not touch upstream2/IPE2 at all.
I am aware that since upstream1 is the default route for outgoing traffic, the "reply" traffic for 10.10.2.0/24 and 10.10.3.0/24, might return via upstream1.
Questions.
1) Any ideas why the inbound traffic for 10.10.2.0/24 and 10.10.3.0/24 comes in via both upstreams?
2) Does the reply traffic ignore the prepend and come back via the same interface/path it left out of?
NB!! Externally originated/initiated traffic destined to 10.10.2.0/24 and 10.10.3.0/24 correctly comes in via upstream2/IPE2.
Looking glasses and traceoutes show the correct information.