{"id":186284,"date":"2013-07-11T05:16:03","date_gmt":"2013-07-11T01:16:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=186284"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=186284","title":{"rendered":"<span class=\"post_title\">Mikrotik, 3 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430, \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u0444\u0438\u043a\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0441\u0442 \u043c\u0435\u043d\u044f \u0441 \u043f\u043e\u0434\u0432\u0438\u0433\u043d\u0443\u043b \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 <a href=\"http:\/\/habrahabr.ru\/qa\/38801\/\">habrahabr.ru\/qa\/38801\/<\/a><br \/>  \u0422\u0435\u043c \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0418 \u0442\u0430\u043a \u0434\u0430\u043d\u043e:<br \/>  1 \u043f\u043e\u0440\u0442 \u2014 \u041f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 1<br \/>  2 \u043f\u043e\u0440\u0442 \u2014 \u041f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 2<br \/>  3 \u043f\u043e\u0440\u0442 \u2014 \u041f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 3 (\u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0439)<br \/>  4 \u043f\u043e\u0440\u0442 \u2014 \u0421\u0435\u0442\u044c 1 192.168.101.0<br \/>  5 \u043f\u043e\u0440\u0442 \u2014 \u0421\u0435\u0442\u044c 2 192.168.102.0<br \/>  \u0412\u043e\u043f\u0440\u043e\u0441:  <\/p>\n<ul>\n<li>\u041d\u0430 4 \u043f\u043e\u0440\u0442\u0443 \u0441\u0435\u0442\u044c, \u0441\u043e \u0441\u0432\u043e\u0438\u043c DHCP \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043d\u0430 MikroTik, \u0432 \u0438\u043d\u0435\u0442 \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 1.<\/li>\n<li>\u041d\u0430 5 \u043f\u043e\u0440\u0442\u0443 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u0442\u044c \u0441\u043e \u0441\u0432\u043e\u0438\u043c DHCP \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0438 \u0432 \u0438\u043d\u0435\u0442 \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0445\u043e\u0434\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 2.<\/li>\n<li>3 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u043c, \u0435\u0441\u043b\u0438 1 \u0438\u043b\u0438 2 \u043e\u0442\u043a\u0430\u0436\u0435\u0442, MikroTik \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u043d\u0435\u0442 \u043d\u0430 \u043d\u0435\u0433\u043e, \u043d\u0443 \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u043e\u0442\u043e\u043c \u0432\u0441\u0435 \u043d\u0430 \u043c\u0435\u0441\u0442\u043e \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u043d\u0430\u043b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f.<\/li>\n<\/ul>\n<p>  \u041e\u0442\u0441\u044e\u0434\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0430\u0436\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440, \u0442\u0440\u0430\u0444\u0438\u043a \u0441 4 \u043f\u043e\u0440\u0442\u0430 \u0433\u043d\u0430\u0442\u044c \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0438\u043b\u0438 \u0441\u0440\u0430\u0437\u0443 \u0432 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e.<br \/>  \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u0443 \u043d\u0430\u0441 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0442\u0440\u0430\u0444\u0438\u043a \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c.<br \/>  \u0418 \u0442\u0430\u043a \u0432\u043e\u0442 \u043d\u0430\u0448\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/d19\/c0f\/566\/d19c0f566010b3899345f4bec9284fc7.png\"\/><br \/>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0448\u0438 IP \u0430\u0434\u0440\u0435\u0441\u0430 <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2ad\/62f\/82a\/2ad62f82ae7797bcf3544897cb841e8a.png\"\/><\/p>\n<p>  \u0418 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0448\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438<br \/>  \u0417\u0434\u0435\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f, \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0441 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430.<br \/>  \u041f\u0435\u0440\u0432\u044b\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043c\u043d\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0441\u0430\u043c MikroTik.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/fba\/d72\/0a5\/fbad720a5dd9c1fdf9e011e85565c27c.png\"\/><br \/>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451. \u041d\u0430\u0448 MikroTik \u0433\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0442\u043e\u043d\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435.<\/p>\n<p>  \u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u044d\u0442\u0430\u043f\u0435 \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043c \u043e\u0442\u0437\u044b\u0432\u0447\u0438\u0432\u043e\u0441\u0442\u044c MikroTik \u0441\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432.<\/p>\n<h5>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043c \u043c\u0430\u0441\u043a\u0430\u0440\u0430\u0434 \u0434\u043b\u044f \u0432\u0441\u0435 \u0442\u0440\u0451\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432.<\/h5>\n<p>  <\/p>\n<pre><code class=\"bash\">[admin@kirilka] \/ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade comment=&quot;ISP 1&quot; [admin@kirilka] \/ip firewall nat add chain=srcnat out-interface=ether2 action=masquerade comment=&quot;ISP 2&quot; [admin@kirilka] \/ip firewall nat add chain=srcnat out-interface=ether3 action=masquerade comment=&quot;ISP 3&quot; <\/code><\/pre>\n<h5>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 Mangle<\/h5>\n<p>  \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u043d\u0430 MikroTik \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0432\u0441\u0435\u0445 \u0442\u0440\u0451\u0445 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432.<br \/>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u043b\u043e\u0432\u0438\u0442\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043b\u044f \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043a\u0443 \u0432 \u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0448\u043b\u043e.<\/p>\n<pre><code class=\"bash\">[admin@kirilka] \/ip firewall mangle&gt; print Flags: X - disabled, I - invalid, D - dynamic  0   chain=input action=mark-connection new-connection-mark=ISP 1 -&gt; Input passthrough=no dst-address=172.25.25.247  in-interface=ether1  1   chain=output action=mark-routing new-routing-mark=ISP 1 passthrough=no connection-mark=ISP 1 -&gt; Input  2   chain=input action=mark-connection new-connection-mark=ISP 2 -&gt; Input passthrough=no dst-address=192.168.99.2  in-interface=ether2  3   chain=output action=mark-routing new-routing-mark=ISP 2 passthrough=no connection-mark=ISP 2 -&gt; Input  4   chain=input action=mark-connection new-connection-mark=ISP 3 -&gt; Input passthrough=no dst-address=192.168.100.2  in-interface=ether3  5   chain=output action=mark-routing new-routing-mark=ISP 3 passthrough=no connection-mark=ISP 3 -&gt; Input <\/code><\/pre>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438<br \/>  <b>\u041f\u0440\u0430\u0432\u0438\u043b\u043e 0<\/b><br \/>  \u0415\u0441\u043b\u0438 \u0432 \u043f\u0430\u043a\u0435\u0442\u0435 \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0435\u043c \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 (ISP 1) \u0432 \u0430\u0434\u0440\u0435\u0441\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d IP \u0430\u0434\u0440\u0435\u0441 172.25.25.247(ISP 1), \u0442\u043e \u043c\u0430\u0440\u043a\u0438\u0440\u0443\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u0435\u043c (ISP 1 -&gt; Input)<br \/>  <b>\u041f\u0440\u0430\u0432\u0438\u043b\u043e 1<\/b><br \/>  \u0415\u0441\u043b\u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044e \u0441 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u043a\u043e\u0439 (ISP 1 -&gt; Input), \u0442\u043e \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 ISP 1<br \/>  \u0422\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0435\u0433\u043e (\u043f\u0438\u043d\u0433\u0443\u044e\u0442 \u0438\u043b\u0438 \u043b\u044e\u0431\u043e\u0439 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0442\u0440\u0430\u0444\u0438\u043a) \u0441 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 ISP 1, \u0442\u043e \u043e\u0442\u0432\u0435\u0442 \u0432\u0435\u0440\u043d\u0451\u0442 \u043e\u043d \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 ISP 1<\/p>\n<p>  \u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f. \u0418 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3ca\/5c9\/a32\/3ca5c9a32bcccee49eee41ee0f264c69.png\"\/><br \/>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 MikroTik \u0447\u0435\u0440\u0435\u0437 \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430.<\/p>\n<p>  \u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0444\u0438\u0441\u0430 \u0437\u0430\u0439\u043c\u0451\u043c\u0441\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u043e\u043c \u0441 \u0447\u0435\u0442\u0432\u0451\u0440\u0442\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u043e\u0434\u0438\u043d \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043d\u043e \u0442\u043e\u043d\u043a\u0438\u0439 \u043d\u044e\u0430\u043d\u0441, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c prerouting \u0442\u043e \u0442\u0440\u0430\u0444\u0438\u043a \u043f\u0435\u0440\u0435\u0434 \u00ab\u041f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0435\u043c\u00bb \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c.<br \/>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u043b\u0438\u0441\u0442\u044b \u0441 \u0441\u0435\u0442\u044f\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u0441\u044f.<br \/>  \u042f \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u044e \u0435\u0433\u043e LocalNet \u0438 \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c \u0442\u0430\u043a\u0436\u0435.<\/p>\n<pre><code class=\"bash\">[admin@kirilka] \/ip firewall address-list&gt; print Flags: X - disabled, D - dynamic   #   LIST                                                                                  ADDRESS                          0   LocalNet                                                                              192.168.101.0\/24                 1   LocalNet                                                                              192.168.102.0\/24  <\/code><\/pre>\n<p>  \u0418 \u0442\u0430\u043a \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043b\u0438\u0441\u0442\u044b \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043a\u0430.  <\/p>\n<pre><code class=\"bash\">  6   chain=prerouting action=mark-routing new-routing-mark=office 1 passthrough=no src-address=192.168.101.0\/24       dst-address-list=!LocalNet  <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u043f\u0430\u043a\u0435\u0442 \u043f\u043e\u043a\u0438\u043d\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440: \u0435\u0441\u043b\u0438 \u0430\u0434\u0440\u0435\u0441 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044f \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0441\u0435\u0442\u0438 192.168.101.0\/24 \u0438 \u0430\u0434\u0440\u0435\u0441 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f<b> \u043d\u0435<\/b> \u0447\u0438\u0441\u043b\u0438\u0442\u0441\u044f \u0432 \u043b\u0438\u0441\u0442\u0430\u0445, \u0442\u043e \u043c\u0430\u0440\u043a\u0438\u0440\u0443\u0435\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0438\u043c\u0435\u043d\u0435\u043c office 1<br \/>  \u0421\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e, \u044d\u0442\u043e \u0432\u0435\u0441\u044c \u0442\u0440\u0430\u0444\u0438\u043a \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u043e\u0444\u0438\u0441\u0443 1 \u0438 \u043d\u0435 \u0438\u0434\u0451\u0442 \u0434\u043e \u043d\u0430\u0448\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0440\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0434\u043b\u044f \u0442\u0440\u0430\u0444\u0438\u043a\u0430 office 1  <\/p>\n<pre><code class=\"bash\">dst-address=0.0.0.0\/0 gateway=172.25.25.1  check-gateway=arp distance=10 routing-mark=office 1 dst-address=0.0.0.0\/0 gateway=192.168.99.1 check-gateway=arp distance=11 routing-mark=office 1 dst-address=0.0.0.0\/0 gateway=192.168.100.1 check-gateway=arp distance=12 routing-mark=office 1 <\/code><\/pre>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u044f check-gateway \u044d\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u0438 \u0448\u043b\u044e\u0437\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 L2 \u0442\u043e \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435 arp \u043b\u0443\u0447\u0448\u0435 \u0447\u0435\u043c ping, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 L3 (pptp etc) \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u0435 ping.<br \/>  \u0422\u0430\u043a\u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 distance \u043a\u0430\u043a \u0440\u0430\u0441 \u043f\u043e \u043d\u0435\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u0440\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u043c \u0430\u0434\u0440\u0435\u0441\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/p>\n<p>  \u041d\u0443 \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043d\u0430\u0448\u0435\u0433\u043e \u00ab\u043c\u0430\u0440\u043b\u0435\u0437\u043e\u043d\u0441\u043a\u043e\u0433\u043e \u0431\u0430\u043b\u0435\u0442\u0430\u00bb.<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a che\u0441k-gateway \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0448\u043b\u044e\u0437\u0430, \u043d\u0430\u0441 \u044d\u0442\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442.<br \/>  \u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0436\u0438\u0432\u043e\u0439 \u043b\u0438 \u043a\u0430\u043d\u0430\u043b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0438 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0436\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b.<br \/>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443 \u043d\u0430\u0441 \u0434\u0432\u0435 \u0441\u0435\u0442\u0438 <br \/>  office1 ISP1-&gt;ISP2-&gt;ISP3<br \/>  office2 ISP2-&gt;ISP1-ISP3<br \/>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0447\u0442\u043e \u043a\u043e\u043d\u0447\u0435\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0443 \u043d\u0430\u0441 \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 ISP3, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u0430\u043d\u0430\u043b ISP3 \u043d\u0430\u043c \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c. <br \/>  \u0418 \u0442\u0430\u043a \u043f\u0440\u0435\u0436\u0434\u0435 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u043d\u0430 MikroTik<\/p>\n<blockquote><p>\u041e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435: \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0438\u0437 \u043d\u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0445. \u041d\u0430\u0441 \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u043a \u043a\u0430\u043a \u0432 MikroTik \u0441\u0442\u043e\u0438\u0442 NAND \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u0443 \u043d\u0435\u0451 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u0440\u0435\u0434\u0435\u043b \u0437\u0430\u043f\u0438\u0441\u0438. \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0435\u0433\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c. \u041a\u043e\u043d\u0447\u0435\u043d\u043e \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043d\u0430\u0448 \u043c\u0435\u0442\u043e\u0434. ) <\/p><\/blockquote>\n<p>  \u0411\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b MikroTik. NetWatch<br \/>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0434\u0432\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u0430.  <\/p>\n<pre><code class=\"bash\">[admin@kirilka] \/tool netwatch&gt; print detail  Flags: X - disabled  0 host=8.8.8.8 timeout=1s interval=1m  status=up up-script=ISP1-UP down-script=ISP1-DOWN  1 host=8.8.4.4 timeout=1s interval=1m  status=up up-script=ISP2-UP down-script=ISP2-DOWN <\/code><\/pre>\n<p>  Netwacth \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0442\u0440\u0438\u0433\u0435\u0440. <br \/>  \u0415\u0441\u043b\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0438 \u0442\u0440\u0438\u0433\u0435\u0440\u0430.<br \/>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u043f\u0438\u043d\u0433 \u0434\u043e 8.8.8.8 \u043d\u0435 \u043f\u0440\u043e\u0439\u0434\u0451\u0442 \u0442\u043e, \u0441\u043c\u0435\u043d\u0438\u0442\u044c\u0441\u044f \u0441\u0442\u0430\u0442\u0443\u0441 \u043d\u0430 down \u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442 ISP1-DOWN, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 up, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442 ISP1-UP<\/p>\n<p>  \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439.<br \/>  ISP1-UP  <\/p>\n<pre><code class=\"bash\">\/ip route enable [find dst-address=0.0.0.0\/0 and gateway=172.25.25.1 and distance &gt;= 10]; <\/code><\/pre>\n<p>  \u0412 \u043c\u043e\u0451 \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0438\u0449\u0443 \u0442\u0430\u043a, \u043a\u0442\u043e \u0442\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043f\u043e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c. <br \/>  \u041d\u043e \u044f \u043f\u043e\u043a\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0433\u0434\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0435 10.<br \/>  ISP1-DOWN  <\/p>\n<pre><code class=\"bash\">\/ip route disable [find dst-address=0.0.0.0\/0 and gateway=172.25.25.1 and distance &gt;= 10]; <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u0441\u0451.   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0441\u0442\u0430\u0442\u043a\u0438<\/b><\/p>\n<div class=\"spoiler_text\"><b>Mangle:<\/b>  <\/p>\n<pre><code class=\"bash\">[admin@kirilka] &gt; ip firewall mangle print  Flags: X - disabled, I - invalid, D - dynamic   0   chain=input action=mark-connection new-connection-mark=ISP 1 -&gt; Input passthrough=no dst-address=172.25.25.247       in-interface=ether1    1   chain=output action=mark-routing new-routing-mark=ISP 1 passthrough=no connection-mark=ISP 1 -&gt; Input    2   chain=input action=mark-connection new-connection-mark=ISP 2 -&gt; Input passthrough=no dst-address=192.168.99.2       in-interface=ether2    3   chain=output action=mark-routing new-routing-mark=ISP 2 passthrough=no connection-mark=ISP 2 -&gt; Input    4   chain=input action=mark-connection new-connection-mark=ISP 3 -&gt; Input passthrough=no dst-address=192.168.100.2       in-interface=ether3    5   chain=output action=mark-routing new-routing-mark=ISP 3 passthrough=no connection-mark=ISP 3 -&gt; Input    6   chain=prerouting action=mark-routing new-routing-mark=office 1 passthrough=no src-address=192.168.101.0\/24       dst-address-list=!LocalNet    7   chain=prerouting action=mark-routing new-routing-mark=office 2 passthrough=no src-address=192.168.102.0\/24       dst-address-list=!LocalNet   <\/code><\/pre>\n<p>  <b>Route:<\/b>  <\/p>\n<pre><code class=\"bash\">[admin@kirilka] &gt; ip route print detail  Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,  B - blackhole, U - unreachable, P - prohibit   0 A S  dst-address=0.0.0.0\/0 gateway=172.25.25.1 gateway-status=172.25.25.1 reachable via  ether1 distance=1 scope=30          target-scope=10 routing-mark=ISP 1    1 A S  dst-address=0.0.0.0\/0 gateway=192.168.99.1 gateway-status=192.168.99.1 reachable via  ether2 distance=1 scope=30          target-scope=10 routing-mark=ISP 2    2 A S  dst-address=0.0.0.0\/0 gateway=192.168.100.1 gateway-status=192.168.100.1 reachable via  ether3 distance=1 scope=3&gt;         target-scope=10 routing-mark=ISP 3    3 A S  dst-address=0.0.0.0\/0 gateway=172.25.25.1 gateway-status=172.25.25.1 reachable via  ether1 check-gateway=arp          distance=10 scope=30 target-scope=10 routing-mark=office 1    4   S  dst-address=0.0.0.0\/0 gateway=192.168.99.1 gateway-status=192.168.99.1 reachable via  ether2 check-gateway=arp          distance=11 scope=30 target-scope=10 routing-mark=office 1    5   S  dst-address=0.0.0.0\/0 gateway=192.168.100.1 gateway-status=192.168.100.1 reachable via  ether3 check-gateway=arp          distance=12 scope=30 target-scope=10 routing-mark=office 1    6 A S  dst-address=0.0.0.0\/0 gateway=192.168.99.1 gateway-status=192.168.99.1 reachable via  ether2 check-gateway=arp          distance=10 scope=30 target-scope=10 routing-mark=office 2    7   S  dst-address=0.0.0.0\/0 gateway=172.25.25.1 gateway-status=172.25.25.1 reachable via  ether1 check-gateway=arp          distance=11 scope=30 target-scope=10 routing-mark=office 2    8   S  dst-address=0.0.0.0\/0 gateway=192.168.100.1 gateway-status=192.168.100.1 reachable via  ether3 check-gateway=arp          distance=12 scope=30 target-scope=10 routing-mark=office 2    9 A S  dst-address=0.0.0.0\/0 gateway=172.25.25.1 gateway-status=172.25.25.1 reachable via  ether1 distance=1 scope=30          target-scope=10   10 A S  ;;; Netwatch -&gt;ISP2         dst-address=8.8.4.4\/32 gateway=192.168.99.1 gateway-status=192.168.99.1 reachable via  ether2 distance=1          scope=30 target-scope=10   11 A S  ;;; Netwatch -&gt;ISP1         dst-address=8.8.8.8\/32 gateway=172.25.25.1 gateway-status=172.25.25.1 reachable via  ether1 distance=1 scope=30          target-scope=10   12 ADC  dst-address=172.25.25.0\/24 pref-src=172.25.25.247 gateway=ether1 gateway-status=ether1 reachable distance=0          scope=10   13 ADC  dst-address=192.168.99.0\/24 pref-src=192.168.99.2 gateway=ether2 gateway-status=ether2 reachable distance=0          scope=10   14 ADC  dst-address=192.168.100.0\/24 pref-src=192.168.100.2 gateway=ether3 gateway-status=ether3 reachable distance=0          scope=10   15 ADC  dst-address=192.168.101.0\/24 pref-src=192.168.101.1 gateway=ether4 gateway-status=ether4 reachable distance=0          scope=10   16 ADC  dst-address=192.168.102.0\/24 pref-src=192.168.102.1 gateway=ether5 gateway-status=ether5 reachable distance=0          scope=10  <\/code><\/pre>\n<p>  <b>Script:<\/b>  <\/p>\n<pre><code class=\"bash\">[admin@kirilka] \/system script&gt; print         Flags: I - invalid   0   name=&quot;ISP1-UP&quot; owner=&quot;admin&quot; policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api       last-started=jul\/11\/2013 05:07:34 run-count=9       source=\/ip route enable [find dst-address=0.0.0.0\/0 and gateway=172.25.25.1 and distance &gt;= 10];    1   name=&quot;ISP1-DOWN&quot; owner=&quot;admin&quot; policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api       last-started=jul\/11\/2013 04:47:03 run-count=2       source=\/ip route disable [find dst-address=0.0.0.0\/0 and gateway=172.25.25.1 and distance &gt;= 10];    2   name=&quot;ISP2-UP&quot; owner=&quot;admin&quot; policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api       last-started=jul\/11\/2013 05:08:01 run-count=1       source=\/ip route enable [find dst-address=0.0.0.0\/0 and gateway=192.168.99.1 and distance &gt;= 10];    3   name=&quot;ISP2-DOWN&quot; owner=&quot;admin&quot; policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api       last-started=jul\/11\/2013 05:07:36 run-count=1       source=\/ip route disable [find dst-address=0.0.0.0\/0 and gateway=192.168.99.1 and distance &gt;= 10]; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/186284\/\"> http:\/\/habrahabr.ru\/post\/186284\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0441\u0442 \u043c\u0435\u043d\u044f \u0441 \u043f\u043e\u0434\u0432\u0438\u0433\u043d\u0443\u043b \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 <a href=\"http:\/\/habrahabr.ru\/qa\/38801\/\">habrahabr.ru\/qa\/38801\/<\/a><br \/>  \u0422\u0435\u043c \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-186284","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/186284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186284"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/186284\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=186284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=186284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}