[FROG] Blackhole route unreachable

matthieu flye sainte marie fsm.matthieu at gmail.com
Mon Dec 14 18:50:42 UTC 2020


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):

ip route 192.0.2.1/32 blackhole
ip route 192.0.2.2/32 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/32
Routing 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20201214/68361d4b/attachment.htm>


More information about the frog mailing list