Hi,
Does any wine is avelible to answer me. The question is about ospf what a different bedews backbone and area.Backbone is for e.g. 0.0.0.0, areas are 0.0.0.1 0.0.0.2 or i can manage it.What a different between them?and also what us the gol? It’s clear my question?
I’m sure the manual has lots of great information about OSPF.
I’d like to share some basic overview concepts about OSPF, just to help you get a good starting place to base your learning upon.
Areas help you improve the performance of your network when it scales up to a larger deployment.
Areas cut down the amount of updates that go around the network whenever the topology changes.
So if a link in Paris is part of area 1.1.1.1 and it fails, then routers which are not in area 1.1.1.1 will not be sent this update.
A router in Hong Kong is pretty much going to use the same links to reach the Europe region, even if the above link happens to fail, so routers in Hong Kong do not need to be bothered with topology changes in distant parts of the network.
Routers in other areas don’t have the list of links in remote areas - they simply get a list of destinations that are inside the area, and a list of links that will reach the area border. Anything which changes inside the other area will be taken care of by the area border router.
The other primary use of areas is to aggregate your routes into ranges so that the routing table is kept lean and mean.
You might assign 10.20.0.0/16 to a certain area, for instance. In this case, the area border routers can be configured to only advertise this master prefix, and suppress all of the more specific routes from that area. This keeps the routing table smaller in all other areas of your network.
This is one reason why you want to natively originate routes into OSPF as much as possible. Redistributed (external) routes don’t work the same with areas. They are repeated into all areas. They do not get aggregated by area range announcements. They follow different rules of routing priority. I’m not saying to never redistribute routes into OSPF though. Redistributed routes are normal, and have their proper place in a well-designed topology, but if you plan to use areas, you should definitely understand the difference between interior OSPF routes and external ones.
My rule of thumb is that a static route should only be injected into OSPF if its next hop points to a non-ospf node (and never will reach another part of your OSPF domain again).
Another thing that areas do is influence the routing decisions. OSPF will prefer an intra-area route over an inter-area route, regardless of the cost differences.
One thing to note is that OSPF must route all inter-area traffic through area 0 (backbone). If you have a router that is connected to area 1 and area 2, but not area 0, then strange things will happen. Other hosts in area 1 will not see this router as a way to reach area 2, and area 2 hosts will not see this router as a way to reach area 1.
where is my problem?
i’m following e.g. from Mikrotik wiki. everything working good. If i like to connect another router on R4 by OSPF backbone, if im writhing address on ospf network all the route doing down. Why??
see picture
You can only have one backbone area, and except for virtual links (which OSPF designers strongly discourage using them except where absolutely necessary), the backbone area must be contiguous.
I like to explain it to people by saying that imagine your OSPF domain’s topology like a sunflower. The black center is the backbone area, and all other areas are like the petals connected to it.
To get from one area to the other, you first go up to the backbone, then over to the other area border, and then down into that area.
So in your diagram, R4 would become another ABR (meaning that it should be on the “edge” of the area 2, and R5 should also be connected to routers R1 and/or R2 somehow - and all links from R4 → R5 → R1/2 should be part of area 0.
Otherwise, you should make 10.0.2.0/24 be another network in area 2.