netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why linux keeps connected routes when link goes down
@ 2009-02-18 21:03 Ханкин Константин
  2009-02-18 23:52 ` David Miller
  2009-02-19  0:04 ` Stephen Hemminger
  0 siblings, 2 replies; 13+ messages in thread
From: Ханкин Константин @ 2009-02-18 21:03 UTC (permalink / raw)
  To: netdev

Hello!
Why kernel keeps connected routes when link is not in RUNNING state? It's not 
only linux behavior, some other OSes do so, but why?
It's interesting for me because I have a problem with setting up Quagga for 
OSPF support. When link goes down (!IFF_RUNNING), Quagga updates only its own 
routing table. I must use ifplugd to update routes in kernel (actually to 
delete connected route), but I think it is not a right way.
So the main question is: why linux keeps connected routes when link goes down?
PS: ``ip monitor'' reports about link fail after a minute or longer (on 
8139too and 3c905x). On some Acorp cards it doesn't notice link failure. Is it 
a bad driver or crappy cards? On r8169 I have no problems

--
Konstantin
E-mail homecreate@list.ru
Jabber homecreate@jabber.ru

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

end of thread, other threads:[~2009-02-24 18:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18 21:03 Why linux keeps connected routes when link goes down Ханкин Константин
2009-02-18 23:52 ` David Miller
2009-02-19  6:22   ` Ханкин Константин
2009-02-20 17:19   ` Lennart Sorensen
2009-02-20 20:15     ` David Miller
2009-02-23 14:38       ` Lennart Sorensen
2009-02-23 18:02         ` Ханкин Константин
2009-02-23 21:14           ` Lennart Sorensen
2009-02-23 21:38             ` Stephen Hemminger
2009-02-23 23:41           ` David Miller
2009-02-23 23:33         ` David Miller
2009-02-24 18:52           ` Lennart Sorensen
2009-02-19  0:04 ` Stephen Hemminger

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