On ons, 2008-09-10 at 15:43 +0200, Thomas Jacob wrote:
[...]
> # ip  route add to blackhole 2001::1/128
> RTNETLINK answers: No such device
[...]

Could you please try to specify a device name as well? Seems to work
here:

$ ping6 -c 1 2001::1
PING 2001::1(2001::1) 56 data bytes

--- 2001::1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

$ sudo ip route add to blackhole 2001::1/128 dev lo
$ ip -6 ro sh | grep 2001::1
unreachable 2001::1 dev lo  metric 1024  error -101 mtu 16436 advmss 16376 
hoplimit 4294967295
$ ping6 -c 1 2001::1
connect: Network is unreachable
$ sudo ip ro del 2001::1
$ 


Please tell me if you still think this is a bug in iproute (and please
describe it a bit more so I can understand the problem).


-- 
Regards,
Andreas Henriksson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to