{"id":556,"date":"2012-11-07T01:57:08","date_gmt":"2012-11-06T21:57:08","guid":{"rendered":"http:\/\/pub.tesenmir.net\/?p=556"},"modified":"2012-11-07T05:15:24","modified_gmt":"2012-11-07T01:15:24","slug":"rip","status":"publish","type":"post","link":"https:\/\/pub.tesenmir.net\/?p=556","title":{"rendered":"RIP"},"content":{"rendered":"<p>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 RIP \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043d\u0430 Secure Platform \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<ul>\n<li>\u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b router<\/li>\n<li>\u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0435\u043c\u043e\u043d\u0430 &#171;Zebra&#187;<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 RIP \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b router \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c expert.<br \/>\n\u041b\u0438\u0441\u0442\u0438\u043d\u0433 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<br \/>\nrouter rip<br \/>\nenable<br \/>\nnetwork 10.10.1.1<br \/>\nnetwork 172.30.1.1<br \/>\nnetwork 172.30.2.1<br \/>\nredistribute direct<br \/>\nredistribute kernel<br \/>\nexit<br \/>\ninterface eth3<br \/>\nip rip enable<br \/>\nip rip version 2<br \/>\nexit<br \/>\ninterface eth4<br \/>\nip rip enable<br \/>\nip rip version 2<br \/>\nexit<br \/>\ninterface eth5<br \/>\nip rip enable<br \/>\nip rip version 2<br \/>\nexit<br \/>\nwrite memory<\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0434\u0435\u043c\u043e\u043d\u0430 &#171;Zebra&#187; \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b RIP \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e <a title=\"\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b RIP. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b OSPF.\" href=\"https:\/\/pub.tesenmir.net\/?cat=48\" target=\"_blank\">\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u00a0&#171;Zebra&#187; \u0434\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 OSPF<\/a>.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.<br \/>\n\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 vi)<br \/>\n<strong>vi \/etc\/rc.d\/init.d\/zebra<\/strong>, \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0431\u043b\u043e\u043a \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445<br \/>\n# Initial configuration values<br \/>\nZEBRA=0<br \/>\nOSPF=0<br \/>\nBGP=0<br \/>\nRIP=0<\/p>\n<p>\u043d\u0430<\/p>\n<p># Initial configuration values<br \/>\n<span style=\"color: #ff0000;\">ZEBRA=1<\/span><br \/>\nOSPF=0<br \/>\nBGP=0<br \/>\n<span style=\"color: #ff0000;\">RIP=1<\/span><\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00a0<strong>vi \/etc\/zebra\/daemons.conf<\/strong>, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0431\u043b\u043e\u043a<\/p>\n<p>ZEBRA=0<br \/>\nOSPF=0<br \/>\nBGP=0<br \/>\nRIP=0<\/p>\n<p>ZEBCONFFILE=\/etc\/zebra\/zebra.conf<br \/>\nRIPDCONFFILE=\/etc\/zebra\/ripd.conf<br \/>\nOSPFDCONFFILE=\/etc\/zebra\/ospfd.conf<br \/>\nBGPDCONFFILE=\/etc\/zebra\/bgpd.conf<\/p>\n<p>BGPDOPTS=\u00bb -d -P 0\u2033<br \/>\nOSPFDOPTS=\u00bb -d -P 0\u2033<br \/>\nRIPDOPTS=\u00bb -d -P 0\u2033<br \/>\nZEBRADOPTS=\u00bb -d -P 0\u2033<\/p>\n<p>&nbsp;<\/p>\n<p>\u043d\u0430<\/p>\n<p><span style=\"color: #ff0000;\">ZEBRA=1<\/span><br \/>\nOSPF=0<br \/>\nBGP=0<br \/>\n<span style=\"color: #ff0000;\">RIP=1<\/span><\/p>\n<p>ZEBCONFFILE=\/etc\/zebra\/zebra.conf<br \/>\nRIPDCONFFILE=\/etc\/zebra\/ripd.conf<br \/>\nOSPFDCONFFILE=\/etc\/zebra\/ospfd.conf<br \/>\nBGPDCONFFILE=\/etc\/zebra\/bgpd.conf<\/p>\n<p>BGPDOPTS=\u00bb -d -P 0\u2033<br \/>\nOSPFDOPTS=\u00bb -d -P 0\u2033<br \/>\n<span style=\"color: #ff0000;\">RIPDOPTS=\u00bb -d -P 2604\u2033<\/span><br \/>\n<span style=\"color: #ff0000;\">ZEBRADOPTS=\u00bb -d -P 2601\u2033<\/span><\/p>\n<p>2601 \u2013 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a ZEBRA. 2604\u00a0&#8212; \u043f\u043e\u0440\u0442 (RIPD) \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 OSPF.<br \/>\n\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00a0<strong>vi\u00a0<strong>\/etc\/zebra\/zebra.conf\u00a0<\/strong><\/strong>. \u0412 \u0444\u0430\u0439\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<p>password zebra<br \/>\nenable password zebra<\/p>\n<p>\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00a0<strong>vi\u00a0<strong>\/etc\/zebra\/rip<strong>d.conf<\/strong>\u00a0<\/strong><\/strong>. \u0412 \u0444\u0430\u0439\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<p>password zebra<\/p>\n<p>\u041f\u0430\u0440\u043e\u043b\u044c\u00a0<strong>zebra<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439.<br \/>\n\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Zebra Routing Daemon \u0438 RIPD:<\/p>\n<p>[Expert@cpmodule]# \/etc\/rc.d\/init.d\/zebra start<br \/>\nStarting Zebra Routing Daemon\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\u00a0 [\u00a0\u00a0OK\u00a0 ]<br \/>\nStarting RIPD\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\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u00a0\u00a0OK\u00a0 ]<br \/>\n[Expert@cpmodule]#<\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0437\u044c\u043c\u0451\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0445\u0435\u043c\u0443.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/pub.tesenmir.net\/wp-content\/uploads\/2012\/11\/zebra-02.gif\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-562\" title=\"\u0441\u0445\u0435\u043c\u0430 \u0434\u043b\u044f rip\" src=\"https:\/\/pub.tesenmir.net\/wp-content\/uploads\/2012\/11\/zebra-02.gif\" alt=\"\" width=\"541\" height=\"328\" srcset=\"https:\/\/pub.tesenmir.net\/wp-content\/uploads\/2012\/11\/zebra-02.gif 541w, https:\/\/pub.tesenmir.net\/wp-content\/uploads\/2012\/11\/zebra-02-300x181.gif 300w, https:\/\/pub.tesenmir.net\/wp-content\/uploads\/2012\/11\/zebra-02-494x300.gif 494w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a>\u00a0\u041f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u00a0<strong>telnet<\/strong>\u00a0\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043f\u043e\u0440\u0442\u0443 2604 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b RIP.<\/p>\n<p>User Access Verification<\/p>\n<p>Password: zebra<br \/>\nfw-rip&gt; enable<br \/>\nPassword: zebra<br \/>\nfw-rip# configure terminal<br \/>\nfw-rip(config)# router rip<br \/>\nfw-rip(config-router)# network 10.0.0.0\/8<br \/>\nfw-rip(config-router)# network 192.168.0.0\/16<br \/>\nfw-rip(config-router)# end<br \/>\nfw-rip# show run<\/p>\n<p>Current configuration:<br \/>\n!<br \/>\nhostname fw-rip<br \/>\npassword zebra<br \/>\nenable password zebra<br \/>\n!<br \/>\ninterface lo<br \/>\n!<br \/>\ninterface eth0<br \/>\n!<br \/>\ninterface dummy0<br \/>\n!<br \/>\nrouter rip<br \/>\nnetwork 0.0.0.0\/0<br \/>\nnetwork 192.168.0.0\/16<br \/>\n!<br \/>\nline vty<br \/>\n!<br \/>\nend<br \/>\nfw-rip# write memory<br \/>\nConfiguration saved to \/etc\/zebra\/ripd.conf<br \/>\nfw-rip#<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 RIP \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043d\u0430 Secure Platform \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b router \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0435\u043c\u043e\u043d\u0430 &#171;Zebra&#187; \u0414\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 RIP \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b router \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c expert. \u041b\u0438\u0441\u0442\u0438\u043d\u0433 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438: router rip enable &hellip; <a href=\"https:\/\/pub.tesenmir.net\/?p=556\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-rip"],"_links":{"self":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts\/556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=556"}],"version-history":[{"count":5,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts\/556\/revisions"}],"predecessor-version":[{"id":561,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=\/wp\/v2\/posts\/556\/revisions\/561"}],"wp:attachment":[{"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pub.tesenmir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}