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??
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
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.
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 ??
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.