{"id":2124,"date":"2017-04-08T09:03:37","date_gmt":"2017-04-08T09:03:37","guid":{"rendered":"https:\/\/tst-amo.pp.ua\/blog\/?p=2124"},"modified":"2017-04-08T09:06:29","modified_gmt":"2017-04-08T09:06:29","slug":"ppp","status":"publish","type":"post","link":"https:\/\/tst-amo.net.ua\/blog\/?p=2124","title":{"rendered":"PPP"},"content":{"rendered":"<div class=\"geshifilter\">\n<pre class=\"text geshifilter-text\">Router#configure terminal\r\nEnter configuration commands, one per line.  End with CNTL\/Z.\r\nRouter(config)#hostname R1\r\nR1(config)#username R1 password 123456789\r\nR1(config)#interface serial 0\/0\/0\r\nR1(config-if)#en\r\nR1(config-if)#encapsulation ppp\r\nR1(config-if)#ppp authentication chap\r\nR1(config-if)#ip address 192.168.0.1 255.255.255.0\r\nR1(config-if)#no shutdown\r\n%LINK-5-CHANGED: Interface Serial0\/0\/0, changed state to down<\/pre>\n<\/div>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435:<\/p>\n<div class=\"geshifilter\">\n<pre class=\"text geshifilter-text\">Router#configure terminal\r\nEnter configuration commands, one per line.  End with CNTL\/Z.\r\nRouter(config)#hostname R2\r\nR2(config)#username R1 password 123456789\r\nR2(config)#interface serial0\/3\/0\r\nR2(config-if)#encapsulation ppp\r\nR2(config-if)#ppp authentication chap\r\nR2(config-if)#ip address 192.168.0.2 255.255.255.0\r\nR2(config-if)#no shutdown \r\n%LINK-5-CHANGED: Interface Serial0\/3\/0, changed state to up\r\n%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0\/3\/0, changed state to up<\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u0437\u0430\u0432\u043e\u0434\u0438\u043c \u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435 R1 \u0438\u043c\u0435\u0435\u0442 \u0438\u043c\u044f R2, \u0430 \u043d\u0430 R2 \u2013 R1. \u042d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u0433\u0434\u0430 \u043e\u0434\u0438\u043d \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u043e\u043d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0451 \u0438\u043c\u044f, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u0440\u0443\u0433\u043e\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u043d\u0430\u0442\u044c \u044d\u0442\u043e \u0438\u043c\u044f (\u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u0451\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439). \u0415\u0449\u0451 \u043e\u0434\u043d\u0430 \u043d\u0435\u043c\u0430\u043b\u043e\u0432\u0430\u0436\u043d\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c: \u043f\u0430\u0440\u043e\u043b\u0438 \u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c R1 \u0438 R2 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"geshifilter\">R2#sh ip inter brief \r\nInterface              IP-Address      OK? Method Status                Protocol\r\n \u2026\r\nSerial0\/3\/0            192.168.0.2     YES manual up                    up\r\n \u2026<\/pre>\n<p>\u0415\u0441\u043b\u0438 status \u0431\u0443\u0434\u0435\u0442 \u00abup\u00bb, \u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u2013 \u00abdown\u00bb, \u0442\u043e \u044d\u0442\u043e, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 PPP \u2013 \u043d\u0435 \u0442\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f, \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u0438, \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0438\u043d\u0438\u0438 \u043d\u0438\u0436\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u044b \u0437\u0430\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u0438 \u0442.\u043f. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c debug ppp, \u0447\u0435\u0433\u043e \u044f \u043d\u0435 \u043f\u043e\u0436\u0435\u043b\u0430\u044e \u0438 \u0432\u0440\u0430\u0433\u0443.<\/p>\n<pre>R2#debug ppp auth<\/pre>\n<p>\u0438\u043b\u0438<\/p>\n<pre>R2#debug ppp negotiation<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-bottom-right\"><a href=\"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=wpv2posts2124&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=wpv2posts2124&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>Router#configure terminal Enter configuration commands, one per line. End with CNTL\/Z. Router(config)#hostname R1 R1(config)#username R1 password 123456789 R1(config)#interface serial 0\/0\/0 R1(config-if)#en R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication chap R1(config-if)#ip address 192.168.0.1 255.255.255.0 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial0\/0\/0, changed state to down \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u0435: Router#configure terminal Enter configuration commands, one per line. End with CNTL\/Z. Router(config)#hostname &#8230;<\/p>\n<p><a href=\"https:\/\/tst-amo.net.ua\/blog\/?p=2124\" class=\"more-link\">Continue reading &lsquo;PPP&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,57,58],"tags":[],"class_list":["post-2124","post","type-post","status-publish","format-standard","hentry","category-cisco","category-ppp","category-vpn"],"_links":{"self":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2124"}],"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=2124"}],"version-history":[{"count":2,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2124\/revisions"}],"predecessor-version":[{"id":2126,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2124\/revisions\/2126"}],"wp:attachment":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}