{"id":196,"date":"2010-06-22T15:47:57","date_gmt":"2010-06-22T12:47:57","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=196"},"modified":"2024-08-22T09:51:50","modified_gmt":"2024-08-22T06:51:50","slug":"%d0%bd%d0%b0%d1%87%d0%b8%d0%bd%d0%b0%d0%b5%d0%bc-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d1%82%d1%8c-%d1%81-bgp","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=196","title":{"rendered":"\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 BGP"},"content":{"rendered":"<p><strong><em><span style=\"color: #008000;\">\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0430 18.07.2016<\/span><\/em><\/strong><\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438\u00a0<strong>BGP<\/strong>. \u041e\u043d \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u044f\u0445, \u0443 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432, \u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445, \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u043e\u0448\u0451\u043b \u0447\u0435\u0440\u0435\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e. \u0417\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<p><!--more--><\/p>\n<p><strong><span style=\"color: #ff0000;\">1) \u041f\u043e\u0434\u043d\u044f\u0442\u0438\u0435 bgp-\u0441\u0435\u0441\u0441\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 2-\u043c\u044f \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u043c\u0438.<\/span><\/strong><\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0442\u043a\u0443 &#8220;6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 <strong>AS<\/strong>&#8216;\u044b&#8221; \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u044b \u0434\u043e\u043b\u0436\u043d\u044b &#8220;\u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0432\u0438\u0434\u0435\u0442\u044c&#8221;.<\/p>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430\u00a0<strong>router1<\/strong> (<strong>ip=10.10.10.1<\/strong>, \u0431\u0443\u0434\u0435\u043c \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u044c\u00a0<strong>172.16.0.0\/24<\/strong>):<\/p>\n<p><code>router1#conf t<br \/>\nrouter1(config)#router bgp 1<br \/>\nrouter1(config-router)#neighbor 10.10.10.2 remote-as 2<br \/>\nrouter1(config-router)#network 172.16.0.0 mask 255.255.255.0<\/code><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u00a0<strong>router2<\/strong> \u0434\u0435\u043b\u0430\u0435\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0435 (\u0430 \u0437\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u043c \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u044c <strong>192.168.0.0\/24<\/strong>):<\/p>\n<p><code>router2#conf t<br \/>\nrouter2(config)#router bgp 2<br \/>\nrouter2(config-router)#neighbor 10.10.10.1 remote-as 1<br \/>\nrouter2(config-router)#network 192.168.0.0 mask 255.255.255.0<br \/>\n<\/code><br \/>\u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u0432 \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u00a0<strong>bgp<\/strong>:<\/p>\n<p><code>router1#sh ip bgp<br \/>\nBGP table version is 0, local router ID is 10.10.10.1<br \/>\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal<br \/>\nOrigin codes: i - IGP, e - EGP, ? - incomplete<\/code><\/p>\n<p><code>Network\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Hop\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Metric LocPrf Weight Path<br \/>\n*&gt; 192.168.0.0\/24\u00a0\u00a0 10.10.10.2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 2 i<br \/>\n*&gt; 172.16.0.0\/24\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<br \/>\n<\/code><br \/>\u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0439\u0434\u0451\u043c \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0442\u0430\u043c:<\/p>\n<p><code>router2#sh ip bgp<br \/>\nBGP table version is 0, local router ID is 10.10.10.2<br \/>\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal<br \/>\nOrigin codes: i - IGP, e - EGP, ? - incomplete<\/code><\/p>\n<p><code>Network\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Hop\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Metric LocPrf Weight Path<br \/>\n*&gt; 192.168.0.0\/24\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<br \/>\n*&gt; 172.16.0.0\/24\u00a0\u00a0\u00a0 10.10.10.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 1 i<br \/>\n<\/code><br \/>\u0415\u0441\u043b\u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0432\u044b \u043d\u0435 \u0432\u0438\u0434\u0438\u0442\u0435 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0441\u043e\u0441\u0435\u0434\u0435:<\/p>\n<p><code>#sh ip bgp nei IP_\u0430\u0434\u0440\u0435\u0441_\u0441\u043e\u0441\u0435\u0434\u0430<\/code><\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u0432\u044b\u0432\u043e\u0434\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430\u00a0<strong>BGP state<\/strong>, \u043e\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c\u00a0<strong>Established<\/strong>. \u0415\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435 &#8211; \u0437\u043d\u0430\u0447\u0438\u0442 \u0433\u0434\u0435-\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0430. \u0422\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u00a0<strong>Established<\/strong> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\/\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0430\u043d\u043e\u043d\u0441\u044b.<\/p>\n<p><strong><span style=\"color: #ff0000;\">2) \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432 \u043f\u0443\u0442\u0438.<\/span><\/strong><\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u0445\u043e\u0441\u0442\u0443, \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c. \u0415\u0441\u043b\u0438 \u043f\u0443\u0442\u0435\u0439 \u0434\u043e \u0445\u043e\u0441\u0442\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e, \u0442\u043e \u0440\u043e\u0443\u0442\u0435\u0440 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0432\u0435\u0441\u043e\u043c. \u0412\u0435\u0441 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0441\u0435\u0434\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b. \u041f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u00a0 <strong>32768<\/strong>, \u0430 \u0432\u0441\u0435\u043c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c <strong>0<\/strong>. \u0427\u0442\u043e \u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0435\u0441 \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a:<\/p>\n<p><code>router2#conf t<br \/>\nrouter2(config)#router bgp 2<br \/>\nrouter2(config-router)#neighbor 10.10.10.1 weight 1000<\/code><\/p>\n<p>\u042d\u0442\u0438\u043c \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0441\u043e\u0441\u0435\u0434\u0443 <strong>10.10.10.1<\/strong> \u0432\u0435\u0441 \u0432 <strong>1000<\/strong> \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435\u00a0<strong>router2<\/strong>. \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c (\u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u0435\u0442\u044c <strong>192.168.0.0\/24<\/strong> \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435\u00a0<strong>router1<\/strong>):<\/p>\n<p><code>router2# sh ip bgp<br \/>\nBGP table version is 0, local router ID is 10.10.10.2<br \/>\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal<br \/>\nOrigin codes: i - IGP, e - EGP, ? - incomplete<\/code><\/p>\n<p><code>Network\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Hop\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Metric LocPrf Weight Path<br \/>\n*&gt; 172.16.0.0\/24\u00a0\u00a0\u00a0 10.10.10.1 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2000 1 i<br \/>\n*\u00a0 192.168.0.0\u00a0\u00a0\u00a0\u00a0\u00a0 10.10.10.1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2000 1 i<br \/>\n*&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<\/code><\/p>\n<p>\u0412\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u043a \u0441\u0435\u0442\u0438 <strong>192.168.0.0<\/strong> \u0434\u0432\u0430: \u043e\u0434\u0438\u043d \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043e\u0434\u0438\u043d \u0447\u0435\u0440\u0435\u0437 <strong>10.10.10.1<\/strong>. \u0421\u043a\u043e\u0431\u043a\u0430 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043d\u0430\u0438\u043b\u0443\u0447\u0448\u0438\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442. \u041d\u0430\u0438\u043b\u0443\u0447\u0448\u0438\u043c \u0432\u044b\u0431\u0440\u0430\u043d \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439, \u0438\u0431\u043e \u0443 \u043d\u0435\u0433\u043e \u0432\u0435\u0441 \u0431\u043e\u043b\u044c\u0448\u0435. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0435\u0441, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 <strong>40000<\/strong> \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b:<\/p>\n<p><code>router2# conf t<br \/>\nrouter2(config)# router bgp 2<br \/>\nrouter2(config-router)# neighbor 10.10.10.1 weight 40000<\/code><\/p>\n<p><code>router2# sh ip bgp<br \/>\nBGP table version is 0, local router ID is 10.10.10.2<br \/>\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal<br \/>\nOrigin codes: i - IGP, e - EGP, ? - incomplete<\/code><\/p>\n<p><code>Network\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Hop\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Metric LocPrf Weight Path<br \/>\n*&gt; 172.16.0.0\/24\u00a0\u00a0\u00a0 10.0.3.33\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 40000 1 i<br \/>\n*&gt; 192.168.0.0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.3.33\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 40000 1 i<br \/>\n*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<\/code><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0430\u043d\u043e\u043d\u0441\u043e\u0432 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0440\u0430\u0437 3 \u043c\u0438\u043d\u0443\u0442\u044b (\u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443). \u0427\u0442\u043e \u0431\u044b \u043d\u0435 \u0436\u0434\u0430\u0442\u044c \u044d\u0442\u043e\u0433\u043e, \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u043c \u0430\u043d\u043e\u043d\u0441\u044b \u043e\u0442 \u0441\u043e\u0441\u0435\u0434\u0430 <strong>10.10.10.1<\/strong>:<\/p>\n<p><code>router2# clear ip bgp 10.10.10.1<\/code><\/p>\n<p><strong><span style=\"color: #ff0000;\">3) \u0421\u043f\u0438\u0441\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430.<\/span><\/strong><\/p>\n<p>\u0412 <strong>99%<\/strong> \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u0438\u0451\u043c \u0430\u043d\u043e\u043d\u0441\u043e\u0432. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u043e\u0442\u043e \u0432\u0441\u0435\u0445 \u0430\u043d\u043e\u043d\u0441\u044b \u043d\u0435\u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e! \u0422\u0430\u043a \u0436\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 \u0432\u0441\u0435\u043c, \u043a\u043e\u043c\u0443 \u043f\u043e\u043f\u0430\u043b\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0441\u043f\u0438\u0441\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u0418\u0445 2 \u0432\u0438\u0434\u0430: \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 <strong>AS<\/strong> \u0438 \u043f\u043e \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0443 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0431\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430.<\/p>\n<p><strong><em><span style=\"color: #ff6600;\">&#8211; \u043f\u043e \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430\u043c AS<\/span><\/em><\/strong><\/p>\n<p><code>ip as-path access-list &lt;\u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440&gt; permit &lt;\u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435&gt;<\/code><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435\u00a0<strong>65004<\/strong>, \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0438\u0434\u00a0<strong>^65004$<\/strong>. \u0412\u043c\u0435\u0441\u0442\u043e <strong>permit<\/strong> \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c <strong>deny<\/strong> &#8211; \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0438 \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c.<\/p>\n<p>\u042d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043b\u0438\u0448\u044c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u00a0<strong>bgp<\/strong>. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u043d\u0443\u0436\u043d\u043e \u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a \u043a\u0430\u043a\u0438\u043c-\u043d\u0438\u0431\u0443\u0434\u044c<strong> neighbor<\/strong>:<\/p>\n<p><code>neighbor &lt;\u0430\u0434\u0440\u0435\u0441 \u0443\u0437\u043b\u0430&gt; filter-list in\/out<\/code><\/p>\n<p>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,<\/p>\n<p><code>neighbor 10.0.3.38 filter-list 5 out<\/code><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0444\u0438\u043b\u044c\u0442\u0440 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c 5 \u043a \u0441\u043e\u0441\u0435\u0434\u0443 <strong>10.0.3.38<\/strong>, \u043f\u0440\u0438\u0447\u0451\u043c \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e <strong>out<\/strong> &#8211; \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0444\u0438\u043b\u044c\u0442\u0440 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c \u043f\u0430\u043a\u0435\u0442\u0430\u043c \u043e\u0442 \u043d\u0430\u0448\u0435\u0433\u043e\u00a0<strong>bgp<\/strong> \u043a &#8220;\u0441\u043e\u0441\u0435\u0434\u0443&#8221; <strong>10.0.3.38<\/strong>. \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u0432\u043e <strong>in<\/strong> \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><code>router bgp 1<br \/>\nbgp router-id 10.0.3.33<br \/>\nnetwork 172.16.0.0\/24<br \/>\nnetwork 192.168.0.0\/24<br \/>\nneighbor 10.0.3.38 remote-as 2<br \/>\nneighbor 10.0.3.38 weight 35000<br \/>\nneighbor 10.0.3.38 filter-list 5 out<br \/>\nneighbor 10.0.3.174 remote-as 3<br \/>\nneighbor 10.0.3.174 weight 45000<br \/>\n!<br \/>\nip as-path access-list 5 deny 2<\/code><\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u044b \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0435\u0442\u0438 \u0441\u043e\u0441\u0435\u0434\u0443 <strong>10.0.3.38<\/strong>.<\/p>\n<p><strong><em><span style=\"color: #ff6600;\">&#8211; \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0430\u043c \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439<\/span><\/em><\/strong><\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f:<\/p>\n<p><code>neighbor &lt;\u0430\u0434\u0440\u0435\u0441 \u0443\u0437\u043b\u0430&gt; route-map &lt;\u0438\u043c\u044f route-map&gt; in<br \/>\nroute-map &lt;\u0438\u043c\u044f route-map&gt; permit 10<br \/>\nmatch ip address prefix-list &lt;\u0438\u043c\u044f prefix-list&gt;<br \/>\nip prefix-list &lt;\u0438\u043c\u044f&gt; seq &lt;\u043d\u043e\u043c\u0435\u0440&gt; permit &lt;\u0430\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u0441\u0435\u0442\u0438&gt;<\/code><\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0451\u043c\u00a0<strong>ip prefix-list<\/strong>. \u042d\u0442\u043e \u0442\u0430\u043a \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u0430\u0432\u0438\u043b (\u043a\u0430\u043a \u0432 \u0444\u0430\u0439\u0435\u0440\u0432\u043e\u043b\u0435): \u0447\u0442\u043e-\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c, \u0447\u0442\u043e-\u0442\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c. \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u043c\u00a0<strong>route-map<\/strong>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0439\u00a0<strong>ip prefix-list<\/strong>. \u0417\u0434\u0435\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0451, \u0447\u0442\u043e \u0432\u044b \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u043b\u0438 &#8211; \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u0442\u0441\u044f! \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u044d\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u044f\u0432\u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0442\u044c (\u0430 \u043b\u0443\u0447\u0448\u0435 \u0438 \u044f\u0432\u043d\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0442\u044c) \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c\u044b\u0445 \u0438\u043b\u0438 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439. \u0418 \u0435\u0449\u0451 \u043e\u0434\u043d\u043e: \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0438\u043b\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u00a0<strong>route-map<\/strong>. \u0412\u00a0<strong>ip prefix-list<\/strong> \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u043f\u043e\u0434\u0441\u0435\u0442\u044c \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0434\u0430\u043d\u043d\u043e\u043c\u0443\u00a0<strong>prefix-list&#8217;y<\/strong>.<\/p>\n<p><em><strong><span style=\"color: #ff6600;\">\u041f\u0440\u0438\u043c\u0435\u0440 (\u0432\u0437\u044f\u0442 \u0441 \u0441\u0430\u0439\u0442\u0430 opennet.ru)<\/span><\/strong><\/em><\/p>\n<\/p>\n<p><em><span style=\"color: #ff6600;\"> \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 streamer.netup \u0432\u0432\u0435\u0434\u0435\u043c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043d\u0430<br \/>\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u0441\u0435\u0442\u0438 \u043e\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430 amalfi.netup. \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u043c \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c<br \/>\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0442\u044c 192.168.100.0\/24 \u0438 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c<br \/>amalfi.netup \u043d\u0430 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0439, \u0444\u0438\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 10.20.30.0\/24. \u0414\u043b\u044f<br \/>\u044d\u0442\u043e\u0433\u043e \u043d\u0430 streamer.netup \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b<br \/>\/etc\/quagga\/bgpd.conf \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">router bgp 65002<br \/>bgp router-id 10.1.2.8<br \/>network 172.16.100.0\/24<br \/>network 172.16.102.0\/24<br \/>network 172.16.103.0\/24<br \/>neighbor 10.1.2.4 remote-as 65001<br \/>neighbor 10.1.2.4 route-map AMALFI in<br \/>neighbor 172.16.102.2 remote-as 65003<br \/>neighbor 172.16.103.2 remote-as 65004<br \/>!<br \/>ip prefix-list AMALFI_IP_LIST seq 6 permit 192.168.100.0\/24<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">route-map AMALFI permit 10<br \/>match ip address prefix-list AMALFI_IP_LIST<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">\u041d\u0430 amalfi.netup \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \/etc\/quagga\/bgpd.conf \u0434\u043e\u0431\u0430\u0432\u0438\u043c<br \/>\u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0444\u0438\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 10.20.30.0\/24:<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">router bgp 65001<br \/>bgp router-id 10.1.2.4<br \/>network 192.168.100.0\/24<br \/>network 10.20.30.0\/24<br \/>neighbor 10.1.2.8 remote-as 65002<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a\u0438\u0435 \u0441\u0435\u0442\u0438 \u0431\u044b\u043b\u0438 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0441<br \/>amalfi.netup. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043d\u0430 streamer.netup:<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">streamer# show ip route bgp<br \/>Codes: K &#8211; kernel route, C &#8211; connected, S &#8211; static, R &#8211; RIP, O &#8211; OSPF,<br \/>I &#8211; ISIS, B &#8211; BGP, &gt; &#8211; selected route, * &#8211; FIB route<\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\"><span style=\"color: #ff6600;\">B&gt;* 172.16.101.0\/24 [20\/0] via 172.16.103.2, eth0, 00:02:20<br \/>B&gt;* 192.168.100.0\/24 [20\/0] via 10.1.2.4, eth0, 00:02:24<\/span><\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">\u041a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0444\u0438\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 10.20.30.0\/24 \u043d\u0435 \u043f\u043e\u043f\u0430\u043b\u0430 \u0432<br \/>\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0441\u0435\u0442\u0438 192.168.100.0\/24<br \/>\u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/span><\/em><\/p>\n<p><strong><span style=\"color: #ff0000;\">4) \u0418\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0443\u0434\u043b\u0438\u043d\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430.<\/span><\/strong><\/p>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0432\u0430\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043a\u0430\u043d\u0430\u043b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u0434\u043b\u0438\u043d\u044f\u044e\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442, \u043f\u043e\u0432\u044b\u0448\u0430\u044f \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0435\u0433\u043e &#8220;\u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c&#8221; \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0442\u0440\u0430\u0444\u0438\u043a \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0447\u0435\u0440\u0435\u0437\u00a0<strong>set as-path prepend<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u00a0<strong>route-map<\/strong>. \u041e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u0441\u043b\u043e\u0432\u0430\u00a0<strong>prepend<\/strong> \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 <strong>AS<\/strong>. \u041f\u043e\u043a\u0430\u0436\u0435\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441\u0435\u0442\u0438 <strong>192.168.0.0<\/strong>. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0434\u043e:<\/p>\n<p><code>bgpd# sh ip bgp<br \/>\nBGP table version is 0, local router ID is 10.0.3.33<br \/>\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,<br \/>\nr RIB-failure, S Stale, R Removed<br \/>\nOrigin codes: i - IGP, e - EGP, ? - incomplete<\/code><\/p>\n<p><code>Network\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Hop\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Metric LocPrf Weight Path<br \/>\n*&gt; 172.16.0.0\/24\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<br \/>\n*\u00a0 192.168.0.0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.3.38\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45000 2 i<br \/>\n*&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.3.174\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45000 3 i<br \/>\n*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<\/code><\/p>\n<p>\u0443\u0434\u043b\u0438\u043d\u043d\u044f\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442:<\/p>\n<p><code>router bgp 1<br \/>\nbgp router-id 10.0.3.33<br \/>\nnetwork 172.16.0.0\/24<br \/>\nnetwork 192.168.0.0\/24<br \/>\nneighbor 10.0.3.38 remote-as 2<br \/>\nneighbor 10.0.3.38 weight 45000<br \/>\nneighbor 10.0.3.38 route-map NEW in<br \/>\nneighbor 10.0.3.174 remote-as 3<br \/>\nneighbor 10.0.3.174 weight 45000<br \/>\n!<br \/>\nroute-map NEW permit 10<br \/>\nset as-path prepend 1 1 1 1<br \/>\n<\/code><br \/>\u041e\u0447\u0438\u0449\u0430\u0435\u043c \u0430\u043d\u043e\u043d\u0441\u044b \u043e\u0442 \u0441\u043e\u0441\u0435\u0434\u0430, \u0447\u0442\u043e \u0431\u044b \u0437\u0430\u043d\u043e\u0432\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<p><code>bgpd# clear ip bgp 10.0.3.174<br \/>\nbgpd# sh ip bgp<br \/>\nBGP table version is 0, local router ID is 10.0.3.33<br \/>\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,<br \/>\nr RIB-failure, S Stale, R Removed<br \/>\nOrigin codes: i - IGP, e - EGP, ? - incomplete<\/code><\/p>\n<p><code>Network\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Next Hop\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Metric LocPrf Weight Path<br \/>\n*&gt; 172.16.0.0\/24\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<br \/>\n*\u00a0 192.168.0.0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.3.174\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45000 1 1 1 1 3 i<br \/>\n*&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.0.3.38\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 45000 2 i<br \/>\n*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0.0.0.0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 32768 i<\/code><\/p>\n<p>\u0414\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043b\u044f \u0441\u0435\u0442\u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u043e\u0441\u0435\u0434\u0430 <strong>10.0.3.38<\/strong><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 <strong>prepand<\/strong> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043a\u0430\u043a \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 <a href=\"https:\/\/habrahabr.ru\/company\/cbs\/blog\/305480\/\" target=\"_blank\" rel=\"noopener\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0442\u0430\u0442\u044c\u0435\u0439<\/p>\n<p><em><span style=\"color: #ff6600;\"><strong><span style=\"color: #ff6600;\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435.<\/span><\/strong><br \/><\/span><\/em><\/p>\n<p><em><span style=\"color: #ff6600;\">BGP \u0432\u0441\u0435\u0433\u0434\u0430 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043e\u0434\u0438\u043d \u0438\u0437 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 &#8211; \u043a\u0430\u043a \u043d\u0430\u0438\u043b\u0443\u0447\u0448\u0438\u0439. \u041a\u043e\u0433\u0434\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432\u044b\u0431\u0440\u0430\u043d, BGP \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u0441\u0432\u043e\u0438\u043c neighbor&#8217;\u0430\u043c. \u0414\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u043d\u0430\u0438\u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 BGP \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0438:<\/span><\/em><\/p>\n<\/p>\n<p><em><span style=\"color: #ff6600;\">1. \u0415\u0441\u043b\u0438 \u043f\u0443\u0442\u044c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432 \u043f\u043e\u043b\u0435 next-hop, \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u044d\u0442\u043e\u0442 update \u0443\u0431\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<br \/>2. \u041b\u0443\u0447\u0448\u0438\u043c \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c weight;<br \/>3. \u0415\u0441\u043b\u0438 weight \u043f\u0443\u0442\u0435\u0439 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b, \u0442\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u0441 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0438\u043c lpref;<br \/>4. \u0415\u0441\u043b\u0438 weight \u0438 lpref \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b, \u0442\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 BGP \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0435. (\u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0430\u043c\u044b\u0439 \u043d\u0430\u0438\u043a\u0440\u0430\u0442\u0447\u0430\u0439\u0448\u0438\u0439 \u043f\u0443\u0442\u044c);<br \/>5. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043f\u0443\u0442\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 &#8220;\u0440\u043e\u0434\u0438\u043b\u0438\u0441\u044c&#8221; \u043d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0435, \u0442\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u0441 AS_path \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b;<br \/>6. \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0443\u0442\u0438 \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0443\u044e \u0434\u043b\u0438\u043d\u0443 (\u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e hop&#8217;\u043e\u0432, \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e), \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u0441 &#8220;lowest origin type&#8221;. \u0421\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e IGP &lt; EGP &lt; Incomplete.;<br \/>7. \u0415\u0441\u043b\u0438 Origin attr. code \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0443\u0442\u0435\u0439, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u0441 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u043c MED attr.;<br \/>8. \u0415\u0441\u043b\u0438 \u0438 MED \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u043f\u0443\u0442\u0435\u0439, \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f external path \u043f\u0435\u0440\u0435\u0434 internal path;<br \/>9. \u0415\u0441\u043b\u0438 \u043e\u043f\u044f\u0442\u044c \u0432\u0441\u0435 \u043f\u0443\u0442\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b, \u0442\u043e prefer the path through the closest IGP neighbor;<br \/>10. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0443\u0442\u044c \u0441 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u043c IP \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u0438\u0437 \u0442\u0435\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f by the BGP router ID.<\/span><\/em><\/p>\n<p><strong><span style=\"color: #ff0000;\">6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435 AS<\/span><\/strong><\/p>\n<p>\u0417\u0430\u043c\u0435\u0447\u0443 \u0441\u0440\u0430\u0437\u0443, \u0447\u0442\u043e \u043d\u043e\u043c\u0435\u0440\u0430 <strong>AS&#8217;\u043e\u0432<\/strong> \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a \u0432 5-\u0437\u043d\u0430\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u0442\u0430\u043a \u0438 \u0432 \u0444\u043e\u0440\u043c\u0435 \u0441 \u0442\u043e\u0447\u043a\u043e\u0439. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u0441 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 <strong>Cisco 7206<\/strong>:<\/p>\n<p><code>&lt;1-65535&gt; AS of remote neighbor<br \/>\n&lt;1.0-XX.YY&gt; 4 octets AS of remote neighbor<\/code><\/p>\n<p>\u0412 \u043f\u0435\u0440\u0438\u043e\u0434 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 5-\u0437\u043d\u0430\u0447\u043d\u044b\u0445 <strong>AS&#8217;\u043e\u0432<\/strong> \u0443\u0436\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c 6-\u0437\u043d\u0430\u0447\u043d\u044b\u0435. \u00a0\u0427\u0442\u043e \u0431\u044b \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c 6-\u0442\u0438 \u0437\u043d\u0430\u043a\u0438, \u043d\u0443\u0436\u043d\u043e \u0438\u0445 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 \u0441 \u0442\u043e\u0447\u043a\u043e\u0439. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u043a \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0442\u0430\u043a \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0430\u0439\u0442\u0430 <a href=\"http:\/\/labs.spritelink.net\/ascalc\" rel=\"nofollow\">http:\/\/labs.spritelink.net\/ascalc<\/a> . \u041e\u043f\u0438\u0448\u0435\u043c \u0442\u0430\u043a \u0436\u0435 \u0440\u0443\u0447\u043d\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 (\u0441\u0430\u043c \u0441\u043f\u043e\u0441\u043e\u0431 \u0432\u0437\u044f\u0442 \u0438\u0437 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 <strong>openent.ru<\/strong>):<\/p>\n<blockquote>\n<p><span style=\"color: #ff6600;\">\u0434\u0435\u043b\u0438\u043c \u043d\u043e\u043c\u0435\u0440 \u0432\u0430\u0448\u0435\u0433\u043e 6-\u0442\u0438 \u0437\u043d\u0430\u0447\u043d\u043e\u0433\u043e \u0410\u0441 ( 32 &#8211; \u0431\u0438\u0442 ) \u043d\u0430 65536 , \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e<br \/>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u043e \u0442\u043e\u0447\u043a\u0438, \u043e\u0441\u0442\u0430\u0442\u043e\u043a \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0447\u043a\u0438.<br \/>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440. 196925:65536=3<br \/>3*65536= 196608<br \/>196925-196608=317<br \/>\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c 3.317<\/span><\/p>\n<\/blockquote>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u043e\u0432\u044b\u0439 <strong>IOS<\/strong> \u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 6-\u0437\u043d\u0430\u043a\u0430 \u0432 \u043d\u0451\u043c \u0431\u0443\u0434\u0435\u0442. \u0412\u043e\u0442 \u041f\u0440\u0438\u043c\u0435\u0440 (<strong>cisco 7206<\/strong>):<\/p>\n<p><code>&lt;1-4294967295&gt;\u00a0 AS of remote neighbor<br \/>\n&lt;1.0-XX.YY&gt;\u00a0\u00a0\u00a0\u00a0 AS of remote neighbor<\/code><\/p>\n<p>\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0443 \u0441 \u0442\u043e\u0447\u043a\u043e\u0439 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p><strong><span style=\"color: #ff0000;\">5) \u041f\u0440\u043e\u0447\u0438\u0435 \u043c\u0435\u043b\u043e\u0447\u0438.<\/span><\/strong><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u041f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<\/span><\/em><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c, \u0447\u0442\u043e \u0431\u044b \u0441\u0435\u0441\u0441\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u0430\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443<strong>\u00a0update-source<\/strong>:<\/p>\n<p><code>neighbor 172.16.1.2 update-source Loopback1<\/code><\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430\u00a0<strong>update-source<\/strong>\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0447\u0435\u0442\u043a\u043e \u0437\u043d\u0430\u043b \u0441 \u043a\u0430\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0435\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c BGP \u0441\u0435\u0441\u0441\u0438\u044e.<\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u0430\u043d\u043e\u043d\u0441 \u0441\u0435\u0442\u0435\u0439 \u0438\u0437 BGP \u0432 OSPF.<\/span><\/em><\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435 \u0448\u0430\u0433\u0438:<\/p>\n<p><strong><span style=\"color: #008000;\">\u0432 OSPF:<\/span><\/strong><\/p>\n<p>&#8211; <code>redistribute bgp<\/code><\/p>\n<p><strong><span style=\"color: #008000;\">\u0432 BGP:<\/span><\/strong><\/p>\n<p>&#8211; <code>bgp redistribute-internal<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">&#8211; \u0414\u0430\u043c\u043f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430<\/span><\/em><\/p>\n<p><code>gate-BGP# configure t<br \/>\ngate-BGP(config)# dump bgp ?<br \/>\nall Dump all BGP packets<br \/>\nroutes-mrt Dump whole BGP routing table<br \/>\nupdates Dump BGP updates only<\/code><\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/p>\n<p><code>dump bgp updates \/path\/to\/bgpdata\/%Y-%m\/updates.%F.%H%M 15m<\/code><\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/bitbucket.org\/ripencc\/bgpdump\/wiki\/Home\" target=\"_blank\" rel=\"noopener\">bgpdump<\/a>.<\/p>\n<p><strong><span style=\"color: #ff0000;\">\u0411\u043e\u043d\u0443\u0441.<\/span><\/strong><\/p>\n<p>\u0415\u0441\u0442\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e <strong>bgp<\/strong> (\u0441\u0435\u0442\u044f\u0445, \u043f\u0438\u0440\u0430\u0445, \u0438 \u0442.\u0434.), \u043f\u0440\u0438\u0447\u0451\u043c \u0437\u0430\u0439\u0442\u0438 \u0442\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435\u043c.\u00a0\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043d\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b 2 \u0438\u0437 \u043d\u0438\u0445:<\/p>\n<p><strong><em><span style=\"color: #ff6600;\"> &#8211; Oregon Exchange BGP Route Viewer<\/span><\/em><\/strong><\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c, \u0437\u0430\u0439\u0434\u0451\u043c <strong>telnet&#8217;\u043e\u043c<\/strong> \u043d\u0430 \u0445\u043e\u0441\u0442 <strong>route-views.oregon-ix.net<\/strong> (\u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 <strong>ip=128.223.51.103<\/strong>):<\/p>\n<p><code>$telnet route-views.oregon-ix.net<br \/>\nTrying 128.223.51.103...<br \/>\nConnected to route-views.oregon-ix.net.<br \/>\nEscape character is '^]'.<br \/>\n**********************************************************************<br \/>\nOregon Exchange BGP Route Viewer<br \/>\nroute-views.oregon-ix.net \/ route-views.routeviews.org<br \/>\nroute views data is archived on http:\/\/archive.routeviews.org<br \/>\nThis hardware is part of a grant from Cisco Systems.<br \/>\nPlease contact help@routeviews.org if you have questions or<br \/>\ncomments about this service, its use, or if you might be able to<br \/>\ncontribute your view.<br \/>\nThis router has views of the full routing tables from several ASes.<br \/>\nThe list of ASes is documented under \"Current Participants\" on<br \/>\nhttp:\/\/www.routeviews.org\/.<br \/>\n**************<br \/>\nroute-views.routeviews.org is now using AAA for logins. \u00a0Login with<br \/>\nusername \"rviews\". \u00a0See http:\/\/routeviews.org\/aaa.html<br \/>\n**********************************************************************<br \/>\nUser Access Verification<br \/>\nUsername: rviews<br \/>\nroute-views&gt;sh ip bgp summ<br \/>\nBGP router identifier 128.223.51.103, local AS number 6447<br \/>\nBGP table version is 1967978231, main routing table version 1967978231<br \/>\n377647 network entries using 49849404 bytes of memory<br \/>\n11848717 path entries using 616133284 bytes of memory<br \/>\n1992690\/68287 BGP path\/bestpath attribute entries using 334771920 bytes of memory<br \/>\n1765106 BGP AS-PATH entries using 69691248 bytes of memory<br \/>\n41824 BGP community entries using 3070930 bytes of memory<br \/>\n102 BGP extended community entries using 7636 bytes of memory<br \/>\n0 BGP route-map cache entries using 0 bytes of memory<br \/>\n0 BGP filter-list cache entries using 0 bytes of memory<br \/>\nBGP using 1073524422 total bytes of memory<br \/>\nDampening enabled. 2444 history paths, 7518 dampened paths<br \/>\nBGP activity 1805401\/1417859 prefixes, 263896316\/251990739 paths, scan interval 60 secs<br \/>\nNeighbor \u00a0 \u00a0 \u00a0 \u00a0V \u00a0 \u00a0 \u00a0 \u00a0 \u00a0AS MsgRcvd MsgSent \u00a0 TblVer \u00a0InQ OutQ Up\/Down \u00a0State\/PfxRcd<br \/>\n4.69.184.193 \u00a0 \u00a04 \u00a0 \u00a0 \u00a0 3356 31637763 \u00a0400843 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 19w2d \u00a0 \u00a0 \u00a0342506<br \/>\n12.0.1.63 \u00a0 \u00a0 \u00a0 4 \u00a0 \u00a0 \u00a0 7018 43855030 \u00a0241421 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 18w4d \u00a0 \u00a0 \u00a0343339<br \/>\n64.71.255.61 \u00a0 \u00a04 \u00a0 \u00a0 \u00a0 \u00a0812 30473083 \u00a0398777 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 1d07h \u00a0 \u00a0 \u00a0344459<br \/>\n64.125.0.137 \u00a0 \u00a04 \u00a0 \u00a0 \u00a0 6461 \u00a0 \u00a0 \u00a0 0 \u00a0 \u00a0 \u00a0 0 \u00a0 \u00a0 \u00a0 \u00a00 \u00a0 \u00a00 \u00a0 \u00a00 never \u00a0 \u00a0Active<br \/>\n65.106.7.139 \u00a0 \u00a04 \u00a0 \u00a0 \u00a0 2828 16688405 \u00a0400717 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 17w0d \u00a0 \u00a0 \u00a0343788<br \/>\n66.59.190.221 \u00a0 4 \u00a0 \u00a0 \u00a0 6539 11957001 \u00a0400799 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 1d07h \u00a0 \u00a0 \u00a0344566<br \/>\n66.110.0.124 \u00a0 \u00a04 \u00a0 \u00a0 \u00a0 6453 21014083 1716252 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 2w6d \u00a0 \u00a0 \u00a0 342743<br \/>\n66.185.128.48 \u00a0 4 \u00a0 \u00a0 \u00a0 1668 21620316 \u00a0958809 1967978231 \u00a0 \u00a00 \u00a0 \u00a00 7w2d \u00a0 \u00a0 \u00a0 343108<\/code><\/p>\n<p><strong><em><span style=\"color: #ff6600;\">&#8211; AT&amp;T IP Services Route Monitor<\/span><\/em><\/strong><\/p>\n<p>\u0427\u0442\u043e \u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c, \u0437\u0430\u0439\u0434\u0451\u043c\u00a0<strong>telnet&#8217;\u043e\u043c<\/strong> \u043d\u0430 \u0445\u043e\u0441\u0442 <strong>route-server.ip.att.net<\/strong> (\u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439\u00a0<strong>ip=12.0.1.28<\/strong>):<\/p>\n<p><code>$ telnet route-server.ip.att.net<br \/>\nTrying 12.0.1.28...<br \/>\nConnected to route-server.cbbtier3.att.net.<br \/>\nEscape character is '^]'.<br \/>\n-------------- route-server.ip.att.net ---------------<br \/>\n--------- \u00a0AT&amp;T IP Services Route Monitor \u00a0-----------<br \/>\nThe information available through route-server.ip.att.net is offered<br \/>\nby AT&amp;T's Internet engineering organization to the Internet community.<br \/>\nThis router has the global routing table view from each of the above<br \/>\nrouters, providing a glimpse to the Internet routing table from the<br \/>\nAT&amp;T network's perspective.<br \/>\nThis router maintains eBGP peerings with customer-facing routers<br \/>\nthroughout the AT&amp;T IP Services Backbone:<br \/>\n12.123.21.243 \u00a0 Atlanta, GA \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 12.123.133.124 \u00a0Austin, TX<br \/>\n12.123.41.250 \u00a0 Cambridge, MA \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 12.123.5.240 \u00a0 \u00a0Chicago,IL<br \/>\n12.123.17.244 \u00a0 Dallas, TX \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a012.123.139.124 \u00a0Detroit, MI<br \/>\n12.123.37.250 \u00a0 Denver, CO \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a012.123.134.124 \u00a0Houston, TX<br \/>\n12.123.29.249 \u00a0 Los Angeles, CA \u00a0 \u00a0 \u00a0 \u00a0 12.123.1.236 \u00a0 \u00a0New York, NY<br \/>\n12.123.33.249 \u00a0 Orlando,FL \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a012.123.137.124 \u00a0Philadelphia, PA<br \/>\n12.123.142.124 \u00a0Phoenix, AZ \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 12.123.145.124 \u00a0San Diego, CA<br \/>\n12.123.13.241 \u00a0 San Francisco, CA \u00a0 \u00a0 \u00a0 12.123.25.245 \u00a0 St. Louis, MO<br \/>\n12.123.45.252 \u00a0 Seattle, WA \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 12.123.9.241 \u00a0 \u00a0Washington, DC<br \/>\n*** Please Note:<br \/>\nPing and traceroute delay figures measured with this box are unreliable,<br \/>\ndue to the high CPU load this box experiences when complicated \"show\" commands<br \/>\nare being executed.<br \/>\nFor questions about this route-server, send email to: jayb@att.com<br \/>\n*** route-server.ip.att.net now uses AAA for logins. \u00a0Login with<br \/>\nusername \"rviews\".<br \/>\nUser Access Verification<br \/>\nUsername: Kerberos: No default realm defined for Kerberos!<br \/>\nrviews<br \/>\nroute-server&gt;sh ip bgp summ<br \/>\nBGP router identifier 12.0.1.28, local AS number 65000<br \/>\nBGP table version is 34820132, main routing table version 34820132<br \/>\n344917 network entries using 41734957 bytes of memory<br \/>\n6331570 path entries using 329241640 bytes of memory<br \/>\n428214\/58941 BGP path\/bestpath attribute entries using 59949960 bytes of memory<br \/>\n84247 BGP AS-PATH entries using 2208236 bytes of memory<br \/>\n144 BGP community entries using 3456 bytes of memory<br \/>\n0 BGP route-map cache entries using 0 bytes of memory<br \/>\n0 BGP filter-list cache entries using 0 bytes of memory<br \/>\nBGP using 433138249 total bytes of memory<br \/>\nDampening enabled. 3042 history paths, 5269 dampened paths<br \/>\nBGP activity 3424190\/3079272 prefixes, 87924279\/81592707 paths, scan interval 60 secs<\/code><\/p>\n<p><code>Neighbor \u00a0 \u00a0 \u00a0 \u00a0V \u00a0 \u00a0AS MsgRcvd MsgSent \u00a0 TblVer \u00a0InQ OutQ Up\/Down \u00a0State\/PfxRcd<br \/>\n12.122.83.91 \u00a0 \u00a04 \u00a07018 5031746 \u00a0610264 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0 61687<br \/>\n12.122.125.4 \u00a0 \u00a04 \u00a07018 5403897 1206708 34820134 \u00a0 \u00a00 \u00a0 \u00a00 1w3d \u00a0 \u00a0 \u00a0 \u00a061635<br \/>\n12.123.1.236 \u00a0 \u00a04 \u00a07018 25728608 \u00a0610282 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344731<br \/>\n12.123.5.240 \u00a0 \u00a04 \u00a07018 23957223 \u00a0610283 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344732<br \/>\n12.123.9.241 \u00a0 \u00a04 \u00a07018 24267295 \u00a0610284 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.13.241 \u00a0 4 \u00a07018 24155883 \u00a0610245 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.17.244 \u00a0 4 \u00a07018 23712510 \u00a0610263 34820134 \u00a0 \u00a00 \u00a0 \u00a00 16w4d \u00a0 \u00a0 \u00a0344735<br \/>\n12.123.21.243 \u00a0 4 \u00a07018 23363661 \u00a0610281 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.25.245 \u00a0 4 \u00a07018 24161791 \u00a0610281 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.29.249 \u00a0 4 \u00a07018 23294792 \u00a0610266 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344735<br \/>\n12.123.33.249 \u00a0 4 \u00a07018 25163041 \u00a0610265 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344736<br \/>\n12.123.37.250 \u00a0 4 \u00a07018 28395263 \u00a0610292 34820134 \u00a0 \u00a00 \u00a0 \u00a00 16w4d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.41.250 \u00a0 4 \u00a07018 25833588 \u00a0610277 34820134 \u00a0 \u00a00 \u00a0 \u00a00 16w4d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.45.252 \u00a0 4 \u00a07018 25224034 \u00a0610265 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344732<br \/>\n12.123.133.124 \u00a04 \u00a07018 23947694 \u00a0610260 34820134 \u00a0 \u00a00 \u00a0 \u00a00 6w5d \u00a0 \u00a0 \u00a0 344733<br \/>\n12.123.134.124 \u00a04 \u00a07018 24210289 \u00a0610274 34820134 \u00a0 \u00a00 \u00a0 \u00a00 16w4d \u00a0 \u00a0 \u00a0344731<br \/>\n12.123.137.124 \u00a04 \u00a07018 30222641 \u00a0610282 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344732<br \/>\n12.123.139.124 \u00a04 \u00a07018 28444747 \u00a0610278 34820134 \u00a0 \u00a00 \u00a0 \u00a00 10w3d \u00a0 \u00a0 \u00a0344733<br \/>\n12.123.142.124 \u00a04 \u00a07018 24189380 \u00a0610281 34820134 \u00a0 \u00a00 \u00a0 \u00a00 13w6d \u00a0 \u00a0 \u00a0344734<br \/>\n12.123.145.124 \u00a04 \u00a07018 24336352 \u00a0610136 34820134 \u00a0 \u00a00 \u00a0 \u00a00 8w3d \u00a0 \u00a0 \u00a0 344734<\/code><\/p>\n\n\n<p>\u0422\u0430\u043a\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0435\u0449\u0451 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 <strong>looking glass<\/strong>. \u0412\u043e\u0442 \u0435\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437 \u043d\u0438\u0445:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>telnet route\u2010server.he.net<\/li>\n\n\n\n<li><a href=\"https:\/\/lg.telia.net\">https:\/\/lg.telia.net<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/lg.he.net\">https:\/\/lg.he.net<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/lg.retn.net\">https:\/\/lg.retn.net<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0430 18.07.2016 \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438\u00a0BGP. \u041e\u043d \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u044f\u0445, \u0443 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432. \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432, \u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445, \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u043e\u0448\u0451\u043b \u0447\u0435\u0440\u0435\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e. \u0417\u0434\u0435\u0441\u044c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196"}],"version-history":[{"count":15,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":6430,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/6430"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}