[quagga-dev 7064] Re: [PATCH 2/3] zebra: optional system interface route management
shemminger at vyatta.com
Fri Aug 7 16:48:26 BST 2009
On Fri, 7 Aug 2009 09:48:12 +0200
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:
> > 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.
> I just remembered an old thread. What happens w.r.t the router LSA? Will it announce
> a host route when carrier is lost?
Read the code, the route stays in the RIB. It just makes the FIB stay
in sync with the RIB.
More information about the Quagga-dev