{"id":1852,"date":"2017-02-25T17:33:29","date_gmt":"2017-02-25T17:33:29","guid":{"rendered":"https:\/\/tst-amo.pp.ua\/blog\/?page_id=1852"},"modified":"2017-03-10T00:21:40","modified_gmt":"2017-03-10T00:21:40","slug":"%d0%bf%d0%b0%d0%bc%d1%8f%d1%82%d0%ba%d0%b0","status":"publish","type":"post","link":"https:\/\/tst-amo.net.ua\/blog\/?p=1852","title":{"rendered":"\u041f\u0430\u043c\u044f\u0442\u043a\u0430"},"content":{"rendered":"<p>\u0423\u0441\u043b\u043e\u0432\u0438\u043c\u0441\u044f, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 10.0.10.0\/24 \u0438 10.0.20.0\/24, \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d\u043d\u044b\u0435 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 Cisco. \u0418\u0445 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 (\u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0445\u043e\u0441\u0442\u0430\u043c\u0438 \u043f\u043e\u0434\u0441\u0435\u0442\u0438) \u0430\u0434\u0440\u0435\u0441\u0430 10.0.10.1 \u0438 10.0.20.1 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 (\u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439) 192.168.1.1 \u0438 192.168.1.2, \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u044b \u043e\u043d\u0438 gw1 \u0438 gw2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1873 size-full\" src=\"https:\/\/tst-amo.pp.ua\/blog\/wp-content\/uploads\/2017\/02\/fig1.png\" alt=\"fig1\" width=\"929\" height=\"323\" srcset=\"https:\/\/tst-amo.net.ua\/blog\/wp-content\/uploads\/2017\/02\/fig1.png 929w, https:\/\/tst-amo.net.ua\/blog\/wp-content\/uploads\/2017\/02\/fig1-300x104.png 300w, https:\/\/tst-amo.net.ua\/blog\/wp-content\/uploads\/2017\/02\/fig1-768x267.png 768w, https:\/\/tst-amo.net.ua\/blog\/wp-content\/uploads\/2017\/02\/fig1-730x254.png 730w\" sizes=\"(max-width: 929px) 100vw, 929px\" \/><\/p>\n<p>&nbsp;<\/p>\n<table border=\"1\" width=\"750\" align=\"center\">\n<tbody>\n<tr class=\"column_title\" align=\"left\" valign=\"top\">\n<td width=\"447\">\u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435<\/td>\n<td width=\"287\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/strong> \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 telnet (\u043f\u043e\u0440\u0442 23).<\/td>\n<td class=\"command\">&gt; telnet 10.0.10.1<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/strong><\/td>\n<td class=\"command\">gw1&gt; show ip route<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/strong> (root).<\/td>\n<td class=\"command\">gw1&gt; enable<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e.<\/strong><\/td>\n<td class=\"command\">gw1# show config<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e<\/strong> \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u043d\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0441\u0442\u0440\u043e\u043a \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b.<\/td>\n<td class=\"command\"><\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e<\/strong> \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u043e\u043a \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/td>\n<td class=\"command\"><\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/strong><\/td>\n<td class=\"command\">gw1# configure terminal<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442<\/strong> \u0432 \u043f\u043e\u0434\u0441\u0435\u0442\u044c 10.0.20.0\/24<\/td>\n<td class=\"command\">gw1# configure terminal<br \/>\ngw1(config)# ip route 10.0.20.0 255.255.255.0 192.168.1.2<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/strong> \u043d\u0430 \u0448\u043b\u044e\u0437 10.0.10.254<\/td>\n<td class=\"command\">gw1(config)# ip route 0.0.0.0 0.0.0.0 10.0.10.254<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442<\/strong> \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u0439 \u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u0447\u0442\u043e \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0443\u043a\u0430\u0436\u0435\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 no<\/td>\n<td class=\"command\">gw1(config)# no ip route 0.0.0.0 0.0.0.0 10.0.10.254<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0431\u0430\u0437\u044b OSPF<\/td>\n<td class=\"command\">show ip ospf\u00a0database<\/td>\n<\/tr>\n<tr>\n<td>\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0432<\/td>\n<td class=\"command\">show ip route | i 192.168.0<\/td>\n<\/tr>\n<tr>\n<td>\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b (bri &#8211; \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u0440\u0435\u0436\u0438\u043c)<\/td>\n<td class=\"command\">show ip int bri<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0438 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u043d\u0430\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f:<\/p>\n<pre><span class=\"command\">gw1(config)# exit\r\ngw1# wr\r\ngw1# show config<\/span><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b &#8220;^&#8221;, \u0442.\u0435. \u043d\u0430\u0436\u0430\u0442\u044c <em>Ctrl + Shift + 6<\/em><\/p>\n<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-bottom-right\"><a href=\"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=wpv2posts1852&print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/tst-amo.net.ua\/blog\/wp-content\/plugins\/pdf-print\/images\/pdf.png\" alt=\"image_pdf\" title=\"View PDF\" \/><\/a><a href=\"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=wpv2posts1852&print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/tst-amo.net.ua\/blog\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u043b\u043e\u0432\u0438\u043c\u0441\u044f, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 10.0.10.0\/24 \u0438 10.0.20.0\/24, \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d\u043d\u044b\u0435 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 Cisco. \u0418\u0445 \u0432\u043d\u0435\u0448\u043d\u0438\u0435 (\u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0445\u043e\u0441\u0442\u0430\u043c\u0438 \u043f\u043e\u0434\u0441\u0435\u0442\u0438) \u0430\u0434\u0440\u0435\u0441\u0430 10.0.10.1 \u0438 10.0.20.1 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 (\u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439) 192.168.1.1 \u0438 192.168.1.2, \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u044b \u043e\u043d\u0438 gw1 \u0438 gw2. &nbsp; \u041d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 telnet (\u043f\u043e\u0440\u0442 23). &gt; telnet 10.0.10.1 \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c &#8230;<\/p>\n<p><a href=\"https:\/\/tst-amo.net.ua\/blog\/?p=1852\" class=\"more-link\">Continue reading &lsquo;\u041f\u0430\u043c\u044f\u0442\u043a\u0430&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,21],"tags":[],"class_list":["post-1852","post","type-post","status-publish","format-standard","hentry","category-cisco","category-21"],"_links":{"self":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1852"}],"collection":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1852"}],"version-history":[{"count":5,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1852\/revisions"}],"predecessor-version":[{"id":2054,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1852\/revisions\/2054"}],"wp:attachment":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}