[quagga-users 14589] Re: Scripted input of several thousand blackhole routes into bgp

Paul Thornton <[email protected]>
Newsgroups gmane.network.quagga.user
Message-ID <[email protected]>
Hi

On 21/01/2017 09:36, Stephan von Krawczynski wrote:
> I want to enter around several thousand mainly host blackhole routes into bgp
> for redistribution. The IPs are coming dynamically from a failban setup. Does
> anyone have an easy way to implement that?

The 'usual' way to do something like this would be to set up a single 
static route as a blackhole (eg: 192.0.2.1/32 -> blackhole) on your 
router(s) and then use BGP on another machine to actually inject the 
routes into your network with a next-hop of 192.0.2.1.

Something like exabgp can be used as part of the tool on the non-router 
machine to get your list of hosts into BGP - I've not looked, but 
something to do what you want may already exist somewhere.

Paul.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.