{"id":678,"date":"2024-08-04T15:52:00","date_gmt":"2024-08-04T20:52:00","guid":{"rendered":"https:\/\/carminebufano.com\/?p=678"},"modified":"2024-08-04T17:22:17","modified_gmt":"2024-08-04T22:22:17","slug":"ospf-on-mikrotik-routeros-v7-15-x","status":"publish","type":"post","link":"https:\/\/carminebufano.com\/index.php\/2024\/08\/04\/ospf-on-mikrotik-routeros-v7-15-x\/","title":{"rendered":"OSPF on Mikrotik RouterOS v7.15.x Notes, Examples, Diagrams"},"content":{"rendered":"\n<p><strong><mark style=\"background-color:#fcb900\" class=\"has-inline-color\">This content is for advanced users and consists of personal notes.<\/mark><\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Make sure all the interfaces and\/or bridges that need IP addresses, have them.<\/li>\n\n\n\n<li>Make the loopback interface. This is just a bridge that is not connected to anything.\n<ul class=\"wp-block-list\">\n<li>\/interface bridge<\/li>\n\n\n\n<li>add name=OSPF-01<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Give the loopback interface an IP address that is unique.  \n<ul class=\"wp-block-list\">\n<li>Using the loopback with a unique IP won&#8217;t let the router go down if a physical interface fails.<\/li>\n\n\n\n<li>\/ip address<\/li>\n\n\n\n<li>add address=172.16.128.1 interface=OSPF-01 network=172.16.128.1<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Configure the Router ID\n<ul class=\"wp-block-list\">\n<li>\/routing\/id<\/li>\n\n\n\n<li>add disabled=no id=172.16.128.1 name=OSPF-01 select-dynamic-id= <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create the OSPF instance. \n<ul class=\"wp-block-list\">\n<li>\/routing ospf instance<\/li>\n\n\n\n<li>add name=OSPF-01 originate-default=always router-id=OSPF-01<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create the OSPF area\n<ul class=\"wp-block-list\">\n<li>\/routing ospf area<\/li>\n\n\n\n<li>add instance=OSPF-01 name=Backbone<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Build a template for each interface that you want to be included. Can be bridges and\/or interfaces.\n<ul class=\"wp-block-list\">\n<li>\/routing ospf interface-template<\/li>\n\n\n\n<li>add area=Backbone interfaces=ospfbr01 networks=172.16.128.1\/32 type=passive<\/li>\n\n\n\n<li>add area=Backbone interfaces=ether3 networks=192.168.1.0\/24 type=ptp<\/li>\n\n\n\n<li>add area=                 interfaces=a-bridge networks=10.0.20.0\/24 type=ptp<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>You should do this on both routers (simple example) with the correct IPs for your situation<\/p>\n\n\n\n<p>Thats it it should be working. You can check by looking at the routes: \/ip routes print<\/p>\n\n\n\n<p>OR<\/p>\n\n\n\n<p>\/routing ospf neighbor print<\/p>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>OSPF on Mikrotik RouterOS v7.15.x<br \/>\n&hellip; <a class=\"read-more\" href=\"https:\/\/carminebufano.com\/index.php\/2024\/08\/04\/ospf-on-mikrotik-routeros-v7-15-x\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":683,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":true,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3,6,8,160,93,1,12,15],"tags":[],"class_list":["post-678","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements","category-digital-ocean","category-linux","category-mikrotik","category-network-simulator","category-uncategorized","category-vmware","category-walkthroughs"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/08\/OSPF_Network_Configuration.jpg?fit=1792%2C1024&ssl=1","jetpack-related-posts":[{"id":94,"url":"https:\/\/carminebufano.com\/index.php\/2014\/09\/04\/make-mikrotik-routeros-and-much-much-work-on-citrix-xenserver\/","url_meta":{"origin":678,"position":0},"title":"Make Mikrotik RouterOS and much, much more work on Citrix Xenserver","author":"Carmine Bufano","date":"September 4, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;Citrix Xenserver&quot;","block_context":{"text":"Citrix Xenserver","link":"https:\/\/carminebufano.com\/index.php\/category\/citrix-xenserver\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":570,"url":"https:\/\/carminebufano.com\/index.php\/2022\/08\/21\/quick-notes-on-creating-static-vxlan-vtep-on-dell-emc-network-os9-14\/","url_meta":{"origin":678,"position":1},"title":"Quick Notes on Creating Static VXLAN vtep on Dell EMC Network OS9.14","author":"Carmine Bufano","date":"August 21, 2022","format":false,"excerpt":"Both VLT peers should be configured with the same local VTEP IP address. One would complete the usual VLT config on both peers. An identical loopback IP will be configured on both peers, to serve as the Anycast IP.Other than that, there will be the usual VXLAn config[vxlan-instance xx staticlocal-vtep-ip\u2026","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":698,"url":"https:\/\/carminebufano.com\/index.php\/2024\/09\/20\/quality-free-resources-to-learn-programming\/","url_meta":{"origin":678,"position":2},"title":"Top 3 Online Resources to Learn Coding","author":"Carmine Bufano","date":"September 20, 2024","format":false,"excerpt":"Learn to write your own applications for fun and profit. Here are quality free resources online that I can personally vouch for. I get nothing for suggesting these websites.","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/carminebufano.com\/index.php\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2024\/09\/usefull-sites-learn-to-code.jpeg?fit=1200%2C686&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":829,"url":"https:\/\/carminebufano.com\/index.php\/2025\/12\/26\/how-to-get-real-public-ip-addresses-at-home-lab-wireguard-ip-transit-complete-guide\/","url_meta":{"origin":678,"position":3},"title":"How to Get Real Public IP Addresses at your Home Lab: WireGuard IP Transit Complete Guide","author":"Carmine Bufano","date":"December 26, 2025","format":false,"excerpt":"A Complete Guide to why Core Transit's WireGuard IP Transit Service is so incredibly awesome for you lab Bypassing CG-NAT with style - a detailed technical walkthrough The Problem: CG-NAT Hell If you're reading this, you probably know the pain. Your ISP puts you behind Carrier-Grade NAT (CG-NAT), which means:\u2026","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":538,"url":"https:\/\/carminebufano.com\/index.php\/2022\/05\/20\/how-to-rename-a-zerotier-one-interface-from-zt-to-eth0-or-eth1-or-anything-you-want\/","url_meta":{"origin":678,"position":4},"title":"How to rename a ZeroTier One  interface from zt\u2026 to eth0 or eth1 or anything you want!","author":"Carmine Bufano","date":"May 20, 2022","format":false,"excerpt":"Below is the original post that walks you through the steps to rename ZeroTier interfaces. Shortly after I posted this, Grant Limberg from ZeroTier posted something that makes a lot of sense. Changing the name of the interface; more specifically removing the \u201czt\u201d from the interface will have some very\u2026","rel":"","context":"In &quot;one&quot;","block_context":{"text":"one","link":"https:\/\/carminebufano.com\/index.php\/category\/one\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":108,"url":"https:\/\/carminebufano.com\/index.php\/2014\/11\/05\/change-interface-names-back-to-eth0-eth1-on-centos-7\/","url_meta":{"origin":678,"position":5},"title":"Change interface names back to eth0, eth1 on CentOS 7","author":"Carmine Bufano","date":"November 5, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;CentOS&quot;","block_context":{"text":"CentOS","link":"https:\/\/carminebufano.com\/index.php\/category\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/p70MUT-aW","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/comments?post=678"}],"version-history":[{"count":11,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/678\/revisions"}],"predecessor-version":[{"id":693,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/678\/revisions\/693"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/media\/683"}],"wp:attachment":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/media?parent=678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/categories?post=678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/tags?post=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}