Hi,
I am trying to set up a static route to blackhole, but the next hop is unreachable:
Here are the route I am trying to push (notice I have tried blackhole and Null0):
But the routers keep saying the next hop is unreachable:
show ip route static
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
S>*
192.0.2.1/32 [1/0] unreachable (blackhole), weight 1, 00:07:48
S>*
192.0.2.2/32 [1/0] unreachable (blackhole), weight 1, 00:08:15
show ip route
192.0.2.1/32Routing entry for
192.0.2.1/32 Known via "static", distance 1, metric 0, best
Last update 00:08:23 ago
* unreachable (blackhole), weight 1
I need this to work in order to set up RTBH (null route the next hop).
On a Cisco router, the same configuration show a directly connected route :
show ip route 192.0.2.1
Routing entry for
192.0.2.1/32 Known via "static", distance 1, metric 0 (connected)
Routing Descriptor Blocks:
* directly connected, via Null0
Route metric is 0, traffic share count is 1
Thank you
Regards