![]() OSPF has a default distance of 110, so checking the routes is a quick way to verify the routes are getting updated. You can also check the routes on the router. It can take a little bit for the neighbors to show up. routing/ospf/interface-template/add networks=0.0.0.0/0 area=default Wrapping UpĪfter that we can check to make sure things worked. If you only want to do specific networks, run an entry for every network, changing 0.0.0.0/0 to the network of interest. ![]() If you want to do all the addresses on the router, then use 0.0.0.0/0. This is responsible for what networks get shared with OSPF. routing/ospf/area/ add name=default area-id=0.0.0.0 instance=default Create Instance For a simple OSPF setup, we’ll just use the default 0.0.0.0 area. You don’t have to do this if you don’t want to share the default route. IMPORTANT NOTE: If this router is also the default gateway, you’ll need to specify the “originate-default=always” option to share the default gateway over OSPF to the other routers. routing/ospf/instance/add name=default router-id=1.2.3.4 Technically you can use whatever id you want as long as it is a 32 bit “address” and is unique. Use the address from the above loopback address. Create OSPF Instanceįirst we’ll create the instance. interface/bridge/add name=loopback /ip/address/add address=1.2.3.4 interface=loopback Create a Loop-back interfaceįirst it would be a good idea to create an loopback interface that will stay up. Run these commands on each Mikrotik changing out the router-id. The following commands should work with RouterOS version 7+. Setting up OSPF between Mikrotik routers is not too difficult.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |