>Hi,
> I was trying to use iproute2.
> The command "ip monitor" works well when a route is explicitly
>deleted using the "route" command or any other program.
>but when a route is implicitly deleted, for example, when an
>interface goes down, it does not notify the route deletion.
>
>Why is that? and is there a way to get notified of this route
>deletion.
Well, in your particular circumstance, just change the code in ifdown so
that ip monitor sees it. Obviously, in the long run, you'll want to find
the relatively few places which detect or cause a link to go down, and
patch them so that they work in a way that is consistent with what ip
monitor expects to see.
--
Nick Bastin
Software Developer
OPNET Technologies
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]