[Xorp-users] OSPF Failures

Tim Durack tdurack@gmail.com
Mon, 5 Dec 2005 13:25:37 -0500


------=_Part_2401_6103843.1133807137127
Content-Type: multipart/alternative; 
	boundary="----=_Part_2402_11391249.1133807137127"

------=_Part_2402_11391249.1133807137127
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I have created a basic network of four XORP routers, meshed together (gre
tunnels built outside of XORP.)
All the adjacencies come up, but OSPF is randomly dying with the following
error:

[ 2005/12/05 13:08:23  FATAL xorp_ospfv2:4327 OSPF +465 routing_table.cc
add_entry ] Assertion (0 =3D=3D _entries.count(area)) failed
[ 2005/12/05 13:08:23  INFO xorp_rtrmgr:4322 RTRMGR +668 module_manager.cc
killed ] Module abnormally killed: ospf4
[ 2005/12/05 13:08:23  WARNING xorp_rtrmgr:4322 XrlFinderTarget +406
../xrl/targets/finder_base.cc handle_finder_0_2_resolve_xrl ] Handling
method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed
Target "ospfv2" does not exist or is not enabled.
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table =3D Redist:ospf


Not sure why this is happening. I have attached the configs in case it
helps.

Tim:>

------=_Part_2402_11391249.1133807137127
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I have created a basic network of four XORP routers, meshed together (gre t=
unnels built outside of XORP.)<br>
All the adjacencies come up, but OSPF is randomly dying with the following =
error:<br>
<br>
[ 2005/12/05 13:08:23&nbsp; FATAL xorp_ospfv2:4327 OSPF +465
routing_table.cc add_entry ] Assertion (0 =3D=3D _entries.count(area))
failed<br>
[ 2005/12/05 13:08:23&nbsp; INFO xorp_rtrmgr:4322 RTRMGR +668 module_manage=
r.cc killed ] Module abnormally killed: ospf4<br>
[ 2005/12/05 13:08:23&nbsp; WARNING xorp_rtrmgr:4322 XrlFinderTarget
+406 ../xrl/targets/finder_base.cc handle_finder_0_2_resolve_xrl ]
Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102
Command failed Target &quot;ospfv2&quot; does not exist or is not enabled.<=
br>
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol=
 ospfv2 shutting down -------<br>
OriginTable: ospf<br>
IGP<br>
next table =3D Redist:ospf<br>
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol=
 ospfv2 shutting down -------<br>
OriginTable: ospf<br>
IGP<br>
next table =3D Redist:ospf<br>
[ 2005/12/05 13:08:23 INFO xorp_rib RIB ] Received death event for protocol=
 ospfv2 shutting down -------<br>
OriginTable: ospf<br>
IGP<br>
next table =3D Redist:ospf<br>
[ 2005/12/05 13:08:23 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>
Not sure why this is happening. I have attached the configs in case it help=
s.<br>
<br>
Tim:&gt;<br>
<br>

------=_Part_2402_11391249.1133807137127--

------=_Part_2401_6103843.1133807137127
Content-Type: application/octet-stream; name=xen1.config
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xen1.config"

/*XORP Configuration File, v1.0*/
rtrmgr {
    load-http-command: "curl"
    targetname: "rtrmgr"
    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
    }
    targetname: "fea"
}
plumbing {
    rib {
        targetname: "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: ""
    }
    interface tun1 {
        vif tun1 {
            address 10.1.0.9 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun2 {
        vif tun2 {
            address 10.1.0.13 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    targetname: "fea"
    restore-original-config-on-shutdown: false
}
protocols {
    ospf4 {
        router-id: 10.0.0.1
        targetname: "ospfv2"
        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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                link-type: "broadcast"
            }
            area-type: "normal"
        }
    }
}

------=_Part_2401_6103843.1133807137127
Content-Type: application/octet-stream; name=xen2.config
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xen2.config"

/*XORP Configuration File, v1.0*/
rtrmgr {
    load-http-command: "curl"
    targetname: "rtrmgr"
    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
    }
    targetname: "fea"
}
plumbing {
    rib {
        targetname: "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
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun1 {
        vif tun1 {
            address 10.1.0.17 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun2 {
        vif tun2 {
            address 10.1.0.21 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    targetname: "fea"
    restore-original-config-on-shutdown: false
}
protocols {
    ospf4 {
        router-id: 10.0.0.2
        targetname: "ospfv2"
        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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                link-type: "broadcast"
            }
            area-type: "normal"
        }
    }
}

------=_Part_2401_6103843.1133807137127
Content-Type: application/octet-stream; name=xen3.config
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xen3.config"

/*XORP Configuration File, v1.0*/
rtrmgr {
    load-http-command: "curl"
    targetname: "rtrmgr"
    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
    }
    targetname: "fea"
}
plumbing {
    rib {
        targetname: "rib"
    }
}
interfaces {
    interface dummy0 {
        vif dummy0 {
            address 10.1.0.1 {
                prefix-length: 32
                disable: false
            }
            address 10.1.1.1 {
                prefix-length: 24
                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
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun1 {
        vif tun1 {
            address 10.1.0.10 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun2 {
        vif tun2 {
            address 10.1.0.18 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    targetname: "fea"
    restore-original-config-on-shutdown: false
}
protocols {
    ospf4 {
        router-id: 10.1.0.1
        targetname: "ospfv2"
        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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                link-type: "broadcast"
            }
            area-type: "normal"
        }
    }
    bgp {
        bgp-id: 10.1.0.1
        targetname: "bgp"
        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
        }
    }
}

------=_Part_2401_6103843.1133807137127
Content-Type: application/octet-stream; name=xen4.config
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xen4.config"

/*XORP Configuration File, v1.0*/
rtrmgr {
    load-http-command: "curl"
    targetname: "rtrmgr"
    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
    }
    targetname: "fea"
}
plumbing {
    rib {
        targetname: "rib"
    }
}
interfaces {
    interface dummy0 {
        vif dummy0 {
            address 10.1.0.2 {
                prefix-length: 32
                disable: false
            }
            address 10.1.2.1 {
                prefix-length: 24
                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
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun1 {
        vif tun1 {
            address 10.1.0.14 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    interface tun2 {
        vif tun2 {
            address 10.1.0.22 {
                prefix-length: 30
                disable: false
            }
            disable: false
        }
        disable: false
        discard: false
        description: ""
    }
    targetname: "fea"
    restore-original-config-on-shutdown: false
}
protocols {
    ospf4 {
        router-id: 10.1.0.2
        targetname: "ospfv2"
        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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                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
                    }
                }
                link-type: "broadcast"
            }
            area-type: "normal"
        }
    }
    bgp {
        bgp-id: 10.1.0.2
        targetname: "bgp"
        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
        }
    }
}

------=_Part_2401_6103843.1133807137127--