Skip to contentSkip to conversation

kernel refuses to install blackhole routes without dev lo

IPv6 Henrique de Moraes Holschuh 1 participant 1 message Aug 26, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

(Please keep me in the CC, I am not subscribed to netdev)

To make a long history short, and to get right to the point:

# ip -6 route add blackhole ::/0
RTNETLINK answers: No such device

while

# ip -6 route add blackhole ::/0 dev lo

and

# ip route add unreachable ::/0     

works just fine. Looks like a bug, and it annoys the heck out of people trying to use the standard way of null-routing on Quagga :-)

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh