Hi all,
On Thu, 18 Feb 2010 18:54:04 +0700, Insan Praja SW <insan.pr...@gmail.com> wrote:

Hi All,
On Thu, 18 Feb 2010 05:32:43 +0700, Claudio Jeker <cje...@diehard.n-r-g.com> wrote:

On Thu, Feb 18, 2010 at 03:03:34AM +0700, Insan Praja SW wrote:
Hi Misc@,
Recently I updated one of my routers into current. We runs OSPFd as
an IGP for our network. The update went success, but OSPFd wont get
synchronized. On the kernel-updated routers "ospfctl sh neig" shows:

$ ospfctl sh neig
ID Pri State DeadTime Address Iface Uptime


on dec 20 kernel routers shows:

$ ospfctl sh nei
ID Pri State DeadTime Address Iface Uptime
2ab.cde.fgh.229  1   FULL/DR      00:00:31 2ab.cde.fgh.6    vlan6
01w2d21h
2ab.cde.fgh.226  1   DOWN/OTHER   00:36:21 2ab.cde.fgh.3    vlan6     -
2ab.cde.fgh.227  1   FULL/BCKUP   00:00:31 2ab.cde.fgh.4    vlan6
01w2d21h
2ab.cde.fgh.228  1   2-WAY/OTHER  00:00:31 2ab.cde.fgh.5    vlan6     -

The router-ids are their loopback interfaces. Below are their configs.


Did you run ospfd -dvv on the box that is not working? Is there any info
in the log? My ospfd's are quite happy at the moment. Few old ones, for
non openbsd ones and a few -current ones.


With the "ospfd -dvv" I finally found the problem.


$ sudo ospfd -dvv
password = "secret"
warning: macro 'password' not used
startup
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface vlan6
if_fsm: event UP resulted in action START and changing state for interface vlan6 from DOWN to WAIT
orig_asext_lsa: 1ab.cde.fg.240/30 age 0
orig_asext_lsa: 1hi.jkl.mn.196/30 age 0
orig_asext_lsa: 1op.qrs.tuv.112/30 age 0
orig_asext_lsa: 2ab.cde.fgh.32/30 age 0
rde_asext_get: 2ab.cde.fgh.0/29 is net LSA
orig_asext_lsa: 2ab.cde.fgh.16/30 age 0
orig_asext_lsa: 2ab.cde.fg.4/30 age 0
orig_asext_lsa: 2hi.jkl.mno.232/30 age 0
spf_calc: area 0.0.0.0 calculated
recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 <- This is it
recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6
recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6
recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6
recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6
recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6
^Croute decision engine exiting
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface vlan6
if_fsm: event DOWN resulted in action RESET and changing state for interface vlan6 from WAIT to DOWN
ospf engine exiting
kernel routing table decoupled
terminating
$ ifconfig lo
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
         priority: 0
         groups: lo egress
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
         inet 127.0.0.1 netmask 0xff000000
         inet 2ab.cde.fgh.226 netmask 0xffffffff
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
         description: BLACKHOLE
         priority: 0
         groups: lo
         inet 127.0.0.2 netmask 0xffffffff

Thanks,


Insan Praja SW

So I find out that there is a rdr rule in pf.conf which redirect ospf traffic to lo1 (silly me..). I fixed the rule and it stayed on init state.


if_act_elect: interface vlan6 old dr none new dr 2ab.cde.fgh.3, old bdr none new bdr none
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface vlan6
orig_rtr_lsa: area 0.0.0.0
orig_rtr_lsa: stub net, interface vlan6
if_fsm: event WAITTIMER resulted in action ELECT and changing state for interface vlan6 from WAIT to DR
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.229
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_ack: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_ack: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.227
recv_ls_ack: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228
recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225

Thanks,


Insan Praja SW
--
insandotpraja(at)gmaildotcom

Reply via email to