Hi all.
Pardon my bad english, and pardon if i am asking something already typed, but i did not find it before.
I want to deploy a routed network with mikrotik and ospf. There is a backbone area that join several nodes (A,B,C,…) routed and at each node exist two or more mikrotik as access point for corporate networks and hotspot for public networks at same time. Both corporate and public clients will connect wireless and also routed, not bridged. I tried to configure OSPF to keep dynamic routes, and avoid defining static routing at every router to reach any subnet connected.
All routers at backbone have at least one subnet in backbone area and one wireless interface at least at nearest area.
For example:
Lan1 of RouterA belongs to backbone and has ip 192.168.1.0/24
Lan2 of RouterA belongs to area2 and has ip 192.168.2.0/24
Lan2 is connected to an access point AP with ip 192.168.2.2/24.
Lan side of AP belongs to area2
Wan side of AP belongs to area2 too and keeps subnet 192.168.20.0/24
Corporate client will connect from network 172.16.x.x/24 and i wanted that there were not necessary to keep static routers for every client connected, but i am failing to archive.
I think that i am missing something because at backbone routes are exchanged with OSPF, but the areas connected to backbone need a static route to work. I read the manual, and changed several things related to route distribution and as-type with no result. I never worked with ospf before, but i am trying to understand and read every manual i can. May be i need to set up bgp or something else to keep everything working without need to define static routes, but today i still dont know.
Can someone give me some guidelines to have all this working?
First of all, it may only be ONE backbone area. So it must be contigous.
Design so that all routers that gate to another area always have one interface in the bakcbien area. Meaning that all routers in the backbone area either interconnect area border routers or are area border routers. An area border router thus have two areas defined. On einetrface in the backbone and all other interfaces in another area. The routers in an area thus needs to be only in the none backbien area, as long as they have L3 connectivity with the area border router.
If you keep it like this, it should work. You only use redistribution if you want to move routes into your OSPF areas from static routes, rip, bgp or maybe connected intyerfaces that dont have been configured to exist in any OSPF area.
Do you understand? Or do you need a small config sample?
I think i understood but also have some questions and i do not know what i am doing wrong, so it should be great the small config sample.
In my first approach routers A, B and C that were interconnected belonged to the backbone and every one of each had at least one interfacein other area (so they were Area Border Routers). AP’s connected to them belonged just to an area with all its interfaces, and at the end, the clients connected to that AP’s belonged to just one area also (intra-area routers). I think that it should be right and do not broke any of the design rules, but it did not work.
Do you think more accurate that routers A, B and C that are interconnected belong to the backbone as well as the AP’S connected to that routers? That way the AP’S are now Area Border Routers because they have one interface in backbone and at least one in the area X, and routers A,B,C interconnect Area Border Routers. Now only clients connected to that AP’S belong to the area X with all interfaces.
If i really understood and there is no design failure, what do you think is the best approach?
By the way, I’m running the latest stable mikrotik version, not testing one.
Also i mixed rip in client and AP links and ospf at backbone (A,B…) and think that it solves more or less the problem i have with the need of specify static routes.
But i would prefer just to use only one routing protocol if possible, so i keep trying.
I do not know the way to post a diagram here, but i can email it if you can give me an email address. if do not want to post it here i modify my profile showing email, send an email there and i will reply.