[Xorp-users] xorp clearing routing table upon startup

Stegen Smith stegen at owns.com
Thu Oct 9 16:28:55 PDT 2008


Hello again group!

So I've got another question regarding xorp clearing the routing table on the system while starting up.
I'm guessing that is the default behavior, but I was wondering if it could be disabled/modified.  Here's the situation
that I'm seeing.  I've got openbgpd setup on my router, and have yet to configure bgp in xorp  (unsure if I want to
stick with openbgp or use xorp... I'm vacillating... but maybe this will force my hand!).

So, openbgpd obviously inserts its routes into the routing table:
root1p2at-ig1.sv~ netstat -nr|grep 10.3.48
10.3.48/20         10.3.14.39         UG1         0        0      -   vlan290

I then startup xorp and:
root1p2at-ig1.sv~ netstat -nr|grep 10.3.48
root1p2at-ig1.sv~

So is there any chance that I would be able to get them to play nicely, or is it a pipe dream?  I guess that'd be a push to get everything into xorp ;)

Here's my configuration if that helps:

interfaces {
    restore-original-config-on-shutdown: false
    interface vlan41 {
        description: "data interface"
        disable: false
        default-system-config
    }
}

fea {
    unicast-forwarding4 {
        disable: false
    }
}

plumbing {
    mfea4 {
        disable: false
        interface vlan41 {
            vif vlan41 {
                disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                disable: false
            }
        }
    }
}

protocols {
    igmp {
        disable: false
        interface vlan41 {
            vif vlan41 {
                disable: false
                version: 2
                enable-ip-router-alert-option-check: false
                query-interval: 60
                query-last-member-interval: 1
                query-response-interval: 10
                robust-count: 2
            }
        }
    }

    pimsm4 {
        disable: false
        interface vlan41 {
            vif vlan41 {
                disable: false
                dr-priority: 1
                hello-period: 30
                hello-triggered-delay: 5
            }
        }
        interface register_vif {
            vif register_vif {
                disable: false
            }
        }
/*
        bootstrap {
            disable: false
            cand-bsr {
                scope-zone 224.0.0.0/4 {
                    is-scope-zone: false
                    cand-bsr-by-vif-name: "vlan41"
                    cand-bsr-by-vif-addr: 10.3.96.2
                    bsr-priority: 1
                    hash-mask-len: 30
                }
            }
        }
*/
        /* Note: static-rps and bootstrap should not be mixed */
        static-rps {
            rp 10.3.96.2 {
                group-prefix 224.0.0.0/4 {
                }
            }
        }

        switch-to-spt-threshold {
            /* approx. 1K bytes/s (10Kbps) threshold */
            disable: false
            interval: 100
            bytes: 102400
        }

    }

    fib2mrib {
        disable: false
    }
}

Thanks for the help, and I apologize in advance if this is too much =)

stegen



More information about the Xorp-users mailing list