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.

Example scenario:

#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.1.1.0       *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
#
#./ip monitor &
[1] 13602
# route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.1.1.1 dev eth0
10.0.0.0/8 via 192.1.1.1 dev eth0
#
#ifdown eth0
Not a route: 00000044 00000015 00000000
Not a route: 000000bc 00000010 00000000

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to