[Babel-users] A few examples of redistribution

Gabriel Kerneis kerneis at enst.fr
Thu Mar 13 18:10:30 UTC 2008


On Thu, Mar 13, 2008 at 05:33:45PM +0100, Juliusz Chroboczek wrote:
> >>  The static route can of course be a blackhole route [...]
> >>  # ip route add unreachable 192.168.5.0/24 proto static
> 
> > If you really want a blackhole, you should rather use:
> >
> > # ip route add blackhole 192.168.5.0/24 proto static
> 
> Sure, I was somewhat unaccurate.  But you never actually want
> a blackhole, unless your network is badly broken.

"prohibit" instead of "blackhole" is another solution: it explicitly
indicates that you're not allowed to access the destination.

Anyway, if in doubt, "man ip" ;-)

-- 
Gabriel Kerneis



More information about the Babel-users mailing list