{"id":168,"date":"2019-11-19T22:02:06","date_gmt":"2019-11-19T21:02:06","guid":{"rendered":"https:\/\/mokrane-assam.com\/?p=168"},"modified":"2026-11-29T22:06:28","modified_gmt":"2026-11-29T21:06:28","slug":"ospf-les-bases-des-voisins-a-larbre-spf","status":"publish","type":"post","link":"https:\/\/mokrane-assam.com\/index.php\/2019\/11\/19\/ospf-les-bases-des-voisins-a-larbre-spf\/","title":{"rendered":"OSPF \u2014 Les bases : des voisins \u00e0 l&#8217;arbre SPF"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>De z\u00e9ro \u00e0 expert.<\/strong> OSPF (Open Shortest Path First) est l&#8217;IGP \u00e0 \u00e9tat de liens que l&#8217;on rencontre le premier jour et que l&#8217;on recroise toute sa carri\u00e8re. Ce guide part des bases absolues \u2014 ce que \u00ab \u00e9tat de liens \u00bb signifie \u2014 et finit sur les types de LSA, le comportement des aires et l&#8217;algorithme SPF lui-m\u00eame. Presque chaque id\u00e9e a son sch\u00e9ma.<\/p><h2 class=\"wp-block-heading\">1. Ce qu&#8217;est vraiment OSPF : l&#8217;\u00e9tat de liens<\/h2><p class=\"wp-block-paragraph\">Un protocole \u00e0 vecteur de distance annonce \u00e0 ses voisins <em>ce qu&#8217;il sait<\/em> (des routes et des distances). Un protocole \u00e0 \u00e9tat de liens annonce <em>ce qu&#8217;il voit<\/em> (ses liens directement connect\u00e9s). Chaque routeur inonde ces descriptions de liens, si bien que tous les routeurs d&#8217;une aire b\u00e2tissent une <strong>carte identique<\/strong> \u2014 la base de donn\u00e9es d&#8217;\u00e9tat de liens (LSDB) \u2014 et chacun ex\u00e9cute Dijkstra de son c\u00f4t\u00e9 pour trouver ses propres plus courts chemins.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 260\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Mod\u00e8le \u00e9tat de liens OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"260\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Mod\u00e8le \u00e9tat de liens OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><text x=\"460\" y=\"92\" text-anchor=\"middle\" fill=\"#475569\" font-size=\"12\">Chaque routeur inonde ses liens ; tous d\u00e9tiennent la M\u00caME base, puis calculent leurs chemins s\u00e9par\u00e9ment<\/text><g><rect x=\"60\" y=\"120\" width=\"120\" height=\"56\" rx=\"10\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.5\"\/><text x=\"120\" y=\"144\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"700\">R1<\/text><text x=\"120\" y=\"163\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10\">copie LSDB<\/text><\/g><g><rect x=\"280\" y=\"120\" width=\"120\" height=\"56\" rx=\"10\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.5\"\/><text x=\"340\" y=\"144\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"700\">R2<\/text><text x=\"340\" y=\"163\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10\">copie LSDB<\/text><\/g><g><rect x=\"500\" y=\"120\" width=\"120\" height=\"56\" rx=\"10\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.5\"\/><text x=\"560\" y=\"144\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"700\">R3<\/text><text x=\"560\" y=\"163\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10\">copie LSDB<\/text><\/g><g><rect x=\"720\" y=\"120\" width=\"120\" height=\"56\" rx=\"10\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.5\"\/><text x=\"780\" y=\"144\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"700\">R4<\/text><text x=\"780\" y=\"163\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10\">copie LSDB<\/text><\/g><rect x=\"60\" y=\"200\" width=\"800\" height=\"40\" rx=\"9\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"460\" y=\"225\" text-anchor=\"middle\" fill=\"#0369a1\" font-size=\"12\" font-weight=\"600\">Base d&#8217;\u00e9tat de liens identique \u2192 chaque routeur ex\u00e9cute SPF (Dijkstra) localement<\/text><line x1=\"120\" y1=\"176\" x2=\"120\" y2=\"200\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"340\" y1=\"176\" x2=\"340\" y2=\"200\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"560\" y1=\"176\" x2=\"560\" y2=\"200\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"780\" y1=\"176\" x2=\"780\" y2=\"200\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><\/svg><\/figure><h2 class=\"wp-block-heading\">2. Les aires et la hi\u00e9rarchie \u00e0 deux niveaux<\/h2><p class=\"wp-block-paragraph\">OSPF passe \u00e0 l&#8217;\u00e9chelle en d\u00e9coupant le domaine en <strong>aires<\/strong>. L&#8217;aire 0 est le <strong>backbone<\/strong> ; toute autre aire doit y \u00eatre reli\u00e9e. Un routeur avec des interfaces dans deux aires est un <strong>ABR<\/strong> (Area Border Router) et r\u00e9sume entre elles. Un routeur qui injecte des routes venant de l&#8217;ext\u00e9rieur d&#8217;OSPF est un <strong>ASBR<\/strong> (Autonomous System Boundary Router). L&#8217;inondation est contenue dans l&#8217;aire \u2014 un changement de topologie dans l&#8217;aire 1 ne force jamais un calcul SPF dans l&#8217;aire 2.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 260\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Hi\u00e9rarchie des aires OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"260\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Hi\u00e9rarchie des aires OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><rect x=\"300\" y=\"86\" width=\"320\" height=\"52\" rx=\"10\" fill=\"#0f172a\"\/><text x=\"460\" y=\"110\" text-anchor=\"middle\" fill=\"#fff\" font-size=\"13\" font-weight=\"700\">Aire 0 \u2014 Backbone<\/text><text x=\"460\" y=\"128\" text-anchor=\"middle\" fill=\"#94a3b8\" font-size=\"10\">toutes les aires s&#8217;y relient<\/text><rect x=\"40\" y=\"186\" width=\"240\" height=\"52\" rx=\"10\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"160\" y=\"216\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Aire 1<\/text><rect x=\"640\" y=\"186\" width=\"240\" height=\"52\" rx=\"10\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"760\" y=\"216\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Aire 2<\/text><circle cx=\"300\" cy=\"162\" r=\"15\" fill=\"#C8102E\"\/><text x=\"300\" y=\"166\" text-anchor=\"middle\" fill=\"#fff\" font-size=\"10\" font-weight=\"700\">ABR<\/text><circle cx=\"620\" cy=\"162\" r=\"15\" fill=\"#C8102E\"\/><text x=\"620\" y=\"166\" text-anchor=\"middle\" fill=\"#fff\" font-size=\"10\" font-weight=\"700\">ABR<\/text><line x1=\"300\" y1=\"177\" x2=\"220\" y2=\"186\" stroke=\"#0A66C2\" stroke-width=\"2\"\/><line x1=\"300\" y1=\"147\" x2=\"340\" y2=\"138\" stroke=\"#0A66C2\" stroke-width=\"2\"\/><line x1=\"620\" y1=\"177\" x2=\"700\" y2=\"186\" stroke=\"#0A66C2\" stroke-width=\"2\"\/><line x1=\"620\" y1=\"147\" x2=\"580\" y2=\"138\" stroke=\"#0A66C2\" stroke-width=\"2\"\/><text x=\"460\" y=\"232\" text-anchor=\"middle\" fill=\"#475569\" font-size=\"11\">ABR = interfaces dans deux aires \u00b7 ASBR = redistribue des routes externes dans OSPF<\/text><\/svg><\/figure><h2 class=\"wp-block-heading\">3. Comment les voisins deviennent adjacents<\/h2><p class=\"wp-block-paragraph\">Deux routeurs n&#8217;\u00e9changent pas leurs bases tant qu&#8217;ils n&#8217;ont pas parcouru une <strong>machine \u00e0 \u00e9tats<\/strong>. Ils se d\u00e9couvrent par Hellos (Down \u2192 Init \u2192 2-Way), \u00e9lisent un DR sur les liens multi-acc\u00e8s, puis synchronisent la LSDB (ExStart \u2192 Exchange \u2192 Loading \u2192 Full). <strong>Full<\/strong> est le seul \u00e9tat final sain pour une adjacence qui \u00e9change des LSA. Bloqu\u00e9 en ExStart = souvent un MTU qui ne correspond pas ; bloqu\u00e9 en 2-Way entre DROTHER = normal.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 180\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Machine \u00e0 \u00e9tats des voisins OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"180\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Machine \u00e0 \u00e9tats des voisins OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><g><rect x=\"30\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\" stroke-width=\"1.3\"\/><text x=\"80\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Down<\/text><\/g><g><rect x=\"150\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\" stroke-width=\"1.3\"\/><text x=\"200\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Init<\/text><\/g><g><rect x=\"270\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\" stroke-width=\"1.3\"\/><text x=\"320\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">2-Way<\/text><\/g><g><rect x=\"390\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\" stroke-width=\"1.3\"\/><text x=\"440\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">ExStart<\/text><\/g><g><rect x=\"510\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\" stroke-width=\"1.3\"\/><text x=\"560\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Exchange<\/text><\/g><g><rect x=\"640\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\" stroke-width=\"1.3\"\/><text x=\"690\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Loading<\/text><\/g><g><rect x=\"790\" y=\"96\" width=\"100\" height=\"48\" rx=\"10\" fill=\"#dcfce7\" stroke=\"#166534\" stroke-width=\"2\"\/><text x=\"840\" y=\"125\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"700\">Full<\/text><\/g><line x1=\"130\" y1=\"120\" x2=\"150\" y2=\"120\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"250\" y1=\"120\" x2=\"270\" y2=\"120\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"370\" y1=\"120\" x2=\"390\" y2=\"120\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"490\" y1=\"120\" x2=\"510\" y2=\"120\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"610\" y1=\"120\" x2=\"640\" y2=\"120\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"740\" y1=\"120\" x2=\"790\" y2=\"120\" stroke=\"#0A66C2\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><text x=\"460\" y=\"166\" text-anchor=\"middle\" fill=\"#475569\" font-size=\"11\">Les Hellos am\u00e8nent \u00e0 2-Way \u00b7 DR \u00e9lu \u00b7 puis DBD\/LSR\/LSU jusqu&#8217;\u00e0 Full. Bloqu\u00e9 en ExStart \u2192 v\u00e9rifier le MTU.<\/text><\/svg><\/figure><h2 class=\"wp-block-heading\">4. DR et BDR sur les liens multi-acc\u00e8s<\/h2><p class=\"wp-block-paragraph\">Sur un segment broadcast, former un maillage complet d&#8217;adjacences serait une inondation en O(n\u00b2). OSPF \u00e9lit un <strong>Designated Router<\/strong> et un <strong>Backup DR<\/strong> ; tous les autres (DROTHER) deviennent <strong>Full avec le DR\/BDR seulement<\/strong> et restent <strong>2-Way<\/strong> entre eux. L&#8217;\u00e9lection : plus forte <strong>priorit\u00e9<\/strong> (d\u00e9faut 1), d\u00e9partage par plus fort <strong>Router-ID<\/strong> ; priorit\u00e9 0 ne peut jamais \u00eatre DR. Non pr\u00e9emptive \u2014 un routeur de priorit\u00e9 plus forte qui arrive apr\u00e8s ne vole pas le r\u00f4le.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 230\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"\u00c9lection DR\/BDR OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"230\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">\u00c9lection DR\/BDR OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><rect x=\"380\" y=\"86\" width=\"160\" height=\"46\" rx=\"10\" fill=\"#0f172a\"\/><text x=\"460\" y=\"106\" text-anchor=\"middle\" fill=\"#fff\" font-size=\"12\" font-weight=\"700\">DR<\/text><text x=\"460\" y=\"123\" text-anchor=\"middle\" fill=\"#94a3b8\" font-size=\"10\">plus forte prio \/ RID<\/text><rect x=\"40\" y=\"170\" width=\"150\" height=\"44\" rx=\"10\" fill=\"#fff7ed\" stroke=\"#f59e0b\"\/><text x=\"115\" y=\"197\" text-anchor=\"middle\" fill=\"#9a3412\" font-size=\"12\" font-weight=\"600\">BDR<\/text><rect x=\"250\" y=\"170\" width=\"150\" height=\"44\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"325\" y=\"197\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\">DROTHER<\/text><rect x=\"460\" y=\"170\" width=\"150\" height=\"44\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"535\" y=\"197\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\">DROTHER<\/text><rect x=\"670\" y=\"170\" width=\"150\" height=\"44\" rx=\"10\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"745\" y=\"197\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\">DROTHER<\/text><line x1=\"115\" y1=\"170\" x2=\"460\" y2=\"132\" stroke=\"#166534\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"325\" y1=\"170\" x2=\"460\" y2=\"132\" stroke=\"#166534\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"535\" y1=\"170\" x2=\"460\" y2=\"132\" stroke=\"#166534\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><line x1=\"745\" y1=\"170\" x2=\"460\" y2=\"132\" stroke=\"#166534\" stroke-width=\"2\" marker-end=\"url(#ar)\"\/><text x=\"460\" y=\"226\" text-anchor=\"middle\" fill=\"#475569\" font-size=\"11\">Les DROTHER vont Full avec DR et BDR seulement ; ils restent 2-Way entre eux. \u00c9lection non pr\u00e9emptive.<\/text><\/svg><\/figure><h2 class=\"wp-block-heading\">5. Le co\u00fbt : la m\u00e9trique OSPF<\/h2><p class=\"wp-block-paragraph\">OSPF n&#8217;a pas de notion de bande passante-m\u00e9trique comme EIGRP ; il utilise un unique <strong>co\u00fbt<\/strong> additif par interface de sortie, <code>co\u00fbt = bande-passante-r\u00e9f\u00e9rence \/ bande-passante-interface<\/code>, r\u00e9f\u00e9rence par d\u00e9faut 100 Mbps (10\u2078). Un lien 10 Mbps co\u00fbte 10, FastEthernet co\u00fbte 1, et \u2014 par d\u00e9faut \u2014 Gigabit et 10 Gig tombent tous deux \u00e0 <strong>1<\/strong>, le pi\u00e8ge classique : relevez <code>auto-cost reference-bandwidth<\/code> partout de fa\u00e7on coh\u00e9rente, sinon OSPF ne distingue pas un lien 1G d&#8217;un lien 100G.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 210\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Formule de co\u00fbt OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"210\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Formule de co\u00fbt OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><rect x=\"60\" y=\"86\" width=\"800\" height=\"40\" rx=\"9\" fill=\"#eef2ff\" stroke=\"#c7d2fe\"\/><text x=\"460\" y=\"111\" text-anchor=\"middle\" fill=\"#3730a3\" font-size=\"13\" font-weight=\"700\">co\u00fbt = bp_r\u00e9f\u00e9rence (d\u00e9faut 100 Mbps) \u00f7 bp_interface<\/text><rect x=\"40\" y=\"146\" width=\"180\" height=\"48\" rx=\"9\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"130\" y=\"168\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">10 Mbps<\/text><text x=\"130\" y=\"186\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">co\u00fbt 10<\/text><rect x=\"250\" y=\"146\" width=\"180\" height=\"48\" rx=\"9\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"340\" y=\"168\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">FastEthernet<\/text><text x=\"340\" y=\"186\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">co\u00fbt 1<\/text><rect x=\"460\" y=\"146\" width=\"180\" height=\"48\" rx=\"9\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"550\" y=\"168\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Gigabit<\/text><text x=\"550\" y=\"186\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">co\u00fbt 1 \u26a0<\/text><rect x=\"670\" y=\"146\" width=\"180\" height=\"48\" rx=\"9\" fill=\"#ffffff\" stroke=\"#cbd5e1\"\/><text x=\"760\" y=\"168\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">10 Gig<\/text><text x=\"760\" y=\"186\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">co\u00fbt 1 \u26a0<\/text><\/svg><\/figure><p class=\"wp-block-paragraph\"><strong>\u26a0 Expertise :<\/strong> le co\u00fbt \u00e9tant additif et par interface, OSPF choisit le chemin au plus faible <em>cumul<\/em> de co\u00fbts de sortie \u2014 il ne fait jamais de r\u00e9partition in\u00e9gale comme EIGRP. Les chemins de co\u00fbt \u00e9gal (jusqu&#8217;\u00e0 4 par d\u00e9faut) sont utilis\u00e9s ; tout le reste est ignor\u00e9.<\/p><h2 class=\"wp-block-heading\">6. Les types de LSA \u2014 lire la base comme un expert<\/h2><p class=\"wp-block-paragraph\">La LSDB est b\u00e2tie \u00e0 partir des Link-State Advertisements. Conna\u00eetre les six que l&#8217;on croise au quotidien, c&#8217;est ce qui s\u00e9pare \u00ab OSPF marche \u00bb de \u00ab je sais d\u00e9panner OSPF \u00bb :<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 370\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Types de LSA OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"370\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Types de LSA OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><rect x=\"30\" y=\"80\" width=\"860\" height=\"30\" rx=\"6\" fill=\"#0f172a\"\/><rect x=\"30\" y=\"110\" width=\"860\" height=\"40\" fill=\"#f1f5f9\" stroke=\"#e2e8f0\"\/><text x=\"60\" y=\"135\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"13\" font-weight=\"700\">1<\/text><text x=\"110\" y=\"135\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Router<\/text><text x=\"320\" y=\"135\" fill=\"#475569\" font-size=\"11.5\">chaque routeur<\/text><text x=\"520\" y=\"135\" fill=\"#334155\" font-size=\"11.5\">liens intra-aire et co\u00fbt<\/text><rect x=\"30\" y=\"150\" width=\"860\" height=\"40\" fill=\"#ffffff\" stroke=\"#e2e8f0\"\/><text x=\"60\" y=\"175\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"13\" font-weight=\"700\">2<\/text><text x=\"110\" y=\"175\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Network<\/text><text x=\"320\" y=\"175\" fill=\"#475569\" font-size=\"11.5\">le DR seulement<\/text><text x=\"520\" y=\"175\" fill=\"#334155\" font-size=\"11.5\">le segment multi-acc\u00e8s et ses routeurs<\/text><rect x=\"30\" y=\"190\" width=\"860\" height=\"40\" fill=\"#f1f5f9\" stroke=\"#e2e8f0\"\/><text x=\"60\" y=\"215\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"13\" font-weight=\"700\">3<\/text><text x=\"110\" y=\"215\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">Summary<\/text><text x=\"320\" y=\"215\" fill=\"#475569\" font-size=\"11.5\">l&#8217;ABR<\/text><text x=\"520\" y=\"215\" fill=\"#334155\" font-size=\"11.5\">pr\u00e9fixes inter-aires (aire \u2192 aire)<\/text><rect x=\"30\" y=\"230\" width=\"860\" height=\"40\" fill=\"#ffffff\" stroke=\"#e2e8f0\"\/><text x=\"60\" y=\"255\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"13\" font-weight=\"700\">4<\/text><text x=\"110\" y=\"255\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">ASBR-Summary<\/text><text x=\"320\" y=\"255\" fill=\"#475569\" font-size=\"11.5\">l&#8217;ABR<\/text><text x=\"520\" y=\"255\" fill=\"#334155\" font-size=\"11.5\">comment joindre l&#8217;ASBR<\/text><rect x=\"30\" y=\"270\" width=\"860\" height=\"40\" fill=\"#f1f5f9\" stroke=\"#e2e8f0\"\/><text x=\"60\" y=\"295\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"13\" font-weight=\"700\">5<\/text><text x=\"110\" y=\"295\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">External<\/text><text x=\"320\" y=\"295\" fill=\"#475569\" font-size=\"11.5\">l&#8217;ASBR<\/text><text x=\"520\" y=\"295\" fill=\"#334155\" font-size=\"11.5\">routes redistribu\u00e9es, inond\u00e9es dans tout le domaine<\/text><rect x=\"30\" y=\"310\" width=\"860\" height=\"40\" fill=\"#ffffff\" stroke=\"#e2e8f0\"\/><text x=\"60\" y=\"335\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"13\" font-weight=\"700\">7<\/text><text x=\"110\" y=\"335\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">NSSA External<\/text><text x=\"320\" y=\"335\" fill=\"#475569\" font-size=\"11.5\">l&#8217;ASBR en NSSA<\/text><text x=\"520\" y=\"335\" fill=\"#334155\" font-size=\"11.5\">routes externes \u00e0 l&#8217;int\u00e9rieur d&#8217;une NSSA<\/text><text x=\"60\" y=\"100\" fill=\"#fff\" font-size=\"11\" font-weight=\"700\">Type<\/text><text x=\"110\" y=\"100\" fill=\"#fff\" font-size=\"11\" font-weight=\"700\">LSA<\/text><text x=\"320\" y=\"100\" fill=\"#fff\" font-size=\"11\" font-weight=\"700\">\u00c9mis par<\/text><text x=\"520\" y=\"100\" fill=\"#fff\" font-size=\"11\" font-weight=\"700\">D\u00e9crit<\/text><\/svg><\/figure><h2 class=\"wp-block-heading\">7. Les types d&#8217;aires \u2014 contr\u00f4ler ce qui s&#8217;inonde o\u00f9<\/h2><p class=\"wp-block-paragraph\">Les variantes \u00ab stub \u00bb \u00e9changent de la visibilit\u00e9 contre une base plus petite. La r\u00e8gle \u00e0 retenir : les aires stub bloquent les <strong>externes Type 5<\/strong> et injectent une route par d\u00e9faut ; totally-stubby bloque aussi les <strong>Type 3 inter-aires<\/strong> ; NSSA r\u00e9autorise les externes mais les porte en <strong>Type 7<\/strong>, que l&#8217;ABR retraduit en Type 5 en remontant vers le backbone.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 260\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Types d'aires OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"260\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Types d&#8217;aires OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><rect x=\"30\" y=\"86\" width=\"200\" height=\"150\" rx=\"11\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.4\"\/><rect x=\"30\" y=\"86\" width=\"200\" height=\"34\" rx=\"11\" fill=\"#e0f2fe\"\/><text x=\"130\" y=\"108\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12.5\" font-weight=\"700\">Standard<\/text><text x=\"130\" y=\"150\" text-anchor=\"middle\" fill=\"#334155\" font-size=\"11\">LSA autoris\u00e9s<\/text><text x=\"130\" y=\"172\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">1,2,3,4,5<\/text><text x=\"130\" y=\"212\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10.5\">visibilit\u00e9 totale<\/text><rect x=\"250\" y=\"86\" width=\"200\" height=\"150\" rx=\"11\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.4\"\/><rect x=\"250\" y=\"86\" width=\"200\" height=\"34\" rx=\"11\" fill=\"#e0f2fe\"\/><text x=\"350\" y=\"108\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12.5\" font-weight=\"700\">Stub<\/text><text x=\"350\" y=\"150\" text-anchor=\"middle\" fill=\"#334155\" font-size=\"11\">LSA autoris\u00e9s<\/text><text x=\"350\" y=\"172\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">1,2,3 + d\u00e9faut<\/text><text x=\"350\" y=\"212\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10.5\">pas de Type 5<\/text><rect x=\"470\" y=\"86\" width=\"200\" height=\"150\" rx=\"11\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.4\"\/><rect x=\"470\" y=\"86\" width=\"200\" height=\"34\" rx=\"11\" fill=\"#e0f2fe\"\/><text x=\"570\" y=\"108\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12.5\" font-weight=\"700\">Totally Stubby<\/text><text x=\"570\" y=\"150\" text-anchor=\"middle\" fill=\"#334155\" font-size=\"11\">LSA autoris\u00e9s<\/text><text x=\"570\" y=\"172\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">1,2 + d\u00e9faut<\/text><text x=\"570\" y=\"212\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10.5\">pas de 3,4,5<\/text><rect x=\"690\" y=\"86\" width=\"200\" height=\"150\" rx=\"11\" fill=\"#ffffff\" stroke=\"#0A66C2\" stroke-width=\"1.4\"\/><rect x=\"690\" y=\"86\" width=\"200\" height=\"34\" rx=\"11\" fill=\"#e0f2fe\"\/><text x=\"790\" y=\"108\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12.5\" font-weight=\"700\">NSSA<\/text><text x=\"790\" y=\"150\" text-anchor=\"middle\" fill=\"#334155\" font-size=\"11\">LSA autoris\u00e9s<\/text><text x=\"790\" y=\"172\" text-anchor=\"middle\" fill=\"#C8102E\" font-size=\"12\" font-weight=\"700\">1,2,3,7 + d\u00e9faut<\/text><text x=\"790\" y=\"212\" text-anchor=\"middle\" fill=\"#64748b\" font-size=\"10.5\">Type 7 au lieu de 5<\/text><\/svg><\/figure><h2 class=\"wp-block-heading\">8. L&#8217;algorithme SPF lui-m\u00eame<\/h2><p class=\"wp-block-paragraph\">Enfin, le moteur. Chaque routeur se place \u00e0 la racine et ex\u00e9cute <strong>Dijkstra<\/strong> : il d\u00e9place \u00e0 r\u00e9p\u00e9tition le candidat au plus faible co\u00fbt depuis la liste provisoire vers l&#8217;arbre des plus courts chemins, en rel\u00e2chant ses voisins. Le r\u00e9sultat est un arbre sans boucle de chemins au plus faible co\u00fbt vers chaque pr\u00e9fixe. Comme tous les routeurs d&#8217;une aire partagent la m\u00eame LSDB, leurs arbres sont coh\u00e9rents \u2014 c&#8217;est <em>pourquoi<\/em> l&#8217;\u00e9tat de liens ne forme pas de boucle de routage \u00e0 l&#8217;int\u00e9rieur d&#8217;une aire.<\/p><figure class=\"mkz-diagram\" style=\"margin:24px auto;max-width:920px\"><svg style=\"width:100%;height:auto;display:block;margin:0 auto\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 920 240\" font-family=\"'Segoe UI',Roboto,Helvetica,Arial,sans-serif\" role=\"img\" aria-label=\"Arbre SPF des plus courts chemins OSPF\"><defs><linearGradient id=\"hg\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#17263f\"\/><stop offset=\"1\" stop-color=\"#0f172a\"\/><\/linearGradient><marker id=\"ar\" viewBox=\"0 0 10 10\" refX=\"8\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M0 0L10 5L0 10z\" fill=\"#0A66C2\"\/><\/marker><\/defs><rect x=\"0\" y=\"0\" width=\"920\" height=\"240\" rx=\"14\" fill=\"#f8fafc\" stroke=\"#e2e8f0\"\/><rect x=\"0\" y=\"0\" width=\"920\" height=\"60\" rx=\"14\" fill=\"url(#hg)\"\/><rect x=\"0\" y=\"40\" width=\"920\" height=\"20\" fill=\"#0f172a\"\/><text x=\"28\" y=\"37\" fill=\"#ffffff\" font-size=\"19\" font-weight=\"700\">Arbre SPF des plus courts chemins OSPF<\/text><text x=\"892\" y=\"37\" text-anchor=\"end\" fill=\"#38bdf8\" font-size=\"13\" font-weight=\"600\" letter-spacing=\"1\">NET BY ME<\/text><circle cx=\"110\" cy=\"150\" r=\"26\" fill=\"#0f172a\"\/><text x=\"110\" y=\"155\" text-anchor=\"middle\" fill=\"#fff\" font-size=\"12\" font-weight=\"700\">RACINE<\/text><circle cx=\"320\" cy=\"100\" r=\"22\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"320\" y=\"105\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">A<\/text><circle cx=\"320\" cy=\"200\" r=\"22\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"320\" y=\"205\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">B<\/text><circle cx=\"540\" cy=\"100\" r=\"22\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"540\" y=\"105\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">C<\/text><circle cx=\"540\" cy=\"200\" r=\"22\" fill=\"#e0f2fe\" stroke=\"#0A66C2\"\/><text x=\"540\" y=\"205\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">D<\/text><circle cx=\"760\" cy=\"150\" r=\"22\" fill=\"#dcfce7\" stroke=\"#166534\"\/><text x=\"760\" y=\"155\" text-anchor=\"middle\" fill=\"#0f172a\" font-size=\"12\" font-weight=\"600\">E<\/text><line x1=\"136\" y1=\"138\" x2=\"298\" y2=\"108\" stroke=\"#0A66C2\" stroke-width=\"2.5\"\/><text x=\"210\" y=\"112\" fill=\"#C8102E\" font-size=\"11\" font-weight=\"700\">1<\/text><line x1=\"136\" y1=\"162\" x2=\"298\" y2=\"192\" stroke=\"#0A66C2\" stroke-width=\"2.5\"\/><text x=\"210\" y=\"192\" fill=\"#C8102E\" font-size=\"11\" font-weight=\"700\">1<\/text><line x1=\"342\" y1=\"100\" x2=\"518\" y2=\"100\" stroke=\"#0A66C2\" stroke-width=\"2.5\"\/><text x=\"430\" y=\"92\" fill=\"#C8102E\" font-size=\"11\" font-weight=\"700\">1<\/text><line x1=\"342\" y1=\"200\" x2=\"518\" y2=\"200\" stroke=\"#0A66C2\" stroke-width=\"2.5\"\/><text x=\"430\" y=\"220\" fill=\"#C8102E\" font-size=\"11\" font-weight=\"700\">1<\/text><line x1=\"562\" y1=\"108\" x2=\"740\" y2=\"142\" stroke=\"#0A66C2\" stroke-width=\"2.5\"\/><line x1=\"562\" y1=\"192\" x2=\"740\" y2=\"158\" stroke=\"#cbd5e1\" stroke-width=\"2\" stroke-dasharray=\"5 3\"\/><text x=\"460\" y=\"232\" text-anchor=\"middle\" fill=\"#475569\" font-size=\"11\">Arbre des plus courts chemins depuis la RACINE ; pointill\u00e9 = chemin plus co\u00fbteux \u00e9lagu\u00e9 par SPF<\/text><\/svg><\/figure><h2 class=\"wp-block-heading\">\u00c0 retenir<\/h2><p class=\"wp-block-paragraph\">OSPF est simple \u00e0 \u00e9noncer et profond \u00e0 ma\u00eetriser : inonder un \u00e9tat de liens identique, b\u00e2tir une base par aire, ex\u00e9cuter Dijkstra. Tout l&#8217;avanc\u00e9 \u2014 aires, types de LSA, variantes stub, r\u00e9glage du co\u00fbt \u2014 n&#8217;est que <em>contr\u00f4ler ce qui entre dans cette base et jusqu&#8217;o\u00f9 \u00e7a s&#8217;inonde<\/em>. Une fois ce mod\u00e8le mental acquis, la CLI cesse de surprendre.<\/p><p class=\"wp-block-paragraph\"><em>Fondamentaux g\u00e9n\u00e9riques et neutres, issus de mon \u00e9tude et de mes labs. Aucune configuration sp\u00e9cifique \u00e0 un client ou un employeur.<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>De z\u00e9ro \u00e0 expert. OSPF (Open Shortest Path First) est l&#8217;IGP \u00e0 \u00e9tat de liens que l&#8217;on rencontre le premier jour et que l&#8217;on recroise toute sa carri\u00e8re. Ce guide part des bases absolues \u2014 ce que \u00ab \u00e9tat de liens \u00bb signifie \u2014 et finit sur les types de LSA, le comportement des aires<\/p><\/div>\n<div class=\"blog-btn\"><a href=\"https:\/\/mokrane-assam.com\/index.php\/2019\/11\/19\/ospf-les-bases-des-voisins-a-larbre-spf\/\" class=\"home-blog-btn\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-basic"],"_links":{"self":[{"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":3,"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"predecessor-version":[{"id":171,"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/posts\/168\/revisions\/171"}],"wp:attachment":[{"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mokrane-assam.com\/index.php\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}