netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* suggestion for routing code improvement
@ 2002-04-10 17:51 Chris Friesen
  2002-04-10 18:53 ` Andi Kleen
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Chris Friesen @ 2002-04-10 17:51 UTC (permalink / raw)
  To: netdev


Well, we're into a new experimental branch, so I figured the time had come to
bring back an idea that didn't make it in a year ago.

Currently, if you add custom routes and then down the device that the routes are
associated with, the routes are then removed.  This is entirely understandable.

However, when you then up the interface, the routes do not come back up
automatically.  This is the part that I don't agree with.

Addresses, automatic routes, and custom rules either stay in effect or are
brought back up by the system when an interface is downed and then upped.  The
only exception to this is custom routes.

I propose that these custom routes be stored in some fashion, and then be
brought back up when the device is brought back up.  This would make certain
types of link management much simpler.  Custom routes, once added, would stay in
effect until explicitly removed.  As it stands now, any time you down/up a link
you have to then go back and add all the custom routes again.  This can be a
pain in the butt.

So, what do you guys think?  Is this a reasonable thing to do?  I think that it
makes the system nicely symmetrical, as opposed to the asymmetrical handling of
current kernels.

I don't have a really good grasp of what data structures are avialable to us in
the routing code, so could someone with a better understanding of the code
comment as to how hard this would be to implement?

Thanks,


Chris




-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: suggestion for routing code improvement
@ 2002-04-10 20:41 Nivedita Singhvi
  0 siblings, 0 replies; 18+ messages in thread
From: Nivedita Singhvi @ 2002-04-10 20:41 UTC (permalink / raw)
  To: Robert Olsson; +Cc: Chris Friesen, netdev



 > > So, what do you guys think?  Is this a reasonable thing
 > > to do?  I think that it
 > > makes the system nicely symmetrical, as opposed to the
 > > asymmetrical handling of current kernels.

 > Hello!

 > Why not leave the routing policy job to a routing daemon?

 > There is risk of routing havoc if the kernel start acting
 > as one.

 > L-uu1:/# ip route list | wc -l
 > 110441

 > This Linux box has 110441 bgp routes. Internet routing is
 > very much like a living organism. Routes comes and goes.

 But is that the norm? Not all linux installations are large
 internet nodes..I'd say at least a significant minority of
 hosts typically have just a few static routes, not running
 a routing daemon, who would be helped by some mechanism to
 auto reinstall routes..(perhaps a generously configurable
 one)

thanks,
Nivedita

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2002-04-11 16:05 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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