On Sun, Feb 14, 2010 at 01:17:20PM +0100, Peter Spekreijse wrote:
> Hi!
> 
> We're trying to redistrbitue a default route with opsf from our
> bgp/border routers to our internal routers. We have to folling config
> for OSPFD but the default route doesn't get redistributed. I think
> because it isn't present on the border routers. On a Cisco i would set a
> null route. How do i do this using openospfd?
> 
> part of config:
> 
>  router-id X.Y.227.251
>  redistribute X.Y.227.251/32
>  redistribute default
>  redistribute connected
>  area 0.0.0.0 {
>         interface em0 {
>         }
>         interface em1 {
>         }
> }
> 
> 
> The X.Y.227.251 ip is an ip on a loopback interface. It's used as the
> router-id in BGPD and OSPFD.
> 

I would install a default blackhole route like this:
route add default -blackhole 127.0.0.1

-- 
:wq Claudio

Reply via email to