Community discussions

MikroTik App
 
n21roadie
Forum Guru
Forum Guru
Topic Author
Posts: 1949
Joined: Fri Aug 07, 2009 10:36 pm
Location: Limerick,Ireland

OSPF aggregate networks

Fri Apr 06, 2012 10:37 pm

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.
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Re: OSPF aggregate networks

Sat Apr 07, 2012 12:37 am

Just do it without quotes.
 
n21roadie
Forum Guru
Forum Guru
Topic Author
Posts: 1949
Joined: Fri Aug 07, 2009 10:36 pm
Location: Limerick,Ireland

Re: OSPF aggregate networks

Sat Apr 07, 2012 2:23 am

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
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Re: OSPF aggregate networks

Sun Apr 08, 2012 4:39 pm

/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.
 
n21roadie
Forum Guru
Forum Guru
Topic Author
Posts: 1949
Joined: Fri Aug 07, 2009 10:36 pm
Location: Limerick,Ireland

Re: OSPF aggregate networks

Sun Apr 08, 2012 4:53 pm

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.