[quagga-dev 7014] Re: [PATCH 2/3] zebra: optional system interface route management

Stephen Hemminger shemminger at vyatta.com
Wed Aug 5 21:38:36 BST 2009

On Wed, 5 Aug 2009 21:44:26 +0200
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:

> > This patch adds support for removing FIB entry for interface when
> > link goes down. Normally on Linux, if eth0 is marked down (or loses carrier),
> > the connected route will stay in the FIB. This behaviour is good for
> > a host, but not what a router should do.
> >
> > Since zebra is now doing connected route management, it also needs
> > to record more info about the route in the RIB (protocol, scope).
> Will zebra restore connected routes when zebra terminates?
If interface is still down, it currently will not restore
connected route

> Why not manage kernel routes as well?
No. The reason is that other applications that create/delete routes
should be managing themselves. If zebra gets in the way of this
it confuses these applications.

More information about the Quagga-dev mailing list