Prefix to blackhole

Stefan Jakob stefan.jakob at de-cix.net
Mon Feb 27 17:40:22 CET 2012


Am 27.02.12 16:58, schrieb fredrik danerklint:
> Hi!
> 
> I want to be able to set a router prefix via bgp to blackhole.
> 
> What I have is this:
> 
> if ((my_as, 666) ~ bgp_community) then {
> print "blackhole '", net, "' from AS", bgp_path.last, " via AS",
> bgp_path.first, " [", proto, "]";
> #        set nexthop blackhole;
> #       bgp_next_hop blackhole;
>  bgp_community.delete((my_as, 666 ));
>  return false;
> }
> 
> but either set nexthop or bgp_next_hop works.

bgp_next_hop = 192.0.2.1;

doesn't work?

Rgds, Stefan


-- 
Stefan Jakob                         e-mail: stefan.jakob at de-cix.net
DE-CIX Management GmbH               Phone: +49 69 1730 902-32
Lindleystr. 12, 60314 Frankfurt      Mobile: +49 172 695 8467
Geschaeftsfuehrer Harald A. Summa    Fax: +49 69 4056 2716
Registergericht AG Koeln, HRB 51135  http://www.de-cix.net



More information about the Bird-users mailing list