[Xorp-hackers] OSPF Failures
Tim Durack
tdurack@gmail.com
Tue, 7 Feb 2006 21:52:57 -0500
------=_Part_924_27671142.1139367177345
Content-Type: multipart/alternative;
boundary="----=_Part_925_4469158.1139367177345"
------=_Part_925_4469158.1139367177345
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I've been having ongoing OSPF death problems with my simple fully meshed
four router test bed.
If I bring all four routers up at the same time, OSPF quickly dies. If I
bring them up one at a time, sometimes they will stay up and stable.
The event is:
[ 2006/02/07 21:11:40 INFO xorp_rtrmgr:7256 RTRMGR +2228 task.cc run_task =
]
No more tasks to run
[ 2006/02/07 21:11:40 TRACE xorp_rtrmgr RTRMGR ] apply_config_change_done:
status: 1 response: target: xorpsh-7257-xen1
[ 2006/02/07 21:12:45 TRACE xorp_ospfv2 OSPF ] Ack for LSA not in
retransmission list.
LS age 1 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link
State ID 10.0.0.1 Advertising Router 10.0.0.1 LS sequence number 0x80000001
LS checksum 0xcde5 leng th 72
Link State Acknowledgement Packet:
Version 2
Type 5
Router ID 10.1.0.2
Area ID 0.0.0.0
Auth Type 0
LS age 1 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1
Link State ID 10.0.0.1 Advertising Router 10.0.0.1 LS sequence number
0x80000001 LS checksum 0xc de5 length 72
[ 2006/02/07 21:14:16 TRACE xorp_ospfv2 OSPF ] Ack for LSA not in
retransmission list.
LS age 91 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2 Link
State ID 10.1.0.13 Advertising Router 10.0.0.1 LS sequence number 0x8000000=
1
LS checksum 0xdc45 len gth 32
Link State Acknowledgement Packet:
Version 2
Type 5
Router ID 10.0.0.2
Area ID 0.0.0.0
Auth Type 0
LS age 91 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2
Link State ID 10.1.0.13 Advertising Router 10.0.0.1 LS sequence number
0x80000001 LS checksum 0x dc45 length 32
[ 2006/02/07 21:14:21 FATAL xorp_ospfv2:7261 OSPF +471 routing_table.cc
add_entry ] Assertion (0 =3D=3D _entries.count(area)) failed
[ 2006/02/07 21:14:21 ERROR xorp_rtrmgr:7256 RTRMGR +736 module_manager.cc
done_cb ] Command "/usr/local/xorp/ospf/xorp_ospfv2": terminated with signa=
l
6.
[ 2006/02/07 21:14:21 INFO xorp_rtrmgr:7256 RTRMGR +286 module_manager.cc
module_exited ] Module abnormally killed: ospf4
[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
I've attached all four router configs in case it helps.
Any ideas?
Tim:>
------=_Part_925_4469158.1139367177345
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I've been having ongoing OSPF death problems with my simple fully meshed fo=
ur router test bed.<br><br>If I bring all four routers up at the same time,=
OSPF quickly dies. If I bring them up one at a time, sometimes they will s=
tay up and stable.
<br><br>The event is:<br><br>[ 2006/02/07 21:11:40 INFO xorp_rtrmgr:7=
256 RTRMGR +2228 task.cc run_task ] No more tasks to run<br>[ 2006/02/07 21=
:11:40 TRACE xorp_rtrmgr RTRMGR ] apply_config_change_done: status: 1 respo=
nse: target: xorpsh-7257-xen1
<br>[ 2006/02/07 21:12:45 TRACE xorp_ospfv2 OSPF ] Ack for LSA not in retra=
nsmission list.<br>LS age 1 Options 0x2 DC: 0 EA: 0=
N/P: 0 MC: 0 E: 1 LS type 0x1 Link State ID <a href=3D"http://10.0.0.1">10=
.0.0.1</a> Advertising Router=20
<a href=3D"http://10.0.0.1">10.0.0.1</a> LS sequence number 0x80000001 LS c=
hecksum 0xcde5 leng th 72<br>Link State Acknowledgement Packet:<br> &n=
bsp; Version 2<br> &nb=
sp; Type 5<br> Router=
ID <a href=3D"http://10.1.0.2">
10.1.0.2</a><br> Area ID <a href=
=3D"http://0.0.0.0">0.0.0.0</a><br> &nbs=
p; Auth Type 0<br><br> LS age&nbs=
p; 1 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x=
1 Link State ID <a href=3D"http://10.0.0.1">10.0.0.1
</a> Advertising Router <a href=3D"http://10.0.0.1">10.0.0.1</a> LS sequenc=
e number 0x80000001 LS checksum 0xc de5 length 72<br>[ 2006/02/07 21:14:16 =
TRACE xorp_ospfv2 OSPF ] Ack for LSA not in retransmission list.<br>LS age&=
nbsp; 91 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2 =
Link State ID=20
<a href=3D"http://10.1.0.13">10.1.0.13</a> Advertising Router <a href=3D"ht=
tp://10.0.0.1">10.0.0.1</a> LS sequence number 0x80000001 LS checksum 0xdc4=
5 len gth 32<br>Link State Acknowledgement Packet:<br> &nb=
sp; Version 2<br>
Type 5<br> &nbs=
p; Router ID <a href=3D"http://10.0.0.2">10.0.0.2</a><br>=
Area ID <a href=3D"http://0.0.0.=
0">0.0.0.0</a><br> Auth Type 0<br=
><br> LS age 91 Optio=
ns 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2 Link State ID=20
<a href=3D"http://10.1.0.13">10.1.0.13</a> Advertising Router <a href=3D"ht=
tp://10.0.0.1">10.0.0.1</a> LS sequence number 0x80000001 LS checksum 0x dc=
45 length 32<br>[ 2006/02/07 21:14:21 FATAL xorp_ospfv2:7261 OSPF +47=
1 routing_table.cc add_entry ] Assertion (0 =3D=3D _entries.count(area)) fa=
iled
<br>[ 2006/02/07 21:14:21 ERROR xorp_rtrmgr:7256 RTRMGR +736 module_m=
anager.cc done_cb ] Command "/usr/local/xorp/ospf/xorp_ospfv2": t=
erminated with signal 6.<br>[ 2006/02/07 21:14:21 INFO xorp_rtrmgr:72=
56 RTRMGR +286 module_manager.cc module_exited ] Module abnormally killed: =
ospf4
<br>[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received death event for prot=
ocol ospfv2 shutting down -------<br>OriginTable: ospf<br>IGP<br>next table=
=3D Redist:ospf<br>[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received deat=
h event for protocol ospfv2 shutting down -------
<br>OriginTable: ospf<br>IGP<br>next table =3D Redist:ospf<br>[ 2006/02/07 =
21:14:21 INFO xorp_rib RIB ] Received death event for protocol ospfv2 shutt=
ing down -------<br>OriginTable: ospf<br>IGP<br>next table =3D Redist:ospf<=
br>
[ 2006/02/07 21:14:21 INFO xorp_rib RIB ] Received death event for protocol=
ospfv2 shutting down -------<br>OriginTable: ospf<br>IGP<br>next table =3D=
Redist:ospf<br><br><br>I've attached all four router configs in case it he=
lps.
<br><br>Any ideas?<br><br>Tim:><br>
------=_Part_925_4469158.1139367177345--
------=_Part_924_27671142.1139367177345
Content-Type: application/octet-stream; name=xen1.config
Content-Transfer-Encoding: 7bit
X-Attachment-Id: f_ejf1qev9
Content-Disposition: attachment; filename="xen1.config"
/*XORP Configuration File, v1.0*/
rtrmgr {
load-http-command: "curl"
config-directory: ""
load-file-command: "fetch"
load-file-command-args: "-o"
load-ftp-command: "fetch"
load-ftp-command-args: "-o"
load-http-command-args: "-o"
load-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
load-tftp-command-args: ""
save-file-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-file-command-args: ""
save-ftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-ftp-command-args: ""
save-http-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-http-command-args: ""
save-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-tftp-command-args: ""
}
fea {
unicast-forwarding4 {
disable: false
}
}
plumbing {
rib {
}
}
interfaces {
interface dummy0 {
vif dummy0 {
address 10.0.0.1 {
prefix-length: 32
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
}
interface tun0 {
vif tun0 {
address 10.0.0.5 {
prefix-length: 30
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
mtu: 1476
}
interface tun1 {
vif tun1 {
address 10.1.0.9 {
prefix-length: 30
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
mtu: 1476
}
interface tun2 {
vif tun2 {
address 10.1.0.13 {
prefix-length: 30
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
mtu: 1476
}
restore-original-config-on-shutdown: false
}
protocols {
ospf4 {
router-id: 10.0.0.1
ip-router-alert: false
area 0.0.0.0 {
interface tun0 {
vif tun0 {
address 10.0.0.5 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface dummy0 {
vif dummy0 {
address 10.0.0.1 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun1 {
vif tun1 {
address 10.1.0.9 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun2 {
vif tun2 {
address 10.1.0.13 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
area-type: "normal"
}
}
}
------=_Part_924_27671142.1139367177345
Content-Type: application/octet-stream; name=xen2.config
Content-Transfer-Encoding: 7bit
X-Attachment-Id: f_ejf1rd2f
Content-Disposition: attachment; filename="xen2.config"
/*XORP Configuration File, v1.0*/
rtrmgr {
load-http-command: "curl"
config-directory: ""
load-file-command: "fetch"
load-file-command-args: "-o"
load-ftp-command: "fetch"
load-ftp-command-args: "-o"
load-http-command-args: "-o"
load-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
load-tftp-command-args: ""
save-file-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-file-command-args: ""
save-ftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-ftp-command-args: ""
save-http-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-http-command-args: ""
save-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-tftp-command-args: ""
}
fea {
unicast-forwarding4 {
disable: false
}
}
plumbing {
rib {
}
}
interfaces {
interface dummy0 {
vif dummy0 {
address 10.0.0.2 {
prefix-length: 32
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
}
interface tun0 {
vif tun0 {
address 10.0.0.6 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
interface tun1 {
vif tun1 {
address 10.1.0.17 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
interface tun2 {
vif tun2 {
address 10.1.0.21 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
restore-original-config-on-shutdown: false
}
protocols {
ospf4 {
router-id: 10.0.0.2
ip-router-alert: false
area 0.0.0.0 {
interface tun0 {
vif tun0 {
address 10.0.0.6 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface dummy0 {
vif dummy0 {
address 10.0.0.2 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun1 {
vif tun1 {
address 10.1.0.17 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun2 {
vif tun2 {
address 10.1.0.21 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
area-type: "normal"
}
}
}
------=_Part_924_27671142.1139367177345
Content-Type: application/octet-stream; name=xen3.config
Content-Transfer-Encoding: 7bit
X-Attachment-Id: f_ejf1ri00
Content-Disposition: attachment; filename="xen3.config"
/*XORP Configuration File, v1.0*/
rtrmgr {
load-http-command: "curl"
config-directory: ""
load-file-command: "fetch"
load-file-command-args: "-o"
load-ftp-command: "fetch"
load-ftp-command-args: "-o"
load-http-command-args: "-o"
load-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
load-tftp-command-args: ""
save-file-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-file-command-args: ""
save-ftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-ftp-command-args: ""
save-http-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-http-command-args: ""
save-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-tftp-command-args: ""
}
fea {
unicast-forwarding4 {
disable: false
}
}
plumbing {
rib {
}
}
interfaces {
interface dummy0 {
vif dummy0 {
address 10.1.0.1 {
prefix-length: 32
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
}
interface tun0 {
vif tun0 {
address 10.1.0.5 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
interface tun1 {
vif tun1 {
address 10.1.0.10 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
interface tun2 {
vif tun2 {
address 10.1.0.18 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
restore-original-config-on-shutdown: false
}
protocols {
bgp {
bgp-id: 10.1.0.1
local-as: 65001
peer "10.1.0.2" {
as: 65001
peer-port: 179
local-port: 179
local-ip: "10.1.0.1"
holdtime: 90
client: false
confederation-member: false
disable: false
ipv4-unicast: true
ipv4-multicast: false
ipv6-unicast: false
ipv6-multicast: false
next-hop: 10.1.0.2
delay-open-time: 0
}
export: "connected"
}
ospf4 {
router-id: 10.1.0.1
ip-router-alert: false
area 0.0.0.0 {
interface dummy0 {
vif dummy0 {
address 10.1.0.1 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun0 {
vif tun0 {
address 10.1.0.5 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun1 {
vif tun1 {
address 10.1.0.10 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun2 {
vif tun2 {
address 10.1.0.18 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
area-type: "normal"
}
}
}
policy {
policy-statement connected {
term one {
from {
protocol: "connected"
prefix-length4 == 24..24
}
then {
nexthop4: 10.1.0.1
}
}
}
}
------=_Part_924_27671142.1139367177345
Content-Type: application/octet-stream; name=xen4.config
Content-Transfer-Encoding: 7bit
X-Attachment-Id: f_ejf1rmhu
Content-Disposition: attachment; filename="xen4.config"
/*XORP Configuration File, v1.0*/
rtrmgr {
load-http-command: "curl"
config-directory: ""
load-file-command: "fetch"
load-file-command-args: "-o"
load-ftp-command: "fetch"
load-ftp-command-args: "-o"
load-http-command-args: "-o"
load-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
load-tftp-command-args: ""
save-file-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-file-command-args: ""
save-ftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-ftp-command-args: ""
save-http-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-http-command-args: ""
save-tftp-command: "sh -c 'echo Not implemented 1>&2 && exit 1'"
save-tftp-command-args: ""
}
fea {
unicast-forwarding4 {
disable: false
}
}
plumbing {
rib {
}
}
interfaces {
interface dummy0 {
vif dummy0 {
address 10.1.0.2 {
prefix-length: 32
disable: false
}
disable: false
}
disable: false
discard: false
description: ""
}
interface tun0 {
vif tun0 {
address 10.1.0.6 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
interface tun1 {
vif tun1 {
address 10.1.0.14 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
interface tun2 {
vif tun2 {
address 10.1.0.22 {
prefix-length: 30
disable: false
}
disable: false
}
mtu: 1476
disable: false
discard: false
description: ""
}
restore-original-config-on-shutdown: false
}
protocols {
ospf4 {
router-id: 10.1.0.2
ip-router-alert: false
area 0.0.0.0 {
interface dummy0 {
vif dummy0 {
address 10.1.0.2 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun0 {
vif tun0 {
address 10.1.0.6 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun1 {
vif tun1 {
address 10.1.0.14 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
interface tun2 {
vif tun2 {
address 10.1.0.22 {
disable: false
priority: 128
hello-interval: 10
router-dead-interval: 40
interface-cost: 1
transit-delay: 1
retransmit-interval: 5
passive: false
}
}
link-type: "broadcast"
}
area-type: "normal"
}
}
bgp {
bgp-id: 10.1.0.2
local-as: 65001
peer "10.1.0.1" {
as: 65001
peer-port: 179
local-port: 179
local-ip: "10.1.0.2"
holdtime: 90
client: false
confederation-member: false
disable: false
ipv4-unicast: true
ipv4-multicast: false
ipv6-unicast: false
ipv6-multicast: false
next-hop: 10.1.0.1
delay-open-time: 0
}
export: "connected"
}
}
policy {
policy-statement connected {
term one {
from {
protocol: "connected"
prefix-length4 == 24..24
}
then {
nexthop4: 10.1.0.2
}
}
}
}
------=_Part_924_27671142.1139367177345--