Community discussions

MikroTik App
 
doush
Long time Member
Long time Member
Topic Author
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Neighbor State "Init"

Tue Jan 19, 2010 6:05 pm

Backbone router shows one of its neigbors state as "init"

On the other router, there is nothing on the neighbor list.

What could be the cause to this ?
 
netrat
Member
Member
Posts: 402
Joined: Thu Jun 07, 2007 1:16 pm
Location: Virginia

Re: Neighbor State "Init"

Tue Jan 19, 2010 6:13 pm

Is this two mikrotik routers? What is your network/ospf setup? Is this over wireless? NBMA neighbor??
 
doush
Long time Member
Long time Member
Topic Author
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Re: Neighbor State "Init"

Tue Jan 19, 2010 6:20 pm

These are 2 mikrotik routers.
Backbone router is running v4.5 and the other router is on 3.30 Routing test package.

They are connected by a switch(dump), and on the same switch there is another MT Router and its working just fine.
 
doush
Long time Member
Long time Member
Topic Author
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Re: Neighbor State "Init"

Tue Jan 19, 2010 6:26 pm

/routing ospf instance
set default comment="" disabled=no distribute-default=always-as-type-2 \
in-filter=ospf-in metric-bgp=20 metric-connected=20 metric-default=1 \
metric-other-ospf=auto metric-rip=20 metric-static=20 name=default \
out-filter=ospf-out redistribute-bgp=no redistribute-connected=as-type-2 \
redistribute-other-ospf=no redistribute-rip=no redistribute-static=\
as-type-2 router-id=0.0.0.0
/routing ospf area
set backbone area-id=0.0.0.0 comment="" disabled=no instance=default name=\
backbone type=default
/routing ospf area range
add advertise=yes area=backbone comment="" cost=calculated disabled=yes \
range=0.0.0.0/0
/routing ospf network
add area=backbone comment="" disabled=no network=0.0.0.0/0
/routing ospf neighbor> pr
0 router-id=10.26.1.3 address=10.26.1.3 interface=Sector1 priority=1
dr-address=10.26.1.3 backup-dr-address=0.0.0.0 state="Init"
state-changes=1 ls-retransmits=0 ls-requests=0 db-summaries=0

1 router-id=10.4.1.2 address=10.4.1.2 interface=Sector2 priority=1
dr-address=10.4.1.2 backup-dr-address=10.4.1.1 state="Full"
state-changes=218 ls-retransmits=0 ls-requests=0 db-summaries=0
adjacency=55m48s

2 router-id=10.5.2.1 address=10.5.1.2 interface=ether7 priority=1
dr-address=10.5.1.2 backup-dr-address=10.5.1.1 state="Full"
state-changes=5 ls-retransmits=0 ls-requests=0 db-summaries=0
adjacency=2d2h51m

3 router-id=10.3.1.2 address=10.3.1.2 interface=Bar priority=1
dr-address=10.3.1.2 backup-dr-address=10.3.1.1 state="Full"
state-changes=5 ls-retransmits=0 ls-requests=0 db-summaries=0
adjacency=2d2h51m1s

4 router-id=10.1.1.2 address=10.1.1.2 interface=yol priority=1
dr-address=10.1.1.2 backup-dr-address=10.1.1.1 state="Full"
state-changes=5 ls-retransmits=0 ls-requests=0 db-summaries=0
 
doush
Long time Member
Long time Member
Topic Author
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Re: Neighbor State "Init"

Tue Jan 19, 2010 6:28 pm

set default comment="" disabled=no distribute-default=always-as-type-2 \
in-filter=ospf-in metric-bgp=20 metric-connected=20 metric-default=1 \
metric-other-ospf=auto metric-rip=20 metric-static=20 name=default \
out-filter=ospf-out redistribute-bgp=no redistribute-connected=as-type-2 \
redistribute-other-ospf=no redistribute-rip=no redistribute-static=\
as-type-2 router-id=0.0.0.0
/routing ospf area
set backbone area-id=0.0.0.0 disabled=no instance=default name=backbone type=\
default
/routing ospf network
add area=backbone disabled=no network=10.26.1.0/24
 
doush
Long time Member
Long time Member
Topic Author
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Re: Neighbor State "Init"

Wed Jan 20, 2010 10:27 am

anyone ?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7186
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Neighbor State "Init"

Wed Jan 20, 2010 10:54 am

Check if there are any firewall rules in input or output chains that may block ospf.
Make sure that ospf connections are not nated.
Enable debug logs and check if neighbors are receiving ospf hello packets.
 
doush
Long time Member
Long time Member
Topic Author
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Re: Neighbor State "Init"

Wed Jan 20, 2010 2:21 pm

16:11:53 route,ospf,debug Received packet from an unknown network: 
16:11:53 route,ospf,debug     source=x.x.x.x
On the router where no neigbors are listed, I have the following line which may be interesting in the debug logs.

source x.x.x.x is an public IP address on the network where we NAT that routers Private IP range.

On the main backbone router, I have put rules already to not to NAT OSPF protocol.

29   chain=srcnat action=src-nat to-addresses=x.x.x.x protocol=!ospf 
     src-address=10.26.1.0/24 
30   chain=dstnat action=dst-nat to-addresses=10.26.1.0-10.26.1.255 
     protocol=!ospf dst-address=x.x.x.x 


Who is online

Users browsing this forum: No registered users and 4 guests