ospf network little help

hi
i have a network like this and for now im runnig rip-routing but now i wanna to close my network and go to ospf routing..

so now i have set to 2 areas…

area1 and area2 - the main ospf settings are the same and look like this:

router-id: 10.0.1.0 <---- on area2 is 10.0.2.0
distribute-default: always-as-type-2
redistribute-connected: as-type-1
redistribute-static: as-type-2
redistribute-rip: as-type-2
redistribute-bgp: no
metric-default: 1
metric-connected: 0
metric-static: 0
metric-rip: 0
metric-bgp: 0
mpls-te-area: unspecified
mpls-te-router-id: unspecified

and all the other ospf gateways are configured like this:

router-id: 10.0.3.0
distribute-default: never
redistribute-connected: as-type-1
redistribute-static: as-type-1
redistribute-rip: as-type-1
redistribute-bgp: no
metric-default: 1
metric-connected: 0
metric-static: 0
metric-rip: 0
metric-bgp: 0

and now when i configure all routers the area1 is working ok but the area2 is not.
from area1 i can only ping to area2 to 3. ospf gateway..
what i have done wrong??

tnx
bye
OSPF.jpg

you need a static route when transversing areas, you should redistribute the statics, and … why do you need two areas for this config?

so is it better to set all routers to area1?

and what do you mean redistribute the statics??
because on main router i have set to redistribute-static: as-type-2 and on all routers i have set to redistribute-static: as-type-1


tnx
bye

It is best practice to set redistribute to the same type within an OSPF Area. You either redistribute as type-1 or type-2 and be consistent within that OSPF Area. Do not mix types.

ok tnx..i have now set all my ospf gateway routers to redistribute static and rip as-type2..

now i will try to set all routers from area2 to area1 and will replay the result’s

tnx 4 all your help

bye

tnx…

for now its working perfectly but there is now only one problem..

i have one link that is a little low on bandwidth and now i wanna to change my cost so that when some link goes down all my traffic will go trought the slower link…

can i just set like all my links to cost=1 and that one to cost=50 ??

tnx
bye

Usualy you set cost dependent to the bandwidth.
This is the cisco default behavior:
“OSPF uses a reference bandwidth of 100 Mbps for
cost calculation. The formula to calculate the cost is
reference bandwidth divided by interface bandwidth.
For example, in the case of Ethernet, it is
100 Mbps / 10 Mbps = 10.”

If you do this for every link in your network OSPF
choses the fastest path.

But OSPF does not know anything about wireless. So
if you’ve packet loss due to interference you’ve to
manually increase cost for the bad link.

Stefan