Linux-Hams archive - July 1997: The problem with rt_metric and RSPF's routes

The problem with rt_metric and RSPF's routes

David C. Brown N2RJT (terhi.victor@logonet.com)
Wed, 2 Jul 1997 17:57:43 -0400 (EDT)


If RSPF's route addition code is written to respect metrics, everything
works fine except that it breaks the ability to change the cost of
marginal adjacencies, or otherwise dynamically change the cost of routes.

The problem is this: when a link goes from good to marginal, its cost
gets increased. RSPFd doesn't replace the old route with the new one,
because the old route has a lower metric.

It wouldn't take much to fix this, once it has come to light.

--
Dave  | Email:  wncagbc@halden.net
Brown | Packet: N2RJT@WB2PSI.#WNY.NY.USA.NOAM