netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Olsson <Robert.Olsson@data.slu.se>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: Robert Olsson <Robert.Olsson@data.slu.se>, netdev@oss.sgi.com
Subject: Re: suggestion for routing code improvement
Date: Thu, 11 Apr 2002 01:02:23 +0200	[thread overview]
Message-ID: <15540.50303.858294.986710@robur.slu.se> (raw)
In-Reply-To: <3CB4A6FB.F9146FDB@nortelnetworks.com>


Chris Friesen writes:
 > The box(es) which inspired this sit on a private network, and once they are
 > brought into service, the routes never change.  However, there is a command from
 > our gui to manually drop and raise the ethernet link (just in case something
 > goes wrong and can't be handled automatically) and it would simplify our code
 > greatly if the routes that are automatically deleted would be automatically put
 > back.

 If we limit us to "static routes" for the other routes we must definitely leave to 
 some with routing/topologi knowledge and we must not break systems with "routing 
 daemons".

 If we look into the routing world a "route" can come from different origins/routing
 protocols static/ospf/rip/bgp and there is preferences to decide which one to 
 install.

 So

 ip route add x y proto static 

 Is registered by routing daemon and installed if it has the best pref. and the 
 route is hidden otherwise to be restored when appropriate. And the route is invalid 
 but kept by the daemon over "link downs" 

 And I think

 ip route rep x y proto static 

 or something similar at link up for restoring "static" routes would not break 
 for the daemons either. But I got a feeling it can hurt more than it helps.


 > In this case, my software *is* essentially the routing daemon, and I want it to
 > be simpler to maintain.
 
 Well router daemons belongs to "user space" and via netlink you should be able to 
 do most of what you want.

 
 Cheers.

							--ro

 

  reply	other threads:[~2002-04-10 23:02 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 [this message]
2002-04-11  2:24       ` Julian Anastasov
2002-04-11 11:29         ` Robert Olsson
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=15540.50303.858294.986710@robur.slu.se \
    --to=robert.olsson@data.slu.se \
    --cc=cfriesen@nortelnetworks.com \
    --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).