http://www.openbsd.org/cgi-bin/man.cgi?query=route&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

Route has a -blackhole option, so you might try "route add -blackhole
0.0.0.0/0 127.0.0.1"

On Thu, Aug 16, 2012 at 7:47 AM, Bernd <be...@kroenchenstadt.de> wrote:
> Hi list,
>
> I'd like to blackhole some traffic. For instance, my AS is 12.34.56.0/20, so
> 12.34.58.0 might be announced, but is not necessarily connected (internal
> routing via OSPFd).
>
> On Cisco one uses:
>
> ip route 0.0.0.0 0.0.0.0 Null0
>
> This would throw any traffic headed to a network within my AS, which is
> *not* connected (via OSPF), onto the floor.
>
> Is there a way to achieve this on OpenBSD?
>
> Thanks in advance,
>
> Bernd

Reply via email to