<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Ospf on TTL Expired</title>
    <link>https://ttl-expired.net/tags/ospf/</link>
    <description>Recent content in Ospf on TTL Expired</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 15 Apr 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://ttl-expired.net/tags/ospf/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OSPF Concepts for JNCIS-SP</title>
      <link>https://ttl-expired.net/docs/ospf/</link>
      <pubDate>Wed, 15 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://ttl-expired.net/docs/ospf/</guid>
      <description>&lt;h2 id=&#34;ospf-open-shortest-path-first&#34;&gt;OSPF (Open Shortest Path First)&lt;/h2&gt;
&lt;p&gt;OSPF is a link-state interior gateway protocol (IGP). Each router floods Link-State Advertisements (LSAs) describing its interfaces and neighbors. Every router builds an identical Link-State Database (LSDB) and runs the Dijkstra SPF algorithm to compute the shortest path tree. OSPF runs directly over IP (protocol 89) and uses multicast for efficiency.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default route preferences in Junos:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;OSPF Internal routes: &lt;strong&gt;10&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;OSPF AS External routes: &lt;strong&gt;150&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h3 id=&#34;terms&#34;&gt;Terms&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;LSDB&lt;/strong&gt; (Link-State Database) - The topological database. Within a single area, all routers must have an identical LSDB.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SPF&lt;/strong&gt; (Shortest Path First) - The Dijkstra algorithm each router runs against the LSDB to compute best paths.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Router ID (RID)&lt;/strong&gt; - A 32-bit identifier unique to each OSPF router. Junos selects the RID in this order: explicitly configured → highest active loopback IP → highest physical interface IP. Best practice is to configure it explicitly.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ABR&lt;/strong&gt; (Area Border Router) - A router with interfaces in multiple OSPF areas. Generates Type 3 (Summary) LSAs between areas.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ASBR&lt;/strong&gt; (AS Boundary Router) - A router that redistributes routes from outside OSPF into the OSPF domain. Generates Type 5 LSAs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Backbone Router&lt;/strong&gt; - Any router with at least one interface in Area 0.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Internal Router&lt;/strong&gt; - All interfaces are in the same single area.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;set routing-options router-id 4.4.4.4
&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;
&lt;h3 id=&#34;ospf-packet-types&#34;&gt;OSPF Packet Types&lt;/h3&gt;
&lt;p&gt;OSPF has five packet types. All run directly over IP (protocol 89) — no TCP/UDP — so reliability is handled by LSAcks.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
