Community discussions

MikroTik App
 
User avatar
diogomaia
newbie
Topic Author
Posts: 38
Joined: Fri Jul 10, 2009 5:27 pm
Location: Carmo/Rio de Janeiro/Brazil
Contact:

routing between areas, using ospf. help

Mon Oct 19, 2009 10:18 pm

I have a network with several areas ospf running, I would like to interconnect the edge routers in each area using ospf. q so when I run ospf between the edge routers me arises the following problem:

ex: area 1, network 10.1.0.0/16, 10.2.0.0/16 area 2 network

when the road between ospf routers edge of area 1 with area 2 of
the routing table 2 and the area invaded by the ips of area 1 and vice versa
10.1.0.1
10.1.0.2
10.1.30.3

I would like to simplify that by advertising only necessary, only the whole block, instead of ip by ip



I believe that any filter rule or something to resolve this for me, it already read everything and still not found a solution, someone can give me a little help with this?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7195
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: routing between areas, using ospf. help

Tue Oct 20, 2009 10:03 am

OSPF area range will aggregate routes.
http://wiki.mikrotik.com/wiki/OSPF-reference#Area_Range
 
User avatar
diogomaia
newbie
Topic Author
Posts: 38
Joined: Fri Jul 10, 2009 5:27 pm
Location: Carmo/Rio de Janeiro/Brazil
Contact:

Re: routing between areas, using ospf. help

Tue Nov 03, 2009 2:11 pm

I'm over it for months and did not fully understand a thing, can someone give me an example to use it? I would be very grateful =)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7195
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: routing between areas, using ospf. help

Tue Nov 03, 2009 2:49 pm

For example you have many/32 ip addresses

/interface bridge add name=lo0
/ip address
add address=172.16.1.1/32 interface=lo0
add address=172.16.1.2/32 interface=lo0
add address=172.16.1.3/32 interface=lo0

add address=10.1.1.1/24 interface=ether1

configure ospf as passive on lo0 interface
/routing ospf interface
add interface=lo0 passive=yes

add area and area range
/routing ospf area add name=test
/routing ospf area range add area=test range=172.16.1.0/24

now add ospf networks
/routing ospf network
add network=10.1.1.0/24 area=backbone
add network=172.16.0.1/24 area=test


Now on other backbone routers you will see aggregated 172.16.1.0/24 route instead of three /32 routes
 
User avatar
diogomaia
newbie
Topic Author
Posts: 38
Joined: Fri Jul 10, 2009 5:27 pm
Location: Carmo/Rio de Janeiro/Brazil
Contact:

Re: routing between areas, using ospf. help

Tue Nov 03, 2009 6:30 pm

man, you helped me a lot, it worked =), now let me get this right, correct me if I'm wrong. in my opinion this setting would either be made in each of the routers, Anuncion blocks of ips in each router? if so, I would so one more tip. my reality here is the following: I have an area with 20 routers in each router I have at least 1 pppoe server running on one interface, my ips are assigned by my radius server, if the range of IPs in this area and ex: 10.1.0.0/16. 10.1.0.1 at any given time may be connected to rb (A) and another time in rb (B), looking for the setup that you gave me would be impossible to announce that on each router, like a setting that I might be placed it at the border router that area for this block sumurizar not pass them by ip ip to the next area. I am anxious to resolve this problem, had been very grateful if someone can form a force to give me =)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7195
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: routing between areas, using ospf. help

Wed Nov 04, 2009 9:27 am

area ranges works and should be set only on border routers, so if you have for example three routers in an area (A,B and C), C is border router and A,B are pppoe servers not connected directly to backbone, then set up area ranges only on router C