Auto answering myself because the answer was alrady in the mailling
lists :
Just set nexthop=127.0.0.1 on the neighbor, then you can blackhole.
https://misc.openbsd.narkive.com/7jcjKEkQ/openbgpd-match-clause-with-multihop-bgp-session
Le 2018-11-23 16:16, Arnaud BRAND a écrit :
> Hi misc@ readers,
>
> I have a question regarding the "set nexthop blackhole" nexthop
> qualification in OpenBGPD 6.4 stable.
>
> It looks like I have to add "nexthop qualify via default" in order for
> the blackholed route to make it from the rib to the fib.
>
> I understand this is standard behaviour for normal BGP nexthop
> qualification, but is this mandatory/normal/expected for blackholed
> prefixes too ?
> I would have thought that since I am blackholing the prefix there's
> nothing to qualify for anyway.
>
> Thanks for your help and tremendous work !
>
> Have a nice day !
> Arnaud
No comments:
Post a Comment