Subject: Re: [PATCH 1/2] IPV4: remove addresses and routes when carrier is lost

From: Patrick McHardy <[email-masked]>
Date: Wed, 04 Jun 2008 00:32:22 +0200

Lennart Sorensen wrote:
> On Tue, Jun 03, 2008 at 06:03:46PM +0200, Patrick McHardy wrote:
>> Can't the routing daemon simply ignore routes with a
>> device that has no carrier?
> 
> zebra won't add a route that is already provided by the kernel.  The
> kernel has to remove it's route when the link is down before zebra can
> provide an alternative.

That should be easily fixed, the kernel provides all necessary
information to make this decision in userspace.