> Use an older kernel. Interface metrics are no longer
> supported on newer kernels - you can read them (always
> zero) but you can't write them. 

On my 2.2.11 based system, I can read & write metrics just fine....

myrouter# ip route
192.168.1.101 dev tap0  scope link  src 192.168.1.100  metric 1 
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.230 
default dev tap0  scope link  src 192.168.1.100  metric 1 
myrouter# ip route del default
myrouter# ip route add default dev tap0 src 192.168.1.100 metric 5
myrouter# ip route
192.168.1.101 dev tap0  scope link  src 192.168.1.100  metric 1 
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.230 
default dev tap0  scope link  src 192.168.1.100  metric 5 
myrouter# 

Am I missing something here?  What makes you think the newer 
kernels can't read/write metrics?
  
Ed G.

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

Reply via email to