On Wed, Jul 07, 2010 at 01:08:02PM -0700, Andrew Klettke wrote:
> All,
> 
> A fresh install of OpenBSD 4.7 includes the default ospfd.conf (here
> are just the first 11 lines):
> 
> # $OpenBSD: ospfd.conf,v 1.4 2007/06/19 16:49:56 reyk Exp $
> 
> # macros
> password="secret"
> 
> # global configuration
> # router-id 10.0.0.1
> # fib-update no
> # stub router no
> # spf-delay 1
> # spf-holdtime 5
> 
> If you uncomment out the "fib-update no" line, and have Ospfd
> perform a syntax check of the file...
> 
> $ sudo ospfd -nf /etc/ospfd.conf
> WARNING: IP forwarding NOT enabled, running as stub router
> /etc/ospfd.conf:8: syntax error

I'd bet dollars to donuts that you've not set net.inet.ip.forwarding to 1,
as you should've. If I'm right, please mail me my dollar to The OpenBSD
Foundation. If I'm wrong, please feel free to purchase a donut.

> 
> Why does uncommenting a line in the default configuration throw a
> syntax error? Under 4.7, Ospfd will ALWAYS update the FIB, as you
> cannot tell it not to.
> 
> Surely, this is a bug.
> 
> -- 
> Thanks,
> 
> Andrew Klettke
> Optic Fusion NOC
> 253-830-2943

Reply via email to