This behaviour is closer to other vendor's implementations, and is therefore expected from my point of view.

the 'work around' is to add a static default to /dev/null for it to be (re)annouced into OSPF/etc. This also has the advantage of removing the need for the router to send icmp unreacheables for packets received, but which no (bgp) route exists for. (think of effect under DoS attack )

/Pete



On 24 Mar 2009, at 22:52, Stuart Henderson wrote:

On 2009/03/24 13:26, Michele Marchetto wrote:
CVSROOT:        /cvs
Module name:    src
Changes by:     mich...@cvs.openbsd.org 2009/03/24 13:26:13

Modified files:
        usr.sbin/ripd  : parse.y printconf.c ripd.c ripd.h
        usr.sbin/ospfd : ospfd.c

Log message:
Change the behaviour of redistribute default.
Now a default route have to be present in the fib to be correctly advertised.

Spotted and tested by Steven Surdok on ripd.
ok claudio@


shouldn't this be optional?

you might be taking a default route from an upstream, in which case
this change to tie the default origination to upstream's default
is indeed useful.

but then, you might have a default-free router with a full BGP table,
and need to originate a default route into OSPF (e.g. to feed to some
other router or firewall which can't or shouldn't run BGP), then this
change of behaviour might be less welcome.

Reply via email to