Mikrotik BGP Protocol configuration

HI,

I have an issue with mikrotik Rb-750 gigabyte, 5.11 v router board BGP configuration. My router using my both ISP connection for download and upload bandwidth while i monitor in interface but i want to use my 1st connection as primary cnnection and secondary mean 2nd isp connection as backup connection how can i prioritize my primary connection for upload/download traffic in my router and keep my 2nd ISP connection as backup.
mk2.png
mk1.png
mk.png

You should:

  1. Use DIFFERENT in- and out-filters for the peer1 and peer2
  2. Add a rule in peer2 in-filter lowering local-preference (for example - to 50)
  3. Add a rule in peer2 out-filter setting bgp-prepending (or, if the AS doesn’t accept the prepending, a special community that is accepted by the operator)
    (edit: ach, now I see that the peers belong to the same AS… Then you can try setting a MED in out-filter for peer2)

If you have 2 BGP sessions and you want to be the administrator and manage them - it would be nice to get some knowledge about BGP :slight_smile:.

I found this really helpful. It explains how to manipulate BGP based traffic:

https://ftp.apnic.net/meetings/22/docs/tut-routing-pres-bgp-bcp.pdf