{"id":525,"date":"2018-07-01T20:01:34","date_gmt":"2018-07-01T13:01:34","guid":{"rendered":"https:\/\/lagonet.vn\/?p=525"},"modified":"2018-07-01T20:01:34","modified_gmt":"2018-07-01T13:01:34","slug":"su-khac-nhau-eigrp-va-ospf","status":"publish","type":"post","link":"https:\/\/kb.lagonet.vn\/?p=525","title":{"rendered":"S\u1ef0 KH\u00c1C NHAU EIGRP V\u00c0 OSPF"},"content":{"rendered":"<p>Sau \u0111\u00e2y m\u00ecnh s\u1ebd gi\u00fap c\u00e1c b\u1ea1n so s\u00e1nh 2 giao th\u1ee9c \u0111\u1ecbnh tuy\u1ebfn OSPF v\u00e0 EIGRP xem ch\u00fang c\u00f3 nh\u1eefng \u0111i\u1ec3m kh\u00e1c nhau n\u00e0o<\/p>\n<p>[section label=&#8221;Section with arrow&#8221; bg_color=&#8221;rgb(171, 158, 220)&#8221; bg_overlay=&#8221;rgba(0, 0, 0, 0.4)&#8221; dark=&#8221;true&#8221; mask=&#8221;arrow&#8221; padding=&#8221;59px&#8221; height=&#8221;300px&#8221; border=&#8221;1px 0px 0px 0px&#8221; border_color=&#8221;rgb(235, 235, 235)&#8221;]<\/p>\n<p>[row]<\/p>\n<p>[col span=&#8221;6&#8243; span__sm=&#8221;12&#8243; text_depth=&#8221;2&#8243;]<\/p>\n<h1 style=\"text-align: center;\">OSPF<\/h1>\n<p>[gap height=&#8221;10px&#8221;]<\/p>\n<p style=\"text-align: center;\">Link state<\/p>\n<p style=\"text-align: center;\">Multicast: 224.0.0.5 &#8211; 224.0.0.6<\/p>\n<p>[gap]<\/p>\n<p style=\"text-align: center;\">Router kh\u00f4ng g\u1eedi b\u1ea3ng \u0111\u1ecbnh tuy\u1ebfn m\u00e0 g\u1eedi tr\u1ea1ng th\u00e1i \u0111\u01b0\u1eddng link \u0111\u1ec3 t\u00ednh \u0111\u01b0\u1eddng \u0111i t\u1ed1i \u01b0u<\/p>\n<p style=\"text-align: center;\">B\u1ea3ng Neighbor &#8211; Topology &#8211; Route<\/p>\n<p style=\"text-align: center;\">AD = 100<\/p>\n<p style=\"text-align: center;\">Classless h\u1ed7 tr\u1ee3 Convergence Network v\u00e0 VLSM<\/p>\n<p style=\"text-align: center;\">Router ID &#8211; Neighbor &#8211; LSDB &#8211; XD b\u1ea3ng \u0111\u1ecbnh tuy\u1ebfn<\/p>\n<p>[gap height=&#8221;17px&#8221;]<\/p>\n<p style=\"text-align: center;\">\u0110\u00f2i h\u1ecfi thi\u1ebft k\u1ebf m\u1ea1ng ph\u00e2n c\u1ea5p<\/p>\n<p style=\"text-align: center;\">H\u1ed7 tr\u1ee3 t\u00f3m t\u1eaft \u0111\u1ecba ch\u1ec9 b\u1eb1ng tay ch\u1ec9 \u1edf tr\u00ean router ABR, ASBR<\/p>\n<p style=\"text-align: center;\">Metric = f(bw)<\/p>\n<p>[\/col]<br \/>\n[col span=&#8221;6&#8243; span__sm=&#8221;12&#8243; text_depth=&#8221;2&#8243;]<\/p>\n<h1 style=\"text-align: center;\">EIGRP<\/h1>\n<p>[gap height=&#8221;10px&#8221;]<\/p>\n<p style=\"text-align: center;\">Distance vector \/ Advanced Distance Vector<\/p>\n<p style=\"text-align: center;\">RIP Multicast: 224.0.0.9<br \/>\nEIGRP Multicast: 224.0.0.10<\/p>\n<p style=\"text-align: center;\">Router g\u1eedi b\u1ea3ng \u0111\u1ecbnh tuy\u1ebfn c\u1ee7a m\u00ecnh cho h\u00e0ng x\u00f3m<\/p>\n<p style=\"text-align: center;\">B\u1ea3ng Neighbor &#8211; Topology &#8211; Route<\/p>\n<p style=\"text-align: center;\">AD = 90<\/p>\n<p style=\"text-align: center;\">Classless h\u1ed7 tr\u1ee3 Convergence Network v\u00e0 VLSM<\/p>\n<p style=\"text-align: center;\">C\u00e2n b\u1eb1ng t\u1ea3i qua c\u00e1c \u0111\u01b0\u1eddng kh\u00f4ng \u0111\u1ec1u nhau v\u00e0 c\u00f3 xu h\u01b0\u1edbng \u0111\u1ea9y g\u00f3i tin sang c\u00e1c \u0111\u01b0\u1eddng c\u00f3 metric b\u1eb1ng nhau<\/p>\n<p style=\"text-align: center;\">L\u00e0m vi\u1ec7c thi\u1ebft k\u1ebf m\u1ea1ng \u0111\u01a1n gi\u1ea3n<\/p>\n<p style=\"text-align: center;\">H\u1ed7 tr\u1ee3 t\u00f3m t\u1eaft \u0111\u1ecba ch\u1ec9 b\u1eb1ng tay \u1edf m\u1ecdi router \u0111\u1ec1u \u0111\u01b0\u1ee3c<\/p>\n<p style=\"text-align: center;\">Metric = f(bw,delay,reliability, load, mtu)<\/p>\n<p>[\/col]<\/p>\n<p>[\/row]<\/p>\n<p>[\/section]<br \/>\n[ux_countdown year=&#8221;2018&#8243; month=&#8221;7&#8243; day=&#8221;2&#8243; time=&#8221;02:00&#8243; t_week_p=&#8221;tu\u1ea7n&#8221; t_day_p=&#8221;ng\u00e0y&#8221; t_hour_p=&#8221;gi\u1edd&#8221; t_min_p=&#8221;ph\u00fat&#8221; t_sec_p=&#8221;gi\u00e2y&#8221;]<\/p>\n<p class=\"lead\">N\u00f3i t\u00f3m l\u1ea1i, v\u1ec1 OSPF v\u00e0 EIGRP:<\/p>\n<ul>\n<li>Thi\u1ebft k\u1ebf\u00a0OSPF \u0111\u00f2i h\u1ecfi c\u00f3 thi\u1ebft k\u1ebf ph\u00e2n c\u1ea5p, m\u00ecnh ph\u1ea3i c\u00e2n nh\u1eafc backbone area g\u1ed3m nh\u1eefng \u0111o\u1ea1n n\u00e0o, v\u1ec1 sau h\u01a1i kh\u00f3 thay \u0111\u1ed5i. EIGRP th\u00ec c\u00f3 th\u1ec3 d\u00f9ng tho\u1ea3i m\u00e1i. M\u1ea1ng c\u1ee7a ch\u00fang ta ch\u01b0a \u0111\u1ebfn n\u1ed7i qu\u00e1 l\u1edbn \u0111\u1ec3 quan t\u00e2m v\u1ec1 s\u1ed1 l\u01b0\u1ee3ng router trong m\u1ed9t area, hay trong m\u1ed9t AS.<\/li>\n<li>C\u00e2n b\u1eb1ng t\u1ea3i, r\u00f5 r\u00e0ng EIGRP c\u00f3 \u01b0u th\u1ebf h\u01a1n, r\u1ea5t c\u00f3 \u00edch khi m\u1ea1ng c\u00f3 2 \u0111\u01b0\u1eddng t\u1ea3i kh\u00f4ng gi\u1ed1ng nhau m\u00e0 m\u00ecnh mu\u1ed1n ph\u00e2n chia l\u01b0u th\u00f4ng cho c\u00f4ng b\u1eb1ng.<\/li>\n<li>K\u1ebft n\u1ed1i d\u1ef1 ph\u00f2ng, EIGRP c\u00f3 th\u1ec3 t\u1eadn d\u1ee5ng dialer-watch m\u1ed9t c\u00e1ch hi\u1ec7u qu\u1ea3, demand-circuit c\u1ee7a OSPF th\u00ecnh tho\u1ea3ng v\u1eabn k\u00e9o \u0111\u01b0\u1eddng truy\u1ec1n l\u00ean t\u1ea1i th\u1eddi \u0111i\u1ec3m l\u00e0m t\u01b0\u01a1i SPF database.<\/li>\n<li>N\u1ebfu trong m\u1ea1ng ch\u1ec9 c\u00f3 \u0111\u1ed3 Cisco th\u00ec n\u00ean d\u00f9ng EIGRP cho kho\u1ebb, m\u1ea1ng l\u1edbn h\u01a1n ch\u1eafc s\u1ebd c\u00f3 thi\u1ebft b\u1ecb c\u1ee7a h\u00e3ng kh\u00e1c th\u00ec d\u00f9ng OSPF. D\u00f9ng OSPF c\u00f3 v\u1ebb s\u00e0nh \u0111i\u1ec7u h\u01a1n th\u00ec ph\u1ea3i.\u00a0<img decoding=\"async\" class=\"inlineimg\" title=\"Smiling\" src=\"http:\/\/www.vnpro.org\/forum\/core\/images\/smilies\/1.gif\" alt=\"\" border=\"0\" \/>\u00a0Gi\u1ed1ng nh\u01b0 d\u00f9ng Linux\/Unix m\u00e0 d\u00f9ng c\u1eeda s\u1ed5 \u0111\u1ed3 ho\u1ea1 kh\u00f4ng th\u00ec h\u1ecfng h\u1ebft b\u00e1nh k\u1eb9o r\u1ed3i nh\u1ec9?<\/li>\n<\/ul>\n<p>T\u1ed1c \u0111\u1ed9 convergence, m\u1ee9c \u0111\u1ed9 s\u1eed d\u1ee5ng b\u0103ng th\u00f4ng \u0111\u01b0\u1eddng truy\u1ec1n, m\u1ee9c \u0111\u1ed9 s\u1eed d\u1ee5ng t\u00e0i nguy\u00ean (CPU, Ram,&#8230;), kh\u1ea3 n\u0103ng ch\u1ecdn tuy\u1ebfn t\u1ed1i \u01b0u,&#8230;c\u1ee7a c\u1ea3 hai nh\u01b0 th\u1ebf n\u00e0o?<\/p>\n<ul>\n<li>OSPF kh\u00f4ng h\u1ed7 tr\u1ee3 un-equal cost load-balancing.<\/li>\n<li>C\u00e1ch d\u00f9ng delay c\u1ee7a interface \u0111\u1ec3 thao t\u00e1c ch\u1ecdn \u0111\u01b0\u1eddng \u0111i trong EIGRP l\u00e0 m\u1ed9t trong nh\u1eefng c\u00e1ch th\u00f4ng d\u1ee5ng.<\/li>\n<\/ul>\n<p>Ngo\u00e0i ra c\u00f2n m\u1ed9t s\u1ed1 h\u00ecnh \u1ea3nh m\u1ecdi ng\u01b0\u1eddi c\u00f3 th\u1ec3 tham kh\u1ea3o:<\/p>\n<figure id=\"attachment_554\" aria-describedby=\"caption-attachment-554\" style=\"width: 947px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-554\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-01.jpg\" alt=\"ospf-eigrp-01\" width=\"947\" height=\"502\" \/><figcaption id=\"caption-attachment-554\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 01<\/figcaption><\/figure>\n<figure id=\"attachment_562\" aria-describedby=\"caption-attachment-562\" style=\"width: 1019px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-562\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-03.jpg\" alt=\"ospf-eigrp-03\" width=\"1019\" height=\"571\" \/><figcaption id=\"caption-attachment-562\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 03<\/figcaption><\/figure>\n<figure id=\"attachment_561\" aria-describedby=\"caption-attachment-561\" style=\"width: 591px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-561\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-04.jpg\" alt=\"ospf-eigrp-04\" width=\"591\" height=\"444\" \/><figcaption id=\"caption-attachment-561\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 04<\/figcaption><\/figure>\n<figure id=\"attachment_560\" aria-describedby=\"caption-attachment-560\" style=\"width: 755px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-560\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-05.jpg\" alt=\"ospf-eigrp-04\" width=\"755\" height=\"148\" \/><figcaption id=\"caption-attachment-560\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 05<\/figcaption><\/figure>\n<figure id=\"attachment_559\" aria-describedby=\"caption-attachment-559\" style=\"width: 648px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-559\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-06.jpg\" alt=\"ospf-eigrp-06\" width=\"648\" height=\"262\" \/><figcaption id=\"caption-attachment-559\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 06<\/figcaption><\/figure>\n<figure id=\"attachment_558\" aria-describedby=\"caption-attachment-558\" style=\"width: 1137px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-558\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-07.jpg\" alt=\"ospf-eigrp-07\" width=\"1137\" height=\"330\" \/><figcaption id=\"caption-attachment-558\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 07<\/figcaption><\/figure>\n<figure id=\"attachment_557\" aria-describedby=\"caption-attachment-557\" style=\"width: 566px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-557\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-08.jpg\" alt=\"ospf-eigrp-08\" width=\"566\" height=\"518\" \/><figcaption id=\"caption-attachment-557\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 08<\/figcaption><\/figure>\n<figure id=\"attachment_556\" aria-describedby=\"caption-attachment-556\" style=\"width: 1146px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-556\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-09.jpg\" alt=\"ospf-eigrp-09\" width=\"1146\" height=\"437\" \/><figcaption id=\"caption-attachment-556\" class=\"wp-caption-text\">S\u1ef1 kh\u00e1c nhau OSPF v\u00e0 EIGRP &#8211; 09<\/figcaption><\/figure>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-555\" src=\"https:\/\/lagonet.vn\/wp-content\/uploads\/2018\/07\/ospf-eigrp-02.jpg.png\" alt=\"ospf-eigrp-02.jpg\" width=\"688\" height=\"281\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\">In the event of a network failure EIGRP remembers available backup routes and fails over almost immediately, where as OSPF needs to re-run the SPF algorithm to find any &#8220;backup&#8221; routes which results in extra processor cycles.<\/p>\n<p style=\"font-weight: 400;\">EIGRP cuts out processor cycles by learning only the best routes from its neighbors (routing by rumor) and because of this it does not have an entire view of all the paths to all the networks, it rather has a view of the network based on its neighbors view.\u00a0 OSPF neighbors send all info to the DR and BDR which then update all of the other neighbors in the area.\u00a0 This results in all OSFP routers in the area knowing about all the paths to all the networks at the same time and all routers in the area have the exact same view of the entire network.<\/p>\n<p style=\"font-weight: 400;\">With OSPF you would need to limit each area to 500 Routers (I think\u2026please check that figure) due to the overhead of the SPF algorithm.\u00a0 I don\u2019t think EIGRP suffers from a limitation to the amount of routers you can place\u2026this one I am not 100% about (Perhaps one of the CCIE\u2019s could comment on this point).<\/p>\n<p style=\"font-weight: 400;\">EIGRP is Cisco proprietary where as OSPF is industry standard and plays nicely with other vendor routers.<\/p>\n<p style=\"font-weight: 400;\">In EIGRP you can summarize networks on any EIGRP router in the network however with OSPF you can only perform summarization on the ABR and ASBR routers.<\/p>\n<p style=\"font-weight: 400;\">EIGRP supports un-equal load balancing where as OSPF does not.<\/p>\n<p style=\"font-weight: 400;\">EIGRP (Distance vector) like RIP has the ability to turn off the auto-summary feature which advertizes networks at their classfull boundary by default.\u00a0 OSPF does not advertize networks at their classfull boundary, nor does it have the ability to turn this feature on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sau \u0111\u00e2y m\u00ecnh s\u1ebd gi\u00fap c\u00e1c b\u1ea1n so s\u00e1nh 2 giao th\u1ee9c \u0111\u1ecbnh tuy\u1ebfn OSPF v\u00e0 EIGRP xem ch\u00fang c\u00f3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[29,30,31,25,16,26,27,28,21,6],"tags":[],"class_list":["post-525","post","type-post","status-publish","format-standard","hentry","category-ccie-rs","category-ccna","category-ccnp-route","category-cisco","category-courses","category-jncia","category-jncie","category-jncip","category-juniper","category-networking"],"_links":{"self":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/posts\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=525"}],"version-history":[{"count":0,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/posts\/525\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}