On VyOS 1.1.6, I am doing this:
set protocols static route X.X.X.X/32 next-hop ‘192.0.2.1’
set protocols static route 192.0.2.1/32 ‘blackhole’
$ sh ip route X.X.X.X
Routing entry for X.X.X.X/32
Known via “static”, distance 1, metric 0, best
192.0.2.1 (recursive directly connected, Null0)
So a traceroute to X.X.X.X should go to Null0.
But the traceroute does not go to Null0, it is routed normally, as if there was no static route to blackhole.
Am I missing something ?
This is causing me nightmares to make uRPF to work.