OSPF question noob....

hi

i have 4 routers and im runnig now rip routing…but i wanna go to ospf…
and now some problems have arrived…

i have folowing the maunal of http://www.mikrotik.com/testdocs/ros/2.9/routing/ospf.php “Routing tables with Revised Link Cost” but there are only 3 routers…and i have 4…

so my quastion is is it posible to route 4 routers like this??
and can i just follow the manual or must i set something alse on redistribute routes?

tnx by
ospf.JPG

Of course. Follow the manual. Redistributing is for transfering routing information
from other protocols. So you dont need it for forwarding of ospf routes.
You may want to redistribute connected and may be static routes and default
routes.

Stefan

ok tnx

i will try

hi i have try'd to routing only 2 routers but it wont work..

router1:
wlan1 - link to router2 - 10.11.100.1/29
eth - home network - 10.11.10.2/24
router2:
wlan1 - link to router1 - 10.11.100.2/29
eth - home network - 10.11.10.1/24
router1 ospf settings:

[admin@1] routing ospf> print
router-id: 10.11.10.2
distribute-default: never
redistribute-connected: as-type-1
redistribute-static: as-type-1
redistribute-rip: no
redistribute-bgp: no
metric-default: 1
metric-connected: 0
metric-static: 0
metric-rip: 0
metric-bgp: 0

[admin@1] routing ospf interface> print
0 interface=wlan1 cost=10 priority=1 authentication-key=""
network-type=broadcast retransmit-interval=5s transmit-delay=1s
hello-interval=10s dead-interval=40s

[admin@1] routing ospf> network print
Flags: X - disabled, I - invalid

NETWORK AREA

0 10.11.100.0/29 area1

[admin@1] routing ospf> area print
Flags: X - disabled

NAME AREA-ID TYPE DEFAULT-COST AUTHENTICATION

0 backbone 0.0.0.0 default none
1 area1 0.0.0.2 default 1 none

and on my router2 i ha ve only this changed...:

[admin@2] > routing ospf print
router-id: 10.11.11.2
distribute-default: if-installed-as-type-1
redistribute-connected: as-type-1
redistribute-static: no
redistribute-rip: no
redistribute-bgp: no
metric-default: 1
metric-connected: 0
metric-static: 0
metric-rip: 0
metric-bgp: 0

[admin@2] > routing ospf interface print
0 interface=wlan2 cost=10 priority=1 authentication-key=""
network-type=broadcast retransmit-interval=5s transmit-delay=1s
hello-interval=10s dead-interval=40s

[admin@2] > routing ospf network print
Flags: X - disabled, I - invalid

NETWORK AREA

0 10.11.100.0/29 area1

[admin@2] > routing ospf area print
Flags: X - disabled

NAME AREA-ID TYPE DEFAULT-COST AUTHENTICATION

0 backbone 0.0.0.0 default none
1 area1 0.0.0.2 default 1 none

and

[admin@2] > routing ospf neighbor print
router-id=10.11.11.2 address=10.11.100.2 priority=1 state="2-Way"
state-changes=0 ls-retransmits=0 ls-requests=0 db-summaries=0
dr-id=10.11.100.2 backup-dr-id=0.0.0.0

and now i can't ping my local network...what have i done wrong??

tnx
bye

on router 1 in my naighbour i have fhowing lines:

[admin@1] > routing ospf neighbor print
router-id=10.11.10.2 address=10.11.100.1 priority=1 state=“2-Way”
state-changes=0 ls-retransmits=0 ls-requests=0 db-summaries=0
dr-id=10.11.100.1 backup-dr-id=0.0.0.0

router-id=10.11.11.2 address=10.11.100.2 priority=1 state=“Init”
state-changes=1 ls-retransmits=0 ls-requests=0 db-summaries=0
dr-id=10.11.100.2 backup-dr-id=0.0.0.0

im manual it say’s that if the link status is on init that the hallo interval is wrong…but by me it’s the same..as it should be..

tnx
bye

You’ve defined more than one area. Why?

Stefan

[admin@1] routing ospf> area print
Flags: X - disabled

NAME AREA-ID TYPE DEFAULT-COST AUTHENTICATION

0 backbone 0.0.0.0 default none
1 area1 0.0.0.2 default 1 none

i have try to switch to 0.0.0.2 for testing but still nothing…i can change it back to 0.0.0.1

ok i have set back to 0.0.0.1 and still nothig…the ping wont go to home network 10.11.10.2 or 10.11.11.2

why?’

tnx
bye

i think i figured out…

as in router1 it must be set that routes can go from a to b and from b to a…

redistribute-connected: as-type-1

and now i have set this to
redistribute-connected: as-type-2 and i work’d now everthing is going as it sholud be…

tnx
bye