[MIKROTIK] OSPF FAILOVER - fourslickz/notes GitHub Wiki
/ip address add address=192.168.1.1/24 interface=ether1
/ip address add address=192.168.2.1/24 interface=ether2
/routing ospf instance set default router-id=1.1.1.1
/routing ospf network add network=192.168.1.0/24 area=backbone
/routing ospf network add network=192.168.2.0/24 area=backbone
/routing ospf interface-template add interfaces=ether1 priority=200 cost=10
/routing ospf interface-template add interfaces=ether2 priority=100 cost=20
/routing ospf neighbor print
/routing ospf route print