{"id":292,"date":"2024-07-19T13:05:18","date_gmt":"2024-07-19T13:05:18","guid":{"rendered":"https:\/\/www.zframez.com\/articles\/?p=292"},"modified":"2024-09-25T08:50:35","modified_gmt":"2024-09-25T08:50:35","slug":"ospf-configuration-example","status":"publish","type":"post","link":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example","title":{"rendered":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers"},"content":{"rendered":"<body>\n<div style=\"background: linear-gradient(to right, #ADD8E6, #8A2BE2); padding: 10px; border-radius: 10px; font-weight: 600; color: black;\">\n  <h3 style=\"text-align: center; margin-top: 0;\">Table of Contents<\/h3>\n  <ul style=\"padding-left: 20px;\">\n    <li><a href=\"#OSPF-Configuration-Example-1-Adjacency-Formation\" style=\"color: black;\">OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers<\/a><\/li>\n    <li><a href=\"#Configuration-Procedure\" style=\"color: black;\">Configuration Procedure<\/a><\/li>\n    <li><a href=\"#About-OSPF-Configuration\" style=\"color: black;\">About OSPF Configuration<\/a><\/li>\n    <li><a href=\"#Why-use-loopback-interfaces\" style=\"color: black;\">Why use loopback interfaces?<\/a><\/li>\n    <li><a href=\"#OSPF-Configuration-Commands\" style=\"color: black;\">OSPF Configuration Commands<\/a><\/li>\n    <li><a href=\"#Adjacency-Verification\" style=\"color: black;\">Adjacency Verification<\/a><\/li>\n    <li><a href=\"#Understanding-the-show-commands\" style=\"color: black;\">Understanding the \u201cshow\u201d commands<\/a><\/li>\n  <\/ul>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h1 class=\"wp-block-heading has-x-large-font-size\" id=\"OSPF-Configuration-Example-1-Adjacency-Formation\"><strong>OSPF Configuration Example 1: Adjacency<\/strong> <strong>Formation<\/strong> <strong>Between Two Cisco Routers<\/strong><\/h1>\n\n\n\n<p>In previous chapters, you learned key OSPF concepts like DR-BDR election and redistribution. In this guide, you\u2019ll follow a step-by-step process to configure OSPF on two Cisco routers, verify adjacency formation, and check the routing table. By the end of this tutorial, you\u2019ll know how to set up OSPF on Cisco routers, laying the groundwork for the other configuration examples we\u2019ll be covering. This post is part of a series, which includes configuration examples on DR and BDR elections, configuring stub areas, and other OSPF-related scenarios to ensure a comprehensive learning experience.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Objective: <\/strong><\/p>\n\n\n\n<p>In this example, your objective is to configure OSPF on two Cisco routers and verify the adjacency. Afterward, you\u2019ll advertise a loopback network from both routers and check whether the routes appear in the routing table.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Topology<\/strong> :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=1024%2C451&#038;ssl=1\" alt=\"A network diagram showing two routers with loopback interfaces for an OSPF configuration example, highlighting adjacency check\" class=\"wp-image-293\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=1024%2C451&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=300%2C132&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=768%2C338&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=1536%2C677&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?w=1877&amp;ssl=1 1877w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">OSPF Configuration Example 1 :  Topology Setup<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"About-OSPF-Configuration\"><strong>About OSPF Configuration:<\/strong><\/h2>\n\n\n\n<p>To configure OSPF on a Cisco router, start by entering the command <code><strong>router ospf <\/strong><\/code><em><code><strong>process-number<\/strong><\/code> <\/em>in global configuration mode. The process number allows you to create multiple OSPF instances on a single router, which is useful for segmenting the network and preventing the sharing of network information between different segments.<\/p>\n\n\n\n<p>After configuring the OSPF process, use the <code>network<\/code> command to specify the networks that will participate in OSPF. The syntax for this command is \u201c<code><strong>network <em>network-address<\/em> <em>wildcard-mask<\/em> area <em>area-number<\/em><\/strong><\/code>\u201c. It\u2019s important to note that when using this command, you should specify the network address of the interface, not the IP address configured on the interface itself.<\/p>\n\n\n\n<p>For example, in the topology mentioned above, to enable OSPF on the Fast Ethernet 0\/0 interface connecting R1 to R2, with an IP address of 1.1.1.1\/8, the corresponding OSPF <code>network<\/code> command would be<\/p>\n\n\n\n<p>\u201c<code><strong>network <em>1.0.0.0<\/em> <em>0.255.255.255<\/em> area <em>1<\/em><\/strong><\/code>\u201c<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"Configuration-Procedure\"><strong>Configuration Procedure: <\/strong><\/h2>\n\n\n\n<div style=\"background: linear-gradient(to right, #5A5A9F, #8A2BE2); padding: 10px; border-radius: 10px; color: white;\">\n  <ol style=\"padding-left: 20px; color: white;\">\n    <li>Configure IP addresses on the physical interfaces of R1 and R2 as given in the topology.<br>\n        (Check ping connectivity between the routers.)\n    <\/li>\n    <li>Create a loopback interface on both routers and configure IP addresses.<\/li>\n    <li>Enable OSPF and advertise networks.<\/li>\n    <li>Verify the adjacency status and routing table.<\/li>\n  <\/ol>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"Why-use-loopback-interfaces\"><strong>Why use loopback interfaces in this setup?<\/strong><\/h2>\n\n\n\n<p>To check whether OSPF in our router is advertising or learning a network, we need a second network on each router besides the directly connected one between them. In this example, R1 advertises the network 10.0.0.0 using OSPF, while R2 advertises the network 20.0.0.0. Without these loopback interfaces, you wouldn\u2019t be able to verify whether OSPF is actually working or not.<\/p>\n\n\n\n<p>You can use a physical interface instead, but then you would need physical devices connected to both routers to bring those interfaces \u201cUP.\u201d Using a loopback interface allows you to simulate networks without needing any physical devices. This makes the setup more straightforward and efficient for testing and verifying OSPF configurations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"OSPF-Configuration-Commands\"><strong>OSPF Configuration Commands<\/strong>:<\/h2>\n\n\n\n<p>You can use the following commands on Router1 and Router2 if you\u2019re using Cisco routers. Ensure that the interface states are \u201cup\u201d and that you can ping the neighbor before configuring OSPF. OSPF requires proper physical connectivity to exchange packets and form adjacencies.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>1.Setting up the physical interface FastEthernet 0\/0 with IP address 1.1.1.1\/8 and the loopback interface with IP address 10.1.1.1\/8 on Router 1:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-1f86fac76ae5bd7d4b246a285b1b2633\"><code>R1# configure terminal\nR1(config)# interface fastEthernet 0\/0\nR1(config-if)# ip address 1.1.1.1 255.0.0.0\nR1(config-if)# interface loopback 1\nR1(config-if)# ip address 10.1.1.1 255.0.0.0\nR1(config-if)# exit\nR1(config)#<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>2.Configuring OSPF on Router 1 with networks 1.0.0.0 and 2.0.0.0, using a wildcard mask of 0.255.255.255 and assigning them to area 1:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-88b468878c3aacd4528314f96b80d59a\"><code>R1(config)# \nR1(config)# router ospf 1\nR1(config-router)# network 1.0.0.0 0.255.255.255 area 1\nR1(config-router)# network 10.0.0.0 0.255.255.255 area 1\nR1(config-router)# exit\nR1(config)# <\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>3.Configuring the physical interface FastEthernet 0\/0 with IP address 1.1.1.2\/8 and the loopback interface with IP address 20.1.1.1\/8<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-a0f2cb9cf4b1e4b7d30be69cea85a81f\"><code>R2# configure terminal\nR2(config)# interface fastEthernet 0\/0\nR2(config-if)# ip address 1.1.1.2 255.0.0.0\nR2(config-if)# interface loopback 1\nR2(config-if)# ip address 20.1.1.1 255.0.0.0\nR2(config-if)# exit\nR2(config)#<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>4.Configuring OSPF and advertising the directly connected networks on Router 2:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-f8d82bd21ec9248d803557156053c8fb\"><code>R2(config)# \nR2(config)# router ospf 1\nR2(config-router)# network 1.0.0.0 0.255.255.255 area 1\nR2(config-router)# network 20.0.0.0 0.255.255.255 area 1\nR2(config-router)# exit\nR2(config)# <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"Adjacency-Verification\"><strong>Adjacency Verification<\/strong><\/h2>\n\n\n\n<p>Before checking the OSPF and routing table, ensure connectivity between your devices. Ping the devices to confirm that the interfaces are connected.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Checking OSPF adjacency status using \u201cshow ip ospf neighbor\u201d<\/strong> <strong>:<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"274\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-ospf-neighbor.png?resize=1024%2C274&#038;ssl=1\" alt=\"A screenshot showing the output of 'show ip ospf neighbor' from an OSPF configuration example, with a router in FULL state adjacency with its neighbor.\" class=\"wp-image-295\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-ospf-neighbor.png?resize=1024%2C274&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-ospf-neighbor.png?resize=300%2C80&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-ospf-neighbor.png?resize=768%2C206&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-ospf-neighbor.png?w=1295&amp;ssl=1 1295w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Output of \u2018show ip ospf neighbor\u2019 on R1 showing FULL state adjacency with R2<\/figcaption><\/figure>\n\n\n\n<p>In this output, router R1 has formed an adjacency with R2 (router ID 20.1.1.1) . The adjacency state has reached \u2018FULL\u2019. Even in simple topologies like this, OSPF requires at least 30 to 40 seconds to form the adjacency. If you see the state as INIT, 2-WAY, or any other state, wait a bit and then run the command again.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Checking the routes learned using \u201cshow ip route ospf\u201d<\/strong> <strong>:<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"286\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-route-ospf.png?resize=1024%2C286&#038;ssl=1\" alt=\"A screenshot showing the routes learned by OSPF using the 'show ip route ospf' command on a Cisco router for an OSPF configuration example.\" class=\"wp-image-296\" style=\"width:650px;height:auto\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-route-ospf.png?resize=1024%2C286&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-route-ospf.png?resize=300%2C84&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-route-ospf.png?resize=768%2C215&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/output-of-show-ip-route-ospf.png?w=1152&amp;ssl=1 1152w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Output of \u2018show ip route ospf\u2019 on R1 showing the learned network 20.0.0.0<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"Understanding-the-show-commands\"><strong>Understanding the OSPF \u201cshow\u201d commands<\/strong><\/h2>\n\n\n\n<p>Now that we have verified the adjacency state and the routing table, let\u2019s try to understand the information present in the output of the above \u2018show\u2019 commands.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Understanding \u201cshow ip ospf neighbor\u201d output<\/strong> :<\/h3>\n\n\n\n<p>The following are different pieces of information we can see in the output:<\/p>\n\n\n\n<p><strong>Neighbor ID:<\/strong> This column lists the router IDs of different neighbors that OSPF has communicated with. Note that not all neighbors need to be in the FULL state with our router.<\/p>\n\n\n\n<p><strong>Priority:<\/strong> This column shows the OSPF interface priority. By default, it is set to one. OSPF uses this priority for DR and BDR elections.<\/p>\n\n\n\n<p><strong>State:<\/strong> This column shows two pieces of information: the adjacency state with the neighbor and whether the neighbor is a DR, BDR, or DROther. In our example, it shows FULL\/BDR, which means the neighbor 20.1.1.1 is the BDR, and our router is the DR.\u201d<\/p>\n\n\n\n<p><strong>Dead time:<\/strong> This indicates when our router received the last hello packet from the neighbor. The range typically falls between 30 to 40 seconds because this countdown restarts from 40 each time a hello packet is received.<\/p>\n\n\n\n<p><strong>Address:<\/strong> This is the IP address of the neighbor\u2019s physical interface.<\/p>\n\n\n\n<p>Interface: This is the interface on our router that connects to the neighbor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\"><strong>Understanding the \u201cshow ip route ospf\u201d output :<\/strong><\/h2>\n\n\n\n<p>The first line about the network that R1 has learned using OSPF is:<\/p>\n\n\n\n<p><strong>20.0.0.0\/32 is subnetted, 1 subnet.<\/strong><\/p>\n\n\n\n<p>This line means the Class A network 20.0.0.0 is subnetted, and the subnet mask is 32. Though we have not configured subnetting in our setup, OSPF is intelligent enough to understand that we are using a loopback interface here and will use a mask of 32 for that IP. By using a mask of 32, OSPF is indicating that there is only one IP address on that network.<\/p>\n\n\n\n<p>Ok, now let\u2019s decode the second line:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/understanding-show-ip-route-ospf-.png?resize=1024%2C495&#038;ssl=1\" alt=\"Illustration of the different fields in the 'show ip route ospf' output, including OSPF route indication, administrative distance, next hop IP, exit interface and metric value.\" class=\"wp-image-298\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/understanding-show-ip-route-ospf-.png?resize=1024%2C495&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/understanding-show-ip-route-ospf-.png?resize=300%2C145&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/understanding-show-ip-route-ospf-.png?resize=768%2C371&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/understanding-show-ip-route-ospf-.png?resize=1536%2C742&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/understanding-show-ip-route-ospf-.png?w=1860&amp;ssl=1 1860w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>O 20.1.1.1 [110\/2] via 1.1.1.2 , 1:10:49, FastEthernet0\/0<\/strong><\/p>\n\n\n\n<p><strong>\u201cO\u201d:<\/strong> This indicates the route is learned from an OSPF router within the same area. OSPF uses different codes like \u201cO,\u201d \u201cOIA,\u201d \u201cOE2,\u201d etc.<\/p>\n\n\n\n<p><strong>20.1.1.1: <\/strong>This is the network address that OSPF has learned from R2. Although we advertised the network \u201c20.0.0.0\u201d on R2, OSPF considers the IP address assigned to the loopback interface.<\/p>\n\n\n\n<p><strong>[110\/2]: <\/strong>The first number, 110, is the administrative distance (AD) of OSPF. The second number, 2, is the metric to reach that network. In this example, we used a FastEthernet interface and a loopback interface, each having a cost of 1, making the total cost 2.<\/p>\n\n\n\n<p><strong>1:10:49: <\/strong>This timer shows how much time has passed since the network was learned. <\/p>\n\n\n\n<p><strong>FastEthernet0\/0: <\/strong>This is the exit interface on our router that sends data packets to that network.<\/p>\n\n\n\n<p>In this OSPF configuration example, we covered the basics of OSPF configuration. Now, you can try the same setup in topologies with a few more routers and multiple areas.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\">\n\n\n\n<p style=\"background: linear-gradient(to right, #ADD8E6, #8A2BE2); padding: 10px; border-radius: 10px; font-weight: 600; color: black;\">\n  Next &gt;&gt;&gt; <a href=\"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example-multi-area-setup\" style=\"color: black;\">OSPF Configuration Example 2: Configuring OSPF with Multiple Areas<\/a><br><br>\n  Previous &gt;&gt;&gt; <a href=\"https:\/\/www.zframez.com\/articles\/routing\/understanding-ospf-redistribution\" style=\"color: black;\">Understanding OSPF Redistribution<\/a>\n<\/p>\n\n\n\n<p>Further reading : <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios-xml\/ios\/iproute_ospf\/configuration\/xe-16\/iro-xe-16-book\/iro-cfg.html\">cisco<\/a><\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Table of Contents OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers Configuration Procedure About OSPF Configuration Why use loopback interfaces? OSPF Configuration Commands Adjacency Verification Understanding the \u201cshow\u201d commands OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers In previous chapters, you learned key OSPF concepts like DR-BDR election and redistribution. In [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-post-with-sidebar2","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[163,66],"tags":[160,154,152,153,158,159,151,162,156,157,155],"class_list":["post-292","post","type-post","status-publish","format-standard","hentry","category-ospf","category-routing","tag-check-ospf-adjacency","tag-cisco-ospf-commands","tag-cisco-ospf-configuration","tag-how-to-configure-ospf","tag-loopback-interface-in-ospf","tag-ospf-adjacency-configuration","tag-ospf-configuration-example","tag-ospf-configuration-guide","tag-show-ip-ospf-neighbor","tag-show-ip-route-ospf","tag-step-by-step-ospf-configuration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers - Tutorials<\/title>\n<meta name=\"description\" content=\"OSPF configuration example: Step-by-step guide to configure OSPF, check adjacency, and verify the routing table for network connectivity.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers - Tutorials\" \/>\n<meta property=\"og:description\" content=\"OSPF configuration example: Step-by-step guide to configure OSPF, check adjacency, and verify the routing table for network connectivity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example\" \/>\n<meta property=\"og:site_name\" content=\"Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/zframez\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-19T13:05:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-25T08:50:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology-1024x451.png\" \/>\n<meta name=\"author\" content=\"sajith achipra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@zframez\" \/>\n<meta name=\"twitter:site\" content=\"@zframez\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sajith achipra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example\"},\"author\":{\"name\":\"sajith achipra\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\"},\"headline\":\"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers\",\"datePublished\":\"2024-07-19T13:05:18+00:00\",\"dateModified\":\"2024-09-25T08:50:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example\"},\"wordCount\":1189,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/OSPF-adjacency-topology-1024x451.png\",\"keywords\":[\"check ospf adjacency\",\"cisco ospf commands\",\"cisco ospf configuration\",\"how to configure ospf\",\"loopback interface in ospf\",\"ospf adjacency configuration\",\"ospf configuration example\",\"ospf configuration guide\",\"show ip ospf neighbor\",\"show ip route ospf\",\"step by step ospf configuration\"],\"articleSection\":[\"ospf\",\"routing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example\",\"name\":\"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers - Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/OSPF-adjacency-topology-1024x451.png\",\"datePublished\":\"2024-07-19T13:05:18+00:00\",\"dateModified\":\"2024-09-25T08:50:35+00:00\",\"description\":\"OSPF configuration example: Step-by-step guide to configure OSPF, check adjacency, and verify the routing table for network connectivity.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/OSPF-adjacency-topology.png?fit=1877%2C827&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/OSPF-adjacency-topology.png?fit=1877%2C827&ssl=1\",\"width\":1877,\"height\":827},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/ospf-configuration-example#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/www.zframez.com\\\/articles\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"name\":\"zframez tutorials\",\"description\":\"Learn networking bit by bit\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\",\"name\":\"zframez technologies\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"width\":864,\"height\":864,\"caption\":\"zframez technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/zframez\\\/\",\"https:\\\/\\\/x.com\\\/zframez\",\"https:\\\/\\\/www.instagram.com\\\/zframez_technologies\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\",\"name\":\"sajith achipra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"caption\":\"sajith achipra\"},\"sameAs\":[\"http:\\\/\\\/www.zframez.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers - Tutorials","description":"OSPF configuration example: Step-by-step guide to configure OSPF, check adjacency, and verify the routing table for network connectivity.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example","og_locale":"en_US","og_type":"article","og_title":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers - Tutorials","og_description":"OSPF configuration example: Step-by-step guide to configure OSPF, check adjacency, and verify the routing table for network connectivity.","og_url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example","og_site_name":"Tutorials","article_publisher":"https:\/\/www.facebook.com\/zframez\/","article_published_time":"2024-07-19T13:05:18+00:00","article_modified_time":"2024-09-25T08:50:35+00:00","og_image":[{"url":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology-1024x451.png","type":"","width":"","height":""}],"author":"sajith achipra","twitter_card":"summary_large_image","twitter_creator":"@zframez","twitter_site":"@zframez","twitter_misc":{"Written by":"sajith achipra","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#article","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example"},"author":{"name":"sajith achipra","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41"},"headline":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers","datePublished":"2024-07-19T13:05:18+00:00","dateModified":"2024-09-25T08:50:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example"},"wordCount":1189,"commentCount":0,"publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology-1024x451.png","keywords":["check ospf adjacency","cisco ospf commands","cisco ospf configuration","how to configure ospf","loopback interface in ospf","ospf adjacency configuration","ospf configuration example","ospf configuration guide","show ip ospf neighbor","show ip route ospf","step by step ospf configuration"],"articleSection":["ospf","routing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example","url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example","name":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers - Tutorials","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#primaryimage"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology-1024x451.png","datePublished":"2024-07-19T13:05:18+00:00","dateModified":"2024-09-25T08:50:35+00:00","description":"OSPF configuration example: Step-by-step guide to configure OSPF, check adjacency, and verify the routing table for network connectivity.","breadcrumb":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#primaryimage","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?fit=1877%2C827&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?fit=1877%2C827&ssl=1","width":1877,"height":827},{"@type":"BreadcrumbList","@id":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Tutorials","item":"https:\/\/www.zframez.com\/articles"},{"@type":"ListItem","position":2,"name":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers"}]},{"@type":"WebSite","@id":"https:\/\/www.zframez.com\/articles\/#website","url":"https:\/\/www.zframez.com\/articles\/","name":"zframez tutorials","description":"Learn networking bit by bit","publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zframez.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.zframez.com\/articles\/#organization","name":"zframez technologies","url":"https:\/\/www.zframez.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","width":864,"height":864,"caption":"zframez technologies"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/zframez\/","https:\/\/x.com\/zframez","https:\/\/www.instagram.com\/zframez_technologies\/"]},{"@type":"Person","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41","name":"sajith achipra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","caption":"sajith achipra"},"sameAs":["http:\/\/www.zframez.com"]}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":449,"url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-examples-dr-bdr-election","url_meta":{"origin":292,"position":0},"title":"OSPF Configuration Example 3 : DR BDR election","author":"sajith achipra","date":"July 26, 2024","format":false,"excerpt":"Configuring OSPF DR and BDR with Interface Priority and Router ID In all shared networks like Ethernet, Frame Relay, and ATM, OSPF selects one router as the DR and another as the BDR. The DR reduces the number of adjacencies in these networks, preventing the flow of duplicate LSAs. You\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ospf-topology-for-DR-BDR-election-with-priority.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ospf-topology-for-DR-BDR-election-with-priority.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ospf-topology-for-DR-BDR-election-with-priority.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ospf-topology-for-DR-BDR-election-with-priority.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ospf-topology-for-DR-BDR-election-with-priority.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":611,"url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example-multi-area-setup","url_meta":{"origin":292,"position":1},"title":"OSPF Configuration Example 2: Multi-Area Setup","author":"sajith achipra","date":"August 18, 2024","format":false,"excerpt":"Configuring OSPF with Multiple Areas : Earlier, we covered how to configure OSPF with two routers in the same area. In this guide, we'll walk through an example of configuring OSPF with multiple areas. Using four routers and three areas, we'll demonstrate the setup process. The objective of this exercise\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":633,"url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-redistribution-commands","url_meta":{"origin":292,"position":2},"title":"OSPF Configuration Example 4 : Redistribution Commands","author":"sajith achipra","date":"August 29, 2024","format":false,"excerpt":"Configuring Redistribution, E1 Metric, and Route Tags in OSPF In the tutorial \"Understanding OSPF Redistribution\" , we discussed different concepts in redistribution. In this one, we\u2019ll go through the various OSPF commands related to redistribution. We\u2019ll walk through a step-by-step process to configure redistribution in OSPF, focusing on scenarios like\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":262,"url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-example-ebgp-loopback","url_meta":{"origin":292,"position":3},"title":"BGP Configuration Example 2: EBGP Using Loopback Interfaces","author":"sajith achipra","date":"July 18, 2024","format":false,"excerpt":"BGP Configuration Example In the last tutorial \u201cBGP configuration example : EBGP Peering\u201c, we configured an EBGP peering between two routers using their physical interface IP addresses. In this BGP configuration example, we\u2019ll use loopback interfaces for BGP peering. We prefer loopback interfaces when there are multiple paths between peers\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":415,"url":"https:\/\/www.zframez.com\/articles\/routing\/understanding-ospf-dr-bdr-election","url_meta":{"origin":292,"position":4},"title":"Understanding OSPF DR BDR Election","author":"sajith achipra","date":"July 24, 2024","format":false,"excerpt":"Table of Contents What is a Designated Router or DR? What is a Backup Designated Router or BDR? DR BDR Election Process Why does OSPF elect the BDR before the DR? What is a DR Other? What happens after the election? How BDR will know DR is alive? OSPF Network\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-Adjacency-with-out-DR.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-Adjacency-with-out-DR.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-Adjacency-with-out-DR.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-Adjacency-with-out-DR.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-Adjacency-with-out-DR.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-Adjacency-with-out-DR.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":474,"url":"https:\/\/www.zframez.com\/articles\/routing\/understanding-ospf-redistribution","url_meta":{"origin":292,"position":5},"title":"Understanding OSPF Redistribution","author":"sajith achipra","date":"August 2, 2024","format":false,"excerpt":"Table of Contents What is Route Redistribution? Redistribution in OSPF How LSA 4 is used in Redistribution? How LSA 5 is Used in Redistribution? What is \"Forwarding Address\" in LSA 5? OSPF E1 and E2 Routes Configuring Redistribution Understanding OSPF Route Redistribution and LSA Types OSPF (Open Shortest Path First)\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":5,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"predecessor-version":[{"id":947,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/292\/revisions\/947"}],"wp:attachment":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}