OSPF aggregate networks

From http://wiki.mikrotik.com/wiki/Manual:OSPF-examples

…And the last step is to add network to the certain OSPF area.

On R1

[admin@MikroTikR1] /routing ospf network> add network=210.13.1.0/28 area=backbone
[admin@MikroTikR1] /routing ospf network> add network=10.10.1.0/30 area=backbone
[admin@MikroTikR1] /routing ospf network> add network=10.10.1.4/30 area=backbone

Instead of typing in each network, you can aggregate networks using appropriate subnet mask. For example, to aggregate 10.10.1.0/30, 10.10.1.4/30, 10.10.1.8/30 networks, you can set up following ospf network:

[admin@MikroTikR1] /routing ospf network> add network=10.10.1.0/‘’‘24’‘’ area=backbone

When I try to aggregate my networks error with /‘’‘24’‘’, I tried /24 instead is this correct.

Just do it without quotes.

Just tried that and while it was ok on first PTP the other end lost connectivity so back to /30

/routing ospf network add network=10.10.1.0/24 area=backbone

must be working and after that you can remove:

10.10.1.0/30 and 10.10.1.4/30. There might be small interruption after removing this.

Yes it worked initally but reboot and ospf + ip connectivity is lost,
example on say PTP link 10.10.1.0/30 eth (ip 10.10.1.2)and 10.10.1.4/30.wlan (ip 10.10.1.5) to 10.10.1.4 wlan (ip 10.10.1.6) and 10.10.1.8 eth (ip 10.10.1.9), change both to 10.10.1.0/24 all OK until you reboot then ping say eth side of ptp with ip address of 10.10.1.9 and it timeouts.