From: Robert Olsson <Robert.Olsson@data.slu.se>
To: Julian Anastasov <ja@ssi.bg>
Cc: Robert Olsson <Robert.Olsson@data.slu.se>,
Chris Friesen <cfriesen@nortelnetworks.com>, <netdev@oss.sgi.com>
Subject: Re: suggestion for routing code improvement
Date: Thu, 11 Apr 2002 13:29:40 +0200 [thread overview]
Message-ID: <15541.29604.537736.704406@robur.slu.se> (raw)
In-Reply-To: <Pine.LNX.4.44.0204110213230.15041-100000@u.domain.uli>
Julian Anastasov writes:
>
> include/linux/rtnetlink.h already contains the needed RTPROT_xxx
> definitions. The most used daemons don't use RTPROT_STATIC. The kernel
> does not know that the daemon registers static routes, they all
> have its own RTPROT_value. The static routes are marked as such only
> in the daemon's config file. May be it is possible value RTPROT_STATIC
> to be marked in comments as a kernel property.
Hello!
There is already RTPROT_KERNEL and proto RTPROT_STATIC is way for the
administrator to interact with the routing daemon even if is a you say
that this is not currently implemented by all daemons. I have used this
with gated.
IMHO even static routes implements a routing policy from some administrator
view and should therefore by configured, debugged etc. This job has to done
somewhere and a userland daemon seems most adequate at least in my eyes.
And with the current model the "network" comes up in a clean fashion. I think
it easier to just add the needed routes rather to check the old history and
deal with this. Probably we need to check is address, netmask changes etc
so the old routes will be installed in the same context.
A very simple daemon for static routes would do the job we are talking about
here and should be easy to configure through config files or just via netlink.
And just replace it with zebra/gated/bird when the complexity requires it.
Cheers.
--ro
next prev parent reply other threads:[~2002-04-11 11:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 17:51 suggestion for routing code improvement Chris Friesen
2002-04-10 18:53 ` Andi Kleen
2002-04-10 20:15 ` Robert Olsson
2002-04-10 20:56 ` Chris Friesen
2002-04-10 23:02 ` Robert Olsson
2002-04-11 2:24 ` Julian Anastasov
2002-04-11 11:29 ` Robert Olsson [this message]
2002-04-11 12:08 ` Julian Anastasov
2002-04-11 12:18 ` jamal
2002-04-11 12:58 ` Julian Anastasov
2002-04-11 13:05 ` jamal
2002-04-11 13:01 ` Robert Olsson
2002-04-11 13:06 ` Julian Anastasov
2002-04-11 14:53 ` Robert Olsson
2002-04-11 15:24 ` Julian Anastasov
2002-04-11 16:05 ` Robert Olsson
2002-04-10 21:37 ` Julian Anastasov
-- strict thread matches above, loose matches on Subject: below --
2002-04-10 20:41 Nivedita Singhvi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15541.29604.537736.704406@robur.slu.se \
--to=robert.olsson@data.slu.se \
--cc=cfriesen@nortelnetworks.com \
--cc=ja@ssi.bg \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).