Hello List,

Back in the 2006 list archives, Claudio Jeker said "Welcome in the 
OSPF hell".

I just can't figure out how to solve a "nbr_adj_timer: failed to 
form adjacency with .." problem.   I thought I cracked it the other 
day, but the solution I found the other day (removing overlapping 
subnets on interfaces) no longer applies.

HOST A
==========

# cat /etc/ospfd.conf                                               
                                                                    
           
router-id 172.16.176.169
redistribute connected
router-priority 100
area 0.0.0.0 {
auth-type crypt
auth-md 1 ********
auth-md-keyid 1
hello-interval 3
router-dead-time 15
interface lo1 {passive}
interface vlan10 {passive}
interface bge0
interface bge1
}


# ospfctl sh
Router ID: 172.16.176.169
Uptime: 00:03:36
RFC1583 compatibility flag is disabled
SPF delay is 1000 msec(s), hold time between two SPFs is 5000 
msec(s)
Number of external LSA(s) 1
Number of areas attached to this router: 1

Area ID: 0.0.0.0
  Number of interfaces in this area: 4
  Number of fully adjacent neighbors in this area: 0
  SPF algorithm executed 1 time(s)
  Number LSA(s) 1

# ospfctl sh int
Interface   Address            State  HelloTimer Linkstate  Uptime  
  nc  ac
bge1        172.16.176.179/28  DOWN   -          no carrier 
00:00:00   0   0
bge0        172.16.176.178/28  DR     00:00:00   active     
00:03:39   1   1
vlan10      172.16.65.242/23  DOWN   -          no carrier 00:00:00 
  0   0
lo1         172.16.176.169/32  LOOP   -          unknown    
2109w6d0   0   0

# ospfctl sh nei
ID              Pri State        DeadTime Address         Iface     
Uptime
172.16.176.170  1   EXSTA/OTHER  00:00:12 172.16.176.178  bge0      
-


# ospfd -dv
startup
rde_asext_get: 172.16.176.176/28 is net LSA
orig_asext_lsa: 172.16.177.0/27 age 0
if_fsm: event UP resulted in action START and changing state for 
interface bge1 from DOWN to DOWN
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event UP resulted in action START and changing state for 
interface bge0 from DOWN to WAIT
if_fsm: event UP resulted in action START and changing state for 
interface vlan10 from DOWN to DOWN
if_fsm: interface lo1, event UP not expected in state LOOP
spf_calc: area 0.0.0.0 calculated
nbr_fsm: event HELLO_RECEIVED resulted in action 
START_INACTIVITY_TIMER and changing state for neighbor ID 
172.16.176.170 from DOWN to INIT
nbr_fsm: event 2_WAY_RECEIVED resulted in action EVAL and changing 
state for neighbor ID 172.16.176.170 from INIT to 2-WAY
if_act_elect: interface bge0 old dr none new dr 172.16.176.178, old 
bdr none new bdr 172.16.176.178
nbr_fsm: event ADJ_OK resulted in action EVAL and changing state 
for neighbor ID 172.16.176.170 from 2-WAY to EXSTA
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event WAITTIMER resulted in action ELECT and changing state 
for interface bge0 from WAIT to DR
if_act_elect: interface bge0 old dr 172.16.176.178 new dr 
172.16.176.178, old bdr 172.16.176.178 new bdr none
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event NEIGHBORCHANGE resulted in action ELECT and changing 
state for interface bge0 from DR to DR
if_act_elect: interface bge0 old dr 172.16.176.178 new dr 
172.16.176.178, old bdr none new bdr none
if_fsm: event NEIGHBORCHANGE resulted in action ELECT and changing 
state for interface bge0 from DR to DR
nbr_adj_timer: failed to form adjacency with 172.16.176.170
nbr_adj_timer: failed to form adjacency with 172.16.176.170
nbr_adj_timer: failed to form adjacency with 172.16.176.170


===========
HOST B
==========

# cat /etc/ospfd.conf                                               
                                                                
router-id 172.16.176.170
redistribute connected
area 0.0.0.0 {
auth-type crypt
auth-md 1  ********
auth-md-keyid 1
hello-interval 3
router-dead-time 15
interface lo1 {passive}
interface vlan5 {passive}
interface vlan10 {passive}
interface bge0 
interface bge1
}


# ospfctl sh
Router ID: 172.16.176.170
Uptime: 00:03:06
RFC1583 compatibility flag is disabled
SPF delay is 1000 msec(s), hold time between two SPFs is 5000 
msec(s)
Number of external LSA(s) 1
Number of areas attached to this router: 1

Area ID: 0.0.0.0
  Number of interfaces in this area: 5
  Number of fully adjacent neighbors in this area: 0
  SPF algorithm executed 1 time(s)
  Number LSA(s) 1

# ospfctl sh int
Interface   Address            State  HelloTimer Linkstate  Uptime  
  nc  ac
bge1        172.16.176.182/28  DOWN   -          no carrier 
00:00:00   0   0
bge0        172.16.176.178/28  OTHER  00:00:02   active     
00:03:09   1   1
vlan10      172.16.155.174/29   DOWN   -          no carrier 
00:00:00   0   0
vlan5       172.16.176.210/29  DOWN   -          no carrier 
00:00:00   0   0
lo1         172.16.176.170/32  LOOP   -          unknown    
2109w6d0   0   0

# ospfctl sh nei
ID              Pri State        DeadTime Address         Iface     
Uptime
172.16.176.169  100 EXSTA/DR     00:00:12 172.16.176.178  bge0      
-


# ospfd -dv
startup
rde_asext_get: 172.16.176.176/28 is net LSA
orig_asext_lsa: 172.16.177.0/27 age 0
if_fsm: event UP resulted in action START and changing state for 
interface bge1 from DOWN to DOWN
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event UP resulted in action START and changing state for 
interface bge0 from DOWN to WAIT
if_fsm: event UP resulted in action START and changing state for 
interface vlan10 from DOWN to DOWN
if_fsm: event UP resulted in action START and changing state for 
interface vlan5 from DOWN to DOWN
if_fsm: interface lo1, event UP not expected in state LOOP
spf_calc: area 0.0.0.0 calculated
nbr_fsm: event HELLO_RECEIVED resulted in action 
START_INACTIVITY_TIMER and changing state for neighbor ID 
172.16.176.169 from DOWN to INIT
nbr_fsm: event 2_WAY_RECEIVED resulted in action EVAL and changing 
state for neighbor ID 172.16.176.169 from INIT to 2-WAY
if_fsm: event NEIGHBORCHANGE resulted in action NOTHING and 
changing state for interface bge0 from WAIT to WAIT
if_act_elect: interface bge0 old dr none new dr 172.16.176.178, old 
bdr none new bdr none
nbr_fsm: event ADJ_OK resulted in action EVAL and changing state 
for neighbor ID 172.16.176.169 from 2-WAY to EXSTA
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event BACKUPSEEN resulted in action ELECT and changing 
state for interface bge0 from WAIT to OTHER
if_fsm: interface bge0, event BACKUPSEEN not expected in state OTHER
if_act_elect: interface bge0 old dr 172.16.176.178 new dr 
172.16.176.178, old bdr none new bdr 172.16.176.178
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event NEIGHBORCHANGE resulted in action ELECT and changing 
state for interface bge0 from OTHER to BCKUP
if_act_elect: interface bge0 old dr 172.16.176.178 new dr 
172.16.176.178, old bdr 172.16.176.178 new bdr none
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface bge0
if_fsm: event NEIGHBORCHANGE resulted in action ELECT and changing 
state for interface bge0 from BCKUP to OTHER
if_fsm: event WAITTIMER resulted in action NOTHING and changing 
state for interface bge0 from OTHER to OTHER
nbr_adj_timer: failed to form adjacency with 172.16.176.169
nbr_adj_timer: failed to form adjacency with 172.16.176.169
nbr_adj_timer: failed to form adjacency with 172.16.176.169

Reply via email to