I’m new to routeros and the forum. If a solution already exists somewhere, please point me to the right place.
I have a network connected using EOIP tunnels. All routes are statically set and I would like to setup a single area OSPF for it. I’m just experimenting on two routers with following config.
Router A:
public address A.public_addr = 1.1.1.1/24 (my isp gives me /24)
public interface A.public_intf
private address A.private_addr = 192.168.1.0/24
eoip address A.eoip_addr = 10.0.0.5/30
Router B:
public address B.public_addr = 2.2.2.2/24
public interface B.public_intf
private address B.private_addr = 192.168.255.0/24
eoip address B.eoip_addr = 10.0.0.6/30
After I set the backbone network with proper EOIP tunnel address, OSPF started running.
/routing ospf network add network=10.0.0.4/30 area=backbone
However, it created a routing loop. A route pointing to B.public_addr via B.eoip_addr appeared in A and vice versa for B.
In A:
dst-address = 1.1.1.0/24
gateway = 10.0.0.5
interface = eoip_tunnel1
It sounds like you want your filters to allow anything that is a subset of 10.0.0.0/8 etc…
As written, your rules only allow EXACTLY those three prefixes.
To each rule, add the criteria: prefix-length=0-32
(or if you’re a perfectionist, make it 8-32 on the 10.0.0.0/8, and 12-32 on 172.16.0.0/12, and 24-32 on 192.168.0.0/16)