[quagga-dev 7015] Re: [PATCH 2/3] zebra: optional system interface route management
joakim.tjernlund at transmode.se
Wed Aug 5 22:04:13 BST 2009
Stephen Hemminger <shemminger at vyatta.com> wrote on 05/08/2009 22:38:36:
> 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
OK, but I think you need to add that.
> > 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