[Xorp-users] retaining static routes

Pavlin Radoslavov pavlin@icir.org
Thu, 08 Dec 2005 12:24:18 -0800


> 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.

I just added a bugzilla entry regarding this configuration flag:
http://www.xorp.org/bugzilla/show_bug.cgi?id=413

Tom, please let us know if such flag would be sufficient for your
need or whether you had something else in mind.

Pavlin

> >>>>> "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
> _______________________________________________
> Xorp-users mailing list
> Xorp-users@xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users