[Xorp-users] retaining static routes

Atanu Ghosh atanu@ICSI.Berkeley.EDU
Mon, 05 Dec 2005 21:56:29 -0800


Hi,

XORP attempts to mark routes that is adds to the kernel, on FreeBSD it
marks them with RTF_PROTO1. When XORP shuts down it should only removed
the marked routes. If XORP is removing routes that were already present
and unmarked this is a bug.

I just tried a simple experiment on FreeBSD 6.0, I added a static route,
started XORP, then killed it, the route was still there.

XORP routing protocols will on shutdown attempt to remove all the routes
that they have installed. If for example XORP is configured with a
static route that already existed before XORP was started the route will
be removed. The only way around this would be to take a snapshot of the
routing table on startup and put it back on shutdown. A flag already
exists for interfaces were the original config can be put back on
shutdown. We should perhaps consider a similar option for the routing
table.

    Atanu.

>>>>> "Tom" == Tom Pusateri <pusateri@bangj.com> writes:

    Tom> Is there a way to retain static routes when xorp terminates?
    Tom> if they were in before xorp started, it would be nice if it
    Tom> would leave them in. Or have a flag to not remove them.

    Tom> Thanks, Tom

    Tom> _______________________________________________ Xorp-users
    Tom> mailing list Xorp-users@xorp.org
    Tom> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users