On Tue, Mar 24, 2009 at 09:52:52PM +0000, 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.

In that case you should insert a default -reject route to 127.0.0.1.
Doing that is necessary to ensure that no routing loops happen.

-- 
:wq Claudio

Reply via email to