{"id":1529,"date":"2020-12-14T18:41:02","date_gmt":"2020-12-14T15:41:02","guid":{"rendered":"https:\/\/galaxydata.ru\/community\/?p=1529"},"modified":"2025-07-21T03:19:09","modified_gmt":"2025-07-21T00:19:09","slug":"set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik","status":"publish","type":"post","link":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529","title":{"rendered":"Set BGP Local Pref through two providers, balancing &#8212; RouterOS (Mikrotik)"},"content":{"rendered":"<p>If you want most of your traffic to go through one provider. Then in default<br \/>\nyou need to set different Set BGP Local Pref<\/p>\n<p>RouterOS (Mikrotik)<\/p>\n<pre class=\"lang:sh decode:true \">\/routing filter\r\n\r\nadd action=accept address-family=ip chain=FROM-ONE-PROVIDER.RU comment=\"Accept DEFAULT\" prefix=0.0.0.0\/0 prefix-length=0 protocol=bgp set-bgp-local-pref=10\r\n\r\nadd action=accept address-family=ip chain=FROM-TWO-PROVIDER.RU comment=\"Accept DEFAULT\" prefix=0.0.0.0\/0 prefix-length=0 protocol=bgp set-bgp-local-pref=20<\/pre>\n<p>ONE-PROVIDER &#8212; set-bgp-local-pref=10<\/p>\n<p>TWO-PROVIDER.RU &#8212; set-bgp-local-pref=20<\/p>\n<p>Print ONE-PROVIDER<\/p>\n<pre class=\"lang:sh decode:true\">[g@router.galaxydata.ru] &gt; interface monitor-traffic vlan-5-one-bgp\r\n                         name:  vlan-1080-dataekb-bgp\r\n        rx-packets-per-second:                  2 232\r\n           rx-bits-per-second:                5.4Mbps\r\n     fp-rx-packets-per-second:                      0\r\n        fp-rx-bits-per-second:                   0bps\r\n          rx-drops-per-second:                      0\r\n         rx-errors-per-second:                      0\r\n        tx-packets-per-second:                      0\r\n           tx-bits-per-second:                   0bps\r\n     fp-tx-packets-per-second:                      0\r\n        fp-tx-bits-per-second:                   0bps\r\n          tx-drops-per-second:                      0\r\n    tx-queue-drops-per-second:                      0\r\n         tx-errors-per-second:                      0\r\n\r\n<\/pre>\n<p>Print TWO-PROVIDER<\/p>\n<pre class=\"lang:sh decode:true\">[g@router.galaxydata.ru] &gt; interface monitor-traffic vlan-6-two-bgp \r\n                         name:  vlan-3904-domru-bgp\r\n        rx-packets-per-second:               37 203\r\n           rx-bits-per-second:            102.3Mbps\r\n     fp-rx-packets-per-second:                    0\r\n        fp-rx-bits-per-second:                 0bps\r\n          rx-drops-per-second:                    0\r\n         rx-errors-per-second:                    0\r\n        tx-packets-per-second:               41 619\r\n           tx-bits-per-second:            164.3Mbps\r\n     fp-tx-packets-per-second:                    0\r\n        fp-tx-bits-per-second:                 0bps\r\n          tx-drops-per-second:                    0\r\n    tx-queue-drops-per-second:                    0\r\n         tx-errors-per-second:                    0\r\n<\/pre>\n<p>Router Filter Print<\/p>\n<pre class=\"lang:sh decode:true\">[g@r.galaxydata.ru] &gt; \/routing filter print where chain=FROM-ONE-PROVIDER\r\nFlags: X - disabled\r\n0 ;;; Accept DEFAULT\r\nchain=FROM-ONE-PROVIDER prefix=0.0.0.0\/0 prefix-length=0 protocol=bgp address-family=ip invert-match=no action=accept set-bgp-local-pref=10 set-bgp-prepend-path=\"\"<\/pre>\n<p>Router Filter Print<\/p>\n<pre class=\"lang:sh decode:true\">[g@r.galaxydata.ru] &gt; \/routing filter print where chain=FROM-TWO-PROVIDER\r\nFlags: X - disabled\r\n0 ;;; Accept DEFAULT\r\nchain=FROM-TWO-PROVIDER prefix=0.0.0.0\/0 prefix-length=0 protocol=bgp address-family=ip invert-match=no action=accept set-bgp-local-pref=20 set-bgp-prepend-path=\"\"<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want most of your traffic to go through one provider. Then in default you need to set different Set BGP Local Pref RouterOS (Mikrotik) \/routing filter add action=accept&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-1529","post","type-post","status-publish","format-standard","hentry","category-networking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.4 (Yoast SEO v25.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Set BGP Local Pref through two providers, balancing - RouterOS (Mikrotik) - GalaxyData Community<\/title>\n<meta name=\"description\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0430 Mikrotik RouterOS. \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u0430 (Local Preference) \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set BGP Local Pref through two providers, balancing - RouterOS (Mikrotik)\" \/>\n<meta property=\"og:description\" content=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0430 Mikrotik RouterOS. \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u0430 (Local Preference) \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\" \/>\n<meta property=\"og:site_name\" content=\"GalaxyData Community\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/vk.com\/galaxydata\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-14T15:41:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-21T00:19:09+00:00\" \/>\n<meta name=\"author\" content=\"Eduard Yamaltdinov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eduard Yamaltdinov\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#article\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\"},\"author\":{\"name\":\"Eduard Yamaltdinov\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\"},\"headline\":\"Set BGP Local Pref through two providers, balancing &#8212; RouterOS (Mikrotik)\",\"datePublished\":\"2020-12-14T15:41:02+00:00\",\"dateModified\":\"2025-07-21T00:19:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\"},\"wordCount\":55,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"articleSection\":[\"Networking\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\",\"url\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\",\"name\":\"Set BGP Local Pref through two providers, balancing - RouterOS (Mikrotik) - GalaxyData Community\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\"},\"datePublished\":\"2020-12-14T15:41:02+00:00\",\"dateModified\":\"2025-07-21T00:19:09+00:00\",\"description\":\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0430 Mikrotik RouterOS. \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u0430 (Local Preference) \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438.\",\"breadcrumb\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/galaxydata.ru\/community\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set BGP Local Pref through two providers, balancing &#8212; RouterOS (Mikrotik)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"name\":\"GalaxyData Community\",\"description\":\"Tutorial for Cloud VDS\",\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/galaxydata.ru\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\",\"name\":\"GalaxyData Community\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png\",\"width\":257,\"height\":44,\"caption\":\"GalaxyData Community\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/vk.com\/galaxydata\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\",\"name\":\"Eduard Yamaltdinov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"caption\":\"Eduard Yamaltdinov\"},\"description\":\"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.\",\"url\":\"https:\/\/galaxydata.ru\/community\/author\/galaxydata\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Set BGP Local Pref through two providers, balancing - RouterOS (Mikrotik) - GalaxyData Community","description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0430 Mikrotik RouterOS. \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u0430 (Local Preference) \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529","og_locale":"ru_RU","og_type":"article","og_title":"Set BGP Local Pref through two providers, balancing - RouterOS (Mikrotik)","og_description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0430 Mikrotik RouterOS. \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u0430 (Local Preference) \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438.","og_url":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529","og_site_name":"GalaxyData Community","article_publisher":"https:\/\/vk.com\/galaxydata","article_published_time":"2020-12-14T15:41:02+00:00","article_modified_time":"2025-07-21T00:19:09+00:00","author":"Eduard Yamaltdinov","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"Eduard Yamaltdinov","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"1 \u043c\u0438\u043d\u0443\u0442\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#article","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529"},"author":{"name":"Eduard Yamaltdinov","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b"},"headline":"Set BGP Local Pref through two providers, balancing &#8212; RouterOS (Mikrotik)","datePublished":"2020-12-14T15:41:02+00:00","dateModified":"2025-07-21T00:19:09+00:00","mainEntityOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529"},"wordCount":55,"commentCount":0,"publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"articleSection":["Networking"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#respond"]}]},{"@type":"WebPage","@id":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529","url":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529","name":"Set BGP Local Pref through two providers, balancing - RouterOS (Mikrotik) - GalaxyData Community","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/#website"},"datePublished":"2020-12-14T15:41:02+00:00","dateModified":"2025-07-21T00:19:09+00:00","description":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u0447\u0435\u0440\u0435\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432 \u043d\u0430 Mikrotik RouterOS. \u0417\u0430\u0434\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u0430 (Local Preference) \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u0432\u044b\u0448\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438.","breadcrumb":{"@id":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/galaxydata.ru\/community\/set-bgp-local-pref-through-two-providers-balancing-routeros-mikrotik-1529#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/galaxydata.ru\/community"},{"@type":"ListItem","position":2,"name":"Set BGP Local Pref through two providers, balancing &#8212; RouterOS (Mikrotik)"}]},{"@type":"WebSite","@id":"https:\/\/galaxydata.ru\/community\/#website","url":"https:\/\/galaxydata.ru\/community\/","name":"GalaxyData Community","description":"Tutorial for Cloud VDS","publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/galaxydata.ru\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/galaxydata.ru\/community\/#organization","name":"GalaxyData Community","url":"https:\/\/galaxydata.ru\/community\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png","width":257,"height":44,"caption":"GalaxyData Community"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/vk.com\/galaxydata"]},{"@type":"Person","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b","name":"Eduard Yamaltdinov","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","caption":"Eduard Yamaltdinov"},"description":"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.","url":"https:\/\/galaxydata.ru\/community\/author\/galaxydata"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/1529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/comments?post=1529"}],"version-history":[{"count":2,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/1529\/revisions"}],"predecessor-version":[{"id":1531,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/1529\/revisions\/1531"}],"wp:attachment":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/media?parent=1529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/categories?post=1529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/tags?post=1529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}