Routes not deleted after link down
Jose M Rodriguez
josemi at freebsd.jazztel.es
Sat Jun 18 20:14:38 GMT 2005
El Domingo, 19 de Junio de 2005 00:04, Michal Vanco escribió:
> On Saturday 18 June 2005 20:48, Chuck Swiger wrote:
> > Michal Vanco wrote:
> > > i discovered that routes are not deleted from routing table after
> > > link on interface goes down. For example:
> >
> > [ ... ]
> >
> > > Should't all routes via bge0 be deleted after link on bge0 goes
> > > down?
> >
> > Maybe. If the system was not going to be reconnected to that
> > network anytime soon, it would be a good idea. On the other hand,
> > if the link down was due to a transient failure of a wireless
> > connection, which will be back up in a second or two, it's much
> > better not to drop the route and kill any open connections.
>
> hmm ... this approach is may be appropriate for deskop instalation.
> what about internet router? shouldn't "fast convergence" be better in
> this case? imagine two links connected to the same router with
> different metrics. if first of them goes down, the second never gets
> used in this case.
>
> michal
First, this is a thread for net, not stable.
Second, you may need a route daemon for this. ospf is a well known
canditate where convergence in case of lost link is a must.
Also, you can monitor link status and do the switch from a daemon.
Userland ppp have more or less this.
--
josemi
More information about the freebsd-stable
mailing list