On Wed, Jul 07, 2010 at 10:23:38PM +0200, Bret S. Lambert wrote: > 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. >
Sorry Bret, IP forwarding is not strictly needed to be turned on. I run ospfd on a few boxes that have net.inet.ip.forwarding=0. It is not as bad as a few releases ago when we did not have stub router support. -- :wq Claudio